babel/packages/babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining
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
..
2021-09-02 21:28:31 +00:00

@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining

Transform optional chaining operators to workaround a v8 bug.

See our website @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining for more information.

Install

Using npm:

npm install --save-dev @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining

or using yarn:

yarn add @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining --dev