14462 Commits

Author SHA1 Message Date
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
Nicolò Ribaudo
d563773723
Compile classes when spread is unsupported (#13075) 2021-03-31 16:42:52 +02:00
Huáng Jùnliàng
3e174e9cbd
perf: lazy load preset-env plugins (#13076) 2021-03-30 21:43:41 +02: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
Bogdan Savluk
c8a91d9eef Rename @babel/core files to .ts (#12929) 2021-03-30 19:51:35 +02:00
Huáng Jùnliàng
8efbac4a5d
fix: the LHS in for-of loop should not start with let (#13049)
* fix: the LHS in for-of loop should not start with let

* Update packages/babel-parser/src/parser/statement.js

Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>

Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-03-29 16:54:23 -04:00
Babel Bot
5c0d2f6032 Add v7.13.14 to CHANGELOG.md [skip ci] 2021-03-29 14:16:26 +00:00
Babel Bot
7ac9e9f740 v7.13.14 2021-03-29 13:34:28 +00:00
Charles Suh
409244685a
fix: make sure "clone-deep-browser" code path is used on browsers (#13068) 2021-03-29 09:32:15 -04:00
Henry Zhu
c38469d191
add SHOW_CONFIG_FOR to template [skip ci] (#13066) 2021-03-28 23:32:52 -04:00
Nicolò Ribaudo
06eb3b73cb
Only resolve package.json when relative configs are enabled (#13063) 2021-03-28 12:04:42 +02: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
Bogdan Savluk
6ac07a1647
convert @babel/helper-module-transforms to typescript (#12928)
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-03-27 01:40:32 +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
4f9ec8310e Add v7.13.13 to CHANGELOG.md [skip ci] 2021-03-26 21:21:04 +00: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
Nicolò Ribaudo
e68f2ce195
Correctly handle relative browserslistConfigFile paths (#13031)
* Correctly handle relative `browserslistConfigFile`

* Fix flow
2021-03-26 15:07:28 -04: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
Nicolò Ribaudo
b0d83daceb
Resolve .browserslistrc as a project-wide file (#13028) 2021-03-25 21:37:42 +01:00
Nicolò Ribaudo
8c445e60ba
Fix e2e vue-cli Babel 8 tests (#13050)
Co-authored-by: Henry Zhu <hi@henryzoo.com>
2021-03-25 19:23:18 +01:00
Justin Ridgewell
327b4cec49
Remove lodash sortBy use (#13021) 2021-03-25 18:56:18 +01:00
Justin Ridgewell
73dcd06293
Remove some lodash/cloneDeep calls (#13032) 2021-03-25 18:01:19 +01:00
Huáng Jùnliàng
0233e3c8eb
Replace CircleCI badge to GitHub CI (#13055) 2021-03-25 11:40:44 -04:00
Clint Goodman
266e07736e
fix: Don't hoist JSX elements referencing mutable variables (#13054)
issue-13051

Co-authored-by: Clint Goodman <clintgoodman@workfront.com>
2021-03-25 16:38:31 +01:00
Huáng Jùnliàng
0067fd9e02
Disallow await before exponential (#12441)
* refactor: move unary exponential check to parseMaybeUnary

* fix: disallow await before exponential

* add test cases
2021-03-25 11:20:47 -04:00
Nicolò Ribaudo
2ae19d01b1
Update fixtures (#13045)
* Update fixtures

* Update standalone tests
2021-03-24 14:18:02 +01:00
Anna Henningsen
1ef78ca55b
Expand type definitions for path.{get,set}Data to cover symbols (#13044) 2021-03-24 14:04:13 +01:00
JounQin
238ce0bac8
fix(types): add missing range for BaseNode (#13046)
close #13027
2021-03-24 14:02:52 +01:00
Huáng Jùnliàng
6ee87eea49
[babel 8] fallback targets to "defaults, not ie 11" (#12989) 2021-03-23 20:17:16 +01:00
Nicolò Ribaudo
564ca6638f
Set rootMode: "root" in loadPartialConfig (#13040) 2021-03-23 20:11:10 +01:00
Huáng Jùnliàng
b784c81aeb
Do not bail on SHOW_CONFIG_FOR matches (#12954)
Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
2021-03-23 20:02:07 +01:00
KevinMolotov
b360d8d614 fix: make @babel/node spawned process bubble msg (#13037)
* Add ipc test

Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-03-23 14:36:49 +01:00
Nicolò Ribaudo
afef4f85ff Move @babel/node tests (#13037) 2021-03-23 14:36:49 +01:00
Federico Ciardi
4f727139ec
fix(ts): Allow parenthesized "assert and assign" (#12933)
Co-authored-by: Nicolò Ribaudo <7000710+nicolo-ribaudo@users.noreply.github.com>
2021-03-22 17:00:03 +01:00
Babel Bot
69e22c325d Add v7.13.12 to CHANGELOG.md [skip ci] 2021-03-22 15:48:01 +00:00
Babel Bot
edb11baabf v7.13.12 2021-03-22 15:36:45 +00:00
Nicolò Ribaudo
4beca3999e
Fix importing polyfill plugins in the Rollup bundle (#13017) 2021-03-22 14:48:48 +01: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
Huáng Jùnliàng
85963167b4
fix: do not throw when creating type annotation based on bigint (#12971) 2021-03-19 11:44:11 -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
Huáng Jùnliàng
020c88e74b
Update compat data (#13008) 2021-03-19 08:33:59 -04:00
Nicolò Ribaudo
52d2716bf6
Update Yarn to v2.4.1 (#12892) 2021-03-19 13:02:51 +01:00