diff --git a/.nvmrc b/.nvmrc index f812e45..fdb2eaa 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20.18.1 \ 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 4b7592d..c6f34ce 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.14.3" } 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 ecf4996..9fc05b1 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.9 + specifier: ^22.0.0 + version: 22.10.1 '@vitest/coverage-v8': specifier: ^2.0.0 - version: 2.1.6(vitest@2.1.6(@types/node@20.17.9)) + version: 2.1.6(vitest@2.1.6(@types/node@22.10.1)) concurrently: specifier: ^9.0.0 version: 9.1.0 @@ -110,13 +110,13 @@ importers: version: 5.7.2 vite: specifier: ^5.0.11 - version: 5.4.11(@types/node@20.17.9) + version: 5.4.11(@types/node@22.10.1) vite-tsconfig-paths: specifier: ^5.0.0 - version: 5.1.3(typescript@5.7.2)(vite@5.4.11(@types/node@20.17.9)) + version: 5.1.3(typescript@5.7.2)(vite@5.4.11(@types/node@22.10.1)) vitest: specifier: ^2.0.0 - version: 2.1.6(@types/node@20.17.9) + version: 2.1.6(@types/node@22.10.1) packages/client: dependencies: @@ -140,11 +140,11 @@ importers: version: 1.7.8 devDependencies: '@types/node': - specifier: ^20.11.4 - version: 20.17.9 + specifier: ^22.0.0 + version: 22.10.1 '@vitest/coverage-v8': specifier: ^2.0.0 - version: 2.1.6(vitest@2.1.6(@types/node@20.17.9)) + version: 2.1.6(vitest@2.1.6(@types/node@22.10.1)) concurrently: specifier: ^9.0.0 version: 9.1.0 @@ -168,13 +168,13 @@ importers: version: 5.7.2 vite: specifier: ^5.0.11 - version: 5.4.11(@types/node@20.17.9) + version: 5.4.11(@types/node@22.10.1) vite-tsconfig-paths: specifier: ^5.0.0 - version: 5.1.3(typescript@5.7.2)(vite@5.4.11(@types/node@20.17.9)) + version: 5.1.3(typescript@5.7.2)(vite@5.4.11(@types/node@22.10.1)) vitest: specifier: ^2.0.0 - version: 2.1.6(@types/node@20.17.9) + version: 2.1.6(@types/node@22.10.1) packages/construct: dependencies: @@ -189,11 +189,11 @@ importers: version: 10.4.2 devDependencies: '@types/node': - specifier: ^20.11.4 - version: 20.17.9 + specifier: ^22.0.0 + version: 22.10.1 '@vitest/coverage-v8': specifier: ^2.0.0 - version: 2.1.6(vitest@2.1.6(@types/node@20.17.9)) + version: 2.1.6(vitest@2.1.6(@types/node@22.10.1)) dependency-cruiser: specifier: ^16.0.0 version: 16.6.0 @@ -214,13 +214,13 @@ importers: version: 5.7.2 vite: specifier: ^5.0.11 - version: 5.4.11(@types/node@20.17.9) + version: 5.4.11(@types/node@22.10.1) vite-tsconfig-paths: specifier: ^5.0.0 - version: 5.1.3(typescript@5.7.2)(vite@5.4.11(@types/node@20.17.9)) + version: 5.1.3(typescript@5.7.2)(vite@5.4.11(@types/node@22.10.1)) vitest: specifier: ^2.0.0 - version: 2.1.6(@types/node@20.17.9) + version: 2.1.6(@types/node@22.10.1) packages/event-scout: dependencies: @@ -250,8 +250,8 @@ importers: version: 8.18.0 devDependencies: '@types/node': - specifier: ^20.11.4 - version: 20.17.9 + specifier: ^22.0.0 + version: 22.10.1 '@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.6(vitest@2.1.6(@types/node@20.17.9)) + version: 2.1.6(vitest@2.1.6(@types/node@22.10.1)) concurrently: specifier: ^9.0.0 version: 9.1.0 @@ -281,13 +281,13 @@ importers: version: 5.7.2 vite: specifier: ^5.0.11 - version: 5.4.11(@types/node@20.17.9) + version: 5.4.11(@types/node@22.10.1) vite-tsconfig-paths: specifier: ^5.0.0 - version: 5.1.3(typescript@5.7.2)(vite@5.4.11(@types/node@20.17.9)) + version: 5.1.3(typescript@5.7.2)(vite@5.4.11(@types/node@22.10.1)) vitest: specifier: ^2.0.0 - version: 2.1.6(@types/node@20.17.9) + version: 2.1.6(@types/node@22.10.1) packages/lambda-assets: devDependencies: @@ -316,11 +316,11 @@ importers: specifier: ^8.10.131 version: 8.10.146 '@types/node': - specifier: ^20.12.11 - version: 20.17.9 + specifier: ^22.0.0 + version: 22.10.1 '@vitest/coverage-v8': specifier: ^2.0.0 - version: 2.1.6(vitest@2.1.6(@types/node@20.17.9)) + version: 2.1.6(vitest@2.1.6(@types/node@22.10.1)) ajv: specifier: ^8.12.0 version: 8.17.1 @@ -344,10 +344,10 @@ importers: version: 5.7.2 vite-tsconfig-paths: specifier: ^5.0.0 - version: 5.1.3(typescript@5.7.2)(vite@5.4.11(@types/node@20.17.9)) + version: 5.1.3(typescript@5.7.2)(vite@5.4.11(@types/node@22.10.1)) vitest: specifier: ^2.0.0 - version: 2.1.6(@types/node@20.17.9) + version: 2.1.6(@types/node@22.10.1) services/validation: dependencies: @@ -383,11 +383,11 @@ importers: specifier: ^0.1.8 version: 0.1.17 '@types/node': - specifier: ^20.11.4 - version: 20.17.9 + specifier: ^22.0.0 + version: 22.10.1 '@vitest/coverage-v8': specifier: ^2.0.0 - version: 2.1.6(vitest@2.1.6(@types/node@20.17.9)) + version: 2.1.6(vitest@2.1.6(@types/node@22.10.1)) aws-cdk: specifier: ^2.121.1 version: 2.171.1 @@ -414,13 +414,13 @@ importers: version: 5.7.2 vite: specifier: ^5.0.11 - version: 5.4.11(@types/node@20.17.9) + version: 5.4.11(@types/node@22.10.1) vite-tsconfig-paths: specifier: ^5.0.0 - version: 5.1.3(typescript@5.7.2)(vite@5.4.11(@types/node@20.17.9)) + version: 5.1.3(typescript@5.7.2)(vite@5.4.11(@types/node@22.10.1)) vitest: specifier: ^2.0.0 - version: 2.1.6(@types/node@20.17.9) + version: 2.1.6(@types/node@22.10.1) packages: @@ -2900,9 +2900,6 @@ packages: '@types/minimist@1.2.5': resolution: {integrity: sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==} - '@types/node@20.17.9': - resolution: {integrity: sha512-0JOXkRyLanfGPE2QRCwgxhzlBAvaRdCNMcvbd7jFfpmD4eEXll7LRwy5ymJmyeZqk7Nh7eD2LeUyQ68BbndmXw==} - '@types/node@22.10.1': resolution: {integrity: sha512-qKgsUwfHZV2WCWLAnVP1JqnpE6Im6h3Y0+fYgMTasNQ7V++CBX5OT1as0g0f+OyubbFqhf6XVNIsmN4IIhEgGQ==} @@ -6533,9 +6530,6 @@ packages: unbox-primitive@1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} - undici-types@6.19.8: - resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==} - undici-types@6.20.0: resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==} @@ -9419,6 +9413,12 @@ 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.17)(typescript@5.7.2))(@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.17)(typescript@5.7.2))(@swc/core@1.4.14)) + transitivePeerDependencies: + - nx + '@nrwl/devkit@19.2.3(nx@20.1.4(@swc-node/register@1.10.9(@swc/core@1.4.14)(@swc/types@0.1.17)(typescript@5.7.2))(@swc/core@1.4.14))': dependencies: '@nx/devkit': 19.2.3(nx@20.1.4(@swc-node/register@1.10.9(@swc/core@1.4.14)(@swc/types@0.1.17)(typescript@5.7.2))(@swc/core@1.4.14)) @@ -9482,7 +9482,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.17)(typescript@5.7.2))(@swc/core@1.4.14))': dependencies: - '@nrwl/devkit': 19.2.3(nx@20.1.4(@swc-node/register@1.10.9(@swc/core@1.4.14)(@swc/types@0.1.17)(typescript@5.7.2))(@swc/core@1.4.14)) + '@nrwl/devkit': 19.2.3(nx@19.2.3(@swc-node/register@1.10.9(@swc/core@1.4.14)(@swc/types@0.1.17)(typescript@5.7.2))(@swc/core@1.4.14)) ejs: 3.1.10 enquirer: 2.3.6 ignore: 5.3.2 @@ -10595,10 +10595,6 @@ snapshots: '@types/minimist@1.2.5': {} - '@types/node@20.17.9': - dependencies: - undici-types: 6.19.8 - '@types/node@22.10.1': dependencies: undici-types: 6.20.0 @@ -10611,7 +10607,7 @@ snapshots: '@types/ws@8.5.13': dependencies: - '@types/node': 20.17.9 + '@types/node': 22.10.1 '@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2)': dependencies: @@ -10698,7 +10694,7 @@ snapshots: '@vercel/ncc@0.38.3': {} - '@vitest/coverage-v8@2.1.6(vitest@2.1.6(@types/node@20.17.9))': + '@vitest/coverage-v8@2.1.6(vitest@2.1.6(@types/node@22.10.1))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -10712,7 +10708,7 @@ snapshots: std-env: 3.8.0 test-exclude: 7.0.1 tinyrainbow: 1.2.0 - vitest: 2.1.6(@types/node@20.17.9) + vitest: 2.1.6(@types/node@22.10.1) transitivePeerDependencies: - supports-color @@ -10723,13 +10719,13 @@ snapshots: chai: 5.1.2 tinyrainbow: 1.2.0 - '@vitest/mocker@2.1.6(vite@5.4.11(@types/node@20.17.9))': + '@vitest/mocker@2.1.6(vite@5.4.11(@types/node@22.10.1))': dependencies: '@vitest/spy': 2.1.6 estree-walker: 3.0.3 magic-string: 0.30.14 optionalDependencies: - vite: 5.4.11(@types/node@20.17.9) + vite: 5.4.11(@types/node@22.10.1) '@vitest/pretty-format@2.1.6': dependencies: @@ -14719,8 +14715,6 @@ snapshots: has-symbols: 1.0.3 which-boxed-primitive: 1.0.2 - undici-types@6.19.8: {} - undici-types@6.20.0: {} unicode-canonical-property-names-ecmascript@2.0.0: {} @@ -14779,13 +14773,13 @@ snapshots: validate-npm-package-name@5.0.1: {} - vite-node@2.1.6(@types/node@20.17.9): + vite-node@2.1.6(@types/node@22.10.1): 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.9) + vite: 5.4.11(@types/node@22.10.1) transitivePeerDependencies: - '@types/node' - less @@ -14797,30 +14791,30 @@ snapshots: - supports-color - terser - vite-tsconfig-paths@5.1.3(typescript@5.7.2)(vite@5.4.11(@types/node@20.17.9)): + vite-tsconfig-paths@5.1.3(typescript@5.7.2)(vite@5.4.11(@types/node@22.10.1)): dependencies: debug: 4.3.7 globrex: 0.1.2 tsconfck: 3.1.4(typescript@5.7.2) optionalDependencies: - vite: 5.4.11(@types/node@20.17.9) + vite: 5.4.11(@types/node@22.10.1) transitivePeerDependencies: - supports-color - typescript - vite@5.4.11(@types/node@20.17.9): + vite@5.4.11(@types/node@22.10.1): dependencies: esbuild: 0.21.5 postcss: 8.4.48 rollup: 4.25.0 optionalDependencies: - '@types/node': 20.17.9 + '@types/node': 22.10.1 fsevents: 2.3.3 - vitest@2.1.6(@types/node@20.17.9): + vitest@2.1.6(@types/node@22.10.1): dependencies: '@vitest/expect': 2.1.6 - '@vitest/mocker': 2.1.6(vite@5.4.11(@types/node@20.17.9)) + '@vitest/mocker': 2.1.6(vite@5.4.11(@types/node@22.10.1)) '@vitest/pretty-format': 2.1.6 '@vitest/runner': 2.1.6 '@vitest/snapshot': 2.1.6 @@ -14836,11 +14830,11 @@ snapshots: tinyexec: 0.3.1 tinypool: 1.0.2 tinyrainbow: 1.2.0 - vite: 5.4.11(@types/node@20.17.9) - vite-node: 2.1.6(@types/node@20.17.9) + vite: 5.4.11(@types/node@22.10.1) + vite-node: 2.1.6(@types/node@22.10.1) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 20.17.9 + '@types/node': 22.10.1 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",