14297 Commits

Author SHA1 Message Date
Huáng Jùnliàng
62c1ccbf81
Convert @babel/helper-explode-assignable-expression to ts (#12417)
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-02-21 00:11:11 +01:00
Federico Ciardi
8316cdaa8a
typo: correct variable name (#12837) 2021-02-20 22:03:24 +01:00
Huáng Jùnliàng
72961e4564
fix: add regenerate-unicode-properties to dynamicRequireTargets (#12819)
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-02-20 20:05:12 +01:00
Babel Bot
3af936fc2b
chore: update test262 to f6034ebe9fb92d4d3dea644b9225bdc18b44a7ab (#12826) 2021-02-19 12:03:22 -05:00
Nicolò Ribaudo
7757a2850c
Minor refactor to expect().toEqualFile assertion (#12830) 2021-02-19 17:39:31 +01:00
Nicolò Ribaudo
1387d66e6c
Merge "Build and Test" and "Publish" release jobs (#12818) 2021-02-19 16:00:55 +01:00
Huáng Jùnliàng
af2ed36535
chore: bump core-js-compat (#12821) 2021-02-19 13:27:38 +01:00
overlookmotel
792672ec60
Fix scope of computed method keys (#12812)
* Fix scope of computed method keys

* Test for nested computed keys

* Fix scope.rename with computed method keys

* Optional chaining tests
2021-02-19 02:36:34 +01:00
Anders Kaseorg
a940c0984f
babel-register: Don’t rewrite the cache if it’s not dirty (#12813)
This saves time and avoids unnecessary SSD wear.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-02-18 23:36:46 +01:00
Babel Bot
6af24480c4 Add v7.12.18 to CHANGELOG.md [skip ci] 2021-02-18 16:20:52 +00:00
Nicolò Ribaudo
d0b6f0fe0f v7.12.18 2021-02-18 17:02:30 +01:00
Nicolò Ribaudo
c0875b043c
Make sure to publish all the necessary files (#12817) 2021-02-18 17:01:20 +01:00
Babel Bot
ab2539125b Add v7.12.17 to CHANGELOG.md [skip ci] 2021-02-18 15:14:42 +00:00
Nicolò Ribaudo
2f755ef052 v7.12.17 2021-02-18 15:58:43 +01:00
Devon Govett
35c41148dd
Do not cache non-existent JS config files forever (#12211)
Missed a spot in #11906. Currently if you don't have a JS config file and then add one to your project, it will not be picked up without restarting the process. Changing from caching forever to never caching when files don't exist fixes the issue.
2021-02-18 12:18:02 +01:00
Nicolò Ribaudo
0e06a3822b
Store LICENSE files when publishing from GH actions (#12810)
* Generate LICENSE files in GH actions

* Add LICENSE files to the build artifact
2021-02-17 19:38:26 +01:00
Huáng Jùnliàng
99130bcfdd
Register binding when transforming TSParameterProperty (#12796) 2021-02-17 00:42:01 +01:00
Tim Seckinger
0bb57005c6
test: avoid deprecated jest.addMatchers (#12811) 2021-02-17 00:36:19 +01:00
Federico Ciardi
8e9143f06f
fix(ts): parse multiline declarations correctly (#12776)
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-02-16 23:51:24 +01:00
Huáng Jùnliàng
4462eeae6b
Clean up traverse scope (#12797) 2021-02-16 23:23:34 +01:00
Ikko Ashimine
4819ce70e4
refactor: fix typo in error.js (#12808)
postion -> position
2021-02-16 12:35:58 -05:00
Sosuke Suzuki
c22e72eb24
Raise recoverable error for type members with invalid modifiers (#12785) 2021-02-12 17:20:06 +01:00
Nicolò Ribaudo
8063fde0d8
Reuse the readOnlyError helper for private methods (#12792) 2021-02-12 14:33:23 +01:00
Nicolò Ribaudo
30dc25db0e
Fix "Add to CHANGELOG.md" commit message (#12791) 2021-02-12 10:10:29 +01:00
Nicolò Ribaudo
7c9dd78b8d
Fix import assertions type definitions (#12794)
* Fix import assertions type definitions

* Ensure that an array validator is followed by assertEach
2021-02-12 10:10:05 +01:00
Babel Bot
4e2f8301dc Add to CHANGELOG.md [skip ci] 2021-02-11 22:47:51 +00:00
Babel Bot
dd5c9f958c v7.12.16 2021-02-11 22:36:24 +00:00
Huáng Jùnliàng
4f92f8c11c
fix: use semver gte comparison on polyfill version tester (#12783) 2021-02-10 22:54:50 -05:00
Huáng Jùnliàng
4b8a6a8e80
Polish @babel/node REPL (#12786) 2021-02-11 00:34:29 +01:00
Nicolò Ribaudo
c07185207c
[parser] Fix scope handling of Flow declared functions (#12735) 2021-02-10 21:07:14 +01:00
Sosuke Suzuki
f1a327506e
ts: Throw recoverable for duplicates access modifier (#12775)
* Support parsing for duplicates access modifiers

Support parsing for duplicates access modifiers

* Fix lint problems

* Address reviews
2021-02-09 09:59:06 +01:00
Sosuke Suzuki
d242ea04c8
babel-parser(ts): Raise recoverable error for abstract interface (#12771)
* Support parsing abstract interface

* Address review

Address reviews

Address reviews

* Fix types

* Add hasFollowingLineBreak
2021-02-09 09:56:18 +01:00
Babel Bot
4778e32570
chore: update test262 to 950d09751616a104cb87588e21b3a32563d332d4 (#12782) 2021-02-08 23:29:23 +01:00
Huáng Jùnliàng
8bb56d4c6e
fix broken parser tests updater (#12781) 2021-02-08 16:23:08 -05:00
Nicolò Ribaudo
759a82abb1
Fix failing CI with Jest 24 (#12779) 2021-02-07 08:17:26 -05:00
Nicolò Ribaudo
e735266dee
Avoid importing .json files (#12759)
* Avoid importing `.json` files

* Use ESold in babel.config.json

* Use `import/extensions` eslint plugin
2021-02-05 23:34:36 +01:00
Sosuke Suzuki
87f264cc7b
Update build requirements in CONTRIBUTING.md (#12766) 2021-02-05 16:20:52 -05:00
Federico Ciardi
bf523da0b0
fix(ts): include asserts in TSTypePredicate location (#12763) 2021-02-05 20:02:41 +01:00
Federico Ciardi
eccbcca948
[TS] Create TSUnionType or TSIntersectionType when typealias has a leading operator (#12758)
* Create `TSUnionType` or `TSIntersectionType` when typealias has a leading operator

* Apply code review suggestions

* Test `TSIntersectionType`
2021-02-05 20:00:27 +01:00
Huáng Jùnliàng
74ed698c2e
Support destructuring variable declarator within TS namespace (#12760)
* refactor: extract handleVariableDeclaration

* fix: support general variable declarator under namespace

* fix: support general declarator on export module id duplication check

* refactor: use for-in
2021-02-05 11:52:15 -05:00
Nicolò Ribaudo
328ef420a4 Fix changelog for 7.12.15 2021-02-04 22:46:26 +01:00
Babel Bot
e7e60579cf Add to CHANGELOG.md [skip ci] 2021-02-04 21:38:31 +00:00
Babel Bot
b1921d2d9b v7.12.15 2021-02-04 21:27:03 +00:00
Nicolò Ribaudo
44bc6d672a
Allow publishing patch versions from the GH UI (#12752) 2021-02-04 22:17:45 +01:00
Federico Ciardi
d1cf66e8c1
fix(ts): include leading operator in TSUnionType and TSIntersectionType locations (#12757) 2021-02-04 19:24:35 +01:00
Nicolò Ribaudo
0fdec6b7e7
Convert runtime helpers build script to ESM (#12756) 2021-02-04 18:15:30 +01:00
Nicolò Ribaudo
77d46bcb1a
Respect the jsescOption.minimal generator option (#12755) 2021-02-04 16:45:02 +01:00
Nicolò Ribaudo
a0e3ef2117
Remove workaround for #12567 in e2e Jest tests (#12749) 2021-02-04 14:46:09 +01:00
Babel Bot
a038d787c6 Add v7.12.14 to CHANGELOG.md [skip ci] 2021-02-03 15:07:22 +00:00
Nicolò Ribaudo
dd18d87152 v7.12.14 2021-02-03 15:58:57 +01:00