396 Commits

Author SHA1 Message Date
Nicolò Ribaudo
2ffb19828f
Update to Yarn 3 (#13140) 2021-09-16 22:23:46 +02:00
Babel Bot
37e1b91b74
chore: update test262 to 66a3c3aa8b6170f84613dc66a87cd50c68e505df (#13745) 2021-09-09 20:13:53 -04:00
Babel Bot
5a361fedb4
Update test262 (#13729) 2021-09-04 09:40:42 +02:00
Babel Bot
38d70e2da9
chore: update test262 to 836111dc3cca6345563dbf86a2dbc108a7e2939c (#13705) 2021-08-27 12:13:04 +02:00
Babel Bot
8ae4159940
chore: update test262 to 2c4f2665ec86f01bff7e42d3a5b54c9a09f9a362 (#13696) 2021-08-20 07:06:34 -04:00
Babel Bot
6a651e4641
chore: update test262 to 45a913c057892bdd26f7bc06a59a0c7420f2d3ec (#13673) 2021-08-13 09:32:30 +02:00
Babel Bot
5884adaa93
chore: update test262 to e6c21464f5f9d46679ad537dbc3e2be753fb5b5c (#13646) 2021-08-06 08:36:36 +02:00
Nicolò Ribaudo
ddaf0d4296
Enable top-level await parsing by default (#13387) 2021-08-04 00:00:04 +02:00
Babel Bot
2340b87094
Update test262 (#13619) 2021-07-30 09:38:34 +02:00
Babel Bot
844baebd26
chore: update test262 to 6e2a29417ad52ba114c26838a288510d704efa1b (#13595) 2021-07-23 08:54:49 +02:00
Babel Bot
1c7da020e4
Update test262 (#13561) 2021-07-16 09:10:11 -05:00
Babel Bot
bfcf783834
Update test262 (#13544) 2021-07-10 17:49:41 +02:00
lightmare
92bca21011
Makefile: invoke yarn consistently via $(YARN) (#13415) 2021-06-03 01:36:24 +02:00
Babel Bot
612f19fbdc
chore: update test262 to d454b8389b07dae252c008adb64ae242b812c801 (#13385) 2021-05-28 09:27:05 +02:00
Babel Bot
82a2ca82ca
Update test262 (#13347)
* chore: update test262 to 5e0fc43c6641e6655632ca73479c79f1dcb86a17

* Enable `importAssertions` parser plugin

Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-05-21 10:40:53 -04:00
Babel Bot
5def29d1ca
chore: update test262 to 4f50cbfc771ffe41ac5e4a9d2f12b1d3a5d3b938 (#13310) 2021-05-13 20:37:26 -04:00
Babel Bot
4c1b8cc751
chore: update test262 to c11d6b00bc2c53323fe26a5813a720fd74cd25ad (#13276) 2021-05-07 10:27:04 +02:00
Nicolò Ribaudo
175a51f94e
Don't use "composite": true in tsc (until it supports cycles) (#13242)
* [ts] Don't use project references

* Commit `tsconfig.json` so it's ready-to-go

* Remove `clean-tsconfig` task

* Fix dts generation

* Add comment

* `yarn`

* Review

* Fix regexp
2021-05-03 20:47:53 +02:00
Babel Bot
b99c4f06d4
chore: update test262 to 70bc32edab22b44db9d671ce505db8842ae200b6 (#13233) 2021-04-29 21:50:43 -04:00
Nicolò Ribaudo
22b0eb038f [ts] Enforce order for the override modifier (#13209)
* [ts] Enforce order for the `override` modifier

* generator

* Add more checks

* Update TS tests
2021-04-28 18:21:31 +02:00
Pig Fang
bf14a106ad Support TS 4.3 override syntax in class (#13097)
* support TS 4.3 `override` syntax in class

* fix types

* fix types

* tweak error message

* update TypeScript commit

* split tests

* add more tests

* update allowlist

* disallow `override` with `declare`

* disallow `override` in non-sub class

* update TypeScript allowlist

* rename error message key

* add more tests
2021-04-28 18:21:31 +02:00
Pig Fang
eac0259ce2 Support TS 4.3 static index signature in classes (#13096) 2021-04-28 18:21:31 +02:00
Babel Bot
fb908fd87e
Update test262 (#13196)
* chore: update test262 to eca69e2c95972a4c5780ef58fe1f1e53e871b9b1

* test262: add mapping for privateIn

* test262: ignored syntax-free features

Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
2021-04-23 10:40:54 +02:00
Babel Bot
0cfe3dc107
Update test262 (#13164) 2021-04-16 02:20:50 +02: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
bc856e03c2
chore: update test262 to 31126581e7290f9233c29cefd93f66c6ac78f1c9 (#12993) 2021-03-12 10:12:10 -05:00
Nicolò Ribaudo
c702895256
Update min Babel version for #12917 (#12977) 2021-03-07 21:09:05 +01:00
Babel Bot
ea620e822e
Update test262 (#12968) 2021-03-05 01:27:02 +01:00
Huáng Jùnliàng
bdb207cb75
Class static private field destructure set (#12917)
* fix: support static private field destructure set ([C.#p] = [0])

* 🚧

* fix: add compatibility warning for older @babel/helper versions

* refactor: extract common routines among classPrivateFiled helpers

* More 🚧
2021-03-03 16:38:16 -05:00
Babel Bot
cf7860ffa2
chore: update test262 to 0d922ddc97f7a9ad9a3636cb578bbf03604cd9d6 (#12912) 2021-02-26 09:00:23 -05:00
Nicolò Ribaudo
0c65ff7a55
Rename index.mjs to _index.mjs in @babel/runtime (#12855) 2021-02-23 02:08:41 +01:00
Nicolò Ribaudo
c827193d9c v7.13.0 2021-02-22 23:35:18 +01:00
Nicolò Ribaudo
c10825ab05
Use conditional exports in @babel/runtime for CJS/ESM (#12632) 2021-02-21 17:41:10 +01:00
Babel Bot
3af936fc2b
chore: update test262 to f6034ebe9fb92d4d3dea644b9225bdc18b44a7ab (#12826) 2021-02-19 12:03:22 -05:00
Babel Bot
4778e32570
chore: update test262 to 950d09751616a104cb87588e21b3a32563d332d4 (#12782) 2021-02-08 23:29:23 +01:00
Nicolò Ribaudo
4f2d47500f
Don't use require() in ESM files (#12728)
* Update `yarn-plugin-conditions`

* Don't use `require()` in ESM files
2021-02-01 17:09:02 +01:00
Karan Sapolia
b63be942ce
Use native ESM for dev scripts (#12296)
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-01-30 18:36:21 +01:00
Babel Bot
0138553403
chore: update test262 to 11624af8d0c3bdeb6bbc75a803a75ad146b92508 (#12708) 2021-01-28 19:39:03 -05:00
Babel Bot
dc4bace114
Update test262 (#12671) 2021-01-21 22:04:35 -06:00
Babel Bot
5a193cc14c
Update test262 (#12636) 2021-01-15 02:06:11 +01:00
Babel Bot
37f3aabb66
Update test262 (#12595) 2021-01-08 01:45:09 +01:00
Babel Bot
0d6063f1b9
chore: update test262 to 9ca13b12728b7e0089c7eb03fa2bd17f8abe297f (#12579) 2021-01-03 23:59:04 +01:00
Nicolò Ribaudo
5b5b548036
Publish to npm from GitHub actions (#12526)
* Publish to npm from GitHub actions

* Remove publish-ci from Makefile

This was meant to be used _now_, but I didn't end up using it

* Test

* Revert "Test"

This reverts commit 04095c17db8352710c12849a5b1fa53e853bd6f5.
2020-12-23 00:18:03 +01:00
Nicolò Ribaudo
d9dfd29ce8
Archive @babel/polyfill (#12541)
babel/babel-archive@701775cd9f
2020-12-22 16:52:40 +01:00
Babel Bot
60138bea0d
chore: update test262 to b2e9dff2816cceb5ee84c0c226c50a31d01a7297 (#12539) 2020-12-22 10:39:39 -05:00
Huáng Jùnliàng
814212f0be
Remove babel polyfill from fixture test runner (#12130)
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2020-12-22 02:42:39 +01:00
Nicolò Ribaudo
56c7024d5d
Update release-tool and define implicit deps for runtime (#12527) 2020-12-19 01:13:01 +01:00
Nicolò Ribaudo
b9deeb458b
Restore @babel/types support for old TS versions (#12521) 2020-12-17 18:34:23 +01:00
Huáng Jùnliàng
a0c1a9a9e4
Disallow non octal decimal escape before use strict (#12366) 2020-12-15 12:24:32 +01:00
Bogdan Savluk
1290d215f1 Convert @babel/types to TS (#12431)
* babel-types flowts convert
* babel-types code generation updates
* babel-types add more generated types to src (copy logic from scripts/typescript)
* babel-types update generateBuilders to specify exact argument types
* babel-types fix deprecated types generation
* babel-types fixes
* babel-types fix potential bug
* babel-types update generateBuilders, to include proper return types
* babel-types backport types from generated index.d.ts to be included in sources
* babel-types fixes
* babel-types avoid export of builders starting with upper case in ts sources
* babel-types
* babel-types todo updates, small fixes
* babel-types generate helpers
* babel-types remove typescript definitions generation
* babel-types generate files
* babel-types copy d.ts file for deprecated ast node creators into lib folder
* babel-types use t as alias for ast node types namespace
* babel-types update generateBuilders script to use "t" as alias instead of "types"
* babel-types update deprecated builders generation to have more compact file
* babel-types publish the .d.ts file for `@babel/types`
* Publish the .d.ts file for `@babel/types`
* Fix flowcheck
* Prettier
* No need to lint generated .d.ts files (now they are generated by tsc)
* Run prepublish-prepare-dts from prepublish-build
* Fix Babel 8 tests
* Update codecov config
* babel-types more improvements
  - better type for gatherSequenceExpressions
  - mark createUnionTypeAnnotation as deprecated
  - fix createTSUnionType
  - babel-types better type for builder
  - other improvements from PR comments
* babel-types lint fix
* babel-types fix createTSUnionType
* Don't commit .d.ts file in lib, and rename "deprecated"->"uppercase" for builders
* Add back types for TS 3.7
* Update packages/babel-types/package.json
* Cleanup converters types

Co-Authored-By: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2020-12-10 21:22:10 +01:00