101 Commits

Author SHA1 Message Date
Nicolò Ribaudo
45308f3cba v7.16.0 2021-10-30 01:26:04 +02:00
Nicolò Ribaudo
0c820a456d
Update core-js and polyfill plugins (#13897) 2021-10-30 01:09:58 +02:00
Sosuke Suzuki
ddc45a5a50
Enable class static blocks by default (#13713)
* Remove classStaticBlock plugin

* Update tests

* Remove class static blocks from proposalPlugins

* Update tests

* Remove classStaticBlock from mapping for test262

* chore: update babel-types

Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
2021-10-28 14:39:04 -04:00
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
Nicolò Ribaudo
6912f968a6 v7.15.0 2021-08-04 23:00:40 +02: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
Babel Bot
aa2cac5edc v7.14.9 2021-08-01 07:42:57 +00:00
Nicolò Ribaudo
93bade2a71
Update core-js@3 packages (#13621)
* Update `core-js@3` packages

* Update fixtures

* Update Babel 8 fixtures
2021-08-01 09:22:09 +02:00
Babel Bot
268e4ca0de v7.14.7 2021-06-21 21:44:55 +00:00
Nicolò Ribaudo
8c229e7657
Bump core-js packages (#13496) 2021-06-21 09:34:49 -05:00
Babel Bot
7a2a928398 v7.14.5 2021-06-09 23:03:30 +00:00
Nicolò Ribaudo
f6f37fb8cd
Update packages related to compat data (#13432)
* Update `core-js@3`

* Update `compat-table`

* Update pinned `caniuse-lite` and `electron-to-chromium`

* Regenerate fixtures

* Regenerate Babel 8 fixtures
2021-06-08 08:24:16 -04:00
Kristoffer K
140ec5aa5c
chore: setup Yarn constraints (#13363) 2021-05-31 18:46:03 +02:00
Babel Bot
219fd3ab1f v7.14.4 2021-05-28 16:50:09 +00:00
dependabot[bot]
342fec1a78
Update compat data dependencies (#13368)
* Bump browserslist from 4.16.4 to 4.16.5

Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.4 to 4.16.5.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.4...4.16.5)

Signed-off-by: dependabot[bot] <support@github.com>

* Update compat data packages

* Update tests

* Add to resolutions

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-05-26 15:27:13 +02:00
Nicolò Ribaudo
3c0152a217 v7.14.0 2021-04-29 21:59:57 +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
Babel Bot
e50f6f7eef v7.13.15 2021-04-08 15:40:57 +00:00
Nicolò Ribaudo
d563773723
Compile classes when spread is unsupported (#13075) 2021-03-31 16:42:52 +02:00
Babel Bot
edb11baabf v7.13.12 2021-03-22 15:36:45 +00:00
Justin Ridgewell
2b11748555
Remove lodash from @babel/compat-data (#13024)
* Remove lodash from babel-compat-data

* Remove flatMap poorlyfill.
2021-03-20 00:11:58 +01:00
Huáng Jùnliàng
020c88e74b
Update compat data (#13008) 2021-03-19 08:33:59 -04:00
Babel Bot
4b674ea031 v7.13.11 2021-03-15 09:34:23 +00:00
Nicolò Ribaudo
759f8ecdce
Point to CJS files in @babel/compat-data's exports (#13000) 2021-03-15 10:14:47 +01:00
Huáng Jùnliàng
71417bbfcf
Fix esmodule: "intersect" on iOS versions (#12996) 2021-03-12 22:14:00 +01:00
Babel Bot
e2abc19c4c v7.13.8 2021-02-26 23:28:19 +00:00
Alan Lu - 川古
6a0394634f
Don't inject invalid core-js@2 polyfills (#12901) 2021-02-25 21:52:21 +01:00
Babel Bot
30a89c969a v7.13.6 2021-02-23 17:34:04 +00:00
Huáng Jùnliàng
4acb73449f
Update compat table (#12850)
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-02-23 15:32:54 +01:00
Babel Bot
9a4269e7b6 v7.13.5 2021-02-23 13:52:17 +00:00
Eli Gao
1484260f62
Add es6.array.slice in corejs2 builtins (#12870) 2021-02-23 13:49:09 +01:00
Nicolò Ribaudo
c827193d9c v7.13.0 2021-02-22 23:35:18 +01:00
Huáng Jùnliàng
af2ed36535
chore: bump core-js-compat (#12821) 2021-02-19 13:27:38 +01:00
Nicolò Ribaudo
d291edbdf1 v7.12.13 2021-02-03 01:59:31 +01:00
Nicolò Ribaudo
89d55d0786
Lint for extraneous dependencies in every file (#12699)
* Lint for extraneous dependencies in every file

* Deps fixes

* dedupe
2021-01-28 14:04:02 +01:00
Daniel Arthur Gallagher
e8b08523f4
docs: add package-specific documentation links (#12531)
[skip ci]
2021-01-06 14:11:53 +01:00
Nicolò Ribaudo
23226d93d4 v7.12.7 2020-11-20 22:02:43 +01:00
Brian Ng
08c7280167
Fix support for polyfilling Array.prototype.values in core-js@2 (#12340) 2020-11-10 16:43:11 +01:00
Nicolò Ribaudo
a41da05ce9 v7.12.5 2020-11-03 23:30:17 +01:00
Huáng Jùnliàng
750d869db9
chore: bump compat-table and electron-to-chromium (#12244) 2020-10-27 13:03:07 -04:00
Nicolò Ribaudo
7f4b83833f v7.12.1 2020-10-16 00:36:30 +02:00
Nicolò Ribaudo
6cb0056519
Remove unused dependencies and devDependencies (#12175) 2020-10-15 10:01:30 +02:00
Nicolò Ribaudo
726154c78e v7.12.0 2020-10-14 21:48:45 +02:00
Huáng Jùnliàng
afc03581cc
chore: bump electron-to-chromium (#12118)
* chore: bump electron-to-chromium

* test: update test fixtures
2020-09-29 13:51:20 -04:00
Huáng Jùnliàng
6d87f46a7a
Bump compat-table (#12073)
* chore: update compat-table data source

* refactor: use chromeVersions from electron-to-chromium

* chore: deduplicate yarn.lock
2020-09-24 16:28:26 -04:00
Huáng Jùnliàng
70cf2d704a
chore: remove unused dependencies (#12044) 2020-09-09 22:05:57 -04:00
Huáng Jùnliàng
3fad7eab9b
Use Yarn 2 (#11962)
* chore: use yarn 2

* chore: remove redundant yarn locks

* chore: remove publishEslintPkg

* chore: remove redundant make bootstrap

* Update .yarnrc.yml

Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>

* chore: use workspace protocol for eslint packages in the root

Co-Authored-By: merceyz <merceyz@users.noreply.github.com>

* chore: pin caniuse-lite versions

Testcases in packages/babel-preset-env/test/fixtures/debug/browserslists-defaults-not-ie
depends on specific caniuse-lite versions. We pinned the version here
so we don't have to deal with fixture different in e2e-tests
where all deps will be updated and tested.

* chore: resolve yarn install warnings

* chore: update yarn cache path on circle/travis

* chore: add yarn deduplicate plugin

* chore: deduplicate lock files

* chore: move devDependencies to leaf packages

* chore: remove @yarnpkg/plugin-constraints

* chore: remove unused dedupe options

* test: fix unwanted self reference

* chore: remove output-file-sync dependency

* chore: update browserify to 16.5.2

Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
2020-08-25 14:37:30 -04:00
Huáng Jùnliàng
45fdb87747 v7.11.0 2020-07-30 17:12:07 -04:00