Skip to content

Commit 15449f1

Browse files
chore(deps): update node.js to v22
1 parent 7ca79c1 commit 15449f1

19 files changed

+44
-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
@@ -38,7 +38,7 @@ jobs:
3838
- name: Use Node.js ${{ matrix.node-version }}
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_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.15.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.19.0-alpine3.21
1+
ARG NODE_VERSION=22.15.0-alpine3.21
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
@@ -57,7 +57,7 @@
5757
"@types/lodash.isequal": "^4.5.8",
5858
"@types/lodash.mapvalues": "^4.6.9",
5959
"@types/lodash.omit": "4.5.9",
60-
"@types/node": "^20.12.12",
60+
"@types/node": "^22.0.0",
6161
"@types/react": "18.3.18",
6262
"@types/react-dom": "18.3.5",
6363
"@types/react-router-dom": "5.3.3",

frontend/yarn.lock

+13-13
Original file line numberDiff line numberDiff line change
@@ -3108,12 +3108,12 @@ __metadata:
31083108
languageName: node
31093109
linkType: hard
31103110

3111-
"@types/node@npm:^20.12.12":
3112-
version: 20.17.24
3113-
resolution: "@types/node@npm:20.17.24"
3111+
"@types/node@npm:^22.0.0":
3112+
version: 22.15.11
3113+
resolution: "@types/node@npm:22.15.11"
31143114
dependencies:
3115-
undici-types: "npm:~6.19.2"
3116-
checksum: 10c0/2a39ce4c4cd4588a05b2a485cc0a1407cbea608dd1ab03e36add59d61712718d95c84b492ca5190753f0be2bce748aeeb0f2a1412e712775462befe3820b3ff9
3115+
undici-types: "npm:~6.21.0"
3116+
checksum: 10c0/30019fe6f9f3a6aeade646a6a8af11e3d5fe1458a556b8ae404cea1da7fa496bb7f68ca5fa75deca358cfec80bed04fb7dd0d0203073a4208ec2e91c4037fddf
31173117
languageName: node
31183118
linkType: hard
31193119

@@ -9987,20 +9987,20 @@ __metadata:
99879987
languageName: node
99889988
linkType: hard
99899989

9990-
"undici-types@npm:~6.19.2":
9991-
version: 6.19.6
9992-
resolution: "undici-types@npm:6.19.6"
9993-
checksum: 10c0/9b2264c5700e7169c6c62c643aac56cd8984c5fd7e18ed31ff11780260e137f6340dee8317a2e6e0ae3c49f5e5ef6fa577ea07193cbaa535265cba76a267cae9
9994-
languageName: node
9995-
linkType: hard
9996-
99979990
"undici-types@npm:~6.20.0":
99989991
version: 6.20.0
99999992
resolution: "undici-types@npm:6.20.0"
100009993
checksum: 10c0/68e659a98898d6a836a9a59e6adf14a5d799707f5ea629433e025ac90d239f75e408e2e5ff086afc3cace26f8b26ee52155293564593fbb4a2f666af57fc59bf
100019994
languageName: node
100029995
linkType: hard
100039996

9997+
"undici-types@npm:~6.21.0":
9998+
version: 6.21.0
9999+
resolution: "undici-types@npm:6.21.0"
10000+
checksum: 10c0/c01ed51829b10aa72fc3ce64b747f8e74ae9b60eafa19a7b46ef624403508a54c526ffab06a14a26b3120d055e1104d7abe7c9017e83ced038ea5cf52f8d5e04
10001+
languageName: node
10002+
linkType: hard
10003+
1000410004
"unified@npm:^10.0.0":
1000510005
version: 10.1.2
1000610006
resolution: "unified@npm:10.1.2"
@@ -10129,7 +10129,7 @@ __metadata:
1012910129
"@types/lodash.isequal": "npm:^4.5.8"
1013010130
"@types/lodash.mapvalues": "npm:^4.6.9"
1013110131
"@types/lodash.omit": "npm:4.5.9"
10132-
"@types/node": "npm:^20.12.12"
10132+
"@types/node": "npm:^22.0.0"
1013310133
"@types/react": "npm:18.3.18"
1013410134
"@types/react-dom": "npm:18.3.5"
1013510135
"@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",
@@ -192,7 +192,7 @@
192192
"@types/memoizee": "0.4.11",
193193
"@types/mime": "4.0.0",
194194
"@types/mustache": "^4.2.5",
195-
"@types/node": "20.17.24",
195+
"@types/node": "22.15.11",
196196
"@types/nodemailer": "6.4.17",
197197
"@types/owasp-password-strength-test": "1.3.2",
198198
"@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.15.11":
2119+
version: 22.15.11
2120+
resolution: "@types/node@npm:22.15.11"
21212121
dependencies:
2122-
undici-types: "npm:~6.19.2"
2123-
checksum: 10c0/2a39ce4c4cd4588a05b2a485cc0a1407cbea608dd1ab03e36add59d61712718d95c84b492ca5190753f0be2bce748aeeb0f2a1412e712775462befe3820b3ff9
2122+
undici-types: "npm:~6.21.0"
2123+
checksum: 10c0/30019fe6f9f3a6aeade646a6a8af11e3d5fe1458a556b8ae404cea1da7fa496bb7f68ca5fa75deca358cfec80bed04fb7dd0d0203073a4208ec2e91c4037fddf
21242124
languageName: node
21252125
linkType: hard
21262126

@@ -9320,6 +9320,13 @@ __metadata:
93209320
languageName: node
93219321
linkType: hard
93229322

9323+
"undici-types@npm:~6.21.0":
9324+
version: 6.21.0
9325+
resolution: "undici-types@npm:6.21.0"
9326+
checksum: 10c0/c01ed51829b10aa72fc3ce64b747f8e74ae9b60eafa19a7b46ef624403508a54c526ffab06a14a26b3120d055e1104d7abe7c9017e83ced038ea5cf52f8d5e04
9327+
languageName: node
9328+
linkType: hard
9329+
93239330
"unique-filename@npm:^3.0.0":
93249331
version: 3.0.0
93259332
resolution: "unique-filename@npm:3.0.0"
@@ -9392,7 +9399,7 @@ __metadata:
93929399
"@types/memoizee": "npm:0.4.11"
93939400
"@types/mime": "npm:4.0.0"
93949401
"@types/mustache": "npm:^4.2.5"
9395-
"@types/node": "npm:20.17.24"
9402+
"@types/node": "npm:22.15.11"
93969403
"@types/nodemailer": "npm:6.4.17"
93979404
"@types/owasp-password-strength-test": "npm:1.3.2"
93989405
"@types/pg": "npm:8.11.11"

0 commit comments

Comments
 (0)