Skip to content

chore(deps): update node.js to v22 #9487

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
cache: 'yarn'
- name: Enable corepack
run: corepack enable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
cache: 'yarn'
- name: Enable corepack
run: corepack enable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_frontend_prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
- name: Enable corepack
run: corepack enable
- run: yarn --immutable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_prs_jest_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
cache: 'yarn'
- name: Enable corepack
run: corepack enable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gitar-duet-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
cache: 'yarn'

- name: Enable corepack
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gradual-strict-null-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
cache: 'yarn'
cache-dependency-path: |
current/yarn.lock
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notify_enterprise.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
cache: 'yarn'
- name: Enable corepack
run: corepack enable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-new-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
- name: Use Node js 20
uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: '22.x'
cache: 'yarn'
- name: upgrade package version
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup to npm
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
registry-url: 'https://registry.npmjs.org'
cache: 'yarn'
- name: Enable corepack
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_contributors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
- uses: actions/checkout@master
with:
repository: sighphyre/svg-contributors
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-migrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
cache: 'yarn'
- name: Start database
working-directory: test-migrations
Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.18.3
22.15.0
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
22
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG NODE_VERSION=20.19.0-alpine3.21
ARG NODE_VERSION=22.15.0-alpine3.21

FROM node:$NODE_VERSION AS builder

Expand Down
2 changes: 1 addition & 1 deletion frontend/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
22
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@types/lodash.isequal": "^4.5.8",
"@types/lodash.mapvalues": "^4.6.9",
"@types/lodash.omit": "4.5.9",
"@types/node": "^20.12.12",
"@types/node": "^22.0.0",
"@types/react": "18.3.18",
"@types/react-dom": "18.3.5",
"@types/react-router-dom": "5.3.3",
Expand Down
26 changes: 13 additions & 13 deletions frontend/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3108,12 +3108,12 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:^20.12.12":
version: 20.17.24
resolution: "@types/node@npm:20.17.24"
"@types/node@npm:^22.0.0":
version: 22.15.17
resolution: "@types/node@npm:22.15.17"
dependencies:
undici-types: "npm:~6.19.2"
checksum: 10c0/2a39ce4c4cd4588a05b2a485cc0a1407cbea608dd1ab03e36add59d61712718d95c84b492ca5190753f0be2bce748aeeb0f2a1412e712775462befe3820b3ff9
undici-types: "npm:~6.21.0"
checksum: 10c0/fb92aa10b628683c5b965749f955bc2322485ecb0ea6c2f4cae5f2c7537a16834607e67083a9e9281faaae8d7dee9ada8d6a5c0de9a52c17d82912ef00c0fdd4
languageName: node
linkType: hard

Expand Down Expand Up @@ -9987,20 +9987,20 @@ __metadata:
languageName: node
linkType: hard

"undici-types@npm:~6.19.2":
version: 6.19.6
resolution: "undici-types@npm:6.19.6"
checksum: 10c0/9b2264c5700e7169c6c62c643aac56cd8984c5fd7e18ed31ff11780260e137f6340dee8317a2e6e0ae3c49f5e5ef6fa577ea07193cbaa535265cba76a267cae9
languageName: node
linkType: hard

"undici-types@npm:~6.20.0":
version: 6.20.0
resolution: "undici-types@npm:6.20.0"
checksum: 10c0/68e659a98898d6a836a9a59e6adf14a5d799707f5ea629433e025ac90d239f75e408e2e5ff086afc3cace26f8b26ee52155293564593fbb4a2f666af57fc59bf
languageName: node
linkType: hard

"undici-types@npm:~6.21.0":
version: 6.21.0
resolution: "undici-types@npm:6.21.0"
checksum: 10c0/c01ed51829b10aa72fc3ce64b747f8e74ae9b60eafa19a7b46ef624403508a54c526ffab06a14a26b3120d055e1104d7abe7c9017e83ced038ea5cf52f8d5e04
languageName: node
linkType: hard

"unified@npm:^10.0.0":
version: 10.1.2
resolution: "unified@npm:10.1.2"
Expand Down Expand Up @@ -10129,7 +10129,7 @@ __metadata:
"@types/lodash.isequal": "npm:^4.5.8"
"@types/lodash.mapvalues": "npm:^4.6.9"
"@types/lodash.omit": "npm:4.5.9"
"@types/node": "npm:^20.12.12"
"@types/node": "npm:^22.0.0"
"@types/react": "npm:18.3.18"
"@types/react-dom": "npm:18.3.5"
"@types/react-router-dom": "npm:5.3.3"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"types": "./dist/lib/server-impl.d.ts",
"engines": {
"node": ">=18 <21"
"node": ">=18 <23"
},
"license": "Apache-2.0",
"main": "./dist/lib/server-impl.js",
Expand Down Expand Up @@ -194,7 +194,7 @@
"@types/memoizee": "0.4.11",
"@types/mime": "4.0.0",
"@types/mustache": "^4.2.5",
"@types/node": "20.17.24",
"@types/node": "22.15.17",
"@types/nodemailer": "6.4.17",
"@types/owasp-password-strength-test": "1.3.2",
"@types/pg": "8.11.11",
Expand Down
19 changes: 13 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2115,12 +2115,12 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:20.17.24":
version: 20.17.24
resolution: "@types/node@npm:20.17.24"
"@types/node@npm:22.15.17":
version: 22.15.17
resolution: "@types/node@npm:22.15.17"
dependencies:
undici-types: "npm:~6.19.2"
checksum: 10c0/2a39ce4c4cd4588a05b2a485cc0a1407cbea608dd1ab03e36add59d61712718d95c84b492ca5190753f0be2bce748aeeb0f2a1412e712775462befe3820b3ff9
undici-types: "npm:~6.21.0"
checksum: 10c0/fb92aa10b628683c5b965749f955bc2322485ecb0ea6c2f4cae5f2c7537a16834607e67083a9e9281faaae8d7dee9ada8d6a5c0de9a52c17d82912ef00c0fdd4
languageName: node
linkType: hard

Expand Down Expand Up @@ -9345,6 +9345,13 @@ __metadata:
languageName: node
linkType: hard

"undici-types@npm:~6.21.0":
version: 6.21.0
resolution: "undici-types@npm:6.21.0"
checksum: 10c0/c01ed51829b10aa72fc3ce64b747f8e74ae9b60eafa19a7b46ef624403508a54c526ffab06a14a26b3120d055e1104d7abe7c9017e83ced038ea5cf52f8d5e04
languageName: node
linkType: hard

"unique-filename@npm:^3.0.0":
version: 3.0.0
resolution: "unique-filename@npm:3.0.0"
Expand Down Expand Up @@ -9417,7 +9424,7 @@ __metadata:
"@types/memoizee": "npm:0.4.11"
"@types/mime": "npm:4.0.0"
"@types/mustache": "npm:^4.2.5"
"@types/node": "npm:20.17.24"
"@types/node": "npm:22.15.17"
"@types/nodemailer": "npm:6.4.17"
"@types/owasp-password-strength-test": "npm:1.3.2"
"@types/pg": "npm:8.11.11"
Expand Down