Skip to content

Commit 9a1fd14

Browse files
chore(deps): update node.js to v22
1 parent 4e040f0 commit 9a1fd14

19 files changed

+33
-42
lines changed

.github/workflows/build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Use Node.js 20
3939
uses: actions/setup-node@v4
4040
with:
41-
node-version: 20.x
41+
node-version: 22.x
4242
cache: 'yarn'
4343
- name: Enable corepack
4444
run: corepack enable

.github/workflows/build_coverage.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Use Node.js ${{ matrix.node-version }}
3838
uses: actions/setup-node@v4
3939
with:
40-
node-version: 20.x
40+
node-version: 22.x
4141
cache: 'yarn'
4242
- name: Enable corepack
4343
run: corepack enable

.github/workflows/build_frontend_prs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Use Node.js 20.x
2121
uses: actions/setup-node@v4
2222
with:
23-
node-version: 20.x
23+
node-version: 22.x
2424
- name: Enable corepack
2525
run: corepack enable
2626
- run: yarn --immutable

.github/workflows/build_prs_jest_report.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Use Node.js 20.x
3636
uses: actions/setup-node@v4
3737
with:
38-
node-version: 20.x
38+
node-version: 22.x
3939
cache: 'yarn'
4040
- name: Enable corepack
4141
run: corepack enable

.github/workflows/gitar-duet-action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Use Node.js 20
2525
uses: actions/setup-node@v4
2626
with:
27-
node-version: 20.x
27+
node-version: 22.x
2828
cache: 'yarn'
2929

3030
- name: Enable corepack

.github/workflows/gradual-strict-null-checks.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Use Node.js ${{ matrix.node-version }}
3131
uses: actions/setup-node@v4
3232
with:
33-
node-version: 20.x
33+
node-version: 22.x
3434
cache: 'yarn'
3535
cache-dependency-path: |
3636
current/yarn.lock

.github/workflows/notify_enterprise.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Use Node.js 20
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: 20.x
20+
node-version: 22.x
2121
cache: 'yarn'
2222
- name: Enable corepack
2323
run: corepack enable

.github/workflows/publish-new-version.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
- name: Use Node js 20
127127
uses: actions/setup-node@v4
128128
with:
129-
node-version: '20.x'
129+
node-version: '22.x'
130130
cache: 'yarn'
131131
- name: upgrade package version
132132
run: |

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup to npm
2323
uses: actions/setup-node@v4
2424
with:
25-
node-version: 20.x
25+
node-version: 22.x
2626
registry-url: 'https://registry.npmjs.org'
2727
cache: 'yarn'
2828
- name: Enable corepack

.github/workflows/update_contributors.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Use Node.js 20.x
1414
uses: actions/setup-node@v4
1515
with:
16-
node-version: 20.x
16+
node-version: 22.x
1717
- uses: actions/checkout@master
1818
with:
1919
repository: sighphyre/svg-contributors

.github/workflows/validate-migrations.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Use Node.js 20.x
2020
uses: actions/setup-node@v4
2121
with:
22-
node-version: 20.x
22+
node-version: 22.x
2323
cache: 'yarn'
2424
- name: Start database
2525
working-directory: test-migrations

.node-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.18.3
1+
22.14.0

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
22

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG NODE_VERSION=20.18.3-alpine
1+
ARG NODE_VERSION=22.14.0-alpine
22

33
FROM node:$NODE_VERSION AS builder
44

frontend/.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20
1+
22

frontend/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"@types/lodash.isequal": "^4.5.8",
6060
"@types/lodash.mapvalues": "^4.6.9",
6161
"@types/lodash.omit": "4.5.9",
62-
"@types/node": "^20.12.12",
62+
"@types/node": "^22.0.0",
6363
"@types/react": "18.3.18",
6464
"@types/react-dom": "18.3.5",
6565
"@types/react-router-dom": "5.3.3",

frontend/yarn.lock

+2-18
Original file line numberDiff line numberDiff line change
@@ -3088,7 +3088,7 @@ __metadata:
30883088
languageName: node
30893089
linkType: hard
30903090

3091-
"@types/node@npm:*":
3091+
"@types/node@npm:*, @types/node@npm:^22.0.0":
30923092
version: 22.13.10
30933093
resolution: "@types/node@npm:22.13.10"
30943094
dependencies:
@@ -3097,15 +3097,6 @@ __metadata:
30973097
languageName: node
30983098
linkType: hard
30993099

