mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* fix: set top level await when AllowAwaitOutsideFunction is true * fix: set top level return when AllowReturnOutsideFunction is true * fix: set top level super when AllowSuperOutsideMethod is true * refactor: simplify new.targe scope check * rename test suites * fix: do not construct invalid js in template * Revert "fix: set top level super when AllowSuperOutsideMethod is true" This reverts commit 9a256c798c240ae957ccbc046fd5bb8db0ba2127. # Conflicts: # packages/babel-parser/src/parser/util.ts # packages/babel-parser/test/fixtures/core/opts/allowSuperOutsideMethod-true-invalid-in-function-body/input.js # packages/babel-parser/test/fixtures/core/opts/allowSuperOutsideMethod-true-invalid-in-function-body/options.json # packages/babel-parser/test/fixtures/core/opts/allowSuperOutsideMethod-true-invalid-in-function-body/output.json * polish: overwrite await using in async error when await using is in ambient context * add async-do allowReturnOutsideFunction test * temporarily disable prettier async-do-expressions test