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 811faaa9a7..98139522af 100644 --- a/.github/workflows/build_coverage.yaml +++ b/.github/workflows/build_coverage.yaml @@ -37,7 +37,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 f3035ce19c..65992a067d 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..7d41c735d7 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -20.18.3 +22.14.0 diff --git a/.nvmrc b/.nvmrc index 209e3ef4b6..2bd5a0a98a 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20 +22 diff --git a/Dockerfile b/Dockerfile index cd9a662842..c5bdd93a4a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG NODE_VERSION=20.18.3-alpine +ARG NODE_VERSION=22.14.0-alpine 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 4a956f9674..46bdac9ca8 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -59,7 +59,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 d52dd8be61..1ec7f150c8 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -3097,12 +3097,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.13.11 + resolution: "@types/node@npm:22.13.11" dependencies: - undici-types: "npm:~6.19.2" - checksum: 10c0/2a39ce4c4cd4588a05b2a485cc0a1407cbea608dd1ab03e36add59d61712718d95c84b492ca5190753f0be2bce748aeeb0f2a1412e712775462befe3820b3ff9 + undici-types: "npm:~6.20.0" + checksum: 10c0/f6ee33d36372242535c38640fe7550a6640d8a775ec19b55bfc11775b521cba072d892ca92a912332ce01b317293d645c1bf767f3f882ec719f2404a3d2a5b96 languageName: node linkType: hard @@ -9953,13 +9953,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" @@ -10095,7 +10088,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 aa01023177..8b02420a1b 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ }, "types": "./dist/lib/server-impl.d.ts", "engines": { - "node": ">=18 <21" + "node": ">=18 <23" }, "license": "Apache-2.0", "main": "./dist/lib/server-impl.js", @@ -191,7 +191,7 @@ "@types/memoizee": "0.4.11", "@types/mime": "4.0.0", "@types/mustache": "^4.2.5", - "@types/node": "20.17.24", + "@types/node": "22.13.11", "@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 515d1db02c..e8dde0c0d1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2115,12 +2115,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.13.11": + version: 22.13.11 + resolution: "@types/node@npm:22.13.11" dependencies: - undici-types: "npm:~6.19.2" - checksum: 10c0/2a39ce4c4cd4588a05b2a485cc0a1407cbea608dd1ab03e36add59d61712718d95c84b492ca5190753f0be2bce748aeeb0f2a1412e712775462befe3820b3ff9 + undici-types: "npm:~6.20.0" + checksum: 10c0/f6ee33d36372242535c38640fe7550a6640d8a775ec19b55bfc11775b521cba072d892ca92a912332ce01b317293d645c1bf767f3f882ec719f2404a3d2a5b96 languageName: node linkType: hard @@ -9267,6 +9267,13 @@ __metadata: languageName: node linkType: hard +"undici-types@npm:~6.20.0": + version: 6.20.0 + resolution: "undici-types@npm:6.20.0" + checksum: 10c0/68e659a98898d6a836a9a59e6adf14a5d799707f5ea629433e025ac90d239f75e408e2e5ff086afc3cace26f8b26ee52155293564593fbb4a2f666af57fc59bf + languageName: node + linkType: hard + "unique-filename@npm:^3.0.0": version: 3.0.0 resolution: "unique-filename@npm:3.0.0" @@ -9339,7 +9346,7 @@ __metadata: "@types/memoizee": "npm:0.4.11" "@types/mime": "npm:4.0.0" "@types/mustache": "npm:^4.2.5" - "@types/node": "npm:20.17.24" + "@types/node": "npm:22.13.11" "@types/nodemailer": "npm:6.4.17" "@types/owasp-password-strength-test": "npm:1.3.2" "@types/pg": "npm:8.11.11"