From 60b8f3a73c4696d0a49d1085971a53d402578c8c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 7 Dec 2024 10:47:16 +1300 Subject: [PATCH] Update Node.js to v22 (#1398) * Update Node.js to v22 * Update Node.js to v22 * Run Actions on Node 22 too --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Klaus Townsend --- .github/workflows/ci.yaml | 2 +- .nvmrc | 2 +- package.json | 4 ++-- yarn.lock | 19 +++++++++++++------ 4 files changed, 17 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 461a40a5..613b17e1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,7 +14,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '22' - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn config get cacheFolder)" diff --git a/.nvmrc b/.nvmrc index 25bf17fc..8fdd954d 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18 \ No newline at end of file +22 \ No newline at end of file diff --git a/package.json b/package.json index 5cd868a6..6b8fcba8 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "engines": { - "node": "18", + "node": "22", "yarn": ">=1.22.10" }, "scripts": { @@ -40,7 +40,7 @@ "@types/koa-helmet": "6.0.8", "@types/koa-router": "7.4.8", "@types/lodash": "4.17.13", - "@types/node": "18.19.67", + "@types/node": "22.10.1", "@types/object-mapper": "6.2.2", "axios": "1.7.9", "eslint": "8.57.1", diff --git a/yarn.lock b/yarn.lock index d846d0cc..b11df7ff 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1332,12 +1332,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:18.19.67": - version: 18.19.67 - resolution: "@types/node@npm:18.19.67" +"@types/node@npm:22.10.1": + version: 22.10.1 + resolution: "@types/node@npm:22.10.1" dependencies: - undici-types: "npm:~5.26.4" - checksum: 10/7bb1d06cd1483dd02462a3dd2894790e5c27ba0fa4cdd4a3da1062d66ed47b66affaab314aa72b346ff3e5538a74d5c3cb14bb1a634547504a1643679738f494 + undici-types: "npm:~6.20.0" + checksum: 10/c802a526da2f3fa3ccefd00a71244e7cb825329951719e79e8fec62b1dbc2855388c830489770611584665ce10be23c05ed585982038b24924e1ba2c2cce03fd languageName: node linkType: hard @@ -5926,6 +5926,13 @@ __metadata: languageName: node linkType: hard +"undici-types@npm:~6.20.0": + version: 6.20.0 + resolution: "undici-types@npm:6.20.0" + checksum: 10/583ac7bbf4ff69931d3985f4762cde2690bb607844c16a5e2fbb92ed312fe4fa1b365e953032d469fa28ba8b224e88a595f0b10a449332f83fa77c695e567dbe + languageName: node + linkType: hard + "unique-filename@npm:^3.0.0": version: 3.0.0 resolution: "unique-filename@npm:3.0.0" @@ -5955,7 +5962,7 @@ __metadata: "@types/koa-helmet": "npm:6.0.8" "@types/koa-router": "npm:7.4.8" "@types/lodash": "npm:4.17.13" - "@types/node": "npm:18.19.67" + "@types/node": "npm:22.10.1" "@types/object-mapper": "npm:6.2.2" axios: "npm:1.7.9" debug: "npm:4.4.0"