Skip to content

Commit 72169ef

Browse files
chore(deps): update node.js to v22
1 parent 6432262 commit 72169ef

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
@@ -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

+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.14.0
3113+
resolution: "@types/node@npm:22.14.0"
31143114
dependencies:
3115-
undici-types: "npm:~6.19.2"
3116-
checksum: 10c0/2a39ce4c4cd4588a05b2a485cc0a1407cbea608dd1ab03e36add59d61712718d95c84b492ca5190753f0be2bce748aeeb0f2a1412e712775462befe3820b3ff9
3115+
undici-types: "npm:~6.21.0"
3116+
checksum: 10c0/9d79f3fa1af9c2c869514f419c4a4905b34c10e12915582fd1784868ac4e74c6d306cf5eb47ef889b6750ab85a31be96618227b86739c4a3e0b1c15063f384c6
31173117
languageName: node
31183118
linkType: hard
31193119

@@ -9971,20 +9971,20 @@ __metadata:
99719971
languageName: node
99729972
linkType: hard
99739973

9974-
"undici-types@npm:~6.19.2":
9975-
version: 6.19.6
9976-
resolution: "undici-types@npm:6.19.6"
9977-
checksum: 10c0/9b2264c5700e7169c6c62c643aac56cd8984c5fd7e18ed31ff11780260e137f6340dee8317a2e6e0ae3c49f5e5ef6fa577ea07193cbaa535265cba76a267cae9
9978-
languageName: node
9979-
linkType: hard
9980-
99819974
"undici-types@npm:~6.20.0":
99829975
version: 6.20.0
99839976
resolution: "undici-types@npm:6.20.0"
99849977
checksum: 10c0/68e659a98898d6a836a9a59e6adf14a5d799707f5ea629433e025ac90d239f75e408e2e5ff086afc3cace26f8b26ee52155293564593fbb4a2f666af57fc59bf
99859978
languageName: node
99869979
linkType: hard
99879980

9981+
"undici-types@npm:~6.21.0":
9982+
version: 6.21.0
9983+
resolution: "undici-types@npm:6.21.0"
9984+
checksum: 10c0/c01ed51829b10aa72fc3ce64b747f8e74ae9b60eafa19a7b46ef624403508a54c526ffab06a14a26b3120d055e1104d7abe7c9017e83ced038ea5cf52f8d5e04
9985+
languageName: node
9986+
linkType: hard
9987+
99889988
"unified@npm:^10.0.0":
99899989
version: 10.1.2
99909990
resolution: "unified@npm:10.1.2"
@@ -10113,7 +10113,7 @@ __metadata:
1011310113
"@types/lodash.isequal": "npm:^4.5.8"
1011410114
"@types/lodash.mapvalues": "npm:^4.6.9"
1011510115
"@types/lodash.omit": "npm:4.5.9"
10116-
"@types/node": "npm:^20.12.12"
10116+
"@types/node": "npm:^22.0.0"
1011710117
"@types/react": "npm:18.3.18"
1011810118
"@types/react-dom": "npm:18.3.5"
1011910119
"@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.14.0",
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.14.0":
2119+
version: 22.14.0
2120+
resolution: "@types/node@npm:22.14.0"
21212121
dependencies:
2122-
undici-types: "npm:~6.19.2"
2123-
checksum: 10c0/2a39ce4c4cd4588a05b2a485cc0a1407cbea608dd1ab03e36add59d61712718d95c84b492ca5190753f0be2bce748aeeb0f2a1412e712775462befe3820b3ff9
2122+
undici-types: "npm:~6.21.0"
2123+
checksum: 10c0/9d79f3fa1af9c2c869514f419c4a4905b34c10e12915582fd1784868ac4e74c6d306cf5eb47ef889b6750ab85a31be96618227b86739c4a3e0b1c15063f384c6
21242124
languageName: node
21252125
linkType: hard
21262126

@@ -9304,6 +9304,13 @@ __metadata:
93049304
languageName: node
93059305
linkType: hard
93069306

9307+
"undici-types@npm:~6.21.0":
9308+
version: 6.21.0
9309+
resolution: "undici-types@npm:6.21.0"
9310+
checksum: 10c0/c01ed51829b10aa72fc3ce64b747f8e74ae9b60eafa19a7b46ef624403508a54c526ffab06a14a26b3120d055e1104d7abe7c9017e83ced038ea5cf52f8d5e04
9311+
languageName: node
9312+
linkType: hard
9313+
93079314
"unique-filename@npm:^3.0.0":
93089315
version: 3.0.0
93099316
resolution: "unique-filename@npm:3.0.0"
@@ -9376,7 +9383,7 @@ __metadata:
93769383
"@types/memoizee": "npm:0.4.11"
93779384
"@types/mime": "npm:4.0.0"
93789385
"@types/mustache": "npm:^4.2.5"
9379-
"@types/node": "npm:20.17.24"
9386+
"@types/node": "npm:22.14.0"
93809387
"@types/nodemailer": "npm:6.4.17"
93819388
"@types/owasp-password-strength-test": "npm:1.3.2"
93829389
"@types/pg": "npm:8.11.11"

0 commit comments

Comments
 (0)