oxc/tasks
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
..
ast_tools chore: bump rustc to v1.80.1 (#5211) 2024-08-26 13:11:29 +08:00
benchmark ci(benchmark/transformer): enable all > es6 plugins (#5324) 2024-08-30 09:30:17 +00:00
common feat(coverage): check symbols and scopes after transformation (#4917) 2024-08-16 07:05:11 +00:00
coverage chore: update test262 / babel / typescript submodules (#5369) 2024-08-31 12:28:25 +00:00
javascript_globals chore: turn off doctest for all [[bin]] 2024-07-14 16:55:19 +08:00
lint_rules feat(docs): add tracking for plugins "promise" and "vitest" (#4668) 2024-08-05 19:01:44 -04:00
minsize feat(codegen)!: remove const generic MINIFY (#5001) 2024-08-20 08:13:27 +00:00
prettier_conformance fix(ast)!: merge UsingDeclaration into VariableDeclaration (#5270) 2024-08-28 11:26:05 +08:00
rulegen feat(rulegen): improve examples in documentation (#4815) 2024-08-10 18:48:59 -04:00
transform_conformance fix(transformer): ArrowfunctionExpression's expression is true but has more than one body statement (#5366) 2024-08-31 14:49:58 +00:00
website chore: bump rustc to v1.80.1 (#5211) 2024-08-26 13:11:29 +08:00