39 Commits
Author SHA1 Message Date
liuxingbaoyuandGitHub d1a1b1a636 chore: Some minor cleanup (#18148) 2026-07-21 21:46:24 +02:00
Huáng JùnliàngandGitHub 2093765b12 chore: use bundled dts for register and eslint-* (#17993)
* chore(dts): bundle babel-register and eslint-*

* chore: cleanup yarn constraints config

* chore: improve eslint-* typings
2026-05-20 21:39:20 -04:00
liuxingbaoyuandGitHub 51d2fa81e4 Remove transform-object-set-prototype-of-to-assign (#17958) 2026-05-01 19:17:02 +02:00
Huáng JùnliàngandGitHub f1f5f9d97c refactor(ts): migrate babel-eslint-plugin-* to TS (#17950)
* refactor(ts): convert eslint-plugin

* refactor(ts): convert esling-plugin-development

* refactor(ts): convert eslint-plugin-development-internal

* make ts happy

* fix default rules config
2026-04-30 19:42:39 -04:00
liuxingbaoyuandGitHub f805333d0a Remove @babel/plugin-transform-property-mutators (#17882)
* remove

* update
2026-03-19 18:28:39 +01:00
liuxingbaoyuandGitHub 5848bf4293 Remove @babel/helper-simple-access (#17883)
* remove

* update
2026-03-19 18:26:19 +01:00
Nicolò RibaudoandGitHub 98a87baabd Add sourceSelf option to @babel/plugin-transform-react-jsx-development (#17862) 2026-03-11 16:26:29 +01:00
b25bdec13b Add bugfix plugin for Safari array rest destructuring bug (#17788)
Co-authored-by: Nicolò Ribaudo <[email protected]>
2026-03-08 00:21:07 +01:00
Dexter.kandGitHub dda0fda078 Added developmentSourceSelfoption to gatesource/self in jsxDEV (#17845) 2026-03-07 23:58:10 +01:00
liuxingbaoyuandGitHub 236d8793fd Fix eslint package types (#17822) 2026-03-06 00:02:19 +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
liuxingbaoyuandGitHub 24fda9baeb chore: Migrate scripts to .ts (#17767) 2026-02-13 15:26:32 +01:00
liuxingbaoyuandGitHub f8a0339d74 Migrate eslint-parser to ESM (#17755)
* esm

* fix

* update tsconfig

* test

* improve

* browserslistConfigFile: false
2026-01-30 23:14:16 +01:00
Huáng JùnliàngandGitHub 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
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
liuxingbaoyuandGitHub f6f7f4409c [Babel 8] Remove plugin-transform-react-{compat,source,self} (#17620)
remove
2025-12-16 13:13:45 +01:00
Huáng JùnliàngandGitHub d6c5be0749 [Babel 8] Archive proposal-import-attributes-to-assertions (#17650)
archive proposal-import-attributes-to-assertions
2025-12-11 12:25:52 -05:00
Nicolò Ribaudo 3a912d1a39 Remove Babel 7 from the codebase (#17618) 2025-12-05 12:33:52 +01:00
Nicolò RibaudoandGitHub 7ac8f87b8f Fully remove Records and Tuples support (#17528) 2025-10-23 17:53:20 +02:00
Huáng JùnliàngandGitHub 0e36b4495f Bump regexpu-core to 6.3.1 (#17507)
* bump regexpu-core to 6.3.1

* migrate to official type definitions

* add more test cases to unicode-property-regex

* update test fixtures per Unicode 17

* improve script unknown test
2025-09-10 13:38:22 -04:00
Huáng JùnliàngandNicolò Ribaudo c072902f5e Transform discard binding (#17277)
* transform discard binding

* refactor extract functions to utils.ts

* expand scope integrity check to all binding identifiers

* update incomplete comment

* update test output fixtures

* remove forXStatement skip

* add more test cases

* feat: remove trailing void patterns on ignoreFunctionLength assumption

* make node 6 happy

* add more test cases

* skip some exec tests for Node < 12

* update tsconfig.json

* update test fixtures

* fix: handle integration issues

* run basic exec test on Node.js >= 16

* update test case

* feat: pass syntaxType from plugin option

* skip basic test for Node.js 6

* add more test cases

* add new multiple-void test case

* fix: disable named evaluation for parenthesized rhs

* fix: handle using named evaluation

* Revert "fix: disable named evaluation for parenthesized rhs"

This reverts commit 93cf63768e3d68778ee73935a6c8de9c9bba2e2e.

* prefix anonymous function with 0,

* improve takeVoidPatternComments

* use NodePath#splitExportDeclaration

* update test fixtures

* update test options

* update test fixtures due to regenerator runtime changes

* fix: remove VoidPattern from LVal

* fix: improve destructuring transform detection

Previously the isPattern check includes void pattern, which would result to an infinite recursion as the void pattern keeps being queued.

* fix incorrect typings

* update isAnonymousFunctionDefinition
2025-06-28 08:17:58 +02:00
Huáng JùnliàngandGitHub 577b41b198 Rename proposal explicit resource management (#17340)
* rename proposal-explicit-resource-management to transform-explicit-resource-management

* update library description

* bump Babel/core version requirements to ^7.23.9

* add deprecation reminder

* remove outdated reminders

* update reminder date
2025-06-02 09:07:07 -04:00
liuxingbaoyuandGitHub 3047a79bc8 Migrate @babel/register to cts (#16844)
cts
2025-04-03 11:41:47 +02:00
Nicolò RibaudoandGitHub 1f5f9b48bf Remove helper-builder-binary-assignment-operator-visitor (#16895)
* Remove helper-builder-binary-assignment-operator-visitor

* Fix super handling

* Fix TS

* Fix TS

* Review

* ts
2024-11-08 22:48:58 +01:00
Nicolò RibaudoandGitHub 927c909a62 Inline @babel/highlight in @babel/code-frame (#16896)
* Inline `@babel/highlight` in `@babel/code-frame`

* Imrove color stub logic

* Fix bundling

* Fix bundling

* Export highlight from code-frame

* Use `default` interop
2024-10-24 20:22:55 +02:00
Nicolò RibaudoandGitHub c28a4d60a0 Rename proposal-json-modules to transform-json-modules (#16924) 2024-10-24 17:44:19 +02:00
Huáng JùnliàngandGitHub b3a91a664a Add transform-regexp-modifiers to preset-env (#16692) 2024-10-23 16:38:29 +02:00
Nicolò RibaudoandGitHub a9b2dacf70 Archive syntax-import-reflection and syntax-decimal (#16809) 2024-09-06 23:49:06 +02:00
Nicolò RibaudoandGitHub b1f15bf4af Move ensureFunctionName to NodePath.prototype (#16658) 2024-07-26 17:58:39 +02:00
Nicolò Ribaudo 0eed0d38d3 Move hoistVariables to Scope.prototype (#16644) 2024-07-26 14:20:59 +02:00
Nicolò Ribaudo 49a86e0bf2 Move splitExportDeclaration to NodePath.prototype (#16645) 2024-07-26 14:20:59 +02:00
Nicolò Ribaudo 0a021d9fd4 Move environment-visitor helper into @babel/traverse (#16649) 2024-07-26 14:20:59 +02:00
9a4794a7ad Introduce bugfix-safari-class-field-initializer-scope (#16569)
Co-authored-by: Nicolò Ribaudo <[email protected]>
2024-07-26 11:46:26 +02:00
d390e6f470 Add duplicate-named-capturing-groups-regex to preset-env (#16445)
Co-authored-by: Nicolò Ribaudo <[email protected]>
2024-07-25 20:47:50 +02:00
Nicolò RibaudoandGitHub bcdc96f942 Revert "Move environment-visitor helper into @babel/traverse" (#16647)
Reverts #16577
2024-07-16 11:05:50 +02:00
Nicolò RibaudoandGitHub cf49310891 Move environment-visitor helper into @babel/traverse (#16577)
* Move `helper-environment-visitor` into `@babel/traverse`

* Avoid error due to version mismatch

* Babel 8 test
2024-07-15 23:06:56 +02:00
Huáng JùnliàngandGitHub 2654c748ba [Babel 8] Bump commander to 12.1.0 (#16517)
* unify cases

* bump commander to 12.0.0

* bump commander to 12.1.0

* review comments

* fix typing errors
2024-05-27 20:40:08 -04:00
Huáng JùnliàngandGitHub 6332002a8b Bump glob to 10.3.12 (#16450)
* bump glob to 9.3.5

* bump glob to 10.3.12

* remove var usage

* add esm exports

* replace glob imports for Babel 7 + ESM

* simplify Babel 7 ESM imports

* suppress TS errors

* Resolve glob typings to glob 10 used in Babel 8
2024-04-29 19:55:01 -04:00
33c611bdaa Use multiple TypeScript projects (#16430)
Co-authored-by: Babel Bot <[email protected]>
2024-04-24 15:11:45 +02:00