diff --git a/.tool-versions b/.tool-versions index 7caf03a..3e51109 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -nodejs 18 +nodejs 20 diff --git a/apps/infra/package.json b/apps/infra/package.json index 64d522a..85a61ca 100644 --- a/apps/infra/package.json +++ b/apps/infra/package.json @@ -42,7 +42,7 @@ "devDependencies": { "@astro-aws/scripts": "workspace:^", "@types/aws-lambda": "^8.10.126", - "@types/node": "^18.18.0", + "@types/node": "^20.0.0", "eslint-config-get-off-my-lawn": "^7.2.0" }, "engines": { diff --git a/packages/adapter/package.json b/packages/adapter/package.json index d9642cd..cdd1d11 100644 --- a/packages/adapter/package.json +++ b/packages/adapter/package.json @@ -83,7 +83,7 @@ "@astro-aws/scripts": "workspace:^", "@faker-js/faker": "^8.3.1", "@types/aws-lambda": "^8.10.126", - "@types/node": "^18.18.0", + "@types/node": "^20.0.0", "astro": "^4.2.4", "aws-lambda": "^1.0.7", "eslint": "^8.53.0", diff --git a/packages/constructs/package.json b/packages/constructs/package.json index 0a0c4cb..4e5c066 100644 --- a/packages/constructs/package.json +++ b/packages/constructs/package.json @@ -36,7 +36,7 @@ }, "devDependencies": { "@astro-aws/scripts": "workspace:^", - "@types/node": "^18.18.0", + "@types/node": "^20.0.0", "aws-cdk-lib": "^2.109.0", "constructs": "^10.3.0", "eslint": "^8.53.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index af2b66d..7a0acf4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -110,8 +110,8 @@ importers: specifier: ^8.10.126 version: 8.10.126 '@types/node': - specifier: ^18.18.0 - version: 18.18.4 + specifier: ^20.0.0 + version: 20.11.10 eslint-config-get-off-my-lawn: specifier: ^7.2.0 version: 7.2.0(eslint@8.53.0) @@ -196,11 +196,11 @@ importers: specifier: ^8.10.126 version: 8.10.126 '@types/node': - specifier: ^18.18.0 - version: 18.18.4 + specifier: ^20.0.0 + version: 20.11.10 astro: specifier: ^4.2.4 - version: 4.2.4(@types/node@18.18.4)(typescript@5.2.2) + version: 4.2.4(@types/node@20.11.10)(typescript@5.2.2) aws-lambda: specifier: ^1.0.7 version: 1.0.7 @@ -227,8 +227,8 @@ importers: specifier: workspace:^ version: link:../../scripts '@types/node': - specifier: ^18.18.0 - version: 18.18.4 + specifier: ^20.0.0 + version: 20.11.10 aws-cdk-lib: specifier: ^2.109.0 version: 2.109.0(constructs@10.3.0) @@ -261,8 +261,8 @@ importers: version: 14.0.0 devDependencies: '@types/node': - specifier: ^18.18.0 - version: 18.18.4 + specifier: ^20.0.0 + version: 20.11.10 eslint: specifier: ^8.53.0 version: 8.53.0 @@ -3219,8 +3219,10 @@ packages: resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==} dev: false - /@types/node@18.18.4: - resolution: {integrity: sha512-t3rNFBgJRugIhackit2mVcLfF6IRc0JE4oeizPQL8Zrm8n2WY/0wOdpOPhdtG0V9Q2TlW/axbF1MJ6z+Yj/kKQ==} + /@types/node@20.11.10: + resolution: {integrity: sha512-rZEfe/hJSGYmdfX9tvcPMYeYPW2sNl50nsw4jZmRcaG0HIAb0WYEpsB05GOb53vjqpyE9GUhlDQ4jLSoB5q9kg==} + dependencies: + undici-types: 5.26.5 /@types/normalize-package-data@2.4.1: resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==} @@ -3232,7 +3234,7 @@ packages: /@types/sax@1.2.4: resolution: {integrity: sha512-pSAff4IAxJjfAXUG6tFkO7dsSbTmf8CtUpfhhZ5VhkRpC4628tJhh3+V6H1E+/Gs9piSzYKT5yzHO5M4GG9jkw==} dependencies: - '@types/node': 18.18.4 + '@types/node': 20.11.10 dev: false /@types/semver@7.5.1: @@ -3934,7 +3936,7 @@ packages: tsconfck: 3.0.0(typescript@5.2.2) unist-util-visit: 4.1.2 vfile: 5.3.7 - vite: 4.4.9(@types/node@18.18.4) + vite: 4.4.9(@types/node@20.11.10) vitefu: 0.2.4(vite@4.4.9) which-pm: 2.1.1 yargs-parser: 21.1.1 @@ -3953,7 +3955,7 @@ packages: - typescript dev: false - /astro@4.2.4(@types/node@18.18.4)(typescript@5.2.2): + /astro@4.2.4(@types/node@20.11.10)(typescript@5.2.2): resolution: {integrity: sha512-z1f52lXkHf71M5HSLKrd5G1PH5/Zfq4kMp0iUT7Na5VHcPDma/NYFPFPewDxqV6UPmyxupj3xuooFaN3j8zaow==} engines: {node: '>=18.14.1', npm: '>=6.14.0'} hasBin: true @@ -4016,7 +4018,7 @@ packages: tsconfck: 3.0.0(typescript@5.2.2) unist-util-visit: 5.0.0 vfile: 6.0.1 - vite: 5.0.12(@types/node@18.18.4) + vite: 5.0.12(@types/node@20.11.10) vitefu: 0.2.5(vite@5.0.12) which-pm: 2.1.1 yargs-parser: 21.1.1 @@ -10515,6 +10517,9 @@ packages: has-symbols: 1.0.3 which-boxed-primitive: 1.0.2 + /undici-types@5.26.5: + resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + /undici@5.24.0: resolution: {integrity: sha512-OKlckxBjFl0oXxcj9FU6oB8fDAaiRUq+D8jrFWGmOfI/gIyjk/IeS75LMzgYKUaeHzLUcYvf9bbJGSrUwTfwwQ==} engines: {node: '>=14.0'} @@ -10773,7 +10778,7 @@ packages: unist-util-stringify-position: 4.0.0 vfile-message: 4.0.2 - /vite-node@0.34.6(@types/node@18.18.4): + /vite-node@0.34.6(@types/node@20.11.10): resolution: {integrity: sha512-nlBMJ9x6n7/Amaz6F3zJ97EBwR2FkzhBRxF5e+jE6LA3yi6Wtc2lyTij1OnDMIr34v5g/tVQtsVAzhT0jc5ygA==} engines: {node: '>=v14.18.0'} hasBin: true @@ -10783,7 +10788,7 @@ packages: mlly: 1.4.2 pathe: 1.1.1 picocolors: 1.0.0 - vite: 4.4.9(@types/node@18.18.4) + vite: 4.4.9(@types/node@20.11.10) transitivePeerDependencies: - '@types/node' - less @@ -10795,7 +10800,7 @@ packages: - terser dev: true - /vite@4.4.9(@types/node@18.18.4): + /vite@4.4.9(@types/node@20.11.10): resolution: {integrity: sha512-2mbUn2LlUmNASWwSCNSJ/EG2HuSRTnVNaydp6vMCm5VIqJsjMfbIWtbH2kDuwUVW5mMUKKZvGPX/rqeqVvv1XA==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true @@ -10823,14 +10828,14 @@ packages: terser: optional: true dependencies: - '@types/node': 18.18.4 + '@types/node': 20.11.10 esbuild: 0.18.20 postcss: 8.4.29 rollup: 3.29.1 optionalDependencies: fsevents: 2.3.3 - /vite@5.0.12(@types/node@18.18.4): + /vite@5.0.12(@types/node@20.11.10): resolution: {integrity: sha512-4hsnEkG3q0N4Tzf1+t6NdN9dg/L3BM+q8SWgbSPnJvrgH2kgdyzfVJwbR1ic69/4uMJJ/3dqDZZE5/WwqW8U1w==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -10858,7 +10863,7 @@ packages: terser: optional: true dependencies: - '@types/node': 18.18.4 + '@types/node': 20.11.10 esbuild: 0.19.12 postcss: 8.4.33 rollup: 4.9.6 @@ -10874,7 +10879,7 @@ packages: vite: optional: true dependencies: - vite: 4.4.9(@types/node@18.18.4) + vite: 4.4.9(@types/node@20.11.10) dev: false /vitefu@0.2.5(vite@5.0.12): @@ -10885,7 +10890,7 @@ packages: vite: optional: true dependencies: - vite: 5.0.12(@types/node@18.18.4) + vite: 5.0.12(@types/node@20.11.10) dev: true /vitest@0.34.6: @@ -10921,7 +10926,7 @@ packages: dependencies: '@types/chai': 4.3.6 '@types/chai-subset': 1.3.3 - '@types/node': 18.18.4 + '@types/node': 20.11.10 '@vitest/expect': 0.34.6 '@vitest/runner': 0.34.6 '@vitest/snapshot': 0.34.6 @@ -10940,8 +10945,8 @@ packages: strip-literal: 1.3.0 tinybench: 2.5.1 tinypool: 0.7.0 - vite: 4.4.9(@types/node@18.18.4) - vite-node: 0.34.6(@types/node@18.18.4) + vite: 4.4.9(@types/node@20.11.10) + vite-node: 0.34.6(@types/node@20.11.10) why-is-node-running: 2.2.2 transitivePeerDependencies: - less diff --git a/scripts/package.json b/scripts/package.json index fc5a505..555d9ad 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -34,7 +34,7 @@ "globby": "^14.0.0" }, "devDependencies": { - "@types/node": "^18.18.0", + "@types/node": "^20.0.0", "eslint": "^8.53.0", "prettier": "^3.1.0", "tsx": "^4.1.2",