Skip to content

Commit 4d92d60

Browse files
chore(deps): update node.js to v22
1 parent 34abb26 commit 4d92d60

19 files changed

+37
-37
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

+6-13
Original file line numberDiff line numberDiff line change
@@ -3097,12 +3097,12 @@ __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"
3100+
"@types/node@npm:^22.0.0":
3101+
version: 22.13.13
3102+
resolution: "@types/node@npm:22.13.13"
31033103
dependencies:
3104-
undici-types: "npm:~6.19.2"
3105-
checksum: 10c0/2a39ce4c4cd4588a05b2a485cc0a1407cbea608dd1ab03e36add59d61712718d95c84b492ca5190753f0be2bce748aeeb0f2a1412e712775462befe3820b3ff9
3104+
undici-types: "npm:~6.20.0"
3105+
checksum: 10c0/daf792ba5dcff1316abf4b33680f94b792f8d54d6ae495efc8929531e0ba1284a248d29aab117d2259f9280284d986ad5799b193b0516e2b926d713aab835f7d
31063106
languageName: node
31073107
linkType: hard
31083108

@@ -9953,13 +9953,6 @@ __metadata:
99539953
languageName: node
99549954
linkType: hard
99559955

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-
99639956
"undici-types@npm:~6.20.0":
99649957
version: 6.20.0
99659958
resolution: "undici-types@npm:6.20.0"
@@ -10095,7 +10088,7 @@ __metadata:
1009510088
"@types/lodash.isequal": "npm:^4.5.8"
1009610089
"@types/lodash.mapvalues": "npm:^4.6.9"
1009710090
"@types/lodash.omit": "npm:4.5.9"
10098-
"@types/node": "npm:^20.12.12"
10091+
"@types/node": "npm:^22.0.0"
1009910092
"@types/react": "npm:18.3.18"
1010010093
"@types/react-dom": "npm:18.3.5"
1010110094
"@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.24",
194+
"@types/node": "22.13.13",
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
@@ -2115,12 +2115,12 @@ __metadata:
21152115
languageName: node
21162116
linkType: hard
21172117

2118-
"@types/node@npm:20.17.24":
2119-
version: 20.17.24
2120-
resolution: "@types/node@npm:20.17.24"
2118+
"@types/node@npm:22.13.13":
2119+
version: 22.13.13
2120+
resolution: "@types/node@npm:22.13.13"
21212121
dependencies:
2122-
undici-types: "npm:~6.19.2"
2123-
checksum: 10c0/2a39ce4c4cd4588a05b2a485cc0a1407cbea608dd1ab03e36add59d61712718d95c84b492ca5190753f0be2bce748aeeb0f2a1412e712775462befe3820b3ff9
2122+
undici-types: "npm:~6.20.0"
2123+
checksum: 10c0/daf792ba5dcff1316abf4b33680f94b792f8d54d6ae495efc8929531e0ba1284a248d29aab117d2259f9280284d986ad5799b193b0516e2b926d713aab835f7d
21242124
languageName: node
21252125
linkType: hard
21262126

@@ -9267,6 +9267,13 @@ __metadata:
92679267
languageName: node
92689268
linkType: hard
92699269

9270+
"undici-types@npm:~6.20.0":
9271+
version: 6.20.0
9272+
resolution: "undici-types@npm:6.20.0"
9273+
checksum: 10c0/68e659a98898d6a836a9a59e6adf14a5d799707f5ea629433e025ac90d239f75e408e2e5ff086afc3cace26f8b26ee52155293564593fbb4a2f666af57fc59bf
9274+
languageName: node
9275+
linkType: hard
9276+
92709277
"unique-filename@npm:^3.0.0":
92719278
version: 3.0.0
92729279
resolution: "unique-filename@npm:3.0.0"
@@ -9339,7 +9346,7 @@ __metadata:
93399346
"@types/memoizee": "npm:0.4.11"
93409347
"@types/mime": "npm:4.0.0"
93419348
"@types/mustache": "npm:^4.2.5"
9342-
"@types/node": "npm:20.17.24"
9349+
"@types/node": "npm:22.13.13"
93439350
"@types/nodemailer": "npm:6.4.17"
93449351
"@types/owasp-password-strength-test": "npm:1.3.2"
93459352
"@types/pg": "npm:8.11.11"

0 commit comments

Comments
 (0)