343 Commits

Author SHA1 Message Date
Huáng Jùnliàng
cbfcee59c7
Archive helper-explode-class and helper-bindify-decorators (#13160) 2021-04-15 22:25:23 +02:00
Nicolò Ribaudo
5c7d2a7fa2
Archive @babel/helper-call-delegate (#13153) 2021-04-14 23:54:46 +02:00
Nicolò Ribaudo
d24bd7ce5c
Remove remaining lodash dependencies (#13139) 2021-04-13 22:41:22 +02:00
Babel Bot
e50f6f7eef v7.13.15 2021-04-08 15:40:57 +00:00
Nicolò Ribaudo
8b137c638f
Update @rollup/plugin-node-resolve (#13080) 2021-03-31 23:11:48 +02:00
Nicolò Ribaudo
8d4da69e9d
Update polyfill plugins (#13079)
* Update polyfill plugins

* Update fixtures

* Update Babel 8 fixtures
2021-03-31 13:46:15 -04:00
Bogdan Savluk
a647b9ea6b Convert @babel/core to TypeScript (#12929)
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-03-30 19:51:35 +02:00
Babel Bot
7ac9e9f740 v7.13.14 2021-03-29 13:34:28 +00:00
Nicolò Ribaudo
8e8954b470
[babel 8] Remove module-specific options from @babel/core (#12724) 2021-03-28 01:27:37 +01:00
Henry Zhu
6b39bafab6
Remove lodash deps (#13057)
* inline escapeRegExp instead of using any dep

* inline camelCase

* replace merge with object spread

* copy if array instead of using clone

* inline isRegExp

* review fixes!

* remove escape-string-regexp from package.json and in test

* add error for field defaults that are not primitives or empty arrays

* replace merge with object spread

* yarn
2021-03-27 17:59:34 +01:00
Mark Banner
e5e37b94a5
Update eslint-scope to be compatible with ESlint's dependency (#13058) 2021-03-27 00:58:29 +01:00
Babel Bot
2f8203f190 v7.13.13 2021-03-26 21:09:38 +00:00
Huáng Jùnliàng
1e3ef05685
[babel 8] Type checking preset-react options (#12741)
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-03-26 20:11:39 +01:00
Huáng Jùnliàng
16d83002de
[babel 8] type checking preset-flow options (#12751)
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-03-26 00:33:02 +01:00
Justin Ridgewell
73dcd06293
Remove some lodash/cloneDeep calls (#13032) 2021-03-25 18:01:19 +01: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
c2a42492db
Implement @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining (#13009) 2021-03-19 13:26:28 -04:00
Nicolò Ribaudo
974f9c5b01
Update TypeScript (#13029) 2021-03-19 13:25:01 -04:00
Justin Ridgewell
e2244c92d9
Remove lodash from @babel/node tests (#13025) 2021-03-19 15:53:13 +01:00
Justin Ridgewell
830a93cc97
Remove lodash/chunk (#13022) 2021-03-19 15:52:25 +01:00
Justin Ridgewell
d12f9a98c7
Remove lodash/pull (#13026) 2021-03-19 15:51:34 +01:00
Justin Ridgewell
78cf07767a
Remove lodash/has (#13023) 2021-03-19 15:50:52 +01:00
Nicolò Ribaudo
52d2716bf6
Update Yarn to v2.4.1 (#12892) 2021-03-19 13:02:51 +01:00
Bogdan Savluk
d1f3d30598
convert @babel/helper-member-expression-to-functions to ts (#12925) 2021-03-19 12:53:21 +01:00
Bogdan Savluk
21e8e59f7d
convert @babel/helper-module-imports to typescript (#12924) 2021-03-18 16:05:44 +01:00
Bogdan Savluk
ff8e9f74d8
convert @babel/helper-transform-fixture-test-runner to typescript (#12923)
* babel-helper-transform-fixture-test-runner flowts rename

* babel-helper-transform-fixture-test-runner flowts convert

* babel-helper-transform-fixture-test-runner

* babel-helper-transform-fixture-test-runner eslint fixes

* babel-helper-transform-fixture-test-runner type fix

* babel-helper-transform-fixture-test-runner

* yarn install
2021-03-18 10:52:19 -04:00
Bogdan Savluk
b97a627964
convert @babel/helper-simple-access to typescript (#12927) 2021-03-16 15:31:59 +01:00
Bogdan Savluk
6e1e00388b
update tsconfig generation to reference dependencies used in source code (#12941)
* update tsconfig generation to reference dependencies used in source code

in some cases there are devDependecnies used for type-checking, this change adds references to them when generationg tsconfig

* use regexp to extract import sources instead of parsing the code

* try reverting globby to previously installed version

* Run `generate-tsconfig` after `bootstrap-only`

* Revert "try reverting globby to previously installed version"

This reverts commit 56489622137f6f56938c781ea3aec5c98528b033.

Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-03-15 12:13:36 -04:00
Babel Bot
4b674ea031 v7.13.11 2021-03-15 09:34:23 +00:00
Babel Bot
d1d404b9a3 v7.13.10 2021-03-08 22:23:36 +00:00
Nicolò Ribaudo
d04842a700
Avoid using CJS globals in internal source files (#12963)
* Lint against CJS globals in modules

* Use `import.meta.url` instead of `__filename` in `src` files

* Prepare fixtures runner for `import.meta.url`

* Use `import.meta.url` instead of `__filename` in `test/index` files

* Remove `__dirname` from remaining test files

dirname

* Avoid using `module` in `src` files

* Avoid using `require` in `src` files

* Avoid using `require` in `test` files

* Update `@types/node`

* Compile dynamic import in `@babel/node`

* Fix windows

* Use `@babel/plugin-proposal-dynamic-import` from npm
2021-03-05 19:55:36 +01:00
Nicolò Ribaudo
b12a4de457
Update @babel/helper-create-class-features-plugin (#12944) 2021-03-02 16:28:14 +01:00
Nicolò Ribaudo
c155caf1e8
Load .browserslistrc when using old @babel/core versions (#12934) 2021-03-01 20:46:02 +01:00
Bogdan Savluk
a653b9c08e
Convert @babel/helper-fixtures to typescript (#12922) 2021-03-01 16:44:23 +01:00
Babel Bot
e2abc19c4c v7.13.8 2021-02-26 23:28:19 +00:00
Huáng Jùnliàng
bfd30b9445
chore: do not provide polyfills on bundling @babel/standalone (#12909)
* chore: do not provide polyfills on bundling @babel/standalone

* review from Nicolò

* chore: update @babel/helper-define-polyfill-provider
2021-02-26 17:10:10 -05:00
Alan Lu - 川古
6a0394634f
Don't inject invalid core-js@2 polyfills (#12901) 2021-02-25 21:52:21 +01:00
Nicolò Ribaudo
962d81483e
Skip _extends helper for {…x} with modern targets (#12899) 2021-02-25 21:16:56 +01:00
Nicolò Ribaudo
9a1b59f1f9
Do not warn for loose of class features in preset-env (#12898) 2021-02-25 21:15:48 +01:00
Nicolò Ribaudo
b17231e1af
[internal] Keep the .cjs extension when compiling source files (#12820)
* [internal] Keep the .cjs extension when compiling

* yarn
2021-02-25 18:03:05 +01:00
Nicolò Ribaudo
039eb2710d
Update all the @babel/* dependencies (#12897) 2021-02-25 02:46:56 +01:00
Bogdan Savluk
0a4dc05806
convert @babel/highlight to typescript (#12432)
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-02-25 01:38:47 +01:00
Huáng Jùnliàng
4fa7a72874
chore: pin typescript to 4.1 (#12894) 2021-02-24 22:07:44 +01:00
Nicolò Ribaudo
6a471decc3
Improve @babel/runtime esm stability (#12883) 2021-02-24 20:04:03 +01:00
pigcan
c9da9650eb
chore: downgrade semver to ^6.3.2 (#12890) 2021-02-24 19:55:42 +01: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
115841e778
Ensure that @babel/runtime-corejs3 imports are injected (#12869)
* Add failing test for #12863

* Minimal

* Ensure that `@babel/runtime-corejs2` imports are injected
2021-02-23 12:47:04 +01:00