Skip to content

Commit 71c247a

Browse files
authored
[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
1 parent c6b393e commit 71c247a

File tree

170 files changed

+171
-171
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+171
-171
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,10 @@ jobs:
314314
steps:
315315
- name: Checkout code
316316
uses: actions/checkout@v4
317-
- name: Use Node.js 16.20
317+
- name: Use Node.js 18.20.0
318318
uses: actions/setup-node@v4
319319
with:
320-
node-version: "16.20" # Node.js 16.20 is the first LTS supported by Babel 8
320+
node-version: "18.20.0" # Node.js 18.20.0 is the first LTS supported by Babel 8
321321
cache: "yarn"
322322
- name: Install
323323
run: |

codemods/babel-plugin-codemod-object-assign-to-object-spread/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"BABEL_8_BREAKING": [
3535
{
3636
"engines": {
37-
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
37+
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
3838
}
3939
},
4040
{

codemods/babel-plugin-codemod-optional-catch-binding/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"BABEL_8_BREAKING": [
3535
{
3636
"engines": {
37-
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
37+
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
3838
}
3939
},
4040
{

eslint/babel-eslint-parser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"BABEL_8_BREAKING": [
4949
{
5050
"engines": {
51-
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
51+
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
5252
},
5353
"peerDependencies": {
5454
"@babel/core": ">=7.11.0",

eslint/babel-eslint-plugin-development/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"BABEL_8_BREAKING": [
3838
{
3939
"engines": {
40-
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
40+
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
4141
}
4242
},
4343
{}

eslint/babel-eslint-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"BABEL_8_BREAKING": [
4848
{
4949
"engines": {
50-
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
50+
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
5151
},
5252
"peerDependencies": {
5353
"@babel/eslint-parser": "^7.11.0",

packages/babel-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"BABEL_8_BREAKING": [
5858
{
5959
"engines": {
60-
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
60+
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
6161
}
6262
},
6363
{

packages/babel-code-frame/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"BABEL_8_BREAKING": [
3131
{
3232
"engines": {
33-
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
33+
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
3434
}
3535
},
3636
{

packages/babel-compat-data/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"./plugin-bugfixes": "./plugin-bugfixes.js"
2323
},
2424
"engines": {
25-
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
25+
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
2626
}
2727
},
2828
null

packages/babel-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
}
9191
},
9292
"engines": {
93-
"node": "^16.20.0 || ^18.16.0 || >=20.0.0"
93+
"node": "^18.20.0 || ^20.10.0 || >=21.0.0"
9494
}
9595
},
9696
{

0 commit comments

Comments
 (0)