oxc/tasks/transform_conformance/tests
Dunqing 35f03db464 fix(transformer): ArrowfunctionExpression's expression is true but has more than one body statement (#5366)
close: #5363

We insert the new statement here, but it's broken if it a `() => x;`, we need to transform it to `function () { return x }`

8d565d5b23/crates/oxc_transformer/src/es2020/nullish_coalescing_operator.rs (L59-L76)

I don't where we should put the fallback logic, It's useful for all plugins. We had already done the same thing in the react refresh plugin.

8d565d5b23/crates/oxc_transformer/src/react/refresh.rs (L578-L605)
2024-08-31 14:49:58 +00:00
..
babel-plugin-transform-arrow-functions/test/fixtures feat(transformer/arrow-functions): the output that uses this inside blocks doesn't match Babel (#5188) 2024-08-25 10:26:57 +00:00
babel-plugin-transform-nullish-coalescing-operator/test/fixtures fix(transformer): ArrowfunctionExpression's expression is true but has more than one body statement (#5366) 2024-08-31 14:49:58 +00:00
babel-plugin-transform-optional-catch-binding/test/fixtures
babel-plugin-transform-react-jsx/test/fixtures feat(transformer): support react fast refresh (#4587) 2024-08-15 16:41:30 +00:00
babel-plugin-transform-typescript/test/fixtures fix(transformer): class property with typescript value should not be removed (#5298) 2024-08-28 13:53:41 +00:00