From d17d68d6aa46d985df31ab512d5c60bae676e3a2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 14 May 2025 10:31:18 +0000 Subject: [PATCH] chore(deps): update node.js to v22 (#9487) --- .github/workflows/build.yaml | 2 +- .github/workflows/build_coverage.yaml | 2 +- .github/workflows/build_frontend_prs.yml | 2 +- .github/workflows/build_prs_jest_report.yaml | 2 +- .github/workflows/gitar-duet-action.yml | 2 +- .../workflows/gradual-strict-null-checks.yml | 2 +- .github/workflows/notify_enterprise.yaml | 2 +- .github/workflows/publish-new-version.yaml | 2 +- .github/workflows/release.yaml | 2 +- .github/workflows/update_contributors.yaml | 2 +- .github/workflows/validate-migrations.yaml | 2 +- .node-version | 2 +- Dockerfile | 2 +- frontend/.nvmrc | 2 +- frontend/package.json | 2 +- frontend/yarn.lock | 26 +++++++++---------- package.json | 2 +- yarn.lock | 19 +++++++++----- 18 files changed, 42 insertions(+), 35 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5c8c532d3e..95497b843b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 diff --git a/.github/workflows/build_coverage.yaml b/.github/workflows/build_coverage.yaml index e8e232656b..f4523857b3 100644 --- a/.github/workflows/build_coverage.yaml +++ b/.github/workflows/build_coverage.yaml @@ -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 diff --git a/.github/workflows/build_frontend_prs.yml b/.github/workflows/build_frontend_prs.yml index 1220813f4a..9b0b046a8c 100644 --- a/.github/workflows/build_frontend_prs.yml +++ b/.github/workflows/build_frontend_prs.yml @@ -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 diff --git a/.github/workflows/build_prs_jest_report.yaml b/.github/workflows/build_prs_jest_report.yaml index 9988a0ef93..f386d974e0 100644 --- a/.github/workflows/build_prs_jest_report.yaml +++ b/.github/workflows/build_prs_jest_report.yaml @@ -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 diff --git a/.github/workflows/gitar-duet-action.yml b/.github/workflows/gitar-duet-action.yml index 12eb28061e..884abffd51 100644 --- a/.github/workflows/gitar-duet-action.yml +++ b/.github/workflows/gitar-duet-action.yml @@ -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 diff --git a/.github/workflows/gradual-strict-null-checks.yml b/.github/workflows/gradual-strict-null-checks.yml index 389a146e27..a5104795de 100644 --- a/.github/workflows/gradual-strict-null-checks.yml +++ b/.github/workflows/gradual-strict-null-checks.yml @@ -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 diff --git a/.github/workflows/notify_enterprise.yaml b/.github/workflows/notify_enterprise.yaml index 29880e4dd9..bbdcf26263 100644 --- a/.github/workflows/notify_enterprise.yaml +++ b/.github/workflows/notify_enterprise.yaml @@ -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 diff --git a/.github/workflows/publish-new-version.yaml b/.github/workflows/publish-new-version.yaml index 354d5fb868..e0417baa8e 100644 --- a/.github/workflows/publish-new-version.yaml +++ b/.github/workflows/publish-new-version.yaml @@ -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: | diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f9cc96c9d9..a1fa6162fb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 diff --git a/.github/workflows/update_contributors.yaml b/.github/workflows/update_contributors.yaml index 8c4cefd3f5..248ddd03c5 100644 --- a/.github/workflows/update_contributors.yaml +++ b/.github/workflows/update_contributors.yaml @@ -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 diff --git a/.github/workflows/validate-migrations.yaml b/.github/workflows/validate-migrations.yaml index 3be8b4f3f8..deaa79f45e 100644 --- a/.github/workflows/validate-migrations.yaml +++ b/.github/workflows/validate-migrations.yaml @@ -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 diff --git a/.node-version b/.node-version index 87bc4c77fe..b8ffd70759 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -20.18.3 +22.15.0 diff --git a/Dockerfile b/Dockerfile index 4e39dc4e7a..4e82cf447e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/frontend/.nvmrc b/frontend/.nvmrc index 209e3ef4b6..2bd5a0a98a 100644 --- a/frontend/.nvmrc +++ b/frontend/.nvmrc @@ -1 +1 @@ -20 +22 diff --git a/frontend/package.json b/frontend/package.json index 92992a9ba1..2bea2599bd 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -58,7 +58,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", diff --git a/frontend/yarn.lock b/frontend/yarn.lock index a931d255ee..bbbf2aaf6e 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -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.18 + resolution: "@types/node@npm:22.15.18" dependencies: - undici-types: "npm:~6.19.2" - checksum: 10c0/2a39ce4c4cd4588a05b2a485cc0a1407cbea608dd1ab03e36add59d61712718d95c84b492ca5190753f0be2bce748aeeb0f2a1412e712775462befe3820b3ff9 + undici-types: "npm:~6.21.0" + checksum: 10c0/e23178c568e2dc6b93b6aa3b8dfb45f9556e527918c947fe7406a4c92d2184c7396558912400c3b1b8d0fa952ec63819aca2b8e4d3545455fc6f1e9623e09ca6 languageName: node linkType: hard @@ -9980,13 +9980,6 @@ __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" @@ -9994,6 +9987,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 + "unified@npm:^10.0.0": version: 10.1.2 resolution: "unified@npm:10.1.2" @@ -10122,7 +10122,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" diff --git a/package.json b/package.json index 52125c67fb..6497d8540b 100644 --- a/package.json +++ b/package.json @@ -216,7 +216,7 @@ "@types/mime": "4.0.0", "@types/murmurhash3js": "^3.0.7", "@types/mustache": "^4.2.5", - "@types/node": "20.17.24", + "@types/node": "22.15.18", "@types/nodemailer": "6.4.17", "@types/owasp-password-strength-test": "1.3.2", "@types/pg": "8.11.11", diff --git a/yarn.lock b/yarn.lock index 21f79125fc..fa2c5e7300 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2469,12 +2469,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.18": + version: 22.15.18 + resolution: "@types/node@npm:22.15.18" dependencies: - undici-types: "npm:~6.19.2" - checksum: 10c0/2a39ce4c4cd4588a05b2a485cc0a1407cbea608dd1ab03e36add59d61712718d95c84b492ca5190753f0be2bce748aeeb0f2a1412e712775462befe3820b3ff9 + undici-types: "npm:~6.21.0" + checksum: 10c0/e23178c568e2dc6b93b6aa3b8dfb45f9556e527918c947fe7406a4c92d2184c7396558912400c3b1b8d0fa952ec63819aca2b8e4d3545455fc6f1e9623e09ca6 languageName: node linkType: hard @@ -9942,6 +9942,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" @@ -10016,7 +10023,7 @@ __metadata: "@types/mime": "npm:4.0.0" "@types/murmurhash3js": "npm:^3.0.7" "@types/mustache": "npm:^4.2.5" - "@types/node": "npm:20.17.24" + "@types/node": "npm:22.15.18" "@types/nodemailer": "npm:6.4.17" "@types/owasp-password-strength-test": "npm:1.3.2" "@types/pg": "npm:8.11.11"