Nicolò Ribaudo and GitHub
0b7eb721fe
Update @babel/preset-modules and polyfill packages ( #18081 )
...
* Use stable babel 8
* Update `@babel/preset-modules`
* Do not use `useBuiltIns`
* Update polyfill packages
2026-06-17 23:26:00 +02:00
Huáng Jùnliàng and GitHub
b7c98eb305
ci: enforce yarn integrity ( #18018 )
...
* ci: enforce yarn integrity
* ci: enforce integrity when yarn binary is changed
* fix invalid git usage
* add a new yarn integrity workflow
The checkout is always shallow so it is impossible to compare with base ref.
* ci: run integrity check when package.json changes
* chore: rename workflow
* Address review comments
2026-06-15 15:51:53 -04:00
Huáng Jùnliàng and GitHub
25616d4c68
chore: cleanup helper-validator-identifier ( #18054 )
2026-06-12 10:58:43 +02:00
Huáng Jùnliàng and GitHub
4abea18125
Convert babel helpers scripts to TS ( #18053 )
2026-06-12 10:53:30 +02:00
Babel Bot and GitHub
a02b466be9
Update test262 ( #18055 )
...
chore: update test262 to de8e621cdba4f40cff3cf244e6cfb8cb48746b4a
2026-06-12 09:57:15 +02:00
Huáng Jùnliàng and GitHub
e24c7b7950
fix: disable npmMinimalAgeGate for angular-e2e test ( #18025 )
2026-05-29 09:40:19 -04:00
liuxingbaoyu and GitHub
0c9ee03261
Enable strictFunctionTypes ( #17946 )
2026-05-22 16:12:22 +02:00
Babel Bot and GitHub
59cacf6ac4
Update test262 ( #18010 )
2026-05-22 11:22:20 +02:00
Huáng Jùnliàng and GitHub
7661ea9937
test: update flow parser test ( #17996 )
...
* test: correctly handle types option
* refactor: map flow parser test options
* chore: update flow parset test commit
* fix: incorrect return type
2026-05-15 15:28:05 -04:00
Huáng Jùnliàng and GitHub
67dec41b22
Bump all dev deps ( #17985 )
2026-05-08 11:02:56 +02:00
Huáng Jùnliàng and GitHub
abed81cd22
Bump rollup plugins ( #17983 )
...
* chore: bump rollup plugins
* fix: resolve from "node" exports
* bump rollup-plugin-commonjs
Also patched for ES5 compatibility required by babel-standalone
* fix: dynamicRequireTargets accepts relative path
* update artifact
2026-05-06 15:39:05 -04:00
Huáng Jùnliàng and GitHub
0d8dabbe84
chore: add custom no-extraneous-dependencies rule ( #17971 )
...
* build: add custom no-extraneous-dependencies rule
* chore: use custom no-extraneous-dependencies rule
* fix unsound imports or unused eslint directive
* chore: update lockfile
* chore: revert unnecessary changes
2026-05-06 08:30:48 -04:00
Nicolò Ribaudo and GitHub
33a46e527b
Disallow decorators on abstract/declare fields ( #17949 )
2026-05-01 18:50:07 +02:00
Huáng Jùnliàng and GitHub
a48fcce83f
fix(parser): ts parser small fixes ( #17954 )
...
* fix(parser): skip scope for global namespace
* fix(parser): register binding for TSNamespaceExportDeclaration
* test: check TS2451 error
* add TS2480 to error codes
* fix(parser): disallow reserved word in namespace
* fix(parser): forbid import/export in ts namespace
* test(parser): enable TS2567 error
* test(parser): enable TS17019 error
2026-04-28 10:41:19 -04:00
Huáng Jùnliàng and GitHub
9f063047d9
Support flow extends bound ( #17923 )
2026-04-24 12:04:19 +02:00
Huáng Jùnliàng and GitHub
e2fd7d7bcf
Bundle more packages ( #17938 )
...
* chore: bundle babel-cli and babel-node
* chore: bundle babel-helper-builder-react-jsx
* refactor: unify extra entrypoints handling
* chore: bundle babel-helper-transform-fixture-test-runner
* chore: bundle babel-helper-fixtures
* build: bundle babel-helpers
* build: bundle babel-build-external-helpers
* refactor: reuse pkgJSON in PackageInfo
* refactor: skip inputs path normalization
* build: bundle babel-eslint-parser
* fixup babel-helpers
* revert babel-cli bin changes
* update npm-ignore generators
* cleanup outdated comments
* test(eslint): avoid private sub imports
* chore: bundle babel-eslint-*
* chore: bundle babel-register
* chore: skip rollup for private packages
2026-04-22 19:47:42 -04:00
Huáng Jùnliàng and GitHub
7e46cd6aa4
test(third-party): parse js defined by // @filename ( #17922 )
2026-04-17 12:16:53 +02:00
Huáng Jùnliàng and GitHub
e8449996f8
TS parser small fixes ( #17888 )
...
* fix: disallow TSParameterProperty within TSDeclareMethod
* fix(parser): disallow parameter initializer in declare method
* fix(parser): disallow class method implementation in ambient context
* fix(parser): disallow type/interface within single statement context
* test: support (target=es6).errors.txt format in ts references
* test: add more supported parser error codes
* fix: throw implementation error from the start of block statement
* fix: throw DeclareFunctionHasImplementation unconditionally
* Apply suggestion from @JLHwung
* remove conflict prettier test
* address review comments
* rename UnexpectedDeclaration
2026-03-25 11:42:05 -04:00
Huáng Jùnliàng and GitHub
89712b8f40
Fix(parser): flow parser small fixes ( #17865 )
2026-03-25 10:30:47 +01:00
liuxingbaoyu and GitHub
f7fd0e1d0f
chore: Update TS 6.0 ( #17894 )
2026-03-25 05:38:37 +08:00
Babel Bot and GitHub
a86815c8af
Update test262 ( #17889 )
...
chore: update test262 to a6f387de323eb9ae56448bdb71c5d315df631ce4
2026-03-20 16:09:18 +08:00
Huáng Jùnliàng and GitHub
ec3c42c70d
Disallow super call after new ( #17871 )
...
* fix(parser): disallow super() after new
* fix(generator): update new callee parenthese rules
* fix: disallow super/import after bind operator
* update typescript parser test allowlist
* fix(types): disallow import/super/v8Intrinsic as callee of new expression
* chore: fix lint error
* add new test cases
* update test cases
2026-03-18 11:10:55 -04:00
liuxingbaoyu and GitHub
236d8793fd
Fix eslint package types ( #17822 )
2026-03-06 00:02:19 +01:00
liuxingbaoyu and GitHub
a90ebd5538
Avoid Prettier CI failure ( #17842 )
2026-02-27 21:03:18 +01:00
Babel Bot and GitHub
9cc5d64169
Update test262 ( #17814 )
...
chore: update test262 to e0cf381364825aa67485dca11c0a7ac34c7c1753
2026-02-20 09:48:11 +01:00
Huáng Jùnliàng and GitHub
33698c1cd8
Fix TS5055 error when running make tscheck twice ( #17802 )
...
* build: include only dts from sub packages
* update artifacts
2026-02-17 11:43:13 +01:00
liuxingbaoyu and GitHub
24fda9baeb
chore: Migrate scripts to .ts ( #17767 )
2026-02-13 15:26:32 +01:00
Babel Bot and GitHub
879fcce752
Update test262 ( #17783 )
...
chore: update test262 to f2d59ea6e4b2f6f87de9f0d18a41d73782b6a9bc
2026-02-10 09:40:15 -05:00
Nicolò Ribaudo and GitHub
8b840a8568
Use package.json#imports for browser-specific code ( #17756 )
...
* Use `package.json#imports` for browser-specific code
* Fix dts bundling
* Support bundling packages with multiple entry points
* Do not inline `process.env.NODE_ENV` in normal builds
2026-01-30 23:13:10 +01:00
liuxingbaoyu and GitHub
385a3b893e
[Babel 8] Refactor register cache ( #17229 )
...
* fix
* fix test
* improve
* fix
2026-01-30 21:15:28 +01:00
65f2df4c14
Improve @babel/parser error types ( #17531 )
...
* improve
* `yarn gulp bundle-dts`
* improve
---------
Co-authored-by: Nicolò Ribaudo <[email protected] >
2026-01-30 20:22:03 +01:00
Huáng Jùnliàng and GitHub
f609d267df
[Babel 8] Extract babel-build-external-helpers ( #17746 )
...
* breaking: create external-helpers-cli from cli
* chore: cleanup external-helpers in cli
* breaking: make --whitelist --output argument as required
* feat: add allowlist and deprecate whitelist
* add test case for short option name
* polish: add output-type module to usage note
* chore: add .npmignore
* rename package to babel-build-external-helpers
* breaking: remove --whitelist option
* fixup: update lock file
* rename external-helpers-cli
2026-01-30 18:07:58 +01:00
Nicolò Ribaudo and GitHub
d98d2dbfbf
Add CI check to make sure packages exist on npm ( #17751 )
2026-01-29 19:40:57 +01:00
Huáng Jùnliàng and GitHub
d8532defde
chore: cleanup test262 test setup ( #17731 )
2026-01-28 09:53:37 -05:00
liuxingbaoyu and GitHub
902a220fc5
Use babel.config.mts ( #17734 )
2026-01-27 18:29:19 +01:00
1f486c8ca8
Enable strictNullChecks for @babel/types ( #17609 )
...
Co-authored-by: Nicolò Ribaudo <[email protected] >
2026-01-27 17:49:19 +01:00
f7886273a8
[Babel 8] Remove @babel/plugin-transform-object-assign ( #17619 )
...
* remove
* fix
* Remove from standalone
---------
Co-authored-by: Nicolò Ribaudo <[email protected] >
2026-01-16 22:27:25 +01:00
Nicolò Ribaudo and GitHub
f5cfbbac33
Remove rm for deleted prettier file ( #17712 )
2026-01-16 16:12:12 +01:00
d1c07c2e9f
Drop support for TS module <identifier> ( #17659 )
...
Co-authored-by: Huáng Jùnliàng <[email protected] >
2026-01-09 18:23:43 +01:00
fisker Cheung and GitHub
448593ce69
Replace picocolors with node:util.styleText() in dev dependencies ( #17680 )
2026-01-09 18:10:44 +01:00
Nicolò Ribaudo and GitHub
63106016a6
Update publishing process for Babel 8 ( #17660 )
2026-01-09 18:05:24 +01:00
fisker Cheung and GitHub
3edf09ee7e
Migrate babel-worker.cjs to ESM ( #17681 )
...
* Migrate `babel-worker.cjs` to ESM
* Will CircleCI fail?
* Revert "Will CircleCI fail?"
This reverts commit 50c39523d391fa8a06858f893f45aa094c846375.
2026-01-06 13:42:48 -05:00
liuxingbaoyu and GitHub
f6f7f4409c
[Babel 8] Remove plugin-transform-react-{compat,source,self} ( #17620 )
...
remove
2025-12-16 13:13:45 +01:00
Huáng Jùnliàng and GitHub
c93fe49aa2
chore: add preset-typescript as optional peer dep ( #17665 )
2025-12-15 23:39:42 -05:00
Nicolò Ribaudo and GitHub
d15bcefde5
Fix prettier e2e test ( #17664 )
2025-12-15 15:40:28 +01:00
Huáng Jùnliàng and GitHub
8aa1a9d67b
[Babel 8] Remove decorator parser plugin options ( #17643 )
2025-12-12 18:25:30 +01:00
Nicolò Ribaudo and GitHub
8cb118bff4
Cleanup USE_ESM, IS_BABEL_8(), and itGte usage ( #17631 )
2025-12-09 09:37:19 +01:00
Nicolò Ribaudo
3a912d1a39
Remove Babel 7 from the codebase ( #17618 )
2025-12-05 12:33:52 +01:00
Nicolò Ribaudo and GitHub
8f319beaaa
[babel 8] Rename TSImportType.argument to .source ( #17610 )
2025-11-28 12:41:53 +01:00
Nicolò Ribaudo and GitHub
a7c24f998b
Add script to remove Babel 7 tests ( #17616 )
2025-11-28 12:33:00 +01:00