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
Samuel Gaus
830b99dc83
Add support for rhino as a compilation target ( #13448 )
...
* Add support for rhino as a compilation target
* Add tests for target: rhino
* Fix test failing due to whitespace
* Keep consistent names for rhino tests in babel 7 and 8
* Bump core-js-compat to 3.15.0
* Change references to rhino to include patch version
* Update compat table data import
* Split transpilation of arrow function features more finely
* Rename rhino fixtures to include the patch number and update to include syntax that is and isn't supported for better testing
* Only use the relevant features for transform-new-target and transform-classes
2021-08-03 23:03:16 +02:00
Nicolò Ribaudo
a254ea38a4
Enable ergonomic brand checks (#priv in) by default ( #13554 )
...
* Enable ergonomic brand checks by default in `@babel/parser`
* Enable ergonomic brand checks by default in `preset-env`
* Fix error position
* Update Babel 8 tests
2021-08-03 23:02:17 +02:00
Nicolò Ribaudo
5a7a782da2
Add private brand checks to shippedProposals ( #13176 )
2021-04-28 18:25:17 +02:00
Nicolò Ribaudo
3c2b98ff06
Add class static blocks to preset-env's shippedProposals ( #13114 )
2021-04-28 18:25:17 +02:00
Nicolò Ribaudo
d563773723
Compile classes when spread is unsupported ( #13075 )
2021-03-31 16:42:52 +02:00
morrme
2f89e72321
enable logical assignment in babel preset env ( #11876 )
...
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
2020-07-29 18:32:12 -04:00
Huáng Jùnliàng
ccd98f042c
Add numeric-separator to preset-env ( #11865 )
2020-07-29 18:32:12 -04:00
Huáng Jùnliàng
c664fbdd07
fix: update class properties support matrix ( #11783 )
2020-07-03 07:54:40 -04:00
Justin Ridgewell
97f0b7c4a0
Transform ES2015 Unicode Escapes to ES5 ( #11377 )
2020-05-25 01:26:55 +02:00
Huáng Jùnliàng
93a50056ca
Add class proposals to shipped proposals ( #11451 )
2020-05-24 22:32:53 +02:00
Huáng Jùnliàng
0a02a12235
Move object-rest-spread after transform-parameters ( #11280 )
...
* fix: move proposal-object-rest-spread after transform-parameters
* update test fixtures
* fix: update plugin-features.js
2020-03-19 17:08:54 +01:00
Ye Wei
e06bf8ffdb
Add numeric separator to shippedProposals ( #10971 )
...
* add plugins
* add plugin description
* run build-data
* set shipped proposals true
* update test fixtures
* corejs.proposals should not imply shipped proposals
* fix eslint errors
Please enter the commit message for your changes. Lines starting
* create new object in packages/babel-compat-data/scripts/data/plugin-features.js
2020-03-16 23:09:33 +01:00
Nicolò Ribaudo
eae6211258
Update compat table ( #11039 )
...
* Fix compat-data build script
* Update compat table
* Update mappings for transform-parameters
kangax/compat-table#1570
* Update unrelated fixture
* Update
2020-01-27 22:23:27 +01:00
Nicolò Ribaudo
3daab41e61
Re-generate preset-env fixtures ( #11016 )
...
* Fix plugin ordering in preset-env
* Update stdout fixtures
* Comments [skip ci]
2020-01-16 10:49:30 -05:00
James Beavers
80aa7dc3c6
Add optional-chaining and nullish-coalescing to preset-env ( #10811 )
...
* Add support for optional-chaining (stage 4) in present-env
* revert babel-preset-env built-in-modules.json
* add shipped proposal syntax map entry, optional chaining
* update remaining syntax plugin references, proposal description
* Add support for nullish coalescing operator in preset-env
* selectively enable sort-keys rule
* enforce sort-keys on shipped-proposals
* don't use Object.entries()
* Update fixtures
2020-01-10 22:07:43 +01:00
Nicolò Ribaudo
04354d1556
Extract targets parser and compat data from preset-env ( #10899 )
...
* Extract targets parser and compat data from preset-env
* Review by Jùnliàng
* isItemRequired -> targetsSupported
* Export isRequired
2020-01-10 03:15:20 +01:00