241 Commits
Author SHA1 Message Date
Babel Bot 9fe4da3682 v8.0.1 2026-06-17 09:32:22 +00:00
Huáng JùnliàngandGitHub f3ed368dac chore(pkg): set @babel/core peer deps to ^8.0.0 (#18076) 2026-06-17 10:34:45 +02:00
Babel Bot 3c3a884ef0 v8.0.0 2026-06-16 13:18:47 +00:00
Babel Bot f140c93bd4 v8.0.0-rc.6 2026-05-25 10:05:26 +00:00
Babel Bot aa927dfacc v8.0.0-rc.5 2026-05-12 14:11:55 +00:00
Nicolò RibaudoandGitHub 4e772f1762 Require Node.js ^22.18.0 || >=24.11.0 (#17969) 2026-05-04 16:13:04 +02:00
Babel Bot 83172db3de v8.0.0-rc.4 2026-04-29 21:16:28 +00:00
Huáng JùnliàngandGitHub cca7a54f30 chore: inline REQUIRED_VERSION(7) special case (#17897) 2026-04-17 15:26:44 +02:00
liuxingbaoyuandGitHub 44735d3735 Prefer t.buildUndefinedNode (#17884)
use t.buildUndefinedNode
2026-03-18 20:52:27 +01:00
Babel Bot e9aee268f2 v8.0.0-rc.3 2026-03-16 20:05:42 +00:00
liuxingbaoyuandGitHub c344460fb9 Enable strictNullChecks for more packages (#17828) 2026-02-27 18:06:28 +01:00
Babel Bot 61fc88af27 v8.0.0-rc.2 2026-02-15 20:15:06 +00: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
liuxingbaoyuandGitHub 24fda9baeb chore: Migrate scripts to .ts (#17767) 2026-02-13 15:26:32 +01:00
Babel Bot 63a1a64aec v8.0.0-rc.1 2026-01-31 17:39:26 +00:00
Babel Bot b013551daf v8.0.0-beta.4 2026-01-12 17:17:40 +00:00
Nicolò RibaudoandGitHub 63106016a6 Update publishing process for Babel 8 (#17660) 2026-01-09 18:05:24 +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
Babel Bot b08a1abcec v7.27.1 2025-04-30 14:58:50 +00:00
Huáng JùnliàngandGitHub ec97fffd3a [Babel 8] Bump nodejs requirements to ^20.19.0 || >= 22.12.0 (#17204)
* bump node.js requirements to ^20.19.0 || >= 22.12.0

* update package.json

* update babel.config.js

* update CI config
2025-03-27 10:42:17 +01:00
liuxingbaoyuandGitHub e20a12d698 chore: Update TS 5.7 (#17053) 2025-01-09 17:36:20 +01:00
Babel Bot 5f016466a3 v7.25.9 2024-10-22 14:56:14 +00:00
liuxingbaoyuandGitHub 78125495a9 fix: Accidentally publishing useless files (#16917) 2024-10-22 15:30:01 +02:00
Babel Bot 11c9f5a91a v7.25.7 2024-10-02 15:04:31 +00:00
Nicolò RibaudoandGitHub 3833aacd7b [babel 8] Require Node.js ^18.20.0 || ^20.17.0 || >=22.8.0 (#16800) 2024-09-04 15:49:27 +02:00
Nicolò RibaudoandGitHub 0e423477d9 Ignore devDependencies when generating tsconfig.json (#16659) 2024-07-31 18:20:06 +02:00
Babel Bot 7f306ed185 v7.24.7 2024-06-05 13:06:14 +00:00
Nicolò RibaudoandGitHub 1255a2af9a Use type: module in all package.jsons (#16535)
* Use `type: module` in all `package.json`s

* Remove now unnecessary `{ "type": "module" }` package.jsons

* Use `type: commonjs` where needed
2024-05-30 09:27:35 +02:00
Babel Bot af9c7f337f v7.24.6 2024-05-24 12:15:51 +00:00
Nicolò RibaudoandGitHub 9532c506bb [babel 8] Publish .d.ts files for every package (#16416) 2024-05-15 12:41:52 +02:00
Huáng JùnliàngandGitHub 67639c5e79 [babel 8] Require Node.js ^18.20.0 || ^20.10.0 || >=21.0.0 (#16457)
* bump node requirements to ^18.18.0 || >=20.0.0

* update ci configs

* bump to ^18.20.0 || ^20.10.0 || >= 21.0.0
2024-04-30 10:25:22 -04:00
33c611bdaa Use multiple TypeScript projects (#16430)
Co-authored-by: Babel Bot <[email protected]>
2024-04-24 15:11:45 +02:00
Babel Bot a5485d8ec3 v7.24.1 2024-03-19 09:41:34 +00:00
Nicolò RibaudoandGitHub 73c771c624 Test Babel 7 plugins compatibility with Babel 8 core (#16332)
* Allow configuring monorepo root in helper-fixtures

* Do not `require()` old syntax plugins when loading with Babel 8

* Add `REQUIRED_VERSION` macro

* Add test utils for Babel 7 plugins with Babel 8 core

* Run on CI

* babel.config.js runs in node 6

* chmod

* external-helpers doesn't work with Babel 8

* Discard changes to packages/babel-helper-fixtures/src/index.ts

* Use `yarn constraints` to update package.json
2024-03-07 13:45:11 +01:00
Babel Bot 96c9c652ed v7.23.3 2023-11-09 06:53:25 +00:00
Nicolò RibaudoandGitHub cdcc041d03 Require exact Babel 8 version in assertVersion (#15955) 2023-10-13 17:41:10 +09:00
Nicolò RibaudoandGitHub 3c210ed5b3 Inline exports.XXX = update in simple variable declarations (#15984) 2023-09-19 16:25:14 +02:00
liuxingbaoyuandGitHub e5f27d7466 chore: Run readmes.js in CI (#15690) 2023-06-13 15:51:13 +02:00
Babel Bot 2a83a5c669 v7.22.5 2023-06-08 18:10:27 +00:00
Nicolò RibaudoandGitHub 52720bacc4 [babel 8] Require Node.js ^16.20.0 || ^18.16.0 || >=20.0.0 (#15585) 2023-06-01 16:56:01 +02:00
Nicolò Ribaudo 42ab41c5c0 v7.21.0 2023-02-20 15:53:18 +01:00
5b3fe3a993 docs: fix typos (#15432)
Co-authored-by: Huáng Jùnliàng <[email protected]>
2023-02-18 18:12:31 +01:00
b70f712746 Reverts "Re-use common JSX element transform for <>...</>" (#15355)
* Reverts "Re-use common JSX element transform for <>...</>"

* add a regression test

* fix Babel 8 test error

* Update fixtures (Windows)

* disable the regression test on Babel 8

Co-authored-by: Babel Bot <[email protected]>
2023-01-20 13:24:35 -05:00
26092a188f Re-use common JSX element transform for <>...</> (#15047)
* Re-use common JSX element transform for `<>...</>`

* Avoid trailing `void 0` params

* Update fixtures (Windows)

Co-authored-by: Babel Bot <[email protected]>
2022-12-13 21:43:52 +01:00
65b1f4e89e Improve comments generation (#14979)
Co-authored-by: Nicolò Ribaudo <[email protected]>
2022-10-09 17:21:02 +02:00
Babel Bot ad546db9e4 v7.18.6 2022-06-27 19:42:32 +00:00
318d66005b enable TS compiler option: noImplicitAny (#14601)
* enable noImplicitAny

* codemod (#14602)

* Improve preset/plugin-typescript typings (#14603)

* preset-typescript

* transform-typescript

* Update packages/babel-plugin-transform-typescript/src/enum.ts

Co-authored-by: Nicolò Ribaudo <[email protected]>

* prettier

Co-authored-by: Nicolò Ribaudo <[email protected]>

* Improve transform-runtime typings (#14605)

* enable noImplicitAny

* codemod (#14602)

* Improve preset/plugin-typescript typings (#14603)

* preset-typescript

* transform-typescript

* Update packages/babel-plugin-transform-typescript/src/enum.ts

Co-authored-by: Nicolò Ribaudo <[email protected]>

* prettier

Co-authored-by: Nicolò Ribaudo <[email protected]>

* improve transform-runtime typings

Co-authored-by: Nicolò Ribaudo <[email protected]>

* jsx (#14607)

* Improve module transform packages typings (#14608)

* improve babel-template typings (#14621)

* Improve @babel/helper-* typings (#14620)

* improve helper-function-name typings

* helper hoist variables

* helper-member-expression-to-functions

* helper-simple-access

* remap-async-to-generator

* helper-annotate-as-pure

* helper-builder-binary-assignment-operator-visitor

* helper-check-duplicate-nodes

* early return when export declaration is export all

* split-export-declaration

* helper-define-map

* define-map

* Update packages/babel-helper-builder-binary-assignment-operator-visitor/src/index.ts

Co-authored-by: Nicolò Ribaudo <[email protected]>

* review comments

Co-authored-by: Nicolò Ribaudo <[email protected]>

* improve helper-module-imports typings (#14623)

* refactor: simplify ImportInjector._applyDefaults

* helper-module-imports

* map globals to the one used in Babel 8

* Improve fixture-test-runner typings (#14625)

* plugin-test-runner

* fixture-test-runner

* Update packages/babel-helper-fixtures/src/index.ts

Co-authored-by: Nicolò Ribaudo <[email protected]>

Co-authored-by: Nicolò Ribaudo <[email protected]>

* Improve preset-env typings (#14606)

* refactor: move shipped-proposals to ts

* preset-env

* address review comments

* Improve pipeline-operator typings (#14629)

* refactor: simplify buildOptimizedSequenceExpression

* proposal-pipeline-operator

* address review comments

* improve standalone typings (#14630)

* babel-standalone

* address review comment

* Improve plugins typings (Part 1) (#14633)

* change AssumptionFunction return type

* helper-create-regexp-features-plugin

* create-class-features-plugin

* transform-for-of

* improve unicode-escapes typings

* transform-object-super

* transform-react-constant-elements

* proto-to-assign

* function-name

* flow-comments

TS cannot infer Flow visitor type because we have both Flow type and Flow virtual type.

* Improve code-frame/hightlight typings (#14643)

* code-frame

* map js-tokens to Babel 8

* highlight

* Improve `@babel/types` typings (#14645)

* bump to-fast-properties to v4

* types

* mark node comments as mutable

* Improve babel-core typings (#14622)

Co-authored-by: Nicolò Ribaudo <[email protected]>

* improve transform-classes typings (#14624)

* Improve `@babel/generator` typings (#14644)

* generator

* refactor: merge {start,end}Terminatorless to printTerminatorless

* inline buildYieldAwait

* inline ExportDeclaration

* also export Pos

* let getPossibleRaw return string | void

* Apply suggestions from code review

Co-authored-by: Nicolò Ribaudo <[email protected]>
Co-authored-by: liuxingbaoyu <[email protected]>

* address review comments

* do not export internal printer method

* simplify needsWhitespace

Co-authored-by: Nicolò Ribaudo <[email protected]>
Co-authored-by: liuxingbaoyu <[email protected]>

* Improve plugins typings (Part 2) (#14639)

* exponentiation-operator

* duplicate-keys

* computed-properties

* replace-supers

* block-scoping

* block-scoped-functions

* syntax-typescript

* record-and-tuple

* private-property-in-object

* partial-application

* json-strings

* function-sent

* function-bind

* class-static-block

* async-generator-functions

* Update packages/babel-plugin-transform-block-scoping/src/index.ts

* address review comments

* helper-replace-supers

* Improve plugins typings (Part 3) (#14642)

* external-helpers

* bugfix

* transform-parameters

* object-rest-spread

* destructuring-private

* transform-destructuring

* proposal-decorators

* optional-chaining

* helper-wrap-function

* explode-assignable-expression

* helper-compilation-targets

* helper-plugin-utils

* helpers

* helper-validator-option

* fix: allow "+" and "-" in MappedType .readonly/.optional

* fixture-test-runner

* remove charcodes from dependencies

the charcodes transform will inline charCodes.* so we can remove it from dependencies

* Improve traverse typings (#14648)

* export removeProperties options

* traverse

* fix other packages typings

* fix gatherNodeParts

* downgrade to-fast-properties to v3

* fix typo

* babel-core/normalize-file

* add ignore comment property used by flow plugin

* refine getLastStatement typings

* fix babel-standalone rebase typing error

* fix assert.rejects polyfill

* simplify _param typings

* supress Babel 7 AST errors

* loosen defineType typings

The AST typings are generated from defineType calls, so defineType should accept a string as type.

* restore legacy code

* Suppress data/core-js-compat importing errors

Co-authored-by: Nicolò Ribaudo <[email protected]>
Co-authored-by: liuxingbaoyu <[email protected]>
2022-06-21 16:03:37 -04:00
Nicolò RibaudoandGitHub e8c855c093 Enforce setting type in package.json (#14675) 2022-06-20 18:43:28 +02:00
Babel Bot 501320bff5 v7.16.7 2021-12-31 00:13:43 +00:00