Replace NodeJS 21 with 22 in devEngines field (#30598)

21 is EOL and 22 is stable now.

Homebrew installs 22 by default as well which is the practical reason
for me to update this.
This commit is contained in:
Jan Kassens 2024-08-06 11:06:14 -04:00 committed by GitHub
parent eb1d52b01b
commit 187dd6a7a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
"version": "0.1.0",
"private": true,
"devEngines": {
"node": "20.x || 21.x"
"node": "20.x || 22.x"
},
"dependencies": {
"@babel/core": "^7.16.0",

View File

@ -103,7 +103,7 @@
"yargs": "^15.3.1"
},
"devEngines": {
"node": "16.x || 18.x || 20.x || 21.x"
"node": "16.x || 18.x || 20.x || 22.x"
},
"jest": {
"testRegex": "/scripts/jest/dont-run-jest-directly\\.js$"