15033 Commits

Author SHA1 Message Date
Nicolò Ribaudo
53ac687a59
Update core-js 3 (#14108) 2022-01-06 18:46:37 +01:00
Huáng Jùnliàng
b9ba4f9de8
fix: forward stop signal to parent path (#14105) 2022-01-06 18:38:07 +01:00
Nicolò Ribaudo
d158a48945
Don't mutate @babel/register options (#14107) 2022-01-06 18:37:45 +01:00
Sneh Khatri
ed3036d11c
Register binding for newly created vars for commonjs transforms (#14097) 2022-01-06 18:37:05 +01:00
Nicolò Ribaudo
c78320d1a7 Rename tests 2022-01-06 17:05:13 +01:00
Chris Hewell Garrett
690846ca9e Allow version: "legacy", use built-in Identifier generation, simplify private UID code 2022-01-06 17:01:21 +01:00
Chris Hewell Garrett
3e8ba6782e Ensure private UID generation takes into account all referenced private names 2022-01-06 17:01:21 +01:00
Chris Hewell Garrett
1f63f94718 Adds the 2021-12 transform for decorators
Implements the 2021-12 transform for the decorators proposal, with
support for the `accessor` keyword.
2022-01-06 17:01:18 +01:00
Chris Garrett
579ab3fc81 Add the decoratorsAutoAccessors parser plugin (#13681)
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2022-01-06 17:00:15 +01:00
magic-akari
bee3e35851
Fix TypeScript Enum self-references (#14093) 2022-01-06 16:47:09 +01:00
Nicolò Ribaudo
028cc880a1 Update lockfile 2022-01-06 16:45:10 +01:00
overlookmotel
3942d72745
Always print directives with double quotes when minified (#14094) 2022-01-06 16:28:28 +01:00
Babel Bot
ddd93b9c61 Add v7.16.7 to CHANGELOG.md [skip ci] 2021-12-31 00:23:48 +00:00
Babel Bot
23e884048a v7.16.7 2021-12-31 00:13:43 +00:00
Endrit Bajo
f69f1a80d5
Import the correct ./typeof.js helper in @babel/runtime (#14081) 2021-12-31 00:58:07 +01:00
Nicolò Ribaudo
2810dc6460
Fix derived classes in Chrome <= 36 (#14072) 2021-12-30 23:58:16 +01:00
Nicolò Ribaudo
e77e3de402
[babel 8] Move @babel/register transform to a separate worker (#14025) 2021-12-29 16:33:12 +01:00
Nicolò Ribaudo
d1cabf6bc8
[babel 8] Add "exports" to every package (#14013) 2021-12-29 16:29:10 +01:00
Sneh Khatri
2c68d03bf2
Allow $schema property in json config files (#14067)
* Fix: Error on  property in json config files

* options[] delete moved down
2021-12-28 22:13:14 -05:00
Nicolò Ribaudo
69ae3b5a25 Update lockfile 2021-12-21 18:02:35 +01:00
Sneh Khatri
d6ff91d560
Fix unicode handling in generated function names (#14047) 2021-12-20 22:03:35 +01:00
Huáng Jùnliàng
ad17fe1cce
fix: check preceding line break before exclamation (#14049) 2021-12-16 15:50:15 -05:00
Babel Bot
7178fbb008 Add v7.16.6 to CHANGELOG.md [skip ci] 2021-12-14 23:39:47 +00:00
Babel Bot
5687ade5e7 v7.16.6 2021-12-14 23:32:57 +00:00
Huáng Jùnliàng
7794201940
fix: handle tokens for invalid template element (#14055) 2021-12-14 17:54:09 -05:00
Nicolò Ribaudo
f32e3dddc4
Update jest-worker in CRA tests (#14050) 2021-12-14 01:09:34 +01:00
Babel Bot
bd3e6b1dd8 Add v7.16.5 to CHANGELOG.md [skip ci] 2021-12-13 22:29:32 +00:00
Babel Bot
7b7ab94066 v7.16.5 2021-12-13 22:12:58 +00:00
Nicolò Ribaudo
7dec78de28
Skip hasMoreThanOneBinding tests on publish (#14048) 2021-12-13 23:07:24 +01:00
Sneh Khatri
a7acde3885
Fix: default rest argument array elements as undefined (#14032) 2021-12-13 21:51:57 +01:00
Sneh Khatri
add64e870b
Don't resolve shadowed arguments variables from functions (#14036) 2021-12-13 18:29:10 +01:00
Nicolò Ribaudo
dfcfbf3b27
Disable test262 CircleCI job (#14044) 2021-12-11 17:49:33 +01:00
Nicolò Ribaudo
2d9fb7f83b
Pin jest-worker to 27.2.1 in CRA e2e tests (#14040) 2021-12-11 17:31:54 +01:00
wentout
c59870c526
Mark class prototype as read-only (#12115)
* initial code 2 fix the issue #2025

* Mark class prototype as read-only

* Update fixtures

* Fix failure

* Update Babel 8 fixtures

* Disable in loose mode

* Update fixtures

Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-12-10 21:44:48 +01:00
Huáng Jùnliàng
39080492f4
maintain estree string literal shape when cloned (#14039) 2021-12-09 17:58:25 -05:00
Huáng Jùnliàng
94af0e5c62
Improve template tokenizing (#13919)
* add benchmarks

* refactor: tokenize template as middle + tail

* perf: avoid push tc.brace

* refactor: overwrite skipSpace in jsx plugin

* transform tl.templateMiddle/Tail

* refactor: simplify JSX context tracking

* fix flow error

* refactor: move JSX context to context.js

* fix: ensure comment stack is correctly handled

* rename createPositionFromPosition

* rename token type and methods

* add tokenIsTemplate

* refactor: merge babel 7 logic in babel7CompatTokens

* fix flow error
2021-12-06 16:43:46 -05:00
Nicolò Ribaudo
3a85ddfb1b
Bring back deferred require() calls in core and cli (#14028) 2021-12-06 21:33:33 +01:00
Nicolò Ribaudo
2a3b0b9601
Update @typescript-eslint/* packages (#14029) 2021-12-05 23:20:11 +01:00
Sneh Khatri
a943f576d1
Fix duplicate declaration error on ambient class declarations (#14016) 2021-12-05 18:24:56 +01:00
Nicolò Ribaudo
2d989a983d
Run tests in a native Node.js ESM environment (#13966) 2021-12-03 15:32:58 +01:00
Nicolò Ribaudo
578ab22fb7
Update test262 parser tests ignoredFeatures list (#14019) 2021-12-03 09:06:42 -05:00
Babel Bot
2597184d27
Update test262 (#14020) 2021-12-03 11:05:13 +01:00
Kyle Rosenberg
4079ee519f
Support flow function type annotation with no parent (#14014) 2021-12-02 20:16:19 -05:00
J. S. Choi
f4236f43a1
Extend hasPlugin to accept plugin-configuration array pairs (#13982)
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-12-02 23:17:51 +01:00
renovate[bot]
ecae53a98e
chore(deps): update dependency typescript to ~4.5.0 (#14018)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
2021-12-02 16:59:11 +01:00
Sneh Khatri
029cd15bd9
Fix JSX pragma anywhere in comment (#14012)
* Fix JSX pragma anywhere in comment

* jsx regex patterns support jsx docs

* removed extra spaces from regex patterns
2021-12-02 10:35:44 -05:00
Nicolò Ribaudo
36a5ac4145
Fix handling of this&co in computed keys in arrows transform (#14005) 2021-11-30 22:54:17 +01:00
chimurai
893650130a
chore(deps): update dependency husky to v7 (#14011) 2021-11-29 22:04:50 +01:00
Nicolò Ribaudo
29de280006
Use Node.js interop when importing lib in test (#13995) 2021-11-29 21:48:34 +01:00
Nicolò Ribaudo
1bbe1fc3cb
Regenerate monorepo READMEs (#14006)
* Fix script to generate readmes

* Regenerate READMEs
2021-11-29 10:03:23 -05:00