100 Commits
Author SHA1 Message Date
Nicolò RibaudoandGitHub 1fc9b08f5c Remove cycles support from tsconfig generator (#18139) 2026-07-17 16:35:36 +02:00
Nicolò RibaudoandGitHub fcdaeffe57 Add whitespace in source-map-visual tests (#18138) 2026-07-17 10:06:37 +02:00
Nicolò RibaudoandGitHub 577ca60809 Up source map packages (#18135) 2026-07-17 09:19:04 +02:00
Nicolò RibaudoandGitHub 710096c6d1 chore: Cleanup inherit in @babel/types (#18117) 2026-07-06 10:22:22 -04:00
Nicolò RibaudoandGitHub 91277e9e7e Update compat data sources (#18116) 2026-07-03 15:59:19 +02:00
Nicolò RibaudoandGitHub 585a1a5ee0 Skip analizing fisker in AgentScan (#18099) 2026-06-24 14:59:29 +02:00
Nicolò RibaudoandGitHub 86580dd0dd Use the @babel/core version when asserting version in @babel/standalone (#18083) 2026-06-18 15:18:17 +02:00
Nicolò RibaudoandGitHub 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
Nicolò RibaudoandGitHub b47f416a99 Actually remove preset-env's useBuiltIns (#18079) 2026-06-17 11:23:51 +02:00
Nicolò RibaudoandGitHub baf3f08d8d Remove --all from release workflow (#18080) 2026-06-17 11:04:21 +02:00
Nicolò RibaudoandGitHub 81c3289436 Avoid trailing zeroes in Babel 9 generated version (#18078) 2026-06-17 10:35:55 +02:00
Nicolò Ribaudo e193813191 Allow releasing Babel 8 stable versions 2026-06-16 14:57:45 +02:00
215afa9f57 Fallback to assuming ESM support with modules: auto (#18069)
Co-authored-by: Babel Bot <[email protected]>
2026-06-16 10:03:37 +02:00
Nicolò RibaudoandGitHub c7e1298db3 Add EOL date for Babel 7 (end of June 2027) to SECURITY.md (#18070)
Add EOL date for Babel 7 (end of June 2027)
2026-06-15 10:09:09 +02:00
Nicolò RibaudoandGitHub 87eca69685 Setup AgentScan (#18060) 2026-06-13 22:08:24 -04:00
Nicolò RibaudoandGitHub 2dfc78fd82 Always use native Node.js TS support for config files (#17970) 2026-05-25 11:40:10 +02:00
Nicolò RibaudoandGitHub 67aa50a434 Catchup source map position in preserveFormat (#18011) 2026-05-25 11:20:09 +02:00
Nicolò RibaudoandGitHub ebeef56878 Show source maps mappings as point-to-point (#18008) 2026-05-23 00:03:00 +02:00
2efdb6a9a5 Do not emit source map names for identical names (#18005)
Co-authored-by: Babel Bot <[email protected]>
2026-05-21 14:10:43 +02:00
Nicolò RibaudoandGitHub b86c8d5c43 Use Yarn catalog for source map dependencies (#18004) 2026-05-18 21:06:24 +02:00
9eeb089fa2 Test Node.js 26 on CI (#17989)
* Test Node.js 26 on CI

* Update node flags list

* workaround

---------

Co-authored-by: Babel Bot <[email protected]>
2026-05-16 10:56:56 -04:00
Nicolò RibaudoandGitHub ab69dc41e5 Fix type error (#17995) 2026-05-12 15:34:58 +02:00
Nicolò RibaudoandGitHub 854e84a844 Force yargs 16/17 to resolve to yargs 18 (#17988)
* Force yargs 16 to resolve to yargs 17

* Force yargs 17 to resolve to yargs 18 + backwards compat patch
2026-05-09 16:10:20 +02:00
048bfc7810 Add threat model to SECURITY.md (#17977)
Co-authored-by: Brian Ng <[email protected]>
Co-authored-by: Huáng Jùnliàng <[email protected]>
2026-05-06 13:33:51 +02:00
Nicolò RibaudoandGitHub 4e772f1762 Require Node.js ^22.18.0 || >=24.11.0 (#17969) 2026-05-04 16:13:04 +02:00
Nicolò RibaudoandGitHub 33a46e527b Disallow decorators on abstract/declare fields (#17949) 2026-05-01 18:50:07 +02:00
Nicolò RibaudoandGitHub 1945a60402 Fix decorators interaction with abstract/declare fields (#17947) 2026-04-27 11:50:20 +02:00
Nicolò RibaudoandGitHub a533bfaea6 Remove Scope#buildUndefinedNode (#17937) 2026-04-21 12:36:14 +02:00
Nicolò RibaudoandGitHub 52d6f4ee74 Update babel-polyfills to 1.0.0-rc.2 (#17936) 2026-04-17 15:47:06 +02:00
Nicolò RibaudoandGitHub 98a87baabd Add sourceSelf option to @babel/plugin-transform-react-jsx-development (#17862) 2026-03-11 16:26:29 +01:00
Nicolò RibaudoandGitHub 5aa0afbaee Replace npmjs.com links with npmx.dev (#17847) 2026-03-10 16:33:35 +01:00
Nicolò RibaudoandGitHub d35b75553b Do not use special labels for Babel 8 (#17861) 2026-03-08 00:01:56 +01:00
Nicolò RibaudoandGitHub 9c751afd8b Remove engines field from @babel/runtime (#17855) 2026-03-07 23:06:30 +01:00
Nicolò RibaudoandGitHub 9bc6cc7f27 Load async Wasm and JSON imports in parallel (#17818) 2026-03-02 23:07:38 +01:00
4cdafb148f Do not split awaitAsyncGenerator in await yield (#17362)
Co-authored-by: Babel Bot <[email protected]>
2026-02-27 17:17:32 +01:00
Nicolò RibaudoandGitHub ebacc453d6 Pass file instead of path to importToPlatformApi builders (#17816) 2026-02-23 18:14:06 +01:00
Nicolò RibaudoandGitHub abae525b8f Set peer dep on @babel/core to workspace:^ (#17800)
* Set peer dep on `@babel/core` to `workspace:^`

* Other folders
2026-02-15 20:15:33 +01:00
Nicolò RibaudoandGitHub bf44c0be80 Remove Babel 7 plugins from parser types (#17793)
* Remove Babel 7 plugins from parser types

* Remove useless explicitResourceManagement usage
2026-02-15 19:33:15 +01:00
Nicolò RibaudoandGitHub 52a64b9966 Archive syntax plugins enabled by default (#17792)
* Archive syntax plugins enabled by default

* Update fixture options
2026-02-15 19:06:08 +01:00
Nicolò RibaudoandGitHub adc1eb85d1 Remove browser entrypoint for @babel/register (#17762) 2026-01-31 14:51:04 +01:00
Nicolò RibaudoandGitHub 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
Nicolò RibaudoandGitHub c7b583d41c Fix ensure-packages-exist ci command (#17757) 2026-01-30 00:13:00 +01:00
Nicolò Ribaudo 23c9327983 Move Babel 8 changelog to top level (#17753) 2026-01-29 19:43:02 +01:00
Nicolò Ribaudo 6bdab8bbee Move shared v7 changelog to .github (#17753) 2026-01-29 19:43:02 +01:00
Nicolò RibaudoandGitHub d98d2dbfbf Add CI check to make sure packages exist on npm (#17751) 2026-01-29 19:40:57 +01:00
Nicolò RibaudoandGitHub 3fc5a854b1 Use require(esm) for @babel/core (#17743) 2026-01-29 19:18:51 +01:00
Nicolò RibaudoandGitHub ba1834a439 Update polyfill packages (#17726)
* Update polyfill packages

* pack-script
2026-01-23 22:13:10 +01:00
Nicolò RibaudoandGitHub f5cfbbac33 Remove rm for deleted prettier file (#17712) 2026-01-16 16:12:12 +01:00
Nicolò RibaudoandGitHub c7da5b1548 [babel 8] Ensure that we are still releasing all packages (#17706)
Ensure that we are still releasing all packages
2026-01-12 18:52:16 +01:00
Nicolò RibaudoandGitHub f3131cdd44 Fix version bumping in release process (#17705) 2026-01-12 18:16:04 +01:00
Nicolò RibaudoandGitHub 5881b8c050 Clean up release workflow (#17704) 2026-01-12 18:07:38 +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
Nicolò RibaudoandGitHub 63106016a6 Update publishing process for Babel 8 (#17660) 2026-01-09 18:05:24 +01:00
Nicolò RibaudoandGitHub 469e3bd9b2 Remove remaining @babel/runtime-corejs2 references (#17632) 2025-12-28 08:59:58 -05:00
Nicolò RibaudoandGitHub 20ebdc2b59 Remove unused deps (#17676) 2025-12-19 22:03:58 +01:00
Nicolò RibaudoandGitHub 463bcf8914 Stop vendoring import-meta-resolve (#17677) 2025-12-19 18:29:49 +01:00
Nicolò RibaudoandGitHub e1f1231270 Update semver (#17674) 2025-12-19 15:18:21 +01:00
Nicolò RibaudoandGitHub d9dc25cc21 Cleanup Babel and Jest configs (#17637)
* Cleanup Babel and Jest configs

* Rebuild makefile

* Fix

* Update testRegex
2025-12-16 10:38:28 -05:00
Nicolò RibaudoandGitHub d15bcefde5 Fix prettier e2e test (#17664) 2025-12-15 15:40:28 +01:00
Nicolò RibaudoandGitHub 4b7a25e092 Remove @onlyBabel7 helpers (#17661) 2025-12-15 11:14:36 +01:00
Nicolò RibaudoandGitHub 9c37605d7d Remove regenerator-runtime from @babel/node (#17639) 2025-12-15 11:06:06 +01:00
Nicolò RibaudoandGitHub c003599b2c [babel 8] Add sideEffects: false to babel-runtime (#17529) 2025-12-12 09:54:07 -05:00
Nicolò RibaudoandGitHub 8cb118bff4 Cleanup USE_ESM, IS_BABEL_8(), and itGte usage (#17631) 2025-12-09 09:37:19 +01:00
Nicolò RibaudoandGitHub a1466b4e5f Remove corejs2 and legacy files from compat-data (#17633)
* Remove corejs2 and legacy files from compat-data

* Suppress wrong linting errors

* Update eslint comment
2025-12-08 16:59:40 +01:00
Nicolò RibaudoandGitHub f95f81fabe Remove ./regenerator entrypoint from @babel/runtime (#17635) 2025-12-07 01:34:18 +01:00
Nicolò RibaudoandGitHub ecb14098ed Handle remaining Babel 8 TODOs in tests (#17636) 2025-12-05 15:28:30 +01:00
Nicolò RibaudoandGitHub 962c1b92fe Remove unused Babel-7-only source files (#17634) 2025-12-05 13:28:51 +01:00
Nicolò Ribaudo 3a912d1a39 Remove Babel 7 from the codebase (#17618) 2025-12-05 12:33:52 +01:00
Nicolò Ribaudo 36efd270f3 RUN: yarn gulp materialize-babel-8-tests 2025-12-05 12:33:52 +01:00
Nicolò Ribaudo 38bb9b543f RUN: node scripts/remove-babel-7-tests.mjs 2025-12-05 12:33:52 +01:00
Nicolò Ribaudo 17be86c52e RUN: yarn condition materialize --true USE_ESM 2025-12-05 12:33:52 +01:00
Nicolò Ribaudo 09402eeda6 RUN: yarn condition materialize --true BABEL_8_BREAKING 2025-12-05 12:33:52 +01:00
Nicolò Ribaudo f261ce082c RUN: yarn gulp materialize-babel-8-src 2025-12-05 12:33:52 +01:00
Nicolò RibaudoandGitHub 6572ee9c7e Add script to materialize itBabel8&co in tests (#17623) 2025-11-28 17:25:32 +01:00
Nicolò RibaudoandGitHub 3518228b59 [babel 8] Remove @babel/types dep from helper-builder-react-jsx (#17621) 2025-11-28 15:41:22 +01:00
Nicolò RibaudoandGitHub 8f319beaaa [babel 8] Rename TSImportType.argument to .source (#17610) 2025-11-28 12:41:53 +01:00
Nicolò RibaudoandGitHub a7c24f998b Add script to remove Babel 7 tests (#17616) 2025-11-28 12:33:00 +01:00
Nicolò RibaudoandGitHub 9bae1b0d63 Run transform-runtime tests also in Babel 8 (#17615) 2025-11-28 11:44:31 +01:00
Nicolò RibaudoandGitHub 4066835dfc [babel 8] Fully remove import assertions (#17603) 2025-11-26 11:42:24 +01:00
Nicolò RibaudoandGitHub c6799308b1 Allow Babel 8 in compatible Babel 7 plugins (#17580) 2025-11-25 10:01:28 +01:00
Nicolò RibaudoandGitHub 603de86d78 Add logic to materialize Babel 8 in source (#17605)
* Add logic to materialize Bbael 8 in source

* Avoid empty blocks

* Remove Babel 7 vs Babel 8 ts comments

* Flatten object spread
2025-11-25 07:13:14 +01:00
Nicolò RibaudoandGitHub 4ef6adb483 Update Babel (#17604) 2025-11-24 16:09:02 +01:00
Nicolò RibaudoandGitHub e584cce3bf Add BABEL_7_TO_8_DANGEROUSLY_DISABLE_VERSION_CHECK (#17569)
* Add `BABEL_ALLOW_VERSION_MISMATCH` to suppress version check

* update
2025-11-11 10:33:26 -05:00
Nicolò RibaudoandGitHub 7ac8f87b8f Fully remove Records and Tuples support (#17528) 2025-10-23 17:53:20 +02:00
Nicolò RibaudoandGitHub 234d00c032 Update Yarn (#17561) 2025-10-23 16:31:28 +02:00
Nicolò RibaudoandGitHub 13c561b56b Update plugin-babel-release-tool (#17560) 2025-10-23 14:01:13 +02:00
Nicolò RibaudoandGitHub e8ef1bd7b9 Use Node.js latest for release action (#17559) 2025-10-23 13:38:05 +02:00
Nicolò RibaudoandGitHub ab08103ed2 Do not pass npm token when trusted publishing (#17557) 2025-10-23 13:31:31 +02:00
Nicolò RibaudoandGitHub abafb1257f Try trusted publishing (#17551) 2025-10-23 13:29:20 +02:00
Nicolò RibaudoandGitHub a688b3829d Fix Prettier e2e test for Babel 8 (#17539) 2025-10-03 17:03:58 +02:00
Nicolò RibaudoandGitHub 3ce22e50b1 [babel 8] Update default @babel/runtime version (#17512)
* Add wrong test

* [babel 8] Update default `@babel/runtime` version
2025-09-17 13:32:37 -04:00
Nicolò RibaudoandGitHub 78f082ec17 [babel 8] Remove semver dependency from transform-runtime (#17511) 2025-09-14 13:02:09 +02:00
Nicolò RibaudoandGitHub 5671ccb07a [babel 8] Add @types/jsesc as a dep of @babel/generator (#17459) 2025-08-07 20:14:13 +02:00
Nicolò RibaudoandGitHub 4c1802eff4 Type-check .d.ts file with strict: true (#17461)
TypeCheck `.d.ts` file with `strict: true`
2025-08-01 09:58:47 +02:00
7e13d30e73 [static blocks] Do not inject new static fields after static code (#17443)
* [static blocks] Do not inject new static fields after static code

* Update fixtures

* Less parentheses

* Avoid temp variable

* Preserve class name

* Fix Babel 8

* Fix ts

* fix ts again

* harden new-target test

* Fix old Babel 7 compat

---------

Co-authored-by: Huáng Jùnliàng <[email protected]>
2025-07-28 15:25:17 -04:00
Nicolò RibaudoandGitHub 92dd62a17c Do not save last yield in call in temp var (#17363)
* Do not save last yield in call in temp var

* Avoid findLastIndex
2025-07-28 10:16:15 -04:00
Nicolò RibaudoandGitHub 5e2419d854 [babel 7] Make operator param in t.tsTypeOperator optional (#17445) 2025-07-19 09:28:15 +02:00
Nicolò Ribaudo 4ccbc1ffc9 v7.28.0 2025-07-02 10:17:23 +02:00
Nicolò RibaudoandGitHub 4d664db3dc Update source maps packages (#17420)
* Update source maps packages

* yarn dedupe

* Dedupe

* Update more
2025-07-01 21:22:34 +02:00
Nicolò RibaudoandGitHub 1b7b9128fc Downgrade source map packages in Node.js 6 CI (#17415) 2025-06-30 16:30:04 +02:00