From 8647a4e7a588b2cc88742fbff89f415527838c6a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 20 Nov 2024 01:32:53 +0000 Subject: [PATCH] chore(deps): update node.js to v22 --- .nvmrc | 2 +- contracts/construct-contracts/package.json | 2 +- package.json | 2 +- packages/client/package.json | 2 +- packages/construct/package.json | 2 +- packages/event-scout/package.json | 2 +- packages/lambda-assets/package.json | 2 +- pnpm-lock.yaml | 141 ++++++++++----------- services/validation/package.json | 2 +- 9 files changed, 72 insertions(+), 85 deletions(-) diff --git a/.nvmrc b/.nvmrc index c130222..fdb2eaa 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20.18.0 \ No newline at end of file +22.11.0 \ No newline at end of file diff --git a/contracts/construct-contracts/package.json b/contracts/construct-contracts/package.json index 1a18646..c84ec36 100644 --- a/contracts/construct-contracts/package.json +++ b/contracts/construct-contracts/package.json @@ -43,7 +43,7 @@ "json-schema-to-ts": "^3.0.0" }, "devDependencies": { - "@types/node": "^20.11.4", + "@types/node": "^22.0.0", "@vitest/coverage-v8": "^2.0.0", "concurrently": "^9.0.0", "dependency-cruiser": "^16.0.0", diff --git a/package.json b/package.json index eab0e9b..63b657c 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "typescript": "^5.3.3" }, "engines": { - "node": "^20.9.0" + "node": "^22.0.0" }, "packageManager": "pnpm@9.13.2" } diff --git a/packages/client/package.json b/packages/client/package.json index 558b797..9d87b61 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -47,7 +47,7 @@ "axios": "^1.6.8" }, "devDependencies": { - "@types/node": "^20.11.4", + "@types/node": "^22.0.0", "@vitest/coverage-v8": "^2.0.0", "concurrently": "^9.0.0", "dependency-cruiser": "^16.0.0", diff --git a/packages/construct/package.json b/packages/construct/package.json index fc1726a..5e597d6 100644 --- a/packages/construct/package.json +++ b/packages/construct/package.json @@ -44,7 +44,7 @@ "constructs": "^10.3.0" }, "devDependencies": { - "@types/node": "^20.11.4", + "@types/node": "^22.0.0", "@vitest/coverage-v8": "^2.0.0", "dependency-cruiser": "^16.0.0", "eslint": "^8.56.0", diff --git a/packages/event-scout/package.json b/packages/event-scout/package.json index f589a29..8bbde57 100644 --- a/packages/event-scout/package.json +++ b/packages/event-scout/package.json @@ -43,7 +43,7 @@ "ws": "^8.16.0" }, "devDependencies": { - "@types/node": "^20.11.4", + "@types/node": "^22.0.0", "@types/ws": "^8.5.10", "@vercel/ncc": "^0.38.1", "@vitest/coverage-v8": "^2.0.0", diff --git a/packages/lambda-assets/package.json b/packages/lambda-assets/package.json index 677812c..5a26f22 100644 --- a/packages/lambda-assets/package.json +++ b/packages/lambda-assets/package.json @@ -51,7 +51,7 @@ "@swarmion/serverless-contracts": "^0.32.0", "@swarmion/serverless-helpers": "^0.32.0", "@types/aws-lambda": "^8.10.131", - "@types/node": "^20.12.11", + "@types/node": "^22.0.0", "@vitest/coverage-v8": "^2.0.0", "ajv": "^8.12.0", "concurrently": "^9.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index eb789b1..2442daf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -82,11 +82,11 @@ importers: version: 3.1.1 devDependencies: '@types/node': - specifier: ^20.11.4 - version: 20.17.6 + specifier: ^22.0.0 + version: 22.9.0 '@vitest/coverage-v8': specifier: ^2.0.0 - version: 2.1.5(vitest@2.1.5(@types/node@20.17.6)) + version: 2.1.5(vitest@2.1.5(@types/node@22.9.0)) concurrently: specifier: ^9.0.0 version: 9.1.0 @@ -110,13 +110,13 @@ importers: version: 5.6.3 vite: specifier: ^5.0.11 - version: 5.4.11(@types/node@20.17.6) + version: 5.4.11(@types/node@22.9.0) vite-tsconfig-paths: specifier: ^5.0.0 - version: 5.1.3(typescript@5.6.3)(vite@5.4.11(@types/node@20.17.6)) + version: 5.1.3(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.0)) vitest: specifier: ^2.0.0 - version: 2.1.5(@types/node@20.17.6) + version: 2.1.5(@types/node@22.9.0) packages/client: dependencies: @@ -140,11 +140,11 @@ importers: version: 1.7.7 devDependencies: '@types/node': - specifier: ^20.11.4 - version: 20.17.6 + specifier: ^22.0.0 + version: 22.9.0 '@vitest/coverage-v8': specifier: ^2.0.0 - version: 2.1.5(vitest@2.1.5(@types/node@20.17.6)) + version: 2.1.5(vitest@2.1.5(@types/node@22.9.0)) concurrently: specifier: ^9.0.0 version: 9.1.0 @@ -168,13 +168,13 @@ importers: version: 5.6.3 vite: specifier: ^5.0.11 - version: 5.4.11(@types/node@20.17.6) + version: 5.4.11(@types/node@22.9.0) vite-tsconfig-paths: specifier: ^5.0.0 - version: 5.1.3(typescript@5.6.3)(vite@5.4.11(@types/node@20.17.6)) + version: 5.1.3(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.0)) vitest: specifier: ^2.0.0 - version: 2.1.5(@types/node@20.17.6) + version: 2.1.5(@types/node@22.9.0) packages/construct: dependencies: @@ -189,11 +189,11 @@ importers: version: 10.4.2 devDependencies: '@types/node': - specifier: ^20.11.4 - version: 20.17.6 + specifier: ^22.0.0 + version: 22.9.0 '@vitest/coverage-v8': specifier: ^2.0.0 - version: 2.1.5(vitest@2.1.5(@types/node@20.17.6)) + version: 2.1.5(vitest@2.1.5(@types/node@22.9.0)) dependency-cruiser: specifier: ^16.0.0 version: 16.6.0 @@ -214,13 +214,13 @@ importers: version: 5.6.3 vite: specifier: ^5.0.11 - version: 5.4.11(@types/node@20.17.6) + version: 5.4.11(@types/node@22.9.0) vite-tsconfig-paths: specifier: ^5.0.0 - version: 5.1.3(typescript@5.6.3)(vite@5.4.11(@types/node@20.17.6)) + version: 5.1.3(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.0)) vitest: specifier: ^2.0.0 - version: 2.1.5(@types/node@20.17.6) + version: 2.1.5(@types/node@22.9.0) packages/event-scout: dependencies: @@ -250,8 +250,8 @@ importers: version: 8.18.0 devDependencies: '@types/node': - specifier: ^20.11.4 - version: 20.17.6 + specifier: ^22.0.0 + version: 22.9.0 '@types/ws': specifier: ^8.5.10 version: 8.5.13 @@ -260,7 +260,7 @@ importers: version: 0.38.3 '@vitest/coverage-v8': specifier: ^2.0.0 - version: 2.1.5(vitest@2.1.5(@types/node@20.17.6)) + version: 2.1.5(vitest@2.1.5(@types/node@22.9.0)) concurrently: specifier: ^9.0.0 version: 9.1.0 @@ -281,13 +281,13 @@ importers: version: 5.6.3 vite: specifier: ^5.0.11 - version: 5.4.11(@types/node@20.17.6) + version: 5.4.11(@types/node@22.9.0) vite-tsconfig-paths: specifier: ^5.0.0 - version: 5.1.3(typescript@5.6.3)(vite@5.4.11(@types/node@20.17.6)) + version: 5.1.3(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.0)) vitest: specifier: ^2.0.0 - version: 2.1.5(@types/node@20.17.6) + version: 2.1.5(@types/node@22.9.0) packages/lambda-assets: devDependencies: @@ -316,11 +316,11 @@ importers: specifier: ^8.10.131 version: 8.10.145 '@types/node': - specifier: ^20.12.11 - version: 20.17.6 + specifier: ^22.0.0 + version: 22.9.0 '@vitest/coverage-v8': specifier: ^2.0.0 - version: 2.1.5(vitest@2.1.5(@types/node@20.17.6)) + version: 2.1.5(vitest@2.1.5(@types/node@22.9.0)) ajv: specifier: ^8.12.0 version: 8.17.1 @@ -344,10 +344,10 @@ importers: version: 5.6.3 vite-tsconfig-paths: specifier: ^5.0.0 - version: 5.1.3(typescript@5.6.3)(vite@5.4.11(@types/node@20.17.6)) + version: 5.1.3(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.0)) vitest: specifier: ^2.0.0 - version: 2.1.5(@types/node@20.17.6) + version: 2.1.5(@types/node@22.9.0) services/validation: dependencies: @@ -383,11 +383,11 @@ importers: specifier: ^0.1.8 version: 0.1.12 '@types/node': - specifier: ^20.11.4 - version: 20.17.6 + specifier: ^22.0.0 + version: 22.9.0 '@vitest/coverage-v8': specifier: ^2.0.0 - version: 2.1.5(vitest@2.1.5(@types/node@20.17.6)) + version: 2.1.5(vitest@2.1.5(@types/node@22.9.0)) aws-cdk: specifier: ^2.121.1 version: 2.167.2 @@ -414,13 +414,13 @@ importers: version: 5.6.3 vite: specifier: ^5.0.11 - version: 5.4.11(@types/node@20.17.6) + version: 5.4.11(@types/node@22.9.0) vite-tsconfig-paths: specifier: ^5.0.0 - version: 5.1.3(typescript@5.6.3)(vite@5.4.11(@types/node@20.17.6)) + version: 5.1.3(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.0)) vitest: specifier: ^2.0.0 - version: 2.1.5(@types/node@20.17.6) + version: 2.1.5(@types/node@22.9.0) packages: @@ -2920,9 +2920,6 @@ packages: '@types/minimist@1.2.5': resolution: {integrity: sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==} - '@types/node@20.17.6': - resolution: {integrity: sha512-VEI7OdvK2wP7XHnsuXbAJnEpEkF6NjSN45QJlL4VGqZSXsnicpesdTWsg9RISeSdYd3yeRj/y3k5KGjUXYnFwQ==} - '@types/node@22.9.0': resolution: {integrity: sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ==} @@ -7141,8 +7138,8 @@ snapshots: dependencies: '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sso-oidc': 3.592.0(@aws-sdk/client-sts@3.592.0) - '@aws-sdk/client-sts': 3.592.0 + '@aws-sdk/client-sso-oidc': 3.592.0 + '@aws-sdk/client-sts': 3.592.0(@aws-sdk/client-sso-oidc@3.592.0) '@aws-sdk/core': 3.592.0 '@aws-sdk/credential-provider-node': 3.592.0(@aws-sdk/client-sso-oidc@3.592.0)(@aws-sdk/client-sts@3.592.0) '@aws-sdk/middleware-host-header': 3.577.0 @@ -7234,8 +7231,8 @@ snapshots: dependencies: '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sso-oidc': 3.592.0(@aws-sdk/client-sts@3.592.0) - '@aws-sdk/client-sts': 3.592.0 + '@aws-sdk/client-sso-oidc': 3.592.0 + '@aws-sdk/client-sts': 3.592.0(@aws-sdk/client-sso-oidc@3.592.0) '@aws-sdk/core': 3.592.0 '@aws-sdk/credential-provider-node': 3.592.0(@aws-sdk/client-sso-oidc@3.592.0)(@aws-sdk/client-sts@3.592.0) '@aws-sdk/middleware-host-header': 3.577.0 @@ -7327,11 +7324,11 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/client-sso-oidc@3.592.0(@aws-sdk/client-sts@3.592.0)': + '@aws-sdk/client-sso-oidc@3.592.0': dependencies: '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sts': 3.592.0 + '@aws-sdk/client-sts': 3.592.0(@aws-sdk/client-sso-oidc@3.592.0) '@aws-sdk/core': 3.592.0 '@aws-sdk/credential-provider-node': 3.592.0(@aws-sdk/client-sso-oidc@3.592.0)(@aws-sdk/client-sts@3.592.0) '@aws-sdk/middleware-host-header': 3.577.0 @@ -7370,7 +7367,6 @@ snapshots: '@smithy/util-utf8': 3.0.0 tslib: 2.8.1 transitivePeerDependencies: - - '@aws-sdk/client-sts' - aws-crt '@aws-sdk/client-sso-oidc@3.696.0(@aws-sdk/client-sts@3.696.0)': @@ -7504,11 +7500,11 @@ snapshots: transitivePeerDependencies: - aws-crt - '@aws-sdk/client-sts@3.592.0': + '@aws-sdk/client-sts@3.592.0(@aws-sdk/client-sso-oidc@3.592.0)': dependencies: '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sso-oidc': 3.592.0(@aws-sdk/client-sts@3.592.0) + '@aws-sdk/client-sso-oidc': 3.592.0 '@aws-sdk/core': 3.592.0 '@aws-sdk/credential-provider-node': 3.592.0(@aws-sdk/client-sso-oidc@3.592.0)(@aws-sdk/client-sts@3.592.0) '@aws-sdk/middleware-host-header': 3.577.0 @@ -7547,6 +7543,7 @@ snapshots: '@smithy/util-utf8': 3.0.0 tslib: 2.8.1 transitivePeerDependencies: + - '@aws-sdk/client-sso-oidc' - aws-crt '@aws-sdk/client-sts@3.696.0': @@ -7670,7 +7667,7 @@ snapshots: '@aws-sdk/credential-provider-ini@3.592.0(@aws-sdk/client-sso-oidc@3.592.0)(@aws-sdk/client-sts@3.592.0)': dependencies: - '@aws-sdk/client-sts': 3.592.0 + '@aws-sdk/client-sts': 3.592.0(@aws-sdk/client-sso-oidc@3.592.0) '@aws-sdk/credential-provider-env': 3.587.0 '@aws-sdk/credential-provider-http': 3.587.0 '@aws-sdk/credential-provider-process': 3.587.0 @@ -7789,7 +7786,7 @@ snapshots: '@aws-sdk/credential-provider-web-identity@3.587.0(@aws-sdk/client-sts@3.592.0)': dependencies: - '@aws-sdk/client-sts': 3.592.0 + '@aws-sdk/client-sts': 3.592.0(@aws-sdk/client-sso-oidc@3.592.0) '@aws-sdk/types': 3.577.0 '@smithy/property-provider': 3.1.10 '@smithy/types': 3.7.1 @@ -7995,7 +7992,7 @@ snapshots: '@aws-sdk/token-providers@3.587.0(@aws-sdk/client-sso-oidc@3.592.0)': dependencies: - '@aws-sdk/client-sso-oidc': 3.592.0(@aws-sdk/client-sts@3.592.0) + '@aws-sdk/client-sso-oidc': 3.592.0 '@aws-sdk/types': 3.577.0 '@smithy/property-provider': 3.1.10 '@smithy/shared-ini-file-loader': 3.1.11 @@ -9440,12 +9437,6 @@ snapshots: - bluebird - supports-color - '@nrwl/devkit@19.2.3(nx@19.2.3(@swc-node/register@1.10.9(@swc/core@1.4.14)(@swc/types@0.1.12)(typescript@5.6.3))(@swc/core@1.4.14))': - dependencies: - '@nx/devkit': 19.2.3(nx@19.2.3(@swc-node/register@1.10.9(@swc/core@1.4.14)(@swc/types@0.1.12)(typescript@5.6.3))(@swc/core@1.4.14)) - transitivePeerDependencies: - - nx - '@nrwl/devkit@19.2.3(nx@20.1.2(@swc-node/register@1.10.9(@swc/core@1.4.14)(@swc/types@0.1.12)(typescript@5.6.3))(@swc/core@1.4.14))': dependencies: '@nx/devkit': 19.2.3(nx@20.1.2(@swc-node/register@1.10.9(@swc/core@1.4.14)(@swc/types@0.1.12)(typescript@5.6.3))(@swc/core@1.4.14)) @@ -9509,7 +9500,7 @@ snapshots: '@nx/devkit@19.2.3(nx@19.2.3(@swc-node/register@1.10.9(@swc/core@1.4.14)(@swc/types@0.1.12)(typescript@5.6.3))(@swc/core@1.4.14))': dependencies: - '@nrwl/devkit': 19.2.3(nx@19.2.3(@swc-node/register@1.10.9(@swc/core@1.4.14)(@swc/types@0.1.12)(typescript@5.6.3))(@swc/core@1.4.14)) + '@nrwl/devkit': 19.2.3(nx@20.1.2(@swc-node/register@1.10.9(@swc/core@1.4.14)(@swc/types@0.1.12)(typescript@5.6.3))(@swc/core@1.4.14)) ejs: 3.1.10 enquirer: 2.3.6 ignore: 5.3.2 @@ -10642,10 +10633,6 @@ snapshots: '@types/minimist@1.2.5': {} - '@types/node@20.17.6': - dependencies: - undici-types: 6.19.8 - '@types/node@22.9.0': dependencies: undici-types: 6.19.8 @@ -10658,7 +10645,7 @@ snapshots: '@types/ws@8.5.13': dependencies: - '@types/node': 20.17.6 + '@types/node': 22.9.0 '@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3)': dependencies: @@ -10745,7 +10732,7 @@ snapshots: '@vercel/ncc@0.38.3': {} - '@vitest/coverage-v8@2.1.5(vitest@2.1.5(@types/node@20.17.6))': + '@vitest/coverage-v8@2.1.5(vitest@2.1.5(@types/node@22.9.0))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -10759,7 +10746,7 @@ snapshots: std-env: 3.8.0 test-exclude: 7.0.1 tinyrainbow: 1.2.0 - vitest: 2.1.5(@types/node@20.17.6) + vitest: 2.1.5(@types/node@22.9.0) transitivePeerDependencies: - supports-color @@ -10770,13 +10757,13 @@ snapshots: chai: 5.1.2 tinyrainbow: 1.2.0 - '@vitest/mocker@2.1.5(vite@5.4.11(@types/node@20.17.6))': + '@vitest/mocker@2.1.5(vite@5.4.11(@types/node@22.9.0))': dependencies: '@vitest/spy': 2.1.5 estree-walker: 3.0.3 magic-string: 0.30.12 optionalDependencies: - vite: 5.4.11(@types/node@20.17.6) + vite: 5.4.11(@types/node@22.9.0) '@vitest/pretty-format@2.1.5': dependencies: @@ -14824,13 +14811,13 @@ snapshots: validate-npm-package-name@5.0.1: {} - vite-node@2.1.5(@types/node@20.17.6): + vite-node@2.1.5(@types/node@22.9.0): dependencies: cac: 6.7.14 debug: 4.3.7 es-module-lexer: 1.5.4 pathe: 1.1.2 - vite: 5.4.11(@types/node@20.17.6) + vite: 5.4.11(@types/node@22.9.0) transitivePeerDependencies: - '@types/node' - less @@ -14842,30 +14829,30 @@ snapshots: - supports-color - terser - vite-tsconfig-paths@5.1.3(typescript@5.6.3)(vite@5.4.11(@types/node@20.17.6)): + vite-tsconfig-paths@5.1.3(typescript@5.6.3)(vite@5.4.11(@types/node@22.9.0)): dependencies: debug: 4.3.7 globrex: 0.1.2 tsconfck: 3.1.4(typescript@5.6.3) optionalDependencies: - vite: 5.4.11(@types/node@20.17.6) + vite: 5.4.11(@types/node@22.9.0) transitivePeerDependencies: - supports-color - typescript - vite@5.4.11(@types/node@20.17.6): + vite@5.4.11(@types/node@22.9.0): dependencies: esbuild: 0.21.5 postcss: 8.4.48 rollup: 4.25.0 optionalDependencies: - '@types/node': 20.17.6 + '@types/node': 22.9.0 fsevents: 2.3.3 - vitest@2.1.5(@types/node@20.17.6): + vitest@2.1.5(@types/node@22.9.0): dependencies: '@vitest/expect': 2.1.5 - '@vitest/mocker': 2.1.5(vite@5.4.11(@types/node@20.17.6)) + '@vitest/mocker': 2.1.5(vite@5.4.11(@types/node@22.9.0)) '@vitest/pretty-format': 2.1.5 '@vitest/runner': 2.1.5 '@vitest/snapshot': 2.1.5 @@ -14881,11 +14868,11 @@ snapshots: tinyexec: 0.3.1 tinypool: 1.0.1 tinyrainbow: 1.2.0 - vite: 5.4.11(@types/node@20.17.6) - vite-node: 2.1.5(@types/node@20.17.6) + vite: 5.4.11(@types/node@22.9.0) + vite-node: 2.1.5(@types/node@22.9.0) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 20.17.6 + '@types/node': 22.9.0 transitivePeerDependencies: - less - lightningcss diff --git a/services/validation/package.json b/services/validation/package.json index 1fbf343..f58bb94 100644 --- a/services/validation/package.json +++ b/services/validation/package.json @@ -40,7 +40,7 @@ "@swarmion/serverless-helpers": "^0.32.0", "@swc-node/register": "1.10.9", "@swc/types": "^0.1.8", - "@types/node": "^20.11.4", + "@types/node": "^22.0.0", "@vitest/coverage-v8": "^2.0.0", "aws-cdk": "^2.121.1", "aws-cdk-lib": "^2.121.1",