3100-
"@types/node@npm:^20.12.12":
3101-
version: 20.17.24
3102-
resolution: "@types/node@npm:20.17.24"
3103-
dependencies:
3104-
undici-types: "npm:~6.19.2"
3105-
checksum: 10c0/2a39ce4c4cd4588a05b2a485cc0a1407cbea608dd1ab03e36add59d61712718d95c84b492ca5190753f0be2bce748aeeb0f2a1412e712775462befe3820b3ff9
3106-
languageName: node
3107-
linkType: hard
3108-
31093100
"@types/parse-json@npm:^4.0.0":
31103101
version: 4.0.2
31113102
resolution: "@types/parse-json@npm:4.0.2"
@@ -9953,13 +9944,6 @@ __metadata:
99539944
languageName: node
99549945
linkType: hard
99559946

9956-
"undici-types@npm:~6.19.2":
9957-
version: 6.19.6
9958-
resolution: "undici-types@npm:6.19.6"
9959-
checksum: 10c0/9b2264c5700e7169c6c62c643aac56cd8984c5fd7e18ed31ff11780260e137f6340dee8317a2e6e0ae3c49f5e5ef6fa577ea07193cbaa535265cba76a267cae9
9960-
languageName: node
9961-
linkType: hard
9962-
99639947
"undici-types@npm:~6.20.0":
99649948
version: 6.20.0
99659949
resolution: "undici-types@npm:6.20.0"
@@ -10095,7 +10079,7 @@ __metadata:
1009510079
"@types/lodash.isequal": "npm:^4.5.8"
1009610080
"@types/lodash.mapvalues": "npm:^4.6.9"
1009710081
"@types/lodash.omit": "npm:4.5.9"
10098-
"@types/node": "npm:^20.12.12"
10082+
"@types/node": "npm:^22.0.0"
1009910083
"@types/react": "npm:18.3.18"
1010010084
"@types/react-dom": "npm:18.3.5"
1010110085
"@types/react-router-dom": "npm:5.3.3"

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"types": "./dist/lib/server-impl.d.ts",
3030
"engines": {
31-
"node": ">=18 <21"
31+
"node": ">=18 <23"
3232
},
3333
"license": "Apache-2.0",
3434
"main": "./dist/lib/server-impl.js",
@@ -191,7 +191,7 @@
191191
"@types/memoizee": "0.4.11",
192192
"@types/mime": "4.0.0",
193193
"@types/mustache": "^4.2.5",
194-
"@types/node": "20.17.22",
194+
"@types/node": "22.13.10",
195195
"@types/nodemailer": "6.4.17",
196196
"@types/owasp-password-strength-test": "1.3.2",
197197
"@types/pg": "8.11.11",

yarn.lock

+13-6
Original file line numberDiff line numberDiff line change
@@ -2103,12 +2103,12 @@ __metadata:
21032103
languageName: node
21042104
linkType: hard
21052105

2106-
"@types/node@npm:20.17.22":
2107-
version: 20.17.22
2108-
resolution: "@types/node@npm:20.17.22"
2106+
"@types/node@npm:22.13.10":
2107+
version: 22.13.10
2108+
resolution: "@types/node@npm:22.13.10"
21092109
dependencies:
2110-
undici-types: "npm:~6.19.2"
2111-
checksum: 10c0/5a78f60144bd69eaf1bdce39c906d988b0dc0f4c13068af9a3c44b0df737a0f363680a97d073a45d962b061cd4b3a8cfab71eec491ca6845888b68ab7855a778
2110+
undici-types: "npm:~6.20.0"
2111+
checksum: 10c0/a3865f9503d6f718002374f7b87efaadfae62faa499c1a33b12c527cfb9fd86f733e1a1b026b80c5a0e4a965701174bc3305595a7d36078aa1abcf09daa5dee9
21122112
languageName: node
21132113
linkType: hard
21142114

@@ -9262,6 +9262,13 @@ __metadata:
92629262
languageName: node
92639263
linkType: hard
92649264

9265+
"undici-types@npm:~6.20.0":
9266+
version: 6.20.0
9267+
resolution: "undici-types@npm:6.20.0"
9268+
checksum: 10c0/68e659a98898d6a836a9a59e6adf14a5d799707f5ea629433e025ac90d239f75e408e2e5ff086afc3cace26f8b26ee52155293564593fbb4a2f666af57fc59bf
9269+
languageName: node
9270+
linkType: hard
9271+
92659272
"unique-filename@npm:^3.0.0":
92669273
version: 3.0.0
92679274
resolution: "unique-filename@npm:3.0.0"
@@ -9334,7 +9341,7 @@ __metadata:
93349341
"@types/memoizee": "npm:0.4.11"
93359342
"@types/mime": "npm:4.0.0"
93369343
"@types/mustache": "npm:^4.2.5"
9337-
"@types/node": "npm:20.17.22"
9344+
"@types/node": "npm:22.13.10"
93389345
"@types/nodemailer": "npm:6.4.17"
93399346
"@types/owasp-password-strength-test": "npm:1.3.2"
93409347
"@types/pg": "npm:8.11.11"

0 commit comments

Comments
 (0)