oxc/tasks
overlookmotel ca02c16f8f test(transformer): handle more exec tests (#8493)
Some of Babel's exec tests contain a return statement at top level, in order to return a Promise.

e.g. ad572fd1a1/packages/babel-plugin-transform-private-methods/test/fixtures/private-method-loose/async/exec.js

These test files could not be parsed due to illegal position of `return`, and the tests were silently excluded.

This PR:

1. Includes those tests by passing `allow_return_outside_function: true` option to parser for exec tests.
2. Includes a "transform error" message in snapshot for any exec tests which produce errors in parser/transformer.
2025-01-15 02:07:04 +00:00
..
ast_tools feat(ast)!: remove unused and not useful ContentHash (#8483) 2025-01-14 09:53:27 +00:00
benchmark feat(tasks/benchmark): add mangler (#8470) 2025-01-14 10:08:13 +08:00
common chore(doc): replace main/master to tag/commit to make the url always accessible (#7298) 2024-11-16 21:00:30 +08:00
compat_data refactor(global): sort imports (#7883) 2024-12-14 15:07:21 +00:00
coverage chore(coverage): update runtime snapshots (#8489) 2025-01-14 22:06:10 +08:00
javascript_globals
lint_rules fix(tasks/lint_rules): sync unicorn rules with eslint rules (#8224) 2025-01-03 11:39:51 +08:00
minsize feat(minifier): minify var x; void x -> void 0 (#8466) 2025-01-13 16:07:59 +00:00
prettier_conformance refactor(prettier): Update tasks/prettier to correctly handle snapshots (#8337) 2025-01-08 17:10:30 +08:00
rulegen chore(deps): update dependency rust to v1.84.0 (#8391) 2025-01-09 18:11:17 +00:00
transform_checker perf(semantic): allocate UnresolvedReferences in allocator (#8046) 2024-12-20 15:18:16 +00:00
transform_conformance test(transformer): handle more exec tests (#8493) 2025-01-15 02:07:04 +00:00
website feat(oxlint): implement --init cli option (#8453) 2025-01-14 13:49:42 +08:00