Huáng Jùnliàng and GitHub
9f01a9b203
fix(typescript): disallow TSInstantiationExpression in LHS ( #17154 )
...
* add some supported error codes
* update typescript commit
* fix(typescript): disallow TSInstantiationExpression in LHS
This commit essentially reverts https://github.com/babel/babel/pull/16476
* update error codes handling and allowlist
* remove invalid test
2025-02-27 13:25:02 -05:00
Babel Bot and GitHub
6b2e633e64
Update test262 ( #17143 )
...
chore: update test262 to b3f67f4aafc9372ab7bfaea4290413b3e241f6a5
2025-02-20 17:47:15 -08:00
Babel Bot and GitHub
d32577412a
Update test262 ( #17067 )
...
chore: update test262 to 5f98e1d39d1d9ef7891104aad2f51cbd7a1ab4ca
2025-01-17 13:56:24 +08:00
Babel Bot and GitHub
36c042ac9b
Update test262 ( #17056 )
...
chore: update test262 to 122912d54b7c5589b5847c54186a77dc6a9945db
2025-01-10 12:46:05 +08:00
liuxingbaoyu and GitHub
e20a12d698
chore: Update TS 5.7 ( #17053 )
2025-01-09 17:36:20 +01:00
Huáng Jùnliàng and GitHub
b3163c963b
Support flow jsx opening element type arguments ( #17028 )
...
* refactor: rename tsInNoContext to tsInTopLevelContext
* fix: support type arguments in JSXOpeningElement
* add test cases
* update per Babel 8 AST
* define typeArguments and remove it in flow transform
* update generated AST types
* fix typing errors
* e2e: ignore the broken prettier test
The test is broken because we now support typeArguments in JSXOpeningElement
* update test allowlist
2025-01-08 11:28:12 -05:00
Babel Bot and GitHub
7eb1b6209e
Update test262 ( #17033 )
...
chore: update test262 to c4317b0cb578d3fe7940f65b27162638efb9b34d
2024-12-20 12:06:34 +01:00
Babel Bot and GitHub
e14c2539da
Update test262 ( #17021 )
2024-12-13 12:07:06 +01:00
d678dbefb8
Allow the dynamic import.defer() form of import defer ( #17011 )
...
* chore: update test262 to eefc5cf367b999768445432e167606fd1acf1734
* update
* fix babel8
---------
Co-authored-by: Babel Bot <[email protected] >
2024-12-06 15:28:54 +01:00
Nicolò Ribaudo and GitHub
2818e21eda
Enable import attributes parsing by default ( #16850 )
...
* Enable import attributes parsing by default
* Remove plugin from tests
* Update fixtures
* Fix failures
* `make build`
* Fix TS errors
* Fix
* Update .d.ts
* Move in core
* [babel 8] Remove syntax plugins from preset-env
* Update fixtures
* Fix ESM build of Babel 7 and standalone
* Update flow allowlist
* Update parser fixtures for Babel 8
* Update generator tests
* Update parser test
* Update standalone
* Do not run import attribtues plugin test in Babel 8
* Make tests pass in babel 8
* Fix Babel 8 build
* [babel 8] Stop printing legacy "with" attributes
* fix prettier integration test
* Fix Babel 8 compat in syntax-import-attributes
* Try fix
* Do not error for the removed `importAttributes` plugin
* Skip a test in babel7/8 compat e2e
* Throw an error when using removed option from the parser
* Fixes after rebase
* Raise `ImportCallArity` also when `createImportExpressions`
* Fix linting
2024-10-24 20:33:39 +02:00
Nicolò Ribaudo and GitHub
a1609604de
Always enable parsing of Flow enums ( #16841 )
2024-10-23 16:02:36 +02:00
Babel Bot and GitHub
ccbb90072c
Update test262 ( #16910 )
...
chore: update test262 to 0645461999632a17426e45d044ee519a0f07d022
2024-10-18 13:58:30 -04:00
Babel Bot and GitHub
1f093e0717
Update test262 ( #16881 )
...
chore: update test262 to 06ea308d144b323dc20f976e80c32f085bebbe40
2024-10-06 16:23:30 +08:00
Babel Bot and GitHub
55b42827e9
Update test262 ( #16867 )
2024-09-27 10:21:31 +02:00
Babel Bot and GitHub
46bb578012
Update test262 ( #16832 )
...
chore: update test262 to 4bdf9782207d12dfd0551bb6f30a2021a6f987cd
2024-09-13 08:58:04 +02:00
fisker Cheung and GitHub
434b21e9e9
Enable unicorn/prefer-set-has rule ( #16822 )
...
* Enable `unicorn/prefer-set-has` rule
* Run `--fix`
* `yarn dedupe`
* Fix
* fix
2024-09-10 13:19:44 -04:00
Babel Bot and GitHub
42eb0fc049
Update test262 ( #16765 )
2024-08-23 14:55:49 +02:00
7a06e68424
Clean all always enabled parser plugins ( #16572 )
...
Co-authored-by: Nicolò Ribaudo <[email protected] >
2024-08-12 15:45:03 +02:00
Nicolò Ribaudo and GitHub
f894edde64
Add eslint-plugin-regexp ( #16680 )
2024-07-29 17:42:43 +02:00
Babel Bot and GitHub
b839b435c2
Update test262 ( #16632 )
...
chore: update test262 to ab0c31a4581dff94230bf5af9f45f682701760eb
2024-07-12 08:09:03 +08:00
Babel Bot and GitHub
c3f8006195
Update test262 ( #16611 )
...
chore: update test262 to 673856839c8dcd4b4c63e09f636f2544e19a9ac9
2024-07-04 20:25:51 -04:00
liuxingbaoyu and GitHub
eca19120cf
Enable createImportExpressions for test262 ( #16596 )
2024-06-28 14:52:36 +02:00
Babel Bot and GitHub
be60dcc86f
Update test262 ( #16595 )
...
chore: update test262 to 27b2551c00291875f43fd9d9e59b4bffe9adb64b
2024-06-28 13:53:29 +02:00
Babel Bot and GitHub
46cfc8df4d
Update test262 ( #16503 )
...
chore: update test262 to 081808bebd96bc9c755300e8c3eb59d8bef578f1
2024-05-17 08:45:34 +08:00
Huáng Jùnliàng and GitHub
3760b3a00c
Migrate import assertions syntax ( #16466 )
2024-05-03 21:29:50 -04:00
572e800d98
Update test262 ( #16392 )
...
* chore: update test262 to 837def66ac1700ce398df4a3b4eaeea915aa1df5
* update
---------
Co-authored-by: Babel Bot <[email protected] >
2024-03-29 09:14:23 +01:00
Nicolò Ribaudo and GitHub
8feed887a3
Replace chalk with picocolors ( #16359 )
2024-03-19 10:23:42 +01:00
Babel Bot and GitHub
d4e2292509
Update test262 ( #16107 )
...
chore: update test262 to 27a7501893a46993194bf6e82d62e2a139041aea
2023-11-17 08:11:10 +08:00
Nicolò Ribaudo and GitHub
85008a5af3
Use prettier 3.1 ( #16098 )
2023-11-13 16:49:06 +01:00
liuxingbaoyu and GitHub
f5fa1b8be8
Update test262 for import-attributes ( #16081 )
2023-11-03 12:31:02 +00:00
Babel Bot and GitHub
8fb0791d53
Update test262 ( #16080 )
2023-11-03 09:58:22 +00:00
Babel Bot and GitHub
c56015dbfe
Update test262 ( #15971 )
2023-09-18 15:43:58 +02:00
Babel Bot and GitHub
4065d793bb
Update test262 ( #15807 )
...
chore: update test262 to 6f146e6f30390ac87d2b6b0198639d8c2ebbdf91
2023-07-20 23:38:27 -04:00
Babel Bot and GitHub
7d77576581
Update test262 ( #15704 )
2023-06-16 14:52:53 +02:00
Nicolò Ribaudo and GitHub
bfad58df2e
Use Prettier v3.0.0-alpha.12 ( #15617 )
2023-06-02 15:22:53 +02:00
Babel Bot and GitHub
ed5b45f90e
Update test262 ( #15533 )
...
chore: update test262 to ff405fd0df81ff52c3bcb5b2be3e872983fb0402
2023-03-31 10:00:29 +08:00
Babel Bot and GitHub
3efcfe8cab
Update test262 ( #15513 )
2023-03-23 20:21:57 -05:00
Nicolò Ribaudo and GitHub
f363d22618
Implement decorators as presented at 2023-01 TC39 meeting ( #15405 )
2023-02-18 16:50:41 +01:00
Nicolò Ribaudo and GitHub
6128012904
[ts] Fix restrictions for optional parameters ( #15414 )
...
Fixes https://github.com/babel/babel/issues/15396
2023-02-09 18:28:33 +01:00
Babel Bot and GitHub
f881f0330b
Update test262 ( #15372 )
...
chore: update test262 to ad034f3230911c73c8e47059022eb16121792912
2023-01-27 11:07:27 +08:00
Huáng Jùnliàng and GitHub
0264eb9b72
Update test262 ( #15328 )
2023-01-09 19:24:24 +01:00
Babel Bot and GitHub
86cf33bd27
Update test262 ( #15263 )
2022-12-09 11:00:05 +08:00
liuxingbaoyu and GitHub
e7ec26fe93
chore: Update parser test262 tests ( #15190 )
...
update
2022-11-13 10:50:18 +01:00
4c508d03bf
fix: Support local exports in TS declare modules ( #14941 )
...
Co-authored-by: Huáng Jùnliàng <[email protected] >
Co-authored-by: Nicolò Ribaudo <[email protected] >
2022-09-19 14:48:33 +02:00
a6612d18c1
fix: allow ts redeclaration with import = and var ( #14940 )
...
Co-authored-by: Nicolò Ribaudo <[email protected] >
2022-09-19 10:35:23 +02:00
liuxingbaoyu and GitHub
526e004e42
chore: fix parser-test allowlist ( #14925 )
2022-09-13 22:12:53 +09:00
98d0ee5d11
[ts] allow redeclaring a var/type with the same name as import ( #14900 )
...
Co-authored-by: Nicolò Ribaudo <[email protected] >
2022-09-13 11:33:37 +09:00
liuxingbaoyu and GitHub
336cd34ecd
chore: Improve external parser tests ( #14911 )
...
* improve runner
* update allowlist
* review
2022-09-07 10:40:32 +02:00
Babel Bot and GitHub
d0c814fb6b
chore: update test262 to b458b9f0c2f8720a2397e168090b20f459e1b2b2 ( #14688 )
2022-06-24 02:08:14 +02:00
425c4a8d37
JSON modules should be imported with default ( #14668 )
...
* fix: JSON module must be imported with default
* update test fixutres
* fix broken tests
* fix flow error
* Update packages/babel-parser/src/parse-error/standard-errors.js
Co-authored-by: Nicolò Ribaudo <[email protected] >
* add assert {} test
* update test fixtures
* address review comment
Co-authored-by: Nicolò Ribaudo <[email protected] >
2022-06-23 09:30:10 -04:00