Huáng Jùnliàng 29f697c84e
Implement @babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression (#13842)
* fix: register function expression id after params

* implement bugfix plugin

* add more testcases

* fix: do not skip pattern binding referencing id

* update compat-table

* add bugfix plugin to preset-env

* update Babel 8 test fixtures

* Update packages/babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression/README.md

* chore: bundle bugfix plugin

* address review comments

* add runtime version check

* update compat table

* fix syntax error

* update test fixtures

* revert bugfixes targets update

* update Babel 8 test fixtures
2021-10-20 15:53:40 -04:00

35 lines
1.1 KiB
Plaintext

@babel/preset-env: `DEBUG` option
Using targets:
{
"android": "90",
"chrome": "89",
"edge": "90",
"firefox": "78",
"ios": "13.4",
"opera": "75",
"safari": "14",
"samsung": "13"
}
Using modules transform: auto
Using plugins:
proposal-private-property-in-object { android, chrome < 91, edge, firefox < 90, ios < 15, opera, safari < 15, samsung }
proposal-class-properties { firefox < 90, ios < 15, safari < 15, samsung < 14 }
proposal-private-methods { firefox < 90, ios < 15, safari < 15, samsung < 14 }
syntax-numeric-separator
proposal-logical-assignment-operators { firefox < 79, ios < 14, samsung < 14 }
syntax-nullish-coalescing-operator
proposal-optional-chaining { android, chrome < 91, edge, opera, samsung }
syntax-json-strings
syntax-optional-catch-binding
transform-parameters { ios, safari }
syntax-async-generators
syntax-object-rest-spread
proposal-export-namespace-from { firefox < 80, ios, safari }
transform-modules-commonjs
proposal-dynamic-import
Using polyfills: No polyfills were added, since the `useBuiltIns` option was not set.