Skip to content

Commit

Permalink
[babel 8] Require Node.js ^18.20.0 || ^20.10.0 || >=21.0.0 (#16457)
Browse files Browse the repository at this point in the history
* bump node requirements to ^18.18.0 || >=20.0.0

* update ci configs

* bump to ^18.20.0 || ^20.10.0 || >= 21.0.0
  • Loading branch information
JLHwung committed Apr 30, 2024
1 parent c6b393e commit 71c247a
Show file tree
Hide file tree
Showing 170 changed files with 171 additions and 171 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -314,10 +314,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js 16.20
- name: Use Node.js 18.20.0
uses: actions/setup-node@v4
with:
node-version: "16.20" # Node.js 16.20 is the first LTS supported by Babel 8
node-version: "18.20.0" # Node.js 18.20.0 is the first LTS supported by Babel 8
cache: "yarn"
- name: Install
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion eslint/babel-eslint-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
},
"peerDependencies": {
"@babel/core": ">=7.11.0",
Expand Down
2 changes: 1 addition & 1 deletion eslint/babel-eslint-plugin-development/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{}
Expand Down
2 changes: 1 addition & 1 deletion eslint/babel-eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
},
"peerDependencies": {
"@babel/eslint-parser": "^7.11.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-code-frame/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-compat-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"./plugin-bugfixes": "./plugin-bugfixes.js"
},
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
null
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
}
},
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-annotate-as-pure/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-builder-react-jsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-check-duplicate-nodes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{}
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-compilation-targets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-environment-visitor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{}
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-fixtures/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-function-name/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-hoist-variables/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-import-to-platform-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-module-imports/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-module-transforms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-plugin-test-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"./package.json": "./package.json"
},
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-plugin-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-replace-supers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-simple-access/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-string-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-validator-identifier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{}
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-validator-option/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{}
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helper-wrap-function/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-highlight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"BABEL_8_BREAKING": [
{
"engines": {
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
}
},
{}
Expand Down

0 comments on commit 71c247a

Please sign in to comment.