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
This commit is contained in:
@@ -465,6 +465,7 @@ const libBundles = [
|
||||
"packages/babel-preset-typescript",
|
||||
"packages/babel-helper-member-expression-to-functions",
|
||||
"packages/babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining",
|
||||
"packages/babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression",
|
||||
].map(src => ({
|
||||
src,
|
||||
format: "cjs",
|
||||
|
||||
Reference in New Issue
Block a user