14482 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
Henry Zhu
ed4ccd6482
codecov: token not required (#13158) 2021-04-15 15:31:32 -04:00
Cody Mims
54e088b347
Update links in @babel/eslint-parser README (#13155)
Co-authored-by: Kai Cataldo <kai@kaicataldo.com>
2021-04-15 01:17:34 +02:00
Nicolò Ribaudo
5c7d2a7fa2
Archive @babel/helper-call-delegate (#13153) 2021-04-14 23:54:46 +02:00
Huáng Jùnliàng
d6d942ddac
docs: refine babel-types docs generator (#13148)
* docs: refine babel-types docs generator

* avoid AST node shape title when it does not have node fields

* remove h1 from the output

* refactor docs generators
2021-04-14 16:26:25 -04:00
Huáng Jùnliàng
1e31d415be
refactor: use FunctionParent on visiting var scope (#13152) 2021-04-14 16:00:40 -04:00
Nicolò Ribaudo
d24bd7ce5c
Remove remaining lodash dependencies (#13139) 2021-04-13 22:41:22 +02:00
Huáng Jùnliàng
b35c78f08d
docs: add README to helper-compilation-targets (#13131) 2021-04-12 12:06:05 -04:00
Nathan Walters
30f93b36a2
Fix printing of single-param async arrow function with comments (#13136)
* Fix printing of async arrow function with a single param and comments

* Add OVERWRITE support to generator tests
2021-04-12 10:10:02 -04:00
Babel Bot
672a58660f Add v7.13.15 to CHANGELOG.md [skip ci] 2021-04-08 15:51:08 +00:00
Babel Bot
e50f6f7eef v7.13.15 2021-04-08 15:40:57 +00:00
Nicolò Ribaudo
be1003b837
[preset-env - debug] Print targets that need each plugin (#13115) 2021-04-07 22:50:14 +02:00
Nicolò Ribaudo
6d89daf064
Align regenerator-transform import with native ESM (#13086)
* Align `regenerator-transform` import with native ESM

* Add `regenerator` test to `@babel/standalone`
2021-04-07 17:25:46 +02:00
Federico Ciardi
42e630e8a2
Allow trailing comma after rest parameter in TSDeclareFunction (#13101)
* fix(ts): allow trailing comma after rest parameter in `TSDeclareFunction`

* Apply code review changes

Co-Authored-By: Nicolò Ribaudo <7000710+nicolo-ribaudo@users.noreply.github.com>
2021-04-06 18:36:17 +02:00
Tan Li Hau
6b57145d38
Support yield in do expression (#10101)
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
2021-04-06 17:09:14 +02:00
Federico Ciardi
7fe3ebf4db
fix: raise SyntaxError for unparenthesized assert and assign (#13099)
* fix: raise `SyntaxError` for unparenthesized assert and assign

* chore
2021-04-06 16:07:13 +02:00
Huáng Jùnliàng
7bc72bb451
fix: do not filter report from functions within class elements (#13106) 2021-04-05 16:02:02 -04:00
Nicolò Ribaudo
61e866f6b8
Do not load root babel.config.js in tests (#13087)
* Do not load root `babel.config.js` in tests

* Update packages/babel-helper-transform-fixture-test-runner/src/index.ts
2021-04-02 21:57:49 +02:00
Huáng Jùnliàng
b577e44d16
Refactor switch support in NodePath#getCompletionRecords (#13030) 2021-04-02 13:36:05 -04:00
Nicolò Ribaudo
86c44ba62e
Update CoC contacts (#13081) 2021-03-31 20:24:48 -04: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
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