From 91d5a606d5c1b075065aa6ff3f4aaf26f9672a44 Mon Sep 17 00:00:00 2001 From: antoinewg Date: Tue, 18 Feb 2025 16:17:46 -0800 Subject: [PATCH 01/17] bump version 1.1.2 --- package.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 2f15559..ddc60b3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "turboless", - "version": "1.1.1", + "version": "1.1.2", "private": true, "workspaces": [ "packages/*", @@ -41,6 +41,5 @@ "pnpm": ">=9", "npm": "please-use-pnpm", "yarn": "please-use-pnpm" - }, - "packageManager": "pnpm@9.15.4" + } } From 053aeca3180a74171bd494bbccdc8ddad39630d2 Mon Sep 17 00:00:00 2001 From: antoinewg Date: Tue, 18 Feb 2025 16:18:39 -0800 Subject: [PATCH 02/17] upgrade turborepo --- package.json | 2 +- pnpm-lock.yaml | 58 +++++++++++++++++++++++++------------------------- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/package.json b/package.json index ddc60b3..3b181dd 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "serverless-esbuild": "^1.54.6", "serverless-offline": "^14.4.0", "ts-node": "^10.9.2", - "turbo": "^2.3.3", + "turbo": "^2.4.2", "typescript": "^5.7.3", "vitest": "^3.0.2" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f4c8b36..97a06d8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -42,8 +42,8 @@ importers: specifier: ^10.9.2 version: 10.9.2(@types/node@22.10.7)(typescript@5.7.3) turbo: - specifier: ^2.3.3 - version: 2.3.3 + specifier: ^2.4.2 + version: 2.4.2 typescript: specifier: ^5.7.3 version: 5.7.3 @@ -4036,38 +4036,38 @@ packages: engines: {node: '>=18.0.0'} hasBin: true - turbo-darwin-64@2.3.3: - resolution: {integrity: sha512-bxX82xe6du/3rPmm4aCC5RdEilIN99VUld4HkFQuw+mvFg6darNBuQxyWSHZTtc25XgYjQrjsV05888w1grpaA==} + turbo-darwin-64@2.4.2: + resolution: {integrity: sha512-HFfemyWB60CJtEvVQj9yby5rkkWw9fLAdLtAPGtPQoU3tKh8t/uzCAZKso2aPVbib9vGUuGbPGoGpaRXdVhj5g==} cpu: [x64] os: [darwin] - turbo-darwin-arm64@2.3.3: - resolution: {integrity: sha512-DYbQwa3NsAuWkCUYVzfOUBbSUBVQzH5HWUFy2Kgi3fGjIWVZOFk86ss+xsWu//rlEAfYwEmopigsPYSmW4X15A==} + turbo-darwin-arm64@2.4.2: + resolution: {integrity: sha512-uwSx1dsBSSFeEC0nxyx2O219FEsS/haiESaWwE9JI8mHkQK61s6w6fN2G586krKxyNam4AIxRltleL+O2Em94g==} cpu: [arm64] os: [darwin] - turbo-linux-64@2.3.3: - resolution: {integrity: sha512-eHj9OIB0dFaP6BxB88jSuaCLsOQSYWBgmhy2ErCu6D2GG6xW3b6e2UWHl/1Ho9FsTg4uVgo4DB9wGsKa5erjUA==} + turbo-linux-64@2.4.2: + resolution: {integrity: sha512-Fy/uL8z/LAYcPbm7a1LwFnTY9pIi5FAi12iuHsgB7zHjdh4eeIKS2NIg4nroAmTcUTUZ0/cVTo4bDOCUcS3aKw==} cpu: [x64] os: [linux] - turbo-linux-arm64@2.3.3: - resolution: {integrity: sha512-NmDE/NjZoDj1UWBhMtOPmqFLEBKhzGS61KObfrDEbXvU3lekwHeoPvAMfcovzswzch+kN2DrtbNIlz+/rp8OCg==} + turbo-linux-arm64@2.4.2: + resolution: {integrity: sha512-AEA0d8h5W/K6iiXfEgiNwWt0yqRL1NpBs8zQCLdc4/L7WeYeJW3sORWX8zt7xhutF/KW9gTm8ehKpiK6cCIsAA==} cpu: [arm64] os: [linux] - turbo-windows-64@2.3.3: - resolution: {integrity: sha512-O2+BS4QqjK3dOERscXqv7N2GXNcqHr9hXumkMxDj/oGx9oCatIwnnwx34UmzodloSnJpgSqjl8iRWiY65SmYoQ==} + turbo-windows-64@2.4.2: + resolution: {integrity: sha512-CybtIZ9wRgnnNFVN9En9G+rxsO+mwU81fvW4RpE8BWyNEkhQ8J28qYf4PaimueMxGHHp/28i/G7Kcdn2GAWG0g==} cpu: [x64] os: [win32] - turbo-windows-arm64@2.3.3: - resolution: {integrity: sha512-dW4ZK1r6XLPNYLIKjC4o87HxYidtRRcBeo/hZ9Wng2XM/MqqYkAyzJXJGgRMsc0MMEN9z4+ZIfnSNBrA0b08ag==} + turbo-windows-arm64@2.4.2: + resolution: {integrity: sha512-7V0yneVPL8Y3TgrkUIjw7Odmwu1tHnyIiPHFM7eFcA7U+H6hPXyCxge7nC3wOKfjhKCQqUm+Vf/k6kjmLz5G4g==} cpu: [arm64] os: [win32] - turbo@2.3.3: - resolution: {integrity: sha512-DUHWQAcC8BTiUZDRzAYGvpSpGLiaOQPfYXlCieQbwUvmml/LRGIe3raKdrOPOoiX0DYlzxs2nH6BoWJoZrj8hA==} + turbo@2.4.2: + resolution: {integrity: sha512-Qxi0ioQCxMRUCcHKHZkTnYH8e7XCpNfg9QiJcyfWIc+ZXeaCjzV5rCGlbQlTXMAtI8qgfP8fZADv3CFtPwqdPQ==} hasBin: true type-check@0.4.0: @@ -9201,32 +9201,32 @@ snapshots: optionalDependencies: fsevents: 2.3.3 - turbo-darwin-64@2.3.3: + turbo-darwin-64@2.4.2: optional: true - turbo-darwin-arm64@2.3.3: + turbo-darwin-arm64@2.4.2: optional: true - turbo-linux-64@2.3.3: + turbo-linux-64@2.4.2: optional: true - turbo-linux-arm64@2.3.3: + turbo-linux-arm64@2.4.2: optional: true - turbo-windows-64@2.3.3: + turbo-windows-64@2.4.2: optional: true - turbo-windows-arm64@2.3.3: + turbo-windows-arm64@2.4.2: optional: true - turbo@2.3.3: + turbo@2.4.2: optionalDependencies: - turbo-darwin-64: 2.3.3 - turbo-darwin-arm64: 2.3.3 - turbo-linux-64: 2.3.3 - turbo-linux-arm64: 2.3.3 - turbo-windows-64: 2.3.3 - turbo-windows-arm64: 2.3.3 + turbo-darwin-64: 2.4.2 + turbo-darwin-arm64: 2.4.2 + turbo-linux-64: 2.4.2 + turbo-linux-arm64: 2.4.2 + turbo-windows-64: 2.4.2 + turbo-windows-arm64: 2.4.2 type-check@0.4.0: dependencies: From d9a75b41fce877167b0cbc12bb66546f2a8486e1 Mon Sep 17 00:00:00 2001 From: antoinewg Date: Tue, 18 Feb 2025 16:26:22 -0800 Subject: [PATCH 03/17] run `check:updates:u` --- package.json | 3 +- packages/eslint-config-custom/package.json | 12 +- packages/helpers/package.json | 18 +- pnpm-lock.yaml | 919 +++++++++++---------- services/api1/package.json | 2 +- services/api2/package.json | 2 +- 6 files changed, 489 insertions(+), 467 deletions(-) diff --git a/package.json b/package.json index 3b181dd..aa323f2 100644 --- a/package.json +++ b/package.json @@ -41,5 +41,6 @@ "pnpm": ">=9", "npm": "please-use-pnpm", "yarn": "please-use-pnpm" - } + }, + "packageManager": "pnpm@9.1.3" } diff --git a/packages/eslint-config-custom/package.json b/packages/eslint-config-custom/package.json index ff8ce0f..f5c70d1 100644 --- a/packages/eslint-config-custom/package.json +++ b/packages/eslint-config-custom/package.json @@ -7,13 +7,13 @@ "check:updates:u": "npx npm-check-updates -u && pnpm i" }, "devDependencies": { - "@typescript-eslint/eslint-plugin": "^7.0.1", - "@typescript-eslint/parser": "^7.0.1", - "eslint": "^8.56.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-vitest": "^0.3.22", + "@typescript-eslint/eslint-plugin": "^8.24.1", + "@typescript-eslint/parser": "^8.24.1", + "eslint": "^9.20.1", + "eslint-config-prettier": "^10.0.1", + "eslint-plugin-vitest": "^0.5.4", "eslint-plugin-node": "^11.1.0", - "typescript": "^5.3.3" + "typescript": "^5.7.3" }, "publishConfig": { "access": "public" diff --git a/packages/helpers/package.json b/packages/helpers/package.json index 4cc6713..ca8e25e 100644 --- a/packages/helpers/package.json +++ b/packages/helpers/package.json @@ -11,16 +11,16 @@ "test:watch": "vitest" }, "dependencies": { - "@middy/core": "^5.2.4", - "@middy/http-cors": "^5.2.4", - "@middy/http-error-handler": "^5.2.4", - "@middy/http-event-normalizer": "^5.2.4", - "@middy/http-json-body-parser": "^5.2.4", - "@middy/util": "^5.2.4", - "@middy/validator": "^5.2.4" + "@middy/core": "^6.0.0", + "@middy/http-cors": "^6.0.0", + "@middy/http-error-handler": "^6.0.0", + "@middy/http-event-normalizer": "^6.0.0", + "@middy/http-json-body-parser": "^6.0.0", + "@middy/util": "^6.0.0", + "@middy/validator": "^6.0.0" }, "devDependencies": { - "@types/aws-lambda": "^8.10.133", - "json-schema-to-ts": "^3.0.0" + "@types/aws-lambda": "^8.10.147", + "json-schema-to-ts": "^3.1.1" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 97a06d8..85e6622 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -54,57 +54,57 @@ importers: packages/eslint-config-custom: devDependencies: '@typescript-eslint/eslint-plugin': - specifier: ^7.0.1 - version: 7.0.1(@typescript-eslint/parser@7.0.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.56.0)(typescript@5.3.3) + specifier: ^8.24.1 + version: 8.24.1(@typescript-eslint/parser@8.24.1(eslint@9.20.1)(typescript@5.7.3))(eslint@9.20.1)(typescript@5.7.3) '@typescript-eslint/parser': - specifier: ^7.0.1 - version: 7.0.1(eslint@8.56.0)(typescript@5.3.3) + specifier: ^8.24.1 + version: 8.24.1(eslint@9.20.1)(typescript@5.7.3) eslint: - specifier: ^8.56.0 - version: 8.56.0 + specifier: ^9.20.1 + version: 9.20.1 eslint-config-prettier: - specifier: ^9.1.0 - version: 9.1.0(eslint@8.56.0) + specifier: ^10.0.1 + version: 10.0.1(eslint@9.20.1) eslint-plugin-node: specifier: ^11.1.0 - version: 11.1.0(eslint@8.56.0) + version: 11.1.0(eslint@9.20.1) eslint-plugin-vitest: - specifier: ^0.3.22 - version: 0.3.22(@typescript-eslint/eslint-plugin@7.0.1(@typescript-eslint/parser@7.0.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.56.0)(typescript@5.3.3))(eslint@8.56.0)(typescript@5.3.3)(vitest@3.0.2(@types/node@22.10.7)) + specifier: ^0.5.4 + version: 0.5.4(@typescript-eslint/eslint-plugin@8.24.1(@typescript-eslint/parser@8.24.1(eslint@9.20.1)(typescript@5.7.3))(eslint@9.20.1)(typescript@5.7.3))(eslint@9.20.1)(typescript@5.7.3)(vitest@3.0.2(@types/node@22.10.7)) typescript: - specifier: ^5.3.3 - version: 5.3.3 + specifier: ^5.7.3 + version: 5.7.3 packages/helpers: dependencies: '@middy/core': - specifier: ^5.2.4 - version: 5.2.4 + specifier: ^6.0.0 + version: 6.0.0 '@middy/http-cors': - specifier: ^5.2.4 - version: 5.2.4 + specifier: ^6.0.0 + version: 6.0.0 '@middy/http-error-handler': - specifier: ^5.2.4 - version: 5.2.4 + specifier: ^6.0.0 + version: 6.0.0 '@middy/http-event-normalizer': - specifier: ^5.2.4 - version: 5.2.4 + specifier: ^6.0.0 + version: 6.0.0 '@middy/http-json-body-parser': - specifier: ^5.2.4 - version: 5.2.4 + specifier: ^6.0.0 + version: 6.0.0 '@middy/util': - specifier: ^5.2.4 - version: 5.2.4 + specifier: ^6.0.0 + version: 6.0.0 '@middy/validator': - specifier: ^5.2.4 - version: 5.2.4 + specifier: ^6.0.0 + version: 6.0.0 devDependencies: '@types/aws-lambda': - specifier: ^8.10.133 - version: 8.10.133 + specifier: ^8.10.147 + version: 8.10.147 json-schema-to-ts: - specifier: ^3.0.0 - version: 3.0.0 + specifier: ^3.1.1 + version: 3.1.1 packages/tsconfig: devDependencies: @@ -119,8 +119,8 @@ importers: version: link:../../packages/helpers devDependencies: eslint: - specifier: ^8.56.0 - version: 8.56.0 + specifier: ^9.20.1 + version: 9.20.1 tsconfig: specifier: workspace:* version: link:../../packages/tsconfig @@ -138,8 +138,8 @@ importers: specifier: ^4.2.9 version: 4.2.9 eslint: - specifier: ^8.56.0 - version: 8.56.0 + specifier: ^9.20.1 + version: 9.20.1 tsconfig: specifier: workspace:* version: link:../../packages/tsconfig @@ -416,10 +416,6 @@ packages: resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} engines: {node: '>=12'} - '@datastream/core@0.0.35': - resolution: {integrity: sha512-jmKFcDTYqtDy8DHPahaheg3MlLBiQboYX4jYX8oxE1tO5x7cfLl5M6bqR/o46RCEFZ3M9yMVfEEh0hy5raErEw==} - engines: {node: '>=18'} - '@effect/platform-node-shared@0.15.5': resolution: {integrity: sha512-PXFdIHMNzv19+aaKBo99KVsqJ65il8j7ejze/srkzOkNu4WK/GGpQuYF32NZLirFgXJe/4aYMRgwD+uJ4mCyuw==} peerDependencies: @@ -885,13 +881,33 @@ packages: resolution: {integrity: sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - '@eslint/eslintrc@2.1.4': - resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + '@eslint-community/regexpp@4.12.1': + resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==} + engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - '@eslint/js@8.56.0': - resolution: {integrity: sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + '@eslint/config-array@0.19.2': + resolution: {integrity: sha512-GNKqxfHG2ySmJOBSHg7LxeUx4xpuCoFjacmlCoYWEbaPXLwvfIjixRI12xCQZeULksQb23uiA8F40w5TojpV7w==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/core@0.11.0': + resolution: {integrity: sha512-DWUB2pksgNEb6Bz2fggIy1wh6fGgZP4Xyy/Mt0QZPiloKKXerbqq9D3SBQTlCRYOrcRPu4vuz+CGjwdfqxnoWA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/eslintrc@3.2.0': + resolution: {integrity: sha512-grOjVNN8P3hjJn/eIETF1wwd12DdnwFDoyceUJLYYdkpbwq3nLi+4fqrTAONx7XDALqlL220wC/RHSC/QTI/0w==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/js@9.20.0': + resolution: {integrity: sha512-iZA07H9io9Wn836aVTytRaNqh00Sad+EamwOVJT12GTLw1VGMFV/4JaME+JjLtr9fiGaoWgYnS54wrfWsSs4oQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/object-schema@2.1.6': + resolution: {integrity: sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/plugin-kit@0.2.6': + resolution: {integrity: sha512-+0TjwR1eAUdZtvv/ir1mGX+v0tUoR3VEPB8Up0LLJC+whRW0GgBBtpbOkg/a/U4Dxa6l5a3l9AJ1aWIQVyoWJA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@fluent/syntax@0.18.1': resolution: {integrity: sha512-h0dnIoIg1RwUZRKynTizlVCe0v5qAO9d92ugmRi8sVMM15mwwftf7dpEKdDRc/pybbrpDhmvZRykEel0Cs/RYg==} @@ -995,16 +1011,25 @@ packages: '@hapi/wreck@18.0.1': resolution: {integrity: sha512-OLHER70+rZxvDl75xq3xXOfd3e8XIvz8fWY0dqg92UvhZ29zo24vQgfqgHSYhB5ZiuFpSLeriOisAlxAo/1jWg==} - '@humanwhocodes/config-array@0.11.14': - resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==} - engines: {node: '>=10.10.0'} + '@humanfs/core@0.19.1': + resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==} + engines: {node: '>=18.18.0'} + + '@humanfs/node@0.16.6': + resolution: {integrity: sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==} + engines: {node: '>=18.18.0'} '@humanwhocodes/module-importer@1.0.1': resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} engines: {node: '>=12.22'} - '@humanwhocodes/object-schema@2.0.2': - resolution: {integrity: sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==} + '@humanwhocodes/retry@0.3.1': + resolution: {integrity: sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==} + engines: {node: '>=18.18'} + + '@humanwhocodes/retry@0.4.1': + resolution: {integrity: sha512-c7hNEllBlenFTHBky65mhq8WD2kbN9Q6gk0bTk8lSBvc554jpXSkST1iePudpt7+A/AQvuHs9EMqjHDXMY1lrA==} + engines: {node: '>=18.18'} '@isaacs/cliui@8.0.2': resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} @@ -1056,33 +1081,33 @@ packages: '@kwsites/promise-deferred@1.1.1': resolution: {integrity: sha512-GaHYm+c0O9MjZRu0ongGBRbinu8gVAMd2UZjji6jVmqKtZluZnptXGWhz1E8j8D2HJ3f/yMxKAUC0b+57wncIw==} - '@middy/core@5.2.4': - resolution: {integrity: sha512-0FpwGAWFjGIgBrkc/7yWUaKsC+QA58IeVQWY5RJXLE+O5OOlXF2mYNgkgfRnlW7lg9I/chml3wt33yV4ZJJ8BA==} - engines: {node: '>=18'} + '@middy/core@6.0.0': + resolution: {integrity: sha512-EFsvMkyFfaIu3Uzye26w2NzycwMAbh/99XlhRH9p240y/YKA0nlQ7itE8y7lBJOJ/clj1qu9evQeLfaiWhJAFg==} + engines: {node: '>=20'} - '@middy/http-cors@5.2.4': - resolution: {integrity: sha512-XC7ncMnbzt2VU43eQjFDGqCQSPMU5mQK/luznAQ2H8/CUs3oJgRUrJHX75EEXtAlHQmA4BDW9BwuC9eO27YXQg==} - engines: {node: '>=18'} + '@middy/http-cors@6.0.0': + resolution: {integrity: sha512-owdXHOtb8Qf8ArL0P387vZLI82F7hdiqwd5xUcL3KPNtK/pKQbX7oOcRsq+uyeQY/4tKC8ACWApqBQY+R+ft1Q==} + engines: {node: '>=20'} - '@middy/http-error-handler@5.2.4': - resolution: {integrity: sha512-3+IlHf5q2/Q5eyfx/3hkl5m6NUW/ss7EkfEo8mgWeBgMFmc7ow/t/5wSQtJpRBvmN2yHG/bi8AotbKLTrnKo2w==} - engines: {node: '>=18'} + '@middy/http-error-handler@6.0.0': + resolution: {integrity: sha512-UYI0udZ8rH9nluLGS419RyUYKyBYg7kQVwCHqA+l0B8cklMU3DP6ArpOGviioi0n3X1KgI7YuYDEVvMl167D9g==} + engines: {node: '>=20'} - '@middy/http-event-normalizer@5.2.4': - resolution: {integrity: sha512-DapMjIy5oP6Ky88aXeyDQpn9z9saXb+v0Gx0WlAmvAjGfEd1RX64w6ngqwv/QoyI75krYeh4cXXox7nmrwNhqg==} - engines: {node: '>=18'} + '@middy/http-event-normalizer@6.0.0': + resolution: {integrity: sha512-hosDhL2gA3O3NKMs/lS1xBD5ox2b7uV3d4CZNq3vRF8RUKGTJSczQy9fwYjJHQNjGm9Nu7WkBXOVqKCjy3uFjQ==} + engines: {node: '>=20'} - '@middy/http-json-body-parser@5.2.4': - resolution: {integrity: sha512-+CDr1WnbEKY/korgLnfxFSuMwgxqXM4uSodblN43Y9UzbArP+1OMpKYOnw3N2lLe26iA4CIO33V4hu8tUU5QzQ==} - engines: {node: '>=18'} + '@middy/http-json-body-parser@6.0.0': + resolution: {integrity: sha512-/uhdznqnLStNpqMqMBrTF0TjuPktB0T6Uy2p5vsitdVa8XycWsNDSkK2vMCWKYGGTA+vLHZs4RKAHXihAed5pg==} + engines: {node: '>=20'} - '@middy/util@5.2.4': - resolution: {integrity: sha512-1nwMlgOIBk6lT+PKFYuIYB9E+VlP8TTwthCK3snuuMsXCuaPlbZaQc4SqIWAeH/IcGP4aYjKRYUa18YJQBn6bQ==} - engines: {node: '>=18'} + '@middy/util@6.0.0': + resolution: {integrity: sha512-V2/gJ4wE6TtMJNAnUTm3VRdgNyLI6zdNLy3MzhrJOwxiUslG1OSShE1IUYR0cmzMOm5w/Y2p3+OIRXRqKUVHYQ==} + engines: {node: '>=20'} - '@middy/validator@5.2.4': - resolution: {integrity: sha512-VgIqWD20w5etWI9bQ9V9+lYgjUXywrePoeACgUkaUxumBnfe0zgmuZEvOt+JYT2N1TCM4I43ky5LhjOfpscrJA==} - engines: {node: '>=18'} + '@middy/validator@6.0.0': + resolution: {integrity: sha512-5EtQWVQb+G6UK/i9owa7TsCRJnLxJzmUufhRtswFRFtDiga2nkafz5jXR6ly8pdnkvf7bxEuXglBgjvvS61xUg==} + engines: {node: '>=20'} '@nodelib/fs.scandir@2.1.5': resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} @@ -1627,9 +1652,6 @@ packages: '@tsconfig/node16@1.0.2': resolution: {integrity: sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==} - '@types/aws-lambda@8.10.133': - resolution: {integrity: sha512-sr852MAL/79rjDelXP6ZuJ6GwOvXIRrFAoC8a+w91mZ5XR71CuzSgo1d0+pG1qgfPhjFgaibu7SWaoC5BA7pyQ==} - '@types/aws-lambda@8.10.147': resolution: {integrity: sha512-nD0Z9fNIZcxYX5Mai2CTmFD7wX7UldCkW2ezCF8D1T5hdiLsnTWDGRpfRYntU6VjTdLQjOvyszru7I1c1oCQew==} @@ -1639,6 +1661,9 @@ packages: '@types/estree@1.0.5': resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} + '@types/estree@1.0.6': + resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==} + '@types/http-cache-semantics@4.0.1': resolution: {integrity: sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ==} @@ -1663,96 +1688,79 @@ packages: '@types/responselike@1.0.0': resolution: {integrity: sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==} - '@types/semver@7.5.7': - resolution: {integrity: sha512-/wdoPq1QqkSj9/QOeKkFquEuPzQbHTWAMPH/PaUMB+JuR31lXhlWXRZ52IpfDYVlDOUBvX09uBrPwxGT1hjNBg==} - - '@typescript-eslint/eslint-plugin@7.0.1': - resolution: {integrity: sha512-OLvgeBv3vXlnnJGIAgCLYKjgMEU+wBGj07MQ/nxAaON+3mLzX7mJbhRYrVGiVvFiXtwFlkcBa/TtmglHy0UbzQ==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/eslint-plugin@8.24.1': + resolution: {integrity: sha512-ll1StnKtBigWIGqvYDVuDmXJHVH4zLVot1yQ4fJtLpL7qacwkxJc1T0bptqw+miBQ/QfUbhl1TcQ4accW5KUyA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - '@typescript-eslint/parser': ^7.0.0 - eslint: ^8.56.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true + '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 + eslint: ^8.57.0 || ^9.0.0 + typescript: '>=4.8.4 <5.8.0' - '@typescript-eslint/parser@7.0.1': - resolution: {integrity: sha512-8GcRRZNzaHxKzBPU3tKtFNing571/GwPBeCvmAUw0yBtfE2XVd0zFKJIMSWkHJcPQi0ekxjIts6L/rrZq5cxGQ==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/parser@8.24.1': + resolution: {integrity: sha512-Tqoa05bu+t5s8CTZFaGpCH2ub3QeT9YDkXbPd3uQ4SfsLoh1/vv2GEYAioPoxCWJJNsenXlC88tRjwoHNts1oQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^8.56.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true + eslint: ^8.57.0 || ^9.0.0 + typescript: '>=4.8.4 <5.8.0' - '@typescript-eslint/scope-manager@6.21.0': - resolution: {integrity: sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/scope-manager@7.18.0': + resolution: {integrity: sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==} + engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/scope-manager@7.0.1': - resolution: {integrity: sha512-v7/T7As10g3bcWOOPAcbnMDuvctHzCFYCG/8R4bK4iYzdFqsZTbXGln0cZNVcwQcwewsYU2BJLay8j0/4zOk4w==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/scope-manager@8.24.1': + resolution: {integrity: sha512-OdQr6BNBzwRjNEXMQyaGyZzgg7wzjYKfX2ZBV3E04hUCBDv3GQCHiz9RpqdUIiVrMgJGkXm3tcEh4vFSHreS2Q==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/type-utils@7.0.1': - resolution: {integrity: sha512-YtT9UcstTG5Yqy4xtLiClm1ZpM/pWVGFnkAa90UfdkkZsR1eP2mR/1jbHeYp8Ay1l1JHPyGvoUYR6o3On5Nhmw==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/type-utils@8.24.1': + resolution: {integrity: sha512-/Do9fmNgCsQ+K4rCz0STI7lYB4phTtEXqqCAs3gZW0pnK7lWNkvWd5iW545GSmApm4AzmQXmSqXPO565B4WVrw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^8.56.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true + eslint: ^8.57.0 || ^9.0.0 + typescript: '>=4.8.4 <5.8.0' - '@typescript-eslint/types@6.21.0': - resolution: {integrity: sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/types@7.18.0': + resolution: {integrity: sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ==} + engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/types@7.0.1': - resolution: {integrity: sha512-uJDfmirz4FHib6ENju/7cz9SdMSkeVvJDK3VcMFvf/hAShg8C74FW+06MaQPODHfDJp/z/zHfgawIJRjlu0RLg==} - engines: {node: ^16.0.0 || >=18.0.0} - - '@typescript-eslint/typescript-estree@6.21.0': - resolution: {integrity: sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true + '@typescript-eslint/types@8.24.1': + resolution: {integrity: sha512-9kqJ+2DkUXiuhoiYIUvIYjGcwle8pcPpdlfkemGvTObzgmYfJ5d0Qm6jwb4NBXP9W1I5tss0VIAnWFumz3mC5A==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@7.0.1': - resolution: {integrity: sha512-SO9wHb6ph0/FN5OJxH4MiPscGah5wjOd0RRpaLvuBv9g8565Fgu0uMySFEPqwPHiQU90yzJ2FjRYKGrAhS1xig==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/typescript-estree@7.18.0': + resolution: {integrity: sha512-aP1v/BSPnnyhMHts8cf1qQ6Q1IFwwRvAQGRvBFkWlo3/lH29OXA3Pts+c10nxRxIBrDnoMqzhgdwVe5f2D6OzA==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: typescript: '*' peerDependenciesMeta: typescript: optional: true - '@typescript-eslint/utils@6.21.0': - resolution: {integrity: sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/typescript-estree@8.24.1': + resolution: {integrity: sha512-UPyy4MJ/0RE648DSKQe9g0VDSehPINiejjA6ElqnFaFIhI6ZEiZAkUI0D5MCk0bQcTf/LVqZStvQ6K4lPn/BRg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^7.0.0 || ^8.0.0 + typescript: '>=4.8.4 <5.8.0' - '@typescript-eslint/utils@7.0.1': - resolution: {integrity: sha512-oe4his30JgPbnv+9Vef1h48jm0S6ft4mNwi9wj7bX10joGn07QRfqIqFHoMiajrtoU88cIhXf8ahwgrcbNLgPA==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/utils@7.18.0': + resolution: {integrity: sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 - '@typescript-eslint/visitor-keys@6.21.0': - resolution: {integrity: sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/utils@8.24.1': + resolution: {integrity: sha512-OOcg3PMMQx9EXspId5iktsI3eMaXVwlhC8BvNnX6B5w9a4dVgpkQZuU8Hy67TolKcl+iFWq0XX+jbDGN4xWxjQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: '>=4.8.4 <5.8.0' - '@typescript-eslint/visitor-keys@7.0.1': - resolution: {integrity: sha512-hwAgrOyk++RTXrP4KzCg7zB2U0xt7RUU0ZdMSCsqF3eKUwkdXUMyTb0qdCuji7VIbcpG62kKTU9M1J1c9UpFBw==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/visitor-keys@7.18.0': + resolution: {integrity: sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==} + engines: {node: ^18.18.0 || >=20.0.0} - '@ungap/structured-clone@1.2.0': - resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} + '@typescript-eslint/visitor-keys@8.24.1': + resolution: {integrity: sha512-EwVHlp5l+2vp8CoqJm9KikPZgi3gbdZAtabKT9KPShGeOcJhsv4Zdo3oc8T8I0uKEmYoU4ItyxbptjF08enaxg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@vitest/coverage-v8@3.0.2': resolution: {integrity: sha512-U+hZYb0FtgNDb6B3E9piAHzXXIuxuBw2cd6Lvepc9sYYY4KjgiwCBmo3Sird9ZRu3ggLpLBTfw1ZRr77ipiSfw==} @@ -1814,6 +1822,11 @@ packages: engines: {node: '>=0.4.0'} hasBin: true + acorn@8.14.0: + resolution: {integrity: sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==} + engines: {node: '>=0.4.0'} + hasBin: true + acorn@8.8.2: resolution: {integrity: sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==} engines: {node: '>=0.4.0'} @@ -1849,6 +1862,14 @@ packages: ajv: optional: true + ajv-formats@3.0.1: + resolution: {integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==} + peerDependencies: + ajv: ^8.0.0 + peerDependenciesMeta: + ajv: + optional: true + ajv-ftl-i18n@0.1.1: resolution: {integrity: sha512-bJwD8xsGqeI3CvLv1lWdJAGaXoEG8PlDqzx1W5U87pWvEhQR+DqnTZsRQpAo736t9haWR06ECtyJA3GTO/Zphw==} hasBin: true @@ -1864,6 +1885,9 @@ packages: ajv@8.12.0: resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==} + ajv@8.17.1: + resolution: {integrity: sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==} + ansi-align@3.0.1: resolution: {integrity: sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==} @@ -1990,6 +2014,10 @@ packages: resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} engines: {node: '>=8'} + braces@3.0.3: + resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} + engines: {node: '>=8'} + buffer-alloc-unsafe@1.1.0: resolution: {integrity: sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==} @@ -2008,9 +2036,6 @@ packages: buffer@5.7.1: resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==} - buffer@6.0.3: - resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==} - builtin-modules@3.3.0: resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} engines: {node: '>=6'} @@ -2138,9 +2163,6 @@ packages: resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==} engines: {node: '>=0.8'} - cloneable-readable@3.0.0: - resolution: {integrity: sha512-Lkfd9IRx1nfiBr7UHNxJSl/x7DOeUfYmxzCkxYJC2tyc/9vKgV75msgLGurGQsak/NvJDHMWcshzEXRlxfvhqg==} - color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} @@ -2224,6 +2246,10 @@ packages: resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} engines: {node: '>= 8'} + cross-spawn@7.0.6: + resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} + engines: {node: '>= 8'} + d@1.0.1: resolution: {integrity: sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==} @@ -2328,10 +2354,6 @@ packages: discontinuous-range@1.0.0: resolution: {integrity: sha512-c68LpLbO+7kP/b1Hr1qs8/BJ09F5khZGTxqxZuhzxpmwJKOgRFHJWIb9/KmqnqHhLdO55aOxFH/EGBvUQbL/RQ==} - doctrine@3.0.0: - resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} - engines: {node: '>=6.0.0'} - dot-case@3.0.4: resolution: {integrity: sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==} @@ -2408,8 +2430,8 @@ packages: resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} engines: {node: '>=10'} - eslint-config-prettier@9.1.0: - resolution: {integrity: sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==} + eslint-config-prettier@10.0.1: + resolution: {integrity: sha512-lZBts941cyJyeaooiKxAtzoPHTN+GbQTJFAIdQbRhA4/8whaAraEh47Whw/ZFfrjNSnlAxqfm9i0XVAEkULjCw==} hasBin: true peerDependencies: eslint: '>=7.0.0' @@ -2426,12 +2448,12 @@ packages: peerDependencies: eslint: '>=5.16.0' - eslint-plugin-vitest@0.3.22: - resolution: {integrity: sha512-atkFGQ7aVgcuSeSMDqnyevIyUpfBPMnosksgEPrKE7Y8xQlqG/5z2IQ6UDau05zXaaFv7Iz8uzqvIuKshjZ0Zw==} + eslint-plugin-vitest@0.5.4: + resolution: {integrity: sha512-um+odCkccAHU53WdKAw39MY61+1x990uXjSPguUCq3VcEHdqJrOb8OTMrbYlY6f9jAKx7x98kLVlIe3RJeJqoQ==} engines: {node: ^18.0.0 || >= 20.0.0} peerDependencies: '@typescript-eslint/eslint-plugin': '*' - eslint: '>=8.0.0' + eslint: ^8.57.0 || ^9.0.0 vitest: '*' peerDependenciesMeta: '@typescript-eslint/eslint-plugin': @@ -2439,9 +2461,9 @@ packages: vitest: optional: true - eslint-scope@7.2.2: - resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + eslint-scope@8.2.0: + resolution: {integrity: sha512-PHlWUfG6lvPc3yvP5A4PNyBL1W8fkDUccmI21JUu/+GKZBoH/W5u6usENXUrWFRsyoW5ACUjFGgAFQp5gUlb/A==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} eslint-utils@2.1.0: resolution: {integrity: sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==} @@ -2455,17 +2477,26 @@ packages: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - eslint@8.56.0: - resolution: {integrity: sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + eslint-visitor-keys@4.2.0: + resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + eslint@9.20.1: + resolution: {integrity: sha512-m1mM33o6dBUjxl2qb6wv6nGNwCAsns1eKtaQ4l/NPHeTvhiUPbtdfMyktxN4B3fgHIgsYh1VT3V9txblpQHq+g==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} hasBin: true + peerDependencies: + jiti: '*' + peerDependenciesMeta: + jiti: + optional: true esniff@1.1.0: resolution: {integrity: sha512-vmHXOeOt7FJLsqofvFk4WB3ejvcHizCd8toXXwADmYfd02p2QwHRgkUbhYDX54y08nqk818CUTWipgZGlyN07g==} - espree@9.6.1: - resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + espree@10.3.0: + resolution: {integrity: sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} esprima@4.0.1: resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} @@ -2505,10 +2536,6 @@ packages: resolution: {integrity: sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=} engines: {node: '>=0.4.x'} - events@3.3.0: - resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==} - engines: {node: '>=0.8.x'} - execa@5.1.1: resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} engines: {node: '>=10'} @@ -2550,14 +2577,18 @@ packages: resolution: {integrity: sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==} engines: {node: '>=8.6.0'} + fast-glob@3.3.3: + resolution: {integrity: sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==} + engines: {node: '>=8.6.0'} + fast-json-stable-stringify@2.1.0: resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} fast-levenshtein@2.0.6: resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} - fast-uri@2.3.0: - resolution: {integrity: sha512-eel5UKGn369gGEWOqBShmFJWfq/xSJvsgDzgLYC845GneayWvXBf0lJCBn5qTABfewy1ZDPoaR5OZCP+kssfuw==} + fast-uri@3.0.6: + resolution: {integrity: sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==} fast-xml-parser@4.2.5: resolution: {integrity: sha512-B9/wizE4WngqQftFPmdaMYlXoJlJOYxGQOanC77fq9k8+Z0v5dDSVh+3glErdIROP//s/jgb7ZuxKfB8nVyo0g==} @@ -2585,9 +2616,9 @@ packages: resolution: {integrity: sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==} engines: {node: '>=8'} - file-entry-cache@6.0.1: - resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} - engines: {node: ^10.12.0 || >=12.0.0} + file-entry-cache@8.0.0: + resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} + engines: {node: '>=16.0.0'} file-type@16.5.4: resolution: {integrity: sha512-/yFHK0aGjFEgDJjEKP0pWCplsPFPhwyfwevf/pVxiN0tmE4L9LmwWxWukdJSHdoCli4VgQLehjJtwQBnqmsKcw==} @@ -2625,6 +2656,10 @@ packages: resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} engines: {node: '>=8'} + fill-range@7.1.1: + resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} + engines: {node: '>=8'} + find-my-way-ts@0.1.5: resolution: {integrity: sha512-4GOTMrpGQVzsCH2ruUn2vmwzV/02zF4q+ybhCIrw/Rkt3L8KWcycdC6aJMctJzwN4fXD4SD5F/4B9Sksh5rE0A==} @@ -2636,16 +2671,16 @@ packages: resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} engines: {node: '>=10'} - flat-cache@3.0.4: - resolution: {integrity: sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==} - engines: {node: ^10.12.0 || >=12.0.0} + flat-cache@4.0.1: + resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==} + engines: {node: '>=16'} flat@5.0.2: resolution: {integrity: sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==} hasBin: true - flatted@3.2.5: - resolution: {integrity: sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==} + flatted@3.3.3: + resolution: {integrity: sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==} fluent-transpiler@0.2.1: resolution: {integrity: sha512-pdF72/XOg0NHj97E3aXu9k5PI8FmpRRrk4HMDeo9KRm7eoNczBTHnQjQMuqsAJ06ejT9teAA5fL8qUIhtUe6oA==} @@ -2765,9 +2800,9 @@ packages: glob@7.2.0: resolution: {integrity: sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==} - globals@13.20.0: - resolution: {integrity: sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==} - engines: {node: '>=8'} + globals@14.0.0: + resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} + engines: {node: '>=18'} globby@11.1.0: resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} @@ -2934,10 +2969,6 @@ packages: resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} engines: {node: '>=0.12.0'} - is-path-inside@3.0.3: - resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} - engines: {node: '>=8'} - is-plain-obj@1.1.0: resolution: {integrity: sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==} engines: {node: '>=0.10.0'} @@ -3045,8 +3076,8 @@ packages: engines: {node: '>=0.8'} hasBin: true - json-schema-to-ts@3.0.0: - resolution: {integrity: sha512-2adDesYifYEXYxNySx3gG0RR69rDWIjqAFzK/JPXdOvjHLZ/UP6d2rkpy6a+AxyhtRp2SvFPZ4+EW36jBinUbA==} + json-schema-to-ts@3.1.1: + resolution: {integrity: sha512-+DWg8jCJG2TEnpy7kOm/7/AxaYoaRbjVB4LFZLySZlWn8exGs3A4OLJR966cVvU26N7X9TWxl+Jsw7dzAqKT6g==} engines: {node: '>=16'} json-schema-traverse@0.4.1: @@ -3089,6 +3120,9 @@ packages: keyv@4.3.0: resolution: {integrity: sha512-C30Un9+63J0CsR7Wka5quXKqYZsT6dcRQ2aOwGcSc3RiQ4HGWpTAHlCA+puNfw2jA/s11EsxA1nCXgZRuRKMQQ==} + keyv@4.5.4: + resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} + lazystream@1.0.1: resolution: {integrity: sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==} engines: {node: '>= 0.6.3'} @@ -3206,6 +3240,10 @@ packages: resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} engines: {node: '>=8.6'} + micromatch@4.0.8: + resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} + engines: {node: '>=8.6'} + mime-db@1.52.0: resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} engines: {node: '>= 0.6'} @@ -3243,10 +3281,6 @@ packages: minimatch@3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} - minimatch@9.0.3: - resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==} - engines: {node: '>=16 || 14 >=14.17'} - minimatch@9.0.5: resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} engines: {node: '>=16 || 14 >=14.17'} @@ -3556,10 +3590,6 @@ packages: resolution: {integrity: sha512-fMyMQbKCxX51YxR7YGCzPjLsU3yDzXFkP4oi1/Mt5Ixnk7GO/7uUTj8mrCHUwuvozWzI+V7QSJR9cZYnwNOZPg==} engines: {node: '>=10.0'} - process@0.11.10: - resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==} - engines: {node: '>= 0.6.0'} - promise-queue@2.2.5: resolution: {integrity: sha512-p/iXrPSVfnqPft24ZdNNLECw/UrtLTpT3jpAAMzl/o5/rDsGCPo3/CQS2611flL6LkoEJ3oQZw7C8Q80ZISXRQ==} engines: {node: '>= 0.8.0'} @@ -3622,10 +3652,6 @@ packages: resolution: {integrity: sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==} engines: {node: '>= 6'} - readable-stream@4.5.2: - resolution: {integrity: sha512-yjavECdqeZ3GLXNgRXgeQEdz9fvDDkNKyHnbHRFtOr7/LcfgBcmct7t/ET+HaCTqfh06OzoAxrkN/IfjJBVe+g==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - readable-web-to-node-stream@3.0.2: resolution: {integrity: sha512-ePeK6cc1EcKLEhJFt/AebMCLL+GgSKhuygrZ/GLaKZYEecIgIECf4UaUuaByiGtzckwR4ain9VzUh95T1exYGw==} engines: {node: '>=8'} @@ -3681,10 +3707,6 @@ packages: resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - rimraf@3.0.2: - resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} - hasBin: true - rollup@4.10.0: resolution: {integrity: sha512-t2v9G2AKxcQ8yrG+WGxctBes1AomT0M4ND7jTFBCVPXQ/WFTvNSefIrNSmLKhIKBrvN8SG+CZslimJcT3W2u2g==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} @@ -3939,9 +3961,6 @@ packages: resolution: {integrity: sha512-pFYqmTw68LXVjeWJMST4+borgQP2AyMNbg1BpZh9LbyhUeNkeaPF9gzfPGUAnSMV3qPYdWUwDIjjCLiSDOl7vg==} engines: {node: '>=18'} - text-table@0.2.0: - resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} - throat@5.0.0: resolution: {integrity: sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==} @@ -3998,15 +4017,21 @@ packages: resolution: {integrity: sha512-pkonvlKk8/ZuR0D5tLW8ljt5I8kmxp2XKymhepUeOdCEfKpZaktSArkLHZt76OB1ZvO9bssUsDty4SWhLvZpLg==} engines: {node: '>=0.10.0'} - ts-algebra@1.2.2: - resolution: {integrity: sha512-kloPhf1hq3JbCPOTYoOWDKxebWjNb2o/LKnNfkWhxVVisFFmMJPPdJeGoGmM+iRLyoXAR61e08Pb+vUXINg8aA==} + ts-algebra@2.0.0: + resolution: {integrity: sha512-FPAhNPFMrkwz76P7cdjdmiShwMynZYN6SgOujD1urY4oNm80Ou9oMdmbR45LotcKOXoy7wSmHkRFE6Mxbrhefw==} - ts-api-utils@1.2.1: - resolution: {integrity: sha512-RIYA36cJn2WiH9Hy77hdF9r7oEwxAtB/TS9/S4Qd90Ap4z5FSiin5zEiTL44OII1Y3IIlEvxwxFUVgrHSZ/UpA==} + ts-api-utils@1.4.3: + resolution: {integrity: sha512-i3eMG77UTMD0hZhgRS562pv83RC6ukSAC2GMNWc+9dieh/+jDM5u5YG+NHX6VNDRHQcHwmsTHctP9LhbC3WxVw==} engines: {node: '>=16'} peerDependencies: typescript: '>=4.2.0' + ts-api-utils@2.0.1: + resolution: {integrity: sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==} + engines: {node: '>=18.12'} + peerDependencies: + typescript: '>=4.8.4' + ts-node@10.9.2: resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true @@ -4074,10 +4099,6 @@ packages: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} engines: {node: '>= 0.8.0'} - type-fest@0.20.2: - resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} - engines: {node: '>=10'} - type-fest@0.21.3: resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} engines: {node: '>=10'} @@ -4096,11 +4117,6 @@ packages: type@2.7.2: resolution: {integrity: sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==} - typescript@5.3.3: - resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==} - engines: {node: '>=14.17'} - hasBin: true - typescript@5.7.3: resolution: {integrity: sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==} engines: {node: '>=14.17'} @@ -5141,10 +5157,6 @@ snapshots: dependencies: '@jridgewell/trace-mapping': 0.3.9 - '@datastream/core@0.0.35': - dependencies: - cloneable-readable: 3.0.0 - '@effect/platform-node-shared@0.15.5(@effect/platform@0.65.5(@effect/schema@0.73.4(effect@3.12.5))(effect@3.12.5))(effect@3.12.5)': dependencies: '@effect/platform': 0.65.5(@effect/schema@0.73.4(effect@3.12.5))(effect@3.12.5) @@ -5392,19 +5404,33 @@ snapshots: '@esbuild/win32-x64@0.24.2': optional: true - '@eslint-community/eslint-utils@4.4.0(eslint@8.56.0)': + '@eslint-community/eslint-utils@4.4.0(eslint@9.20.1)': dependencies: - eslint: 8.56.0 + eslint: 9.20.1 eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.10.0': {} - '@eslint/eslintrc@2.1.4': + '@eslint-community/regexpp@4.12.1': {} + + '@eslint/config-array@0.19.2': + dependencies: + '@eslint/object-schema': 2.1.6 + debug: 4.4.0(supports-color@8.1.1) + minimatch: 3.1.2 + transitivePeerDependencies: + - supports-color + + '@eslint/core@0.11.0': + dependencies: + '@types/json-schema': 7.0.15 + + '@eslint/eslintrc@3.2.0': dependencies: ajv: 6.12.6 - debug: 4.3.4(supports-color@8.1.1) - espree: 9.6.1 - globals: 13.20.0 + debug: 4.4.0(supports-color@8.1.1) + espree: 10.3.0 + globals: 14.0.0 ignore: 5.3.1 import-fresh: 3.3.0 js-yaml: 4.1.0 @@ -5413,7 +5439,14 @@ snapshots: transitivePeerDependencies: - supports-color - '@eslint/js@8.56.0': {} + '@eslint/js@9.20.0': {} + + '@eslint/object-schema@2.1.6': {} + + '@eslint/plugin-kit@0.2.6': + dependencies: + '@eslint/core': 0.11.0 + levn: 0.4.1 '@fluent/syntax@0.18.1': {} @@ -5589,17 +5622,18 @@ snapshots: '@hapi/bourne': 3.0.0 '@hapi/hoek': 11.0.2 - '@humanwhocodes/config-array@0.11.14': + '@humanfs/core@0.19.1': {} + + '@humanfs/node@0.16.6': dependencies: - '@humanwhocodes/object-schema': 2.0.2 - debug: 4.3.4(supports-color@8.1.1) - minimatch: 3.1.2 - transitivePeerDependencies: - - supports-color + '@humanfs/core': 0.19.1 + '@humanwhocodes/retry': 0.3.1 '@humanwhocodes/module-importer@1.0.1': {} - '@humanwhocodes/object-schema@2.0.2': {} + '@humanwhocodes/retry@0.3.1': {} + + '@humanwhocodes/retry@0.4.1': {} '@isaacs/cliui@8.0.2': dependencies: @@ -5646,40 +5680,39 @@ snapshots: '@kwsites/file-exists@1.1.1(supports-color@8.1.1)': dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) transitivePeerDependencies: - supports-color '@kwsites/promise-deferred@1.1.1': {} - '@middy/core@5.2.4': - dependencies: - '@datastream/core': 0.0.35 + '@middy/core@6.0.0': {} - '@middy/http-cors@5.2.4': + '@middy/http-cors@6.0.0': dependencies: - '@middy/util': 5.2.4 + '@middy/util': 6.0.0 - '@middy/http-error-handler@5.2.4': + '@middy/http-error-handler@6.0.0': dependencies: - '@middy/util': 5.2.4 + '@middy/util': 6.0.0 - '@middy/http-event-normalizer@5.2.4': {} + '@middy/http-event-normalizer@6.0.0': {} - '@middy/http-json-body-parser@5.2.4': {} + '@middy/http-json-body-parser@6.0.0': + dependencies: + '@middy/util': 6.0.0 - '@middy/util@5.2.4': {} + '@middy/util@6.0.0': {} - '@middy/validator@5.2.4': + '@middy/validator@6.0.0': dependencies: - '@middy/util': 5.2.4 - ajv: 8.12.0 - ajv-errors: 3.0.0(ajv@8.12.0) - ajv-formats: 2.1.1(ajv@8.12.0) - ajv-formats-draft2019: 1.6.1(ajv@8.12.0) + '@middy/util': 6.0.0 + ajv: 8.17.1 + ajv-errors: 3.0.0(ajv@8.17.1) + ajv-formats: 3.0.1(ajv@8.17.1) + ajv-formats-draft2019: 1.6.1(ajv@8.17.1) ajv-ftl-i18n: 0.1.1 - ajv-keywords: 5.1.0(ajv@8.12.0) - fast-uri: 2.3.0 + ajv-keywords: 5.1.0(ajv@8.17.1) '@nodelib/fs.scandir@2.1.5': dependencies: @@ -6465,8 +6498,6 @@ snapshots: '@tsconfig/node16@1.0.2': {} - '@types/aws-lambda@8.10.133': {} - '@types/aws-lambda@8.10.147': {} '@types/cacheable-request@6.0.2': @@ -6478,6 +6509,8 @@ snapshots: '@types/estree@1.0.5': {} + '@types/estree@1.0.6': {} + '@types/http-cache-semantics@4.0.1': {} '@types/json-buffer@3.0.0': {} @@ -6502,142 +6535,126 @@ snapshots: dependencies: '@types/node': 22.10.7 - '@types/semver@7.5.7': {} - - '@typescript-eslint/eslint-plugin@7.0.1(@typescript-eslint/parser@7.0.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.56.0)(typescript@5.3.3)': + '@typescript-eslint/eslint-plugin@8.24.1(@typescript-eslint/parser@8.24.1(eslint@9.20.1)(typescript@5.7.3))(eslint@9.20.1)(typescript@5.7.3)': dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 7.0.1(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/scope-manager': 7.0.1 - '@typescript-eslint/type-utils': 7.0.1(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/utils': 7.0.1(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 7.0.1 - debug: 4.3.4(supports-color@8.1.1) - eslint: 8.56.0 + '@typescript-eslint/parser': 8.24.1(eslint@9.20.1)(typescript@5.7.3) + '@typescript-eslint/scope-manager': 8.24.1 + '@typescript-eslint/type-utils': 8.24.1(eslint@9.20.1)(typescript@5.7.3) + '@typescript-eslint/utils': 8.24.1(eslint@9.20.1)(typescript@5.7.3) + '@typescript-eslint/visitor-keys': 8.24.1 + eslint: 9.20.1 graphemer: 1.4.0 ignore: 5.3.1 natural-compare: 1.4.0 - semver: 7.6.0 - ts-api-utils: 1.2.1(typescript@5.3.3) - optionalDependencies: - typescript: 5.3.3 + ts-api-utils: 2.0.1(typescript@5.7.3) + typescript: 5.7.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@7.0.1(eslint@8.56.0)(typescript@5.3.3)': + '@typescript-eslint/parser@8.24.1(eslint@9.20.1)(typescript@5.7.3)': dependencies: - '@typescript-eslint/scope-manager': 7.0.1 - '@typescript-eslint/types': 7.0.1 - '@typescript-eslint/typescript-estree': 7.0.1(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 7.0.1 - debug: 4.3.4(supports-color@8.1.1) - eslint: 8.56.0 - optionalDependencies: - typescript: 5.3.3 + '@typescript-eslint/scope-manager': 8.24.1 + '@typescript-eslint/types': 8.24.1 + '@typescript-eslint/typescript-estree': 8.24.1(typescript@5.7.3) + '@typescript-eslint/visitor-keys': 8.24.1 + debug: 4.4.0(supports-color@8.1.1) + eslint: 9.20.1 + typescript: 5.7.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@6.21.0': + '@typescript-eslint/scope-manager@7.18.0': dependencies: - '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/visitor-keys': 6.21.0 + '@typescript-eslint/types': 7.18.0 + '@typescript-eslint/visitor-keys': 7.18.0 - '@typescript-eslint/scope-manager@7.0.1': + '@typescript-eslint/scope-manager@8.24.1': dependencies: - '@typescript-eslint/types': 7.0.1 - '@typescript-eslint/visitor-keys': 7.0.1 + '@typescript-eslint/types': 8.24.1 + '@typescript-eslint/visitor-keys': 8.24.1 - '@typescript-eslint/type-utils@7.0.1(eslint@8.56.0)(typescript@5.3.3)': + '@typescript-eslint/type-utils@8.24.1(eslint@9.20.1)(typescript@5.7.3)': dependencies: - '@typescript-eslint/typescript-estree': 7.0.1(typescript@5.3.3) - '@typescript-eslint/utils': 7.0.1(eslint@8.56.0)(typescript@5.3.3) - debug: 4.3.4(supports-color@8.1.1) - eslint: 8.56.0 - ts-api-utils: 1.2.1(typescript@5.3.3) - optionalDependencies: - typescript: 5.3.3 + '@typescript-eslint/typescript-estree': 8.24.1(typescript@5.7.3) + '@typescript-eslint/utils': 8.24.1(eslint@9.20.1)(typescript@5.7.3) + debug: 4.4.0(supports-color@8.1.1) + eslint: 9.20.1 + ts-api-utils: 2.0.1(typescript@5.7.3) + typescript: 5.7.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/types@6.21.0': {} + '@typescript-eslint/types@7.18.0': {} - '@typescript-eslint/types@7.0.1': {} + '@typescript-eslint/types@8.24.1': {} - '@typescript-eslint/typescript-estree@6.21.0(typescript@5.3.3)': + '@typescript-eslint/typescript-estree@7.18.0(typescript@5.7.3)': dependencies: - '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/visitor-keys': 6.21.0 - debug: 4.3.4(supports-color@8.1.1) + '@typescript-eslint/types': 7.18.0 + '@typescript-eslint/visitor-keys': 7.18.0 + debug: 4.4.0(supports-color@8.1.1) globby: 11.1.0 is-glob: 4.0.3 - minimatch: 9.0.3 + minimatch: 9.0.5 semver: 7.6.0 - ts-api-utils: 1.2.1(typescript@5.3.3) + ts-api-utils: 1.4.3(typescript@5.7.3) optionalDependencies: - typescript: 5.3.3 + typescript: 5.7.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@7.0.1(typescript@5.3.3)': + '@typescript-eslint/typescript-estree@8.24.1(typescript@5.7.3)': dependencies: - '@typescript-eslint/types': 7.0.1 - '@typescript-eslint/visitor-keys': 7.0.1 - debug: 4.3.4(supports-color@8.1.1) - globby: 11.1.0 + '@typescript-eslint/types': 8.24.1 + '@typescript-eslint/visitor-keys': 8.24.1 + debug: 4.4.0(supports-color@8.1.1) + fast-glob: 3.3.3 is-glob: 4.0.3 - minimatch: 9.0.3 + minimatch: 9.0.5 semver: 7.6.0 - ts-api-utils: 1.2.1(typescript@5.3.3) - optionalDependencies: - typescript: 5.3.3 + ts-api-utils: 2.0.1(typescript@5.7.3) + typescript: 5.7.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@6.21.0(eslint@8.56.0)(typescript@5.3.3)': + '@typescript-eslint/utils@7.18.0(eslint@9.20.1)(typescript@5.7.3)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) - '@types/json-schema': 7.0.15 - '@types/semver': 7.5.7 - '@typescript-eslint/scope-manager': 6.21.0 - '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3) - eslint: 8.56.0 - semver: 7.6.0 + '@eslint-community/eslint-utils': 4.4.0(eslint@9.20.1) + '@typescript-eslint/scope-manager': 7.18.0 + '@typescript-eslint/types': 7.18.0 + '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.7.3) + eslint: 9.20.1 transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/utils@7.0.1(eslint@8.56.0)(typescript@5.3.3)': + '@typescript-eslint/utils@8.24.1(eslint@9.20.1)(typescript@5.7.3)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) - '@types/json-schema': 7.0.15 - '@types/semver': 7.5.7 - '@typescript-eslint/scope-manager': 7.0.1 - '@typescript-eslint/types': 7.0.1 - '@typescript-eslint/typescript-estree': 7.0.1(typescript@5.3.3) - eslint: 8.56.0 - semver: 7.6.0 + '@eslint-community/eslint-utils': 4.4.0(eslint@9.20.1) + '@typescript-eslint/scope-manager': 8.24.1 + '@typescript-eslint/types': 8.24.1 + '@typescript-eslint/typescript-estree': 8.24.1(typescript@5.7.3) + eslint: 9.20.1 + typescript: 5.7.3 transitivePeerDependencies: - supports-color - - typescript - '@typescript-eslint/visitor-keys@6.21.0': + '@typescript-eslint/visitor-keys@7.18.0': dependencies: - '@typescript-eslint/types': 6.21.0 + '@typescript-eslint/types': 7.18.0 eslint-visitor-keys: 3.4.3 - '@typescript-eslint/visitor-keys@7.0.1': + '@typescript-eslint/visitor-keys@8.24.1': dependencies: - '@typescript-eslint/types': 7.0.1 - eslint-visitor-keys: 3.4.3 - - '@ungap/structured-clone@1.2.0': {} + '@typescript-eslint/types': 8.24.1 + eslint-visitor-keys: 4.2.0 '@vitest/coverage-v8@3.0.2(vitest@3.0.2(@types/node@22.10.7))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 1.0.2 - debug: 4.4.0 + debug: 4.4.0(supports-color@8.1.1) istanbul-lib-coverage: 3.2.2 istanbul-lib-report: 3.0.1 istanbul-lib-source-maps: 5.0.6 @@ -6695,9 +6712,9 @@ snapshots: dependencies: event-target-shim: 5.0.1 - acorn-jsx@5.3.2(acorn@8.11.3): + acorn-jsx@5.3.2(acorn@8.14.0): dependencies: - acorn: 8.11.3 + acorn: 8.14.0 acorn-walk@8.2.0: {} @@ -6705,13 +6722,15 @@ snapshots: acorn@8.11.3: {} + acorn@8.14.0: {} + acorn@8.8.2: {} adm-zip@0.5.9: {} agent-base@6.0.2(supports-color@8.1.1): dependencies: - debug: 4.3.4(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) transitivePeerDependencies: - supports-color @@ -6720,13 +6739,13 @@ snapshots: clean-stack: 2.2.0 indent-string: 4.0.0 - ajv-errors@3.0.0(ajv@8.12.0): + ajv-errors@3.0.0(ajv@8.17.1): dependencies: - ajv: 8.12.0 + ajv: 8.17.1 - ajv-formats-draft2019@1.6.1(ajv@8.12.0): + ajv-formats-draft2019@1.6.1(ajv@8.17.1): dependencies: - ajv: 8.12.0 + ajv: 8.17.1 punycode: 2.1.1 schemes: 1.4.0 smtp-address-parser: 1.0.10 @@ -6736,14 +6755,18 @@ snapshots: optionalDependencies: ajv: 8.12.0 + ajv-formats@3.0.1(ajv@8.17.1): + optionalDependencies: + ajv: 8.17.1 + ajv-ftl-i18n@0.1.1: dependencies: commander: 10.0.0 fluent-transpiler: 0.2.1 - ajv-keywords@5.1.0(ajv@8.12.0): + ajv-keywords@5.1.0(ajv@8.17.1): dependencies: - ajv: 8.12.0 + ajv: 8.17.1 fast-deep-equal: 3.1.3 ajv@6.12.6: @@ -6760,6 +6783,13 @@ snapshots: require-from-string: 2.0.2 uri-js: 4.4.1 + ajv@8.17.1: + dependencies: + fast-deep-equal: 3.1.3 + fast-uri: 3.0.6 + json-schema-traverse: 1.0.0 + require-from-string: 2.0.2 + ansi-align@3.0.1: dependencies: string-width: 4.2.3 @@ -6910,6 +6940,10 @@ snapshots: dependencies: fill-range: 7.0.1 + braces@3.0.3: + dependencies: + fill-range: 7.1.1 + buffer-alloc-unsafe@1.1.0: {} buffer-alloc@1.2.0: @@ -6932,11 +6966,6 @@ snapshots: base64-js: 1.5.1 ieee754: 1.2.1 - buffer@6.0.3: - dependencies: - base64-js: 1.5.1 - ieee754: 1.2.1 - builtin-modules@3.3.0: {} builtins@1.0.3: {} @@ -7098,10 +7127,6 @@ snapshots: clone@1.0.4: {} - cloneable-readable@3.0.0: - dependencies: - readable-stream: 4.5.2 - color-convert@1.9.3: dependencies: color-name: 1.1.3 @@ -7183,6 +7208,12 @@ snapshots: shebang-command: 2.0.0 which: 2.0.2 + cross-spawn@7.0.6: + dependencies: + path-key: 3.1.1 + shebang-command: 2.0.0 + which: 2.0.2 + d@1.0.1: dependencies: es5-ext: 0.10.62 @@ -7204,9 +7235,11 @@ snapshots: optionalDependencies: supports-color: 8.1.1 - debug@4.4.0: + debug@4.4.0(supports-color@8.1.1): dependencies: ms: 2.1.3 + optionalDependencies: + supports-color: 8.1.1 decompress-response@6.0.0: dependencies: @@ -7284,10 +7317,6 @@ snapshots: discontinuous-range@1.0.0: {} - doctrine@3.0.0: - dependencies: - esutils: 2.0.3 - dot-case@3.0.4: dependencies: no-case: 3.0.4 @@ -7438,38 +7467,38 @@ snapshots: escape-string-regexp@4.0.0: {} - eslint-config-prettier@9.1.0(eslint@8.56.0): + eslint-config-prettier@10.0.1(eslint@9.20.1): dependencies: - eslint: 8.56.0 + eslint: 9.20.1 - eslint-plugin-es@3.0.1(eslint@8.56.0): + eslint-plugin-es@3.0.1(eslint@9.20.1): dependencies: - eslint: 8.56.0 + eslint: 9.20.1 eslint-utils: 2.1.0 regexpp: 3.2.0 - eslint-plugin-node@11.1.0(eslint@8.56.0): + eslint-plugin-node@11.1.0(eslint@9.20.1): dependencies: - eslint: 8.56.0 - eslint-plugin-es: 3.0.1(eslint@8.56.0) + eslint: 9.20.1 + eslint-plugin-es: 3.0.1(eslint@9.20.1) eslint-utils: 2.1.0 ignore: 5.2.0 minimatch: 3.1.2 resolve: 1.22.0 semver: 6.3.0 - eslint-plugin-vitest@0.3.22(@typescript-eslint/eslint-plugin@7.0.1(@typescript-eslint/parser@7.0.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.56.0)(typescript@5.3.3))(eslint@8.56.0)(typescript@5.3.3)(vitest@3.0.2(@types/node@22.10.7)): + eslint-plugin-vitest@0.5.4(@typescript-eslint/eslint-plugin@8.24.1(@typescript-eslint/parser@8.24.1(eslint@9.20.1)(typescript@5.7.3))(eslint@9.20.1)(typescript@5.7.3))(eslint@9.20.1)(typescript@5.7.3)(vitest@3.0.2(@types/node@22.10.7)): dependencies: - '@typescript-eslint/utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3) - eslint: 8.56.0 + '@typescript-eslint/utils': 7.18.0(eslint@9.20.1)(typescript@5.7.3) + eslint: 9.20.1 optionalDependencies: - '@typescript-eslint/eslint-plugin': 7.0.1(@typescript-eslint/parser@7.0.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/eslint-plugin': 8.24.1(@typescript-eslint/parser@8.24.1(eslint@9.20.1)(typescript@5.7.3))(eslint@9.20.1)(typescript@5.7.3) vitest: 3.0.2(@types/node@22.10.7) transitivePeerDependencies: - supports-color - typescript - eslint-scope@7.2.2: + eslint-scope@8.2.0: dependencies: esrecurse: 4.3.0 estraverse: 5.3.0 @@ -7482,46 +7511,44 @@ snapshots: eslint-visitor-keys@3.4.3: {} - eslint@8.56.0: + eslint-visitor-keys@4.2.0: {} + + eslint@9.20.1: dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) - '@eslint-community/regexpp': 4.10.0 - '@eslint/eslintrc': 2.1.4 - '@eslint/js': 8.56.0 - '@humanwhocodes/config-array': 0.11.14 + '@eslint-community/eslint-utils': 4.4.0(eslint@9.20.1) + '@eslint-community/regexpp': 4.12.1 + '@eslint/config-array': 0.19.2 + '@eslint/core': 0.11.0 + '@eslint/eslintrc': 3.2.0 + '@eslint/js': 9.20.0 + '@eslint/plugin-kit': 0.2.6 + '@humanfs/node': 0.16.6 '@humanwhocodes/module-importer': 1.0.1 - '@nodelib/fs.walk': 1.2.8 - '@ungap/structured-clone': 1.2.0 + '@humanwhocodes/retry': 0.4.1 + '@types/estree': 1.0.6 + '@types/json-schema': 7.0.15 ajv: 6.12.6 chalk: 4.1.2 - cross-spawn: 7.0.3 - debug: 4.3.4(supports-color@8.1.1) - doctrine: 3.0.0 + cross-spawn: 7.0.6 + debug: 4.4.0(supports-color@8.1.1) escape-string-regexp: 4.0.0 - eslint-scope: 7.2.2 - eslint-visitor-keys: 3.4.3 - espree: 9.6.1 + eslint-scope: 8.2.0 + eslint-visitor-keys: 4.2.0 + espree: 10.3.0 esquery: 1.5.0 esutils: 2.0.3 fast-deep-equal: 3.1.3 - file-entry-cache: 6.0.1 + file-entry-cache: 8.0.0 find-up: 5.0.0 glob-parent: 6.0.2 - globals: 13.20.0 - graphemer: 1.4.0 ignore: 5.3.1 imurmurhash: 0.1.4 is-glob: 4.0.3 - is-path-inside: 3.0.3 - js-yaml: 4.1.0 json-stable-stringify-without-jsonify: 1.0.1 - levn: 0.4.1 lodash.merge: 4.6.2 minimatch: 3.1.2 natural-compare: 1.4.0 optionator: 0.9.3 - strip-ansi: 6.0.1 - text-table: 0.2.0 transitivePeerDependencies: - supports-color @@ -7530,11 +7557,11 @@ snapshots: d: 1.0.1 es5-ext: 0.10.62 - espree@9.6.1: + espree@10.3.0: dependencies: - acorn: 8.11.3 - acorn-jsx: 5.3.2(acorn@8.11.3) - eslint-visitor-keys: 3.4.3 + acorn: 8.14.0 + acorn-jsx: 5.3.2(acorn@8.14.0) + eslint-visitor-keys: 4.2.0 esprima@4.0.1: {} @@ -7567,8 +7594,6 @@ snapshots: events@1.1.1: {} - events@3.3.0: {} - execa@5.1.1: dependencies: cross-spawn: 7.0.3 @@ -7630,11 +7655,19 @@ snapshots: merge2: 1.4.1 micromatch: 4.0.5 + fast-glob@3.3.3: + dependencies: + '@nodelib/fs.stat': 2.0.5 + '@nodelib/fs.walk': 1.2.8 + glob-parent: 5.1.2 + merge2: 1.4.1 + micromatch: 4.0.8 + fast-json-stable-stringify@2.1.0: {} fast-levenshtein@2.0.6: {} - fast-uri@2.3.0: {} + fast-uri@3.0.6: {} fast-xml-parser@4.2.5: dependencies: @@ -7663,9 +7696,9 @@ snapshots: dependencies: escape-string-regexp: 1.0.5 - file-entry-cache@6.0.1: + file-entry-cache@8.0.0: dependencies: - flat-cache: 3.0.4 + flat-cache: 4.0.1 file-type@16.5.4: dependencies: @@ -7695,6 +7728,10 @@ snapshots: dependencies: to-regex-range: 5.0.1 + fill-range@7.1.1: + dependencies: + to-regex-range: 5.0.1 + find-my-way-ts@0.1.5: {} find-requires@1.0.0: @@ -7707,14 +7744,14 @@ snapshots: locate-path: 6.0.0 path-exists: 4.0.0 - flat-cache@3.0.4: + flat-cache@4.0.1: dependencies: - flatted: 3.2.5 - rimraf: 3.0.2 + flatted: 3.3.3 + keyv: 4.5.4 flat@5.0.2: {} - flatted@3.2.5: {} + flatted@3.3.3: {} fluent-transpiler@0.2.1: dependencies: @@ -7852,9 +7889,7 @@ snapshots: once: 1.4.0 path-is-absolute: 1.0.1 - globals@13.20.0: - dependencies: - type-fest: 0.20.2 + globals@14.0.0: {} globby@11.1.0: dependencies: @@ -8019,8 +8054,6 @@ snapshots: is-number@7.0.0: {} - is-path-inside@3.0.3: {} - is-plain-obj@1.1.0: {} is-promise@2.2.2: {} @@ -8068,7 +8101,7 @@ snapshots: istanbul-lib-source-maps@5.0.6: dependencies: '@jridgewell/trace-mapping': 0.3.25 - debug: 4.4.0 + debug: 4.4.0(supports-color@8.1.1) istanbul-lib-coverage: 3.2.2 transitivePeerDependencies: - supports-color @@ -8125,11 +8158,10 @@ snapshots: transitivePeerDependencies: - supports-color - json-schema-to-ts@3.0.0: + json-schema-to-ts@3.1.1: dependencies: '@babel/runtime': 7.21.0 - '@types/json-schema': 7.0.15 - ts-algebra: 1.2.2 + ts-algebra: 2.0.0 json-schema-traverse@0.4.1: {} @@ -8171,6 +8203,10 @@ snapshots: compress-brotli: 1.3.8 json-buffer: 3.0.1 + keyv@4.5.4: + dependencies: + json-buffer: 3.0.1 + lazystream@1.0.1: dependencies: readable-stream: 2.3.7 @@ -8297,6 +8333,11 @@ snapshots: braces: 3.0.2 picomatch: 2.3.1 + micromatch@4.0.8: + dependencies: + braces: 3.0.3 + picomatch: 2.3.1 + mime-db@1.52.0: {} mime-types@2.1.35: @@ -8319,10 +8360,6 @@ snapshots: dependencies: brace-expansion: 1.1.11 - minimatch@9.0.3: - dependencies: - brace-expansion: 2.0.1 - minimatch@9.0.5: dependencies: brace-expansion: 2.0.1 @@ -8616,8 +8653,6 @@ snapshots: memoizee: 0.4.15 type: 2.7.2 - process@0.11.10: {} - promise-queue@2.2.5: {} propagate@2.0.1: {} @@ -8672,14 +8707,6 @@ snapshots: string_decoder: 1.3.0 util-deprecate: 1.0.2 - readable-stream@4.5.2: - dependencies: - abort-controller: 3.0.0 - buffer: 6.0.3 - events: 3.3.0 - process: 0.11.10 - string_decoder: 1.3.0 - readable-web-to-node-stream@3.0.2: dependencies: readable-stream: 3.6.0 @@ -8725,10 +8752,6 @@ snapshots: reusify@1.0.4: {} - rimraf@3.0.2: - dependencies: - glob: 7.2.0 - rollup@4.10.0: dependencies: '@types/estree': 1.0.5 @@ -9114,8 +9137,6 @@ snapshots: glob: 10.4.5 minimatch: 9.0.5 - text-table@0.2.0: {} - throat@5.0.0: {} through@2.3.8: {} @@ -9160,11 +9181,15 @@ snapshots: dependencies: escape-string-regexp: 1.0.5 - ts-algebra@1.2.2: {} + ts-algebra@2.0.0: {} - ts-api-utils@1.2.1(typescript@5.3.3): + ts-api-utils@1.4.3(typescript@5.7.3): dependencies: - typescript: 5.3.3 + typescript: 5.7.3 + + ts-api-utils@2.0.1(typescript@5.7.3): + dependencies: + typescript: 5.7.3 ts-node@10.9.2(@types/node@22.10.7)(typescript@5.7.3): dependencies: @@ -9232,8 +9257,6 @@ snapshots: dependencies: prelude-ls: 1.2.1 - type-fest@0.20.2: {} - type-fest@0.21.3: {} type-fest@2.19.0: {} @@ -9244,8 +9267,6 @@ snapshots: type@2.7.2: {} - typescript@5.3.3: {} - typescript@5.7.3: {} unbzip2-stream@1.4.3: @@ -9315,7 +9336,7 @@ snapshots: vite-node@3.0.2(@types/node@22.10.7): dependencies: cac: 6.7.14 - debug: 4.4.0 + debug: 4.4.0(supports-color@8.1.1) es-module-lexer: 1.6.0 pathe: 2.0.2 vite: 5.1.1(@types/node@22.10.7) @@ -9348,7 +9369,7 @@ snapshots: '@vitest/spy': 3.0.2 '@vitest/utils': 3.0.2 chai: 5.1.2 - debug: 4.4.0 + debug: 4.4.0(supports-color@8.1.1) expect-type: 1.1.0 magic-string: 0.30.17 pathe: 2.0.2 diff --git a/services/api1/package.json b/services/api1/package.json index aa74c9f..f78415e 100644 --- a/services/api1/package.json +++ b/services/api1/package.json @@ -15,7 +15,7 @@ "package": "serverless package" }, "devDependencies": { - "eslint": "^8.56.0", + "eslint": "^9.20.1", "tsconfig": "workspace:*" }, "dependencies": { diff --git a/services/api2/package.json b/services/api2/package.json index 8195b58..baf9113 100644 --- a/services/api2/package.json +++ b/services/api2/package.json @@ -20,7 +20,7 @@ }, "devDependencies": { "@types/lodash.capitalize": "^4.2.9", - "eslint": "^8.56.0", + "eslint": "^9.20.1", "tsconfig": "workspace:*" } } From e636aabfc1f1025028adcc7961a7eea00083fe04 Mon Sep 17 00:00:00 2001 From: antoinewg Date: Tue, 18 Feb 2025 16:39:09 -0800 Subject: [PATCH 04/17] upgrade to eslint 9 --- .eslintrc.js | 10 ----- eslint.config.js | 4 ++ .../eslint-config-custom/eslint.config.mjs | 26 +++++++++++ packages/eslint-config-custom/index.js | 44 ------------------- packages/eslint-config-custom/package.json | 9 ++-- pnpm-lock.yaml | 44 ++++++++++++++++--- services/api1/.eslintrc.json | 6 --- services/api1/eslint.config.js | 4 ++ services/api1/package.json | 2 +- services/api2/.eslintrc.json | 6 --- services/api2/eslint.config.js | 4 ++ services/api2/package.json | 2 +- 12 files changed, 83 insertions(+), 78 deletions(-) delete mode 100644 .eslintrc.js create mode 100644 eslint.config.js create mode 100644 packages/eslint-config-custom/eslint.config.mjs delete mode 100644 packages/eslint-config-custom/index.js delete mode 100644 services/api1/.eslintrc.json create mode 100644 services/api1/eslint.config.js delete mode 100644 services/api2/.eslintrc.json create mode 100644 services/api2/eslint.config.js diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index 05626df..0000000 --- a/.eslintrc.js +++ /dev/null @@ -1,10 +0,0 @@ -module.exports = { - root: true, - // This tells ESLint to load the config from the package `eslint-config-custom` - extends: ["custom"], - settings: { - next: { - rootDir: ["services/*/"], - }, - }, -}; diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..7731c96 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,4 @@ +import config from 'eslint-config-custom/eslint.config.mjs'; + +/** @type {import("eslint").Linter.Config} */ +export default config; diff --git a/packages/eslint-config-custom/eslint.config.mjs b/packages/eslint-config-custom/eslint.config.mjs new file mode 100644 index 0000000..3dd4168 --- /dev/null +++ b/packages/eslint-config-custom/eslint.config.mjs @@ -0,0 +1,26 @@ +import globals from "globals"; +import pluginJs from "@eslint/js"; +import tseslint from "typescript-eslint"; +import vitest from "eslint-plugin-vitest"; + +/** @type {import('eslint').Linter.Config[]} */ +export default [ + {files: ["**/*.{js,mjs,cjs,ts}"]}, + {languageOptions: { globals: globals.browser }}, + pluginJs.configs.recommended, + ...tseslint.configs.recommended, + { + files: ["tests/**"], + plugins: { + vitest, + }, + rules: { + ...vitest.configs.recommended.rules, + }, + languageOptions: { + globals: { + ...vitest.environments.env.globals, + }, + }, + }, +]; \ No newline at end of file diff --git a/packages/eslint-config-custom/index.js b/packages/eslint-config-custom/index.js deleted file mode 100644 index 242ef69..0000000 --- a/packages/eslint-config-custom/index.js +++ /dev/null @@ -1,44 +0,0 @@ -module.exports = { - "root": true, - "extends": [ - "eslint:recommended", - "plugin:@typescript-eslint/eslint-recommended", - "plugin:@typescript-eslint/recommended", - "plugin:@typescript-eslint/recommended-requiring-type-checking", - "plugin:vitest/recommended" - ], - "plugins": [ - "@typescript-eslint", - "vitest", - "node" - ], - "rules": { - "@typescript-eslint/explicit-function-return-type": [ - "error", - { - "allowExpressions": true - } - ], - "@typescript-eslint/no-explicit-any": "error", - "@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }], - "@typescript-eslint/camelcase": "off", - "@typescript-eslint/no-empty-interface": "off", - "@typescript-eslint/semi": "warn", - "@typescript-eslint/no-use-before-define": "error", - "@typescript-eslint/no-namespace": "warn", - "no-var": "error", - "no-console": "warn", - "camelcase": "off", - "curly": "warn", - "eqeqeq": "warn", - "no-throw-literal": "warn", - "semi": "off", - "no-empty": "warn", - "no-unused-expressions": ["error", { "allowTernary": true }], - "no-use-before-define": "off" - }, - "ignorePatterns": [ - "./package.json", - "./package-lock.json" - ] -} diff --git a/packages/eslint-config-custom/package.json b/packages/eslint-config-custom/package.json index f5c70d1..8f81393 100644 --- a/packages/eslint-config-custom/package.json +++ b/packages/eslint-config-custom/package.json @@ -7,13 +7,14 @@ "check:updates:u": "npx npm-check-updates -u && pnpm i" }, "devDependencies": { - "@typescript-eslint/eslint-plugin": "^8.24.1", - "@typescript-eslint/parser": "^8.24.1", + "@eslint/js": "^9.20.0", "eslint": "^9.20.1", "eslint-config-prettier": "^10.0.1", - "eslint-plugin-vitest": "^0.5.4", "eslint-plugin-node": "^11.1.0", - "typescript": "^5.7.3" + "eslint-plugin-vitest": "^0.5.4", + "globals": "^15.15.0", + "typescript": "^5.7.3", + "typescript-eslint": "^8.24.1" }, "publishConfig": { "access": "public" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 85e6622..c22d0d8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -53,6 +53,9 @@ importers: packages/eslint-config-custom: devDependencies: + '@eslint/js': + specifier: ^9.20.0 + version: 9.20.0 '@typescript-eslint/eslint-plugin': specifier: ^8.24.1 version: 8.24.1(@typescript-eslint/parser@8.24.1(eslint@9.20.1)(typescript@5.7.3))(eslint@9.20.1)(typescript@5.7.3) @@ -71,9 +74,15 @@ importers: eslint-plugin-vitest: specifier: ^0.5.4 version: 0.5.4(@typescript-eslint/eslint-plugin@8.24.1(@typescript-eslint/parser@8.24.1(eslint@9.20.1)(typescript@5.7.3))(eslint@9.20.1)(typescript@5.7.3))(eslint@9.20.1)(typescript@5.7.3)(vitest@3.0.2(@types/node@22.10.7)) + globals: + specifier: ^15.15.0 + version: 15.15.0 typescript: specifier: ^5.7.3 version: 5.7.3 + typescript-eslint: + specifier: ^8.24.1 + version: 8.24.1(eslint@9.20.1)(typescript@5.7.3) packages/helpers: dependencies: @@ -118,9 +127,9 @@ importers: specifier: workspace:* version: link:../../packages/helpers devDependencies: - eslint: - specifier: ^9.20.1 - version: 9.20.1 + eslint-config-custom: + specifier: workspace:* + version: link:../../packages/eslint-config-custom tsconfig: specifier: workspace:* version: link:../../packages/tsconfig @@ -137,9 +146,9 @@ importers: '@types/lodash.capitalize': specifier: ^4.2.9 version: 4.2.9 - eslint: - specifier: ^9.20.1 - version: 9.20.1 + eslint-config-custom: + specifier: workspace:* + version: link:../../packages/eslint-config-custom tsconfig: specifier: workspace:* version: link:../../packages/tsconfig @@ -2804,6 +2813,10 @@ packages: resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} engines: {node: '>=18'} + globals@15.15.0: + resolution: {integrity: sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==} + engines: {node: '>=18'} + globby@11.1.0: resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} engines: {node: '>=10'} @@ -4117,6 +4130,13 @@ packages: type@2.7.2: resolution: {integrity: sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==} + typescript-eslint@8.24.1: + resolution: {integrity: sha512-cw3rEdzDqBs70TIcb0Gdzbt6h11BSs2pS0yaq7hDWDBtCCSei1pPSUXE9qUdQ/Wm9NgFg8mKtMt1b8fTHIl1jA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: '>=4.8.4 <5.8.0' + typescript@5.7.3: resolution: {integrity: sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==} engines: {node: '>=14.17'} @@ -7891,6 +7911,8 @@ snapshots: globals@14.0.0: {} + globals@15.15.0: {} + globby@11.1.0: dependencies: array-union: 2.1.0 @@ -9267,6 +9289,16 @@ snapshots: type@2.7.2: {} + typescript-eslint@8.24.1(eslint@9.20.1)(typescript@5.7.3): + dependencies: + '@typescript-eslint/eslint-plugin': 8.24.1(@typescript-eslint/parser@8.24.1(eslint@9.20.1)(typescript@5.7.3))(eslint@9.20.1)(typescript@5.7.3) + '@typescript-eslint/parser': 8.24.1(eslint@9.20.1)(typescript@5.7.3) + '@typescript-eslint/utils': 8.24.1(eslint@9.20.1)(typescript@5.7.3) + eslint: 9.20.1 + typescript: 5.7.3 + transitivePeerDependencies: + - supports-color + typescript@5.7.3: {} unbzip2-stream@1.4.3: diff --git a/services/api1/.eslintrc.json b/services/api1/.eslintrc.json deleted file mode 100644 index df83cc2..0000000 --- a/services/api1/.eslintrc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "parser": "@typescript-eslint/parser", - "parserOptions": { - "project": "./tsconfig.json" - } -} diff --git a/services/api1/eslint.config.js b/services/api1/eslint.config.js new file mode 100644 index 0000000..7731c96 --- /dev/null +++ b/services/api1/eslint.config.js @@ -0,0 +1,4 @@ +import config from 'eslint-config-custom/eslint.config.mjs'; + +/** @type {import("eslint").Linter.Config} */ +export default config; diff --git a/services/api1/package.json b/services/api1/package.json index f78415e..d174e33 100644 --- a/services/api1/package.json +++ b/services/api1/package.json @@ -15,7 +15,7 @@ "package": "serverless package" }, "devDependencies": { - "eslint": "^9.20.1", + "eslint-config-custom": "workspace:*", "tsconfig": "workspace:*" }, "dependencies": { diff --git a/services/api2/.eslintrc.json b/services/api2/.eslintrc.json deleted file mode 100644 index df83cc2..0000000 --- a/services/api2/.eslintrc.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "parser": "@typescript-eslint/parser", - "parserOptions": { - "project": "./tsconfig.json" - } -} diff --git a/services/api2/eslint.config.js b/services/api2/eslint.config.js new file mode 100644 index 0000000..7731c96 --- /dev/null +++ b/services/api2/eslint.config.js @@ -0,0 +1,4 @@ +import config from 'eslint-config-custom/eslint.config.mjs'; + +/** @type {import("eslint").Linter.Config} */ +export default config; diff --git a/services/api2/package.json b/services/api2/package.json index baf9113..3eea8d9 100644 --- a/services/api2/package.json +++ b/services/api2/package.json @@ -20,7 +20,7 @@ }, "devDependencies": { "@types/lodash.capitalize": "^4.2.9", - "eslint": "^9.20.1", + "eslint-config-custom": "workspace:*", "tsconfig": "workspace:*" } } From 5ada83d2bfc3021d928ef47aa962330a097171b3 Mon Sep 17 00:00:00 2001 From: antoinewg Date: Tue, 18 Feb 2025 16:41:08 -0800 Subject: [PATCH 05/17] install to remove unused deps --- pnpm-lock.yaml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c22d0d8..9df24a0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -56,12 +56,6 @@ importers: '@eslint/js': specifier: ^9.20.0 version: 9.20.0 - '@typescript-eslint/eslint-plugin': - specifier: ^8.24.1 - version: 8.24.1(@typescript-eslint/parser@8.24.1(eslint@9.20.1)(typescript@5.7.3))(eslint@9.20.1)(typescript@5.7.3) - '@typescript-eslint/parser': - specifier: ^8.24.1 - version: 8.24.1(eslint@9.20.1)(typescript@5.7.3) eslint: specifier: ^9.20.1 version: 9.20.1 @@ -73,7 +67,7 @@ importers: version: 11.1.0(eslint@9.20.1) eslint-plugin-vitest: specifier: ^0.5.4 - version: 0.5.4(@typescript-eslint/eslint-plugin@8.24.1(@typescript-eslint/parser@8.24.1(eslint@9.20.1)(typescript@5.7.3))(eslint@9.20.1)(typescript@5.7.3))(eslint@9.20.1)(typescript@5.7.3)(vitest@3.0.2(@types/node@22.10.7)) + version: 0.5.4(eslint@9.20.1)(typescript@5.7.3)(vitest@3.0.2(@types/node@22.10.7)) globals: specifier: ^15.15.0 version: 15.15.0 @@ -7507,12 +7501,11 @@ snapshots: resolve: 1.22.0 semver: 6.3.0 - eslint-plugin-vitest@0.5.4(@typescript-eslint/eslint-plugin@8.24.1(@typescript-eslint/parser@8.24.1(eslint@9.20.1)(typescript@5.7.3))(eslint@9.20.1)(typescript@5.7.3))(eslint@9.20.1)(typescript@5.7.3)(vitest@3.0.2(@types/node@22.10.7)): + eslint-plugin-vitest@0.5.4(eslint@9.20.1)(typescript@5.7.3)(vitest@3.0.2(@types/node@22.10.7)): dependencies: '@typescript-eslint/utils': 7.18.0(eslint@9.20.1)(typescript@5.7.3) eslint: 9.20.1 optionalDependencies: - '@typescript-eslint/eslint-plugin': 8.24.1(@typescript-eslint/parser@8.24.1(eslint@9.20.1)(typescript@5.7.3))(eslint@9.20.1)(typescript@5.7.3) vitest: 3.0.2(@types/node@22.10.7) transitivePeerDependencies: - supports-color From 6345e42ea95c4b1de34ad8eb64b1bd6562503f7c Mon Sep 17 00:00:00 2001 From: antoinewg Date: Tue, 18 Feb 2025 16:43:04 -0800 Subject: [PATCH 06/17] convert packages to module --- package.json | 1 + services/api1/package.json | 1 + services/api2/package.json | 1 + 3 files changed, 3 insertions(+) diff --git a/package.json b/package.json index aa323f2..5e9eb64 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "turboless", "version": "1.1.2", "private": true, + "type": "module", "workspaces": [ "packages/*", "services/*" diff --git a/services/api1/package.json b/services/api1/package.json index d174e33..6d8ed22 100644 --- a/services/api1/package.json +++ b/services/api1/package.json @@ -2,6 +2,7 @@ "name": "api1", "version": "0.0.0", "private": true, + "type": "module", "scripts": { "dev": "serverless offline start", "check:updates": "npx npm-check-updates", diff --git a/services/api2/package.json b/services/api2/package.json index 3eea8d9..5d02cc2 100644 --- a/services/api2/package.json +++ b/services/api2/package.json @@ -2,6 +2,7 @@ "name": "api2", "version": "0.0.0", "private": true, + "type": "module", "scripts": { "dev": "serverless offline start", "check:updates": "npx npm-check-updates", From d98a56d715586dc1bd41a67d5c840d9ba7e37111 Mon Sep 17 00:00:00 2001 From: antoinewg Date: Tue, 18 Feb 2025 16:46:30 -0800 Subject: [PATCH 07/17] switch to common js --- package.json | 2 +- services/api1/package.json | 2 +- services/api1/serverless.ts | 2 +- services/api2/package.json | 2 +- services/api2/serverless.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 5e9eb64..519f3f6 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "turboless", "version": "1.1.2", "private": true, - "type": "module", + "type": "commonjs", "workspaces": [ "packages/*", "services/*" diff --git a/services/api1/package.json b/services/api1/package.json index 6d8ed22..6557519 100644 --- a/services/api1/package.json +++ b/services/api1/package.json @@ -2,7 +2,7 @@ "name": "api1", "version": "0.0.0", "private": true, - "type": "module", + "type": "commonjs", "scripts": { "dev": "serverless offline start", "check:updates": "npx npm-check-updates", diff --git a/services/api1/serverless.ts b/services/api1/serverless.ts index 169e0c7..bb728af 100644 --- a/services/api1/serverless.ts +++ b/services/api1/serverless.ts @@ -34,4 +34,4 @@ const serverlessConfiguration: AWS = { }, }; -module.exports = serverlessConfiguration; +export default serverlessConfiguration; diff --git a/services/api2/package.json b/services/api2/package.json index 5d02cc2..5a3c257 100644 --- a/services/api2/package.json +++ b/services/api2/package.json @@ -2,7 +2,7 @@ "name": "api2", "version": "0.0.0", "private": true, - "type": "module", + "type": "commonjs", "scripts": { "dev": "serverless offline start", "check:updates": "npx npm-check-updates", diff --git a/services/api2/serverless.ts b/services/api2/serverless.ts index 7662b87..6bbf7bc 100644 --- a/services/api2/serverless.ts +++ b/services/api2/serverless.ts @@ -38,4 +38,4 @@ const serverlessConfiguration: AWS = { }, }; -module.exports = serverlessConfiguration; +export default serverlessConfiguration; From 086a7f7f5a8c77853b3ff4956b8c1664acc1b3bb Mon Sep 17 00:00:00 2001 From: antoinewg Date: Tue, 18 Feb 2025 16:53:22 -0800 Subject: [PATCH 08/17] fix linter --- packages/eslint-config-custom/package.json | 1 + pnpm-lock.yaml | 91 +++++++++++-------- .../{eslint.config.js => eslint.config.ts} | 0 .../{eslint.config.js => eslint.config.ts} | 0 4 files changed, 52 insertions(+), 40 deletions(-) rename services/api1/{eslint.config.js => eslint.config.ts} (100%) rename services/api2/{eslint.config.js => eslint.config.ts} (100%) diff --git a/packages/eslint-config-custom/package.json b/packages/eslint-config-custom/package.json index 8f81393..f15c0fd 100644 --- a/packages/eslint-config-custom/package.json +++ b/packages/eslint-config-custom/package.json @@ -13,6 +13,7 @@ "eslint-plugin-node": "^11.1.0", "eslint-plugin-vitest": "^0.5.4", "globals": "^15.15.0", + "jiti": "^2.4.2", "typescript": "^5.7.3", "typescript-eslint": "^8.24.1" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9df24a0..7bc1e63 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -58,25 +58,28 @@ importers: version: 9.20.0 eslint: specifier: ^9.20.1 - version: 9.20.1 + version: 9.20.1(jiti@2.4.2) eslint-config-prettier: specifier: ^10.0.1 - version: 10.0.1(eslint@9.20.1) + version: 10.0.1(eslint@9.20.1(jiti@2.4.2)) eslint-plugin-node: specifier: ^11.1.0 - version: 11.1.0(eslint@9.20.1) + version: 11.1.0(eslint@9.20.1(jiti@2.4.2)) eslint-plugin-vitest: specifier: ^0.5.4 - version: 0.5.4(eslint@9.20.1)(typescript@5.7.3)(vitest@3.0.2(@types/node@22.10.7)) + version: 0.5.4(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3)(vitest@3.0.2(@types/node@22.10.7)) globals: specifier: ^15.15.0 version: 15.15.0 + jiti: + specifier: ^2.4.2 + version: 2.4.2 typescript: specifier: ^5.7.3 version: 5.7.3 typescript-eslint: specifier: ^8.24.1 - version: 8.24.1(eslint@9.20.1)(typescript@5.7.3) + version: 8.24.1(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3) packages/helpers: dependencies: @@ -3045,6 +3048,10 @@ packages: resolution: {integrity: sha512-gZmQKe1QrfkkMjCn8Qv9cpyJFyogTYqkP5WCobX5RNaHsJzIV/6NvAnlnouOcwKr29QrxLGDGcqYuJ+ae98s1A==} hasBin: true + jiti@2.4.2: + resolution: {integrity: sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A==} + hasBin: true + jmespath@0.16.0: resolution: {integrity: sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==} engines: {node: '>= 0.6.0'} @@ -5418,9 +5425,9 @@ snapshots: '@esbuild/win32-x64@0.24.2': optional: true - '@eslint-community/eslint-utils@4.4.0(eslint@9.20.1)': + '@eslint-community/eslint-utils@4.4.0(eslint@9.20.1(jiti@2.4.2))': dependencies: - eslint: 9.20.1 + eslint: 9.20.1(jiti@2.4.2) eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.10.0': {} @@ -6549,15 +6556,15 @@ snapshots: dependencies: '@types/node': 22.10.7 - '@typescript-eslint/eslint-plugin@8.24.1(@typescript-eslint/parser@8.24.1(eslint@9.20.1)(typescript@5.7.3))(eslint@9.20.1)(typescript@5.7.3)': + '@typescript-eslint/eslint-plugin@8.24.1(@typescript-eslint/parser@8.24.1(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3))(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3)': dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 8.24.1(eslint@9.20.1)(typescript@5.7.3) + '@typescript-eslint/parser': 8.24.1(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3) '@typescript-eslint/scope-manager': 8.24.1 - '@typescript-eslint/type-utils': 8.24.1(eslint@9.20.1)(typescript@5.7.3) - '@typescript-eslint/utils': 8.24.1(eslint@9.20.1)(typescript@5.7.3) + '@typescript-eslint/type-utils': 8.24.1(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3) + '@typescript-eslint/utils': 8.24.1(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3) '@typescript-eslint/visitor-keys': 8.24.1 - eslint: 9.20.1 + eslint: 9.20.1(jiti@2.4.2) graphemer: 1.4.0 ignore: 5.3.1 natural-compare: 1.4.0 @@ -6566,14 +6573,14 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.24.1(eslint@9.20.1)(typescript@5.7.3)': + '@typescript-eslint/parser@8.24.1(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3)': dependencies: '@typescript-eslint/scope-manager': 8.24.1 '@typescript-eslint/types': 8.24.1 '@typescript-eslint/typescript-estree': 8.24.1(typescript@5.7.3) '@typescript-eslint/visitor-keys': 8.24.1 debug: 4.4.0(supports-color@8.1.1) - eslint: 9.20.1 + eslint: 9.20.1(jiti@2.4.2) typescript: 5.7.3 transitivePeerDependencies: - supports-color @@ -6588,12 +6595,12 @@ snapshots: '@typescript-eslint/types': 8.24.1 '@typescript-eslint/visitor-keys': 8.24.1 - '@typescript-eslint/type-utils@8.24.1(eslint@9.20.1)(typescript@5.7.3)': + '@typescript-eslint/type-utils@8.24.1(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3)': dependencies: '@typescript-eslint/typescript-estree': 8.24.1(typescript@5.7.3) - '@typescript-eslint/utils': 8.24.1(eslint@9.20.1)(typescript@5.7.3) + '@typescript-eslint/utils': 8.24.1(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3) debug: 4.4.0(supports-color@8.1.1) - eslint: 9.20.1 + eslint: 9.20.1(jiti@2.4.2) ts-api-utils: 2.0.1(typescript@5.7.3) typescript: 5.7.3 transitivePeerDependencies: @@ -6632,24 +6639,24 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@7.18.0(eslint@9.20.1)(typescript@5.7.3)': + '@typescript-eslint/utils@7.18.0(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.20.1) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.20.1(jiti@2.4.2)) '@typescript-eslint/scope-manager': 7.18.0 '@typescript-eslint/types': 7.18.0 '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.7.3) - eslint: 9.20.1 + eslint: 9.20.1(jiti@2.4.2) transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/utils@8.24.1(eslint@9.20.1)(typescript@5.7.3)': + '@typescript-eslint/utils@8.24.1(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.20.1) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.20.1(jiti@2.4.2)) '@typescript-eslint/scope-manager': 8.24.1 '@typescript-eslint/types': 8.24.1 '@typescript-eslint/typescript-estree': 8.24.1(typescript@5.7.3) - eslint: 9.20.1 + eslint: 9.20.1(jiti@2.4.2) typescript: 5.7.3 transitivePeerDependencies: - supports-color @@ -7481,30 +7488,30 @@ snapshots: escape-string-regexp@4.0.0: {} - eslint-config-prettier@10.0.1(eslint@9.20.1): + eslint-config-prettier@10.0.1(eslint@9.20.1(jiti@2.4.2)): dependencies: - eslint: 9.20.1 + eslint: 9.20.1(jiti@2.4.2) - eslint-plugin-es@3.0.1(eslint@9.20.1): + eslint-plugin-es@3.0.1(eslint@9.20.1(jiti@2.4.2)): dependencies: - eslint: 9.20.1 + eslint: 9.20.1(jiti@2.4.2) eslint-utils: 2.1.0 regexpp: 3.2.0 - eslint-plugin-node@11.1.0(eslint@9.20.1): + eslint-plugin-node@11.1.0(eslint@9.20.1(jiti@2.4.2)): dependencies: - eslint: 9.20.1 - eslint-plugin-es: 3.0.1(eslint@9.20.1) + eslint: 9.20.1(jiti@2.4.2) + eslint-plugin-es: 3.0.1(eslint@9.20.1(jiti@2.4.2)) eslint-utils: 2.1.0 ignore: 5.2.0 minimatch: 3.1.2 resolve: 1.22.0 semver: 6.3.0 - eslint-plugin-vitest@0.5.4(eslint@9.20.1)(typescript@5.7.3)(vitest@3.0.2(@types/node@22.10.7)): + eslint-plugin-vitest@0.5.4(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3)(vitest@3.0.2(@types/node@22.10.7)): dependencies: - '@typescript-eslint/utils': 7.18.0(eslint@9.20.1)(typescript@5.7.3) - eslint: 9.20.1 + '@typescript-eslint/utils': 7.18.0(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3) + eslint: 9.20.1(jiti@2.4.2) optionalDependencies: vitest: 3.0.2(@types/node@22.10.7) transitivePeerDependencies: @@ -7526,9 +7533,9 @@ snapshots: eslint-visitor-keys@4.2.0: {} - eslint@9.20.1: + eslint@9.20.1(jiti@2.4.2): dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@9.20.1) + '@eslint-community/eslint-utils': 4.4.0(eslint@9.20.1(jiti@2.4.2)) '@eslint-community/regexpp': 4.12.1 '@eslint/config-array': 0.19.2 '@eslint/core': 0.11.0 @@ -7562,6 +7569,8 @@ snapshots: minimatch: 3.1.2 natural-compare: 1.4.0 optionator: 0.9.3 + optionalDependencies: + jiti: 2.4.2 transitivePeerDependencies: - supports-color @@ -8134,6 +8143,8 @@ snapshots: java-invoke-local@0.0.6: {} + jiti@2.4.2: {} + jmespath@0.16.0: {} jose@5.9.6: {} @@ -9282,12 +9293,12 @@ snapshots: type@2.7.2: {} - typescript-eslint@8.24.1(eslint@9.20.1)(typescript@5.7.3): + typescript-eslint@8.24.1(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3): dependencies: - '@typescript-eslint/eslint-plugin': 8.24.1(@typescript-eslint/parser@8.24.1(eslint@9.20.1)(typescript@5.7.3))(eslint@9.20.1)(typescript@5.7.3) - '@typescript-eslint/parser': 8.24.1(eslint@9.20.1)(typescript@5.7.3) - '@typescript-eslint/utils': 8.24.1(eslint@9.20.1)(typescript@5.7.3) - eslint: 9.20.1 + '@typescript-eslint/eslint-plugin': 8.24.1(@typescript-eslint/parser@8.24.1(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3))(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3) + '@typescript-eslint/parser': 8.24.1(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3) + '@typescript-eslint/utils': 8.24.1(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3) + eslint: 9.20.1(jiti@2.4.2) typescript: 5.7.3 transitivePeerDependencies: - supports-color diff --git a/services/api1/eslint.config.js b/services/api1/eslint.config.ts similarity index 100% rename from services/api1/eslint.config.js rename to services/api1/eslint.config.ts diff --git a/services/api2/eslint.config.js b/services/api2/eslint.config.ts similarity index 100% rename from services/api2/eslint.config.js rename to services/api2/eslint.config.ts From ef378a46ac56f244f9b36ec49b7726b4bd33e0d7 Mon Sep 17 00:00:00 2001 From: antoinewg Date: Tue, 18 Feb 2025 16:54:20 -0800 Subject: [PATCH 09/17] run formatter --- services/api1/eslint.config.ts | 4 ++-- services/api2/eslint.config.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/services/api1/eslint.config.ts b/services/api1/eslint.config.ts index 7731c96..269f251 100644 --- a/services/api1/eslint.config.ts +++ b/services/api1/eslint.config.ts @@ -1,4 +1,4 @@ -import config from 'eslint-config-custom/eslint.config.mjs'; - +import config from "eslint-config-custom/eslint.config.mjs"; + /** @type {import("eslint").Linter.Config} */ export default config; diff --git a/services/api2/eslint.config.ts b/services/api2/eslint.config.ts index 7731c96..269f251 100644 --- a/services/api2/eslint.config.ts +++ b/services/api2/eslint.config.ts @@ -1,4 +1,4 @@ -import config from 'eslint-config-custom/eslint.config.mjs'; - +import config from "eslint-config-custom/eslint.config.mjs"; + /** @type {import("eslint").Linter.Config} */ export default config; From ced2f7d7894418843b526a23ab14c75fb56f497b Mon Sep 17 00:00:00 2001 From: antoinewg Date: Tue, 18 Feb 2025 19:14:13 -0800 Subject: [PATCH 10/17] deps: upgrade base deps --- package.json | 10 +- pnpm-lock.yaml | 414 +++++++++++++++++++++++++------------------------ 2 files changed, 213 insertions(+), 211 deletions(-) diff --git a/package.json b/package.json index 519f3f6..2779372 100644 --- a/package.json +++ b/package.json @@ -24,9 +24,9 @@ "devDependencies": { "@serverless/typescript": "^3.38.0", "@types/aws-lambda": "^8.10.147", - "@types/node": "^22.10.7", - "@vitest/coverage-v8": "^3.0.2", - "esbuild": "^0.24.2", + "@types/node": "^22.13.4", + "@vitest/coverage-v8": "^3.0.6", + "esbuild": "^0.25.0", "eslint-config-custom": "workspace:*", "prettier": "latest", "serverless": "^3.38.0", @@ -35,7 +35,7 @@ "ts-node": "^10.9.2", "turbo": "^2.4.2", "typescript": "^5.7.3", - "vitest": "^3.0.2" + "vitest": "^3.0.6" }, "engines": { "node": ">=22", @@ -43,5 +43,5 @@ "npm": "please-use-pnpm", "yarn": "please-use-pnpm" }, - "packageManager": "pnpm@9.1.3" + "packageManager": "pnpm@10.4.1" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7bc1e63..ab8a1b3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,14 +15,14 @@ importers: specifier: ^8.10.147 version: 8.10.147 '@types/node': - specifier: ^22.10.7 - version: 22.10.7 + specifier: ^22.13.4 + version: 22.13.4 '@vitest/coverage-v8': - specifier: ^3.0.2 - version: 3.0.2(vitest@3.0.2(@types/node@22.10.7)) + specifier: ^3.0.6 + version: 3.0.6(vitest@3.0.6(@types/node@22.13.4)) esbuild: - specifier: ^0.24.2 - version: 0.24.2 + specifier: ^0.25.0 + version: 0.25.0 eslint-config-custom: specifier: workspace:* version: link:packages/eslint-config-custom @@ -34,13 +34,13 @@ importers: version: 3.38.0(@aws-sdk/credential-provider-node@3.511.0) serverless-esbuild: specifier: ^1.54.6 - version: 1.54.6(esbuild@0.24.2) + version: 1.54.6(esbuild@0.25.0) serverless-offline: specifier: ^14.4.0 version: 14.4.0(serverless@3.38.0(@aws-sdk/credential-provider-node@3.511.0)) ts-node: specifier: ^10.9.2 - version: 10.9.2(@types/node@22.10.7)(typescript@5.7.3) + version: 10.9.2(@types/node@22.13.4)(typescript@5.7.3) turbo: specifier: ^2.4.2 version: 2.4.2 @@ -48,8 +48,8 @@ importers: specifier: ^5.7.3 version: 5.7.3 vitest: - specifier: ^3.0.2 - version: 3.0.2(@types/node@22.10.7) + specifier: ^3.0.6 + version: 3.0.6(@types/node@22.13.4) packages/eslint-config-custom: devDependencies: @@ -67,7 +67,7 @@ importers: version: 11.1.0(eslint@9.20.1(jiti@2.4.2)) eslint-plugin-vitest: specifier: ^0.5.4 - version: 0.5.4(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3)(vitest@3.0.2(@types/node@22.10.7)) + version: 0.5.4(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3)(vitest@3.0.6(@types/node@22.13.4)) globals: specifier: ^15.15.0 version: 15.15.0 @@ -457,8 +457,8 @@ packages: cpu: [ppc64] os: [aix] - '@esbuild/aix-ppc64@0.24.2': - resolution: {integrity: sha512-thpVCb/rhxE/BnMLQ7GReQLLN8q9qbHmI55F4489/ByVg2aQaQ6kbcLb6FHkocZzQhxc4gx0sCk0tJkKBFzDhA==} + '@esbuild/aix-ppc64@0.25.0': + resolution: {integrity: sha512-O7vun9Sf8DFjH2UtqK8Ku3LkquL9SZL8OLY1T5NZkA34+wG3OQF7cl4Ql8vdNzM6fzBbYfLaiRLIOZ+2FOCgBQ==} engines: {node: '>=18'} cpu: [ppc64] os: [aix] @@ -475,8 +475,8 @@ packages: cpu: [arm64] os: [android] - '@esbuild/android-arm64@0.24.2': - resolution: {integrity: sha512-cNLgeqCqV8WxfcTIOeL4OAtSmL8JjcN6m09XIgro1Wi7cF4t/THaWEa7eL5CMoMBdjoHOTh/vwTO/o2TRXIyzg==} + '@esbuild/android-arm64@0.25.0': + resolution: {integrity: sha512-grvv8WncGjDSyUBjN9yHXNt+cq0snxXbDxy5pJtzMKGmmpPxeAmAhWxXI+01lU5rwZomDgD3kJwulEnhTRUd6g==} engines: {node: '>=18'} cpu: [arm64] os: [android] @@ -493,8 +493,8 @@ packages: cpu: [arm] os: [android] - '@esbuild/android-arm@0.24.2': - resolution: {integrity: sha512-tmwl4hJkCfNHwFB3nBa8z1Uy3ypZpxqxfTQOcHX+xRByyYgunVbZ9MzUUfb0RxaHIMnbHagwAxuTL+tnNM+1/Q==} + '@esbuild/android-arm@0.25.0': + resolution: {integrity: sha512-PTyWCYYiU0+1eJKmw21lWtC+d08JDZPQ5g+kFyxP0V+es6VPPSUhM6zk8iImp2jbV6GwjX4pap0JFbUQN65X1g==} engines: {node: '>=18'} cpu: [arm] os: [android] @@ -511,8 +511,8 @@ packages: cpu: [x64] os: [android] - '@esbuild/android-x64@0.24.2': - resolution: {integrity: sha512-B6Q0YQDqMx9D7rvIcsXfmJfvUYLoP722bgfBlO5cGvNVb5V/+Y7nhBE3mHV9OpxBf4eAS2S68KZztiPaWq4XYw==} + '@esbuild/android-x64@0.25.0': + resolution: {integrity: sha512-m/ix7SfKG5buCnxasr52+LI78SQ+wgdENi9CqyCXwjVR2X4Jkz+BpC3le3AoBPYTC9NHklwngVXvbJ9/Akhrfg==} engines: {node: '>=18'} cpu: [x64] os: [android] @@ -529,8 +529,8 @@ packages: cpu: [arm64] os: [darwin] - '@esbuild/darwin-arm64@0.24.2': - resolution: {integrity: sha512-kj3AnYWc+CekmZnS5IPu9D+HWtUI49hbnyqk0FLEJDbzCIQt7hg7ucF1SQAilhtYpIujfaHr6O0UHlzzSPdOeA==} + '@esbuild/darwin-arm64@0.25.0': + resolution: {integrity: sha512-mVwdUb5SRkPayVadIOI78K7aAnPamoeFR2bT5nszFUZ9P8UpK4ratOdYbZZXYSqPKMHfS1wdHCJk1P1EZpRdvw==} engines: {node: '>=18'} cpu: [arm64] os: [darwin] @@ -547,8 +547,8 @@ packages: cpu: [x64] os: [darwin] - '@esbuild/darwin-x64@0.24.2': - resolution: {integrity: sha512-WeSrmwwHaPkNR5H3yYfowhZcbriGqooyu3zI/3GGpF8AyUdsrrP0X6KumITGA9WOyiJavnGZUwPGvxvwfWPHIA==} + '@esbuild/darwin-x64@0.25.0': + resolution: {integrity: sha512-DgDaYsPWFTS4S3nWpFcMn/33ZZwAAeAFKNHNa1QN0rI4pUjgqf0f7ONmXf6d22tqTY+H9FNdgeaAa+YIFUn2Rg==} engines: {node: '>=18'} cpu: [x64] os: [darwin] @@ -565,8 +565,8 @@ packages: cpu: [arm64] os: [freebsd] - '@esbuild/freebsd-arm64@0.24.2': - resolution: {integrity: sha512-UN8HXjtJ0k/Mj6a9+5u6+2eZ2ERD7Edt1Q9IZiB5UZAIdPnVKDoG7mdTVGhHJIeEml60JteamR3qhsr1r8gXvg==} + '@esbuild/freebsd-arm64@0.25.0': + resolution: {integrity: sha512-VN4ocxy6dxefN1MepBx/iD1dH5K8qNtNe227I0mnTRjry8tj5MRk4zprLEdG8WPyAPb93/e4pSgi1SoHdgOa4w==} engines: {node: '>=18'} cpu: [arm64] os: [freebsd] @@ -583,8 +583,8 @@ packages: cpu: [x64] os: [freebsd] - '@esbuild/freebsd-x64@0.24.2': - resolution: {integrity: sha512-TvW7wE/89PYW+IevEJXZ5sF6gJRDY/14hyIGFXdIucxCsbRmLUcjseQu1SyTko+2idmCw94TgyaEZi9HUSOe3Q==} + '@esbuild/freebsd-x64@0.25.0': + resolution: {integrity: sha512-mrSgt7lCh07FY+hDD1TxiTyIHyttn6vnjesnPoVDNmDfOmggTLXRv8Id5fNZey1gl/V2dyVK1VXXqVsQIiAk+A==} engines: {node: '>=18'} cpu: [x64] os: [freebsd] @@ -601,8 +601,8 @@ packages: cpu: [arm64] os: [linux] - '@esbuild/linux-arm64@0.24.2': - resolution: {integrity: sha512-7HnAD6074BW43YvvUmE/35Id9/NB7BeX5EoNkK9obndmZBUk8xmJJeU7DwmUeN7tkysslb2eSl6CTrYz6oEMQg==} + '@esbuild/linux-arm64@0.25.0': + resolution: {integrity: sha512-9QAQjTWNDM/Vk2bgBl17yWuZxZNQIF0OUUuPZRKoDtqF2k4EtYbpyiG5/Dk7nqeK6kIJWPYldkOcBqjXjrUlmg==} engines: {node: '>=18'} cpu: [arm64] os: [linux] @@ -619,8 +619,8 @@ packages: cpu: [arm] os: [linux] - '@esbuild/linux-arm@0.24.2': - resolution: {integrity: sha512-n0WRM/gWIdU29J57hJyUdIsk0WarGd6To0s+Y+LwvlC55wt+GT/OgkwoXCXvIue1i1sSNWblHEig00GBWiJgfA==} + '@esbuild/linux-arm@0.25.0': + resolution: {integrity: sha512-vkB3IYj2IDo3g9xX7HqhPYxVkNQe8qTK55fraQyTzTX/fxaDtXiEnavv9geOsonh2Fd2RMB+i5cbhu2zMNWJwg==} engines: {node: '>=18'} cpu: [arm] os: [linux] @@ -637,8 +637,8 @@ packages: cpu: [ia32] os: [linux] - '@esbuild/linux-ia32@0.24.2': - resolution: {integrity: sha512-sfv0tGPQhcZOgTKO3oBE9xpHuUqguHvSo4jl+wjnKwFpapx+vUDcawbwPNuBIAYdRAvIDBfZVvXprIj3HA+Ugw==} + '@esbuild/linux-ia32@0.25.0': + resolution: {integrity: sha512-43ET5bHbphBegyeqLb7I1eYn2P/JYGNmzzdidq/w0T8E2SsYL1U6un2NFROFRg1JZLTzdCoRomg8Rvf9M6W6Gg==} engines: {node: '>=18'} cpu: [ia32] os: [linux] @@ -655,8 +655,8 @@ packages: cpu: [loong64] os: [linux] - '@esbuild/linux-loong64@0.24.2': - resolution: {integrity: sha512-CN9AZr8kEndGooS35ntToZLTQLHEjtVB5n7dl8ZcTZMonJ7CCfStrYhrzF97eAecqVbVJ7APOEe18RPI4KLhwQ==} + '@esbuild/linux-loong64@0.25.0': + resolution: {integrity: sha512-fC95c/xyNFueMhClxJmeRIj2yrSMdDfmqJnyOY4ZqsALkDrrKJfIg5NTMSzVBr5YW1jf+l7/cndBfP3MSDpoHw==} engines: {node: '>=18'} cpu: [loong64] os: [linux] @@ -673,8 +673,8 @@ packages: cpu: [mips64el] os: [linux] - '@esbuild/linux-mips64el@0.24.2': - resolution: {integrity: sha512-iMkk7qr/wl3exJATwkISxI7kTcmHKE+BlymIAbHO8xanq/TjHaaVThFF6ipWzPHryoFsesNQJPE/3wFJw4+huw==} + '@esbuild/linux-mips64el@0.25.0': + resolution: {integrity: sha512-nkAMFju7KDW73T1DdH7glcyIptm95a7Le8irTQNO/qtkoyypZAnjchQgooFUDQhNAy4iu08N79W4T4pMBwhPwQ==} engines: {node: '>=18'} cpu: [mips64el] os: [linux] @@ -691,8 +691,8 @@ packages: cpu: [ppc64] os: [linux] - '@esbuild/linux-ppc64@0.24.2': - resolution: {integrity: sha512-shsVrgCZ57Vr2L8mm39kO5PPIb+843FStGt7sGGoqiiWYconSxwTiuswC1VJZLCjNiMLAMh34jg4VSEQb+iEbw==} + '@esbuild/linux-ppc64@0.25.0': + resolution: {integrity: sha512-NhyOejdhRGS8Iwv+KKR2zTq2PpysF9XqY+Zk77vQHqNbo/PwZCzB5/h7VGuREZm1fixhs4Q/qWRSi5zmAiO4Fw==} engines: {node: '>=18'} cpu: [ppc64] os: [linux] @@ -709,8 +709,8 @@ packages: cpu: [riscv64] os: [linux] - '@esbuild/linux-riscv64@0.24.2': - resolution: {integrity: sha512-4eSFWnU9Hhd68fW16GD0TINewo1L6dRrB+oLNNbYyMUAeOD2yCK5KXGK1GH4qD/kT+bTEXjsyTCiJGHPZ3eM9Q==} + '@esbuild/linux-riscv64@0.25.0': + resolution: {integrity: sha512-5S/rbP5OY+GHLC5qXp1y/Mx//e92L1YDqkiBbO9TQOvuFXM+iDqUNG5XopAnXoRH3FjIUDkeGcY1cgNvnXp/kA==} engines: {node: '>=18'} cpu: [riscv64] os: [linux] @@ -727,8 +727,8 @@ packages: cpu: [s390x] os: [linux] - '@esbuild/linux-s390x@0.24.2': - resolution: {integrity: sha512-S0Bh0A53b0YHL2XEXC20bHLuGMOhFDO6GN4b3YjRLK//Ep3ql3erpNcPlEFed93hsQAjAQDNsvcK+hV90FubSw==} + '@esbuild/linux-s390x@0.25.0': + resolution: {integrity: sha512-XM2BFsEBz0Fw37V0zU4CXfcfuACMrppsMFKdYY2WuTS3yi8O1nFOhil/xhKTmE1nPmVyvQJjJivgDT+xh8pXJA==} engines: {node: '>=18'} cpu: [s390x] os: [linux] @@ -745,14 +745,14 @@ packages: cpu: [x64] os: [linux] - '@esbuild/linux-x64@0.24.2': - resolution: {integrity: sha512-8Qi4nQcCTbLnK9WoMjdC9NiTG6/E38RNICU6sUNqK0QFxCYgoARqVqxdFmWkdonVsvGqWhmm7MO0jyTqLqwj0Q==} + '@esbuild/linux-x64@0.25.0': + resolution: {integrity: sha512-9yl91rHw/cpwMCNytUDxwj2XjFpxML0y9HAOH9pNVQDpQrBxHy01Dx+vaMu0N1CKa/RzBD2hB4u//nfc+Sd3Cw==} engines: {node: '>=18'} cpu: [x64] os: [linux] - '@esbuild/netbsd-arm64@0.24.2': - resolution: {integrity: sha512-wuLK/VztRRpMt9zyHSazyCVdCXlpHkKm34WUyinD2lzK07FAHTq0KQvZZlXikNWkDGoT6x3TD51jKQ7gMVpopw==} + '@esbuild/netbsd-arm64@0.25.0': + resolution: {integrity: sha512-RuG4PSMPFfrkH6UwCAqBzauBWTygTvb1nxWasEJooGSJ/NwRw7b2HOwyRTQIU97Hq37l3npXoZGYMy3b3xYvPw==} engines: {node: '>=18'} cpu: [arm64] os: [netbsd] @@ -769,8 +769,8 @@ packages: cpu: [x64] os: [netbsd] - '@esbuild/netbsd-x64@0.24.2': - resolution: {integrity: sha512-VefFaQUc4FMmJuAxmIHgUmfNiLXY438XrL4GDNV1Y1H/RW3qow68xTwjZKfj/+Plp9NANmzbH5R40Meudu8mmw==} + '@esbuild/netbsd-x64@0.25.0': + resolution: {integrity: sha512-jl+qisSB5jk01N5f7sPCsBENCOlPiS/xptD5yxOx2oqQfyourJwIKLRA2yqWdifj3owQZCL2sn6o08dBzZGQzA==} engines: {node: '>=18'} cpu: [x64] os: [netbsd] @@ -781,8 +781,8 @@ packages: cpu: [arm64] os: [openbsd] - '@esbuild/openbsd-arm64@0.24.2': - resolution: {integrity: sha512-YQbi46SBct6iKnszhSvdluqDmxCJA+Pu280Av9WICNwQmMxV7nLRHZfjQzwbPs3jeWnuAhE9Jy0NrnJ12Oz+0A==} + '@esbuild/openbsd-arm64@0.25.0': + resolution: {integrity: sha512-21sUNbq2r84YE+SJDfaQRvdgznTD8Xc0oc3p3iW/a1EVWeNj/SdUCbm5U0itZPQYRuRTW20fPMWMpcrciH2EJw==} engines: {node: '>=18'} cpu: [arm64] os: [openbsd] @@ -799,8 +799,8 @@ packages: cpu: [x64] os: [openbsd] - '@esbuild/openbsd-x64@0.24.2': - resolution: {integrity: sha512-+iDS6zpNM6EnJyWv0bMGLWSWeXGN/HTaF/LXHXHwejGsVi+ooqDfMCCTerNFxEkM3wYVcExkeGXNqshc9iMaOA==} + '@esbuild/openbsd-x64@0.25.0': + resolution: {integrity: sha512-2gwwriSMPcCFRlPlKx3zLQhfN/2WjJ2NSlg5TKLQOJdV0mSxIcYNTMhk3H3ulL/cak+Xj0lY1Ym9ysDV1igceg==} engines: {node: '>=18'} cpu: [x64] os: [openbsd] @@ -817,8 +817,8 @@ packages: cpu: [x64] os: [sunos] - '@esbuild/sunos-x64@0.24.2': - resolution: {integrity: sha512-hTdsW27jcktEvpwNHJU4ZwWFGkz2zRJUz8pvddmXPtXDzVKTTINmlmga3ZzwcuMpUvLw7JkLy9QLKyGpD2Yxig==} + '@esbuild/sunos-x64@0.25.0': + resolution: {integrity: sha512-bxI7ThgLzPrPz484/S9jLlvUAHYMzy6I0XiU1ZMeAEOBcS0VePBFxh1JjTQt3Xiat5b6Oh4x7UC7IwKQKIJRIg==} engines: {node: '>=18'} cpu: [x64] os: [sunos] @@ -835,8 +835,8 @@ packages: cpu: [arm64] os: [win32] - '@esbuild/win32-arm64@0.24.2': - resolution: {integrity: sha512-LihEQ2BBKVFLOC9ZItT9iFprsE9tqjDjnbulhHoFxYQtQfai7qfluVODIYxt1PgdoyQkz23+01rzwNwYfutxUQ==} + '@esbuild/win32-arm64@0.25.0': + resolution: {integrity: sha512-ZUAc2YK6JW89xTbXvftxdnYy3m4iHIkDtK3CLce8wg8M2L+YZhIvO1DKpxrd0Yr59AeNNkTiic9YLf6FTtXWMw==} engines: {node: '>=18'} cpu: [arm64] os: [win32] @@ -853,8 +853,8 @@ packages: cpu: [ia32] os: [win32] - '@esbuild/win32-ia32@0.24.2': - resolution: {integrity: sha512-q+iGUwfs8tncmFC9pcnD5IvRHAzmbwQ3GPS5/ceCyHdjXubwQWI12MKWSNSMYLJMq23/IUCvJMS76PDqXe1fxA==} + '@esbuild/win32-ia32@0.25.0': + resolution: {integrity: sha512-eSNxISBu8XweVEWG31/JzjkIGbGIJN/TrRoiSVZwZ6pkC6VX4Im/WV2cz559/TXLcYbcrDN8JtKgd9DJVIo8GA==} engines: {node: '>=18'} cpu: [ia32] os: [win32] @@ -871,8 +871,8 @@ packages: cpu: [x64] os: [win32] - '@esbuild/win32-x64@0.24.2': - resolution: {integrity: sha512-7VTgWzgMGvup6aSqDPLiW5zHaxYJGTO4OokMjIlrCtf+VpEL+cXKtCvg723iguPYI5oaUNdS+/V7OU2gvXVWEg==} + '@esbuild/win32-x64@0.25.0': + resolution: {integrity: sha512-ZENoHJBxA20C2zFzh6AI4fT6RraMzjYw4xKWemRTRmRVtN9c5DcH9r/f2ihEkMjOW5eGgrwCslG/+Y/3bL+DHQ==} engines: {node: '>=18'} cpu: [x64] os: [win32] @@ -1688,8 +1688,8 @@ packages: '@types/lodash@4.14.182': resolution: {integrity: sha512-/THyiqyQAP9AfARo4pF+aCGcyiQ94tX/Is2I7HofNRqoYLgN1PBoOWu2/zTA5zMxzP5EFutMtWtGAFRKUe961Q==} - '@types/node@22.10.7': - resolution: {integrity: sha512-V09KvXxFiutGp6B7XkpaDXlNadZxrzajcY50EuoLIpQ6WWYCSvf19lVIazzfIzQvhUN2HjX12spLojTnhuKlGg==} + '@types/node@22.13.4': + resolution: {integrity: sha512-ywP2X0DYtX3y08eFVx5fNIw7/uIv8hYUKgXoK8oayJlLnKcRfEYCxWMVE1XagUdVtCJlZT1AU4LXEABW+L1Peg==} '@types/responselike@1.0.0': resolution: {integrity: sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==} @@ -1768,20 +1768,20 @@ packages: resolution: {integrity: sha512-EwVHlp5l+2vp8CoqJm9KikPZgi3gbdZAtabKT9KPShGeOcJhsv4Zdo3oc8T8I0uKEmYoU4ItyxbptjF08enaxg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@vitest/coverage-v8@3.0.2': - resolution: {integrity: sha512-U+hZYb0FtgNDb6B3E9piAHzXXIuxuBw2cd6Lvepc9sYYY4KjgiwCBmo3Sird9ZRu3ggLpLBTfw1ZRr77ipiSfw==} + '@vitest/coverage-v8@3.0.6': + resolution: {integrity: sha512-JRTlR8Bw+4BcmVTICa7tJsxqphAktakiLsAmibVLAWbu1lauFddY/tXeM6sAyl1cgkPuXtpnUgaCPhTdz1Qapg==} peerDependencies: - '@vitest/browser': 3.0.2 - vitest: 3.0.2 + '@vitest/browser': 3.0.6 + vitest: 3.0.6 peerDependenciesMeta: '@vitest/browser': optional: true - '@vitest/expect@3.0.2': - resolution: {integrity: sha512-dKSHLBcoZI+3pmP5hiZ7I5grNru2HRtEW8Z5Zp4IXog8QYcxhlox7JUPyIIFWfN53+3HW3KPLIl6nSzUGgKSuQ==} + '@vitest/expect@3.0.6': + resolution: {integrity: sha512-zBduHf/ja7/QRX4HdP1DSq5XrPgdN+jzLOwaTq/0qZjYfgETNFCKf9nOAp2j3hmom3oTbczuUzrzg9Hafh7hNg==} - '@vitest/mocker@3.0.2': - resolution: {integrity: sha512-Hr09FoBf0jlwwSyzIF4Xw31OntpO3XtZjkccpcBf8FeVW3tpiyKlkeUzxS/txzHqpUCNIX157NaTySxedyZLvA==} + '@vitest/mocker@3.0.6': + resolution: {integrity: sha512-KPztr4/tn7qDGZfqlSPQoF2VgJcKxnDNhmfR3VgZ6Fy1bO8T9Fc1stUiTXtqz0yG24VpD00pZP5f8EOFknjNuQ==} peerDependencies: msw: ^2.4.9 vite: ^5.0.0 || ^6.0.0 @@ -1791,20 +1791,20 @@ packages: vite: optional: true - '@vitest/pretty-format@3.0.2': - resolution: {integrity: sha512-yBohcBw/T/p0/JRgYD+IYcjCmuHzjC3WLAKsVE4/LwiubzZkE8N49/xIQ/KGQwDRA8PaviF8IRO8JMWMngdVVQ==} + '@vitest/pretty-format@3.0.6': + resolution: {integrity: sha512-Zyctv3dbNL+67qtHfRnUE/k8qxduOamRfAL1BurEIQSyOEFffoMvx2pnDSSbKAAVxY0Ej2J/GH2dQKI0W2JyVg==} - '@vitest/runner@3.0.2': - resolution: {integrity: sha512-GHEsWoncrGxWuW8s405fVoDfSLk6RF2LCXp6XhevbtDjdDme1WV/eNmUueDfpY1IX3MJaCRelVCEXsT9cArfEg==} + '@vitest/runner@3.0.6': + resolution: {integrity: sha512-JopP4m/jGoaG1+CBqubV/5VMbi7L+NQCJTu1J1Pf6YaUbk7bZtaq5CX7p+8sY64Sjn1UQ1XJparHfcvTTdu9cA==} - '@vitest/snapshot@3.0.2': - resolution: {integrity: sha512-h9s67yD4+g+JoYG0zPCo/cLTabpDqzqNdzMawmNPzDStTiwxwkyYM1v5lWE8gmGv3SVJ2DcxA2NpQJZJv9ym3g==} + '@vitest/snapshot@3.0.6': + resolution: {integrity: sha512-qKSmxNQwT60kNwwJHMVwavvZsMGXWmngD023OHSgn873pV0lylK7dwBTfYP7e4URy5NiBCHHiQGA9DHkYkqRqg==} - '@vitest/spy@3.0.2': - resolution: {integrity: sha512-8mI2iUn+PJFMT44e3ISA1R+K6ALVs47W6eriDTfXe6lFqlflID05MB4+rIFhmDSLBj8iBsZkzBYlgSkinxLzSQ==} + '@vitest/spy@3.0.6': + resolution: {integrity: sha512-HfOGx/bXtjy24fDlTOpgiAEJbRfFxoX3zIGagCqACkFKKZ/TTOE6gYMKXlqecvxEndKFuNHcHqP081ggZ2yM0Q==} - '@vitest/utils@3.0.2': - resolution: {integrity: sha512-Qu01ZYZlgHvDP02JnMBRpX43nRaZtNpIzw3C1clDXmn8eakgX6iQVGzTQ/NjkIr64WD8ioqOjkaYRVvHQI5qiw==} + '@vitest/utils@3.0.6': + resolution: {integrity: sha512-18ktZpf4GQFTbf9jK543uspU03Q2qya7ZGya5yiZ0Gx0nnnalBvd5ZBislbl2EhLjM8A8rt4OilqKG7QwcGkvQ==} abort-controller@3.0.0: resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==} @@ -2082,8 +2082,8 @@ packages: capital-case@1.0.4: resolution: {integrity: sha512-ds37W8CytHgwnhGGTi88pcPyR15qoNkOpYwmMMfnWqqWgESapLqvDx6huFjQ5vqWSn2Z06173XNA7LtMOeUh1A==} - chai@5.1.2: - resolution: {integrity: sha512-aGtmf24DW6MLHHG5gCx4zaI3uBq3KRtxeVs0DjFH6Z0rDNbsvTxFASFvdj79pxjxZ8/5u3PIiN3IwEIQkiiuPw==} + chai@5.2.0: + resolution: {integrity: sha512-mCuXncKXk5iCLhfhwTc0izo0gtEmpz5CtG2y8GiOINBlMVS6v8TMRc5TaLWKS6692m9+dVVfzgeVxR5UxWHTYw==} engines: {node: '>=12'} chalk@2.4.2: @@ -2419,8 +2419,8 @@ packages: engines: {node: '>=18'} hasBin: true - esbuild@0.24.2: - resolution: {integrity: sha512-+9egpBW8I3CD5XPe0n6BfT5fxLzxrlDzqydF3aviG+9ni1lDC/OvMHcxqEFV0+LANZG5R1bFMWfUrjVsdwxJvA==} + esbuild@0.25.0: + resolution: {integrity: sha512-BXq5mqc8ltbaN34cDqWuYKyNhX8D/Z0J1xdtdQ8UcIIIyJyz+ZMKUt58tF3SrZ85jcfN/PZYhjR5uDQAYNVbuw==} engines: {node: '>=18'} hasBin: true @@ -3198,6 +3198,9 @@ packages: loupe@3.1.2: resolution: {integrity: sha512-23I4pFZHmAemUnz8WZXbYRSKYj801VDaNv9ETuMh7IrMc7VuVVSo+Z9iLE3ni30+U48iDWfi30d3twAXBYmnCg==} + loupe@3.1.3: + resolution: {integrity: sha512-kkIp7XSkP78ZxJEsSxW3712C6teJVoeHHwgo9zJ380de7IYyJ2ISlxojcH2pC5OFLewESmnRi/+XCDIEEVyoug==} + lower-case@2.0.2: resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} @@ -3547,8 +3550,8 @@ packages: path2@0.1.0: resolution: {integrity: sha512-TX+cz8Jk+ta7IvRy2FAej8rdlbrP0+uBIkP/5DTODez/AuL/vSb30KuAdDxGVREXzn8QfAiu5mJYJ1XjbOhEPA==} - pathe@2.0.2: - resolution: {integrity: sha512-15Ztpk+nov8DR524R4BF7uEuzESgzUEAV4Ah7CUMNGXdE5ELuvxElxGXndBl32vMSsWa1jpNf22Z+Er3sKwq+w==} + pathe@2.0.3: + resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==} pathval@2.0.0: resolution: {integrity: sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==} @@ -3852,10 +3855,6 @@ packages: sorted-array-functions@1.3.0: resolution: {integrity: sha512-2sqgzeFlid6N4Z2fUQ1cvFmTOLRi/sEDzSQ0OKYchqgoPmQBVyM3959qYx3fpS6Esef80KjmpgPeEr028dP3OA==} - source-map-js@1.0.2: - resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} - engines: {node: '>=0.10.0'} - source-map-js@1.2.1: resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} engines: {node: '>=0.10.0'} @@ -4209,8 +4208,8 @@ packages: engines: {node: '>=0.8.0'} hasBin: true - vite-node@3.0.2: - resolution: {integrity: sha512-hsEQerBAHvVAbv40m3TFQe/lTEbOp7yDpyqMJqr2Tnd+W58+DEYOt+fluQgekOePcsNBmR77lpVAnIU2Xu4SvQ==} + vite-node@3.0.6: + resolution: {integrity: sha512-s51RzrTkXKJrhNbUzQRsarjmAae7VmMPAsRT7lppVpIg6mK3zGthP9Hgz0YQQKuNcF+Ii7DfYk3Fxz40jRmePw==} engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} hasBin: true @@ -4242,20 +4241,23 @@ packages: terser: optional: true - vitest@3.0.2: - resolution: {integrity: sha512-5bzaHakQ0hmVVKLhfh/jXf6oETDBtgPo8tQCHYB+wftNgFJ+Hah67IsWc8ivx4vFL025Ow8UiuTf4W57z4izvQ==} + vitest@3.0.6: + resolution: {integrity: sha512-/iL1Sc5VeDZKPDe58oGK4HUFLhw6b5XdY1MYawjuSaDA4sEfYlY9HnS6aCEG26fX+MgUi7MwlduTBHHAI/OvMA==} engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' + '@types/debug': ^4.1.12 '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 - '@vitest/browser': 3.0.2 - '@vitest/ui': 3.0.2 + '@vitest/browser': 3.0.6 + '@vitest/ui': 3.0.6 happy-dom: '*' jsdom: '*' peerDependenciesMeta: '@edge-runtime/vm': optional: true + '@types/debug': + optional: true '@types/node': optional: true '@vitest/browser': @@ -5215,7 +5217,7 @@ snapshots: '@esbuild/aix-ppc64@0.23.1': optional: true - '@esbuild/aix-ppc64@0.24.2': + '@esbuild/aix-ppc64@0.25.0': optional: true '@esbuild/android-arm64@0.19.12': @@ -5224,7 +5226,7 @@ snapshots: '@esbuild/android-arm64@0.23.1': optional: true - '@esbuild/android-arm64@0.24.2': + '@esbuild/android-arm64@0.25.0': optional: true '@esbuild/android-arm@0.19.12': @@ -5233,7 +5235,7 @@ snapshots: '@esbuild/android-arm@0.23.1': optional: true - '@esbuild/android-arm@0.24.2': + '@esbuild/android-arm@0.25.0': optional: true '@esbuild/android-x64@0.19.12': @@ -5242,7 +5244,7 @@ snapshots: '@esbuild/android-x64@0.23.1': optional: true - '@esbuild/android-x64@0.24.2': + '@esbuild/android-x64@0.25.0': optional: true '@esbuild/darwin-arm64@0.19.12': @@ -5251,7 +5253,7 @@ snapshots: '@esbuild/darwin-arm64@0.23.1': optional: true - '@esbuild/darwin-arm64@0.24.2': + '@esbuild/darwin-arm64@0.25.0': optional: true '@esbuild/darwin-x64@0.19.12': @@ -5260,7 +5262,7 @@ snapshots: '@esbuild/darwin-x64@0.23.1': optional: true - '@esbuild/darwin-x64@0.24.2': + '@esbuild/darwin-x64@0.25.0': optional: true '@esbuild/freebsd-arm64@0.19.12': @@ -5269,7 +5271,7 @@ snapshots: '@esbuild/freebsd-arm64@0.23.1': optional: true - '@esbuild/freebsd-arm64@0.24.2': + '@esbuild/freebsd-arm64@0.25.0': optional: true '@esbuild/freebsd-x64@0.19.12': @@ -5278,7 +5280,7 @@ snapshots: '@esbuild/freebsd-x64@0.23.1': optional: true - '@esbuild/freebsd-x64@0.24.2': + '@esbuild/freebsd-x64@0.25.0': optional: true '@esbuild/linux-arm64@0.19.12': @@ -5287,7 +5289,7 @@ snapshots: '@esbuild/linux-arm64@0.23.1': optional: true - '@esbuild/linux-arm64@0.24.2': + '@esbuild/linux-arm64@0.25.0': optional: true '@esbuild/linux-arm@0.19.12': @@ -5296,7 +5298,7 @@ snapshots: '@esbuild/linux-arm@0.23.1': optional: true - '@esbuild/linux-arm@0.24.2': + '@esbuild/linux-arm@0.25.0': optional: true '@esbuild/linux-ia32@0.19.12': @@ -5305,7 +5307,7 @@ snapshots: '@esbuild/linux-ia32@0.23.1': optional: true - '@esbuild/linux-ia32@0.24.2': + '@esbuild/linux-ia32@0.25.0': optional: true '@esbuild/linux-loong64@0.19.12': @@ -5314,7 +5316,7 @@ snapshots: '@esbuild/linux-loong64@0.23.1': optional: true - '@esbuild/linux-loong64@0.24.2': + '@esbuild/linux-loong64@0.25.0': optional: true '@esbuild/linux-mips64el@0.19.12': @@ -5323,7 +5325,7 @@ snapshots: '@esbuild/linux-mips64el@0.23.1': optional: true - '@esbuild/linux-mips64el@0.24.2': + '@esbuild/linux-mips64el@0.25.0': optional: true '@esbuild/linux-ppc64@0.19.12': @@ -5332,7 +5334,7 @@ snapshots: '@esbuild/linux-ppc64@0.23.1': optional: true - '@esbuild/linux-ppc64@0.24.2': + '@esbuild/linux-ppc64@0.25.0': optional: true '@esbuild/linux-riscv64@0.19.12': @@ -5341,7 +5343,7 @@ snapshots: '@esbuild/linux-riscv64@0.23.1': optional: true - '@esbuild/linux-riscv64@0.24.2': + '@esbuild/linux-riscv64@0.25.0': optional: true '@esbuild/linux-s390x@0.19.12': @@ -5350,7 +5352,7 @@ snapshots: '@esbuild/linux-s390x@0.23.1': optional: true - '@esbuild/linux-s390x@0.24.2': + '@esbuild/linux-s390x@0.25.0': optional: true '@esbuild/linux-x64@0.19.12': @@ -5359,10 +5361,10 @@ snapshots: '@esbuild/linux-x64@0.23.1': optional: true - '@esbuild/linux-x64@0.24.2': + '@esbuild/linux-x64@0.25.0': optional: true - '@esbuild/netbsd-arm64@0.24.2': + '@esbuild/netbsd-arm64@0.25.0': optional: true '@esbuild/netbsd-x64@0.19.12': @@ -5371,13 +5373,13 @@ snapshots: '@esbuild/netbsd-x64@0.23.1': optional: true - '@esbuild/netbsd-x64@0.24.2': + '@esbuild/netbsd-x64@0.25.0': optional: true '@esbuild/openbsd-arm64@0.23.1': optional: true - '@esbuild/openbsd-arm64@0.24.2': + '@esbuild/openbsd-arm64@0.25.0': optional: true '@esbuild/openbsd-x64@0.19.12': @@ -5386,7 +5388,7 @@ snapshots: '@esbuild/openbsd-x64@0.23.1': optional: true - '@esbuild/openbsd-x64@0.24.2': + '@esbuild/openbsd-x64@0.25.0': optional: true '@esbuild/sunos-x64@0.19.12': @@ -5395,7 +5397,7 @@ snapshots: '@esbuild/sunos-x64@0.23.1': optional: true - '@esbuild/sunos-x64@0.24.2': + '@esbuild/sunos-x64@0.25.0': optional: true '@esbuild/win32-arm64@0.19.12': @@ -5404,7 +5406,7 @@ snapshots: '@esbuild/win32-arm64@0.23.1': optional: true - '@esbuild/win32-arm64@0.24.2': + '@esbuild/win32-arm64@0.25.0': optional: true '@esbuild/win32-ia32@0.19.12': @@ -5413,7 +5415,7 @@ snapshots: '@esbuild/win32-ia32@0.23.1': optional: true - '@esbuild/win32-ia32@0.24.2': + '@esbuild/win32-ia32@0.25.0': optional: true '@esbuild/win32-x64@0.19.12': @@ -5422,7 +5424,7 @@ snapshots: '@esbuild/win32-x64@0.23.1': optional: true - '@esbuild/win32-x64@0.24.2': + '@esbuild/win32-x64@0.25.0': optional: true '@eslint-community/eslint-utils@4.4.0(eslint@9.20.1(jiti@2.4.2))': @@ -5670,7 +5672,7 @@ snapshots: '@jridgewell/gen-mapping@0.3.8': dependencies: '@jridgewell/set-array': 1.2.1 - '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/sourcemap-codec': 1.5.0 '@jridgewell/trace-mapping': 0.3.25 '@jridgewell/resolve-uri@3.1.0': {} @@ -5684,7 +5686,7 @@ snapshots: '@jridgewell/trace-mapping@0.3.25': dependencies: '@jridgewell/resolve-uri': 3.1.0 - '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/sourcemap-codec': 1.5.0 '@jridgewell/trace-mapping@0.3.9': dependencies: @@ -6525,7 +6527,7 @@ snapshots: dependencies: '@types/http-cache-semantics': 4.0.1 '@types/keyv': 3.1.4 - '@types/node': 22.10.7 + '@types/node': 22.13.4 '@types/responselike': 1.0.0 '@types/estree@1.0.5': {} @@ -6540,7 +6542,7 @@ snapshots: '@types/keyv@3.1.4': dependencies: - '@types/node': 22.10.7 + '@types/node': 22.13.4 '@types/lodash.capitalize@4.2.9': dependencies: @@ -6548,13 +6550,13 @@ snapshots: '@types/lodash@4.14.182': {} - '@types/node@22.10.7': + '@types/node@22.13.4': dependencies: undici-types: 6.20.0 '@types/responselike@1.0.0': dependencies: - '@types/node': 22.10.7 + '@types/node': 22.13.4 '@typescript-eslint/eslint-plugin@8.24.1(@typescript-eslint/parser@8.24.1(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3))(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3)': dependencies: @@ -6671,7 +6673,7 @@ snapshots: '@typescript-eslint/types': 8.24.1 eslint-visitor-keys: 4.2.0 - '@vitest/coverage-v8@3.0.2(vitest@3.0.2(@types/node@22.10.7))': + '@vitest/coverage-v8@3.0.6(vitest@3.0.6(@types/node@22.13.4))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 1.0.2 @@ -6685,48 +6687,48 @@ snapshots: std-env: 3.8.0 test-exclude: 7.0.1 tinyrainbow: 2.0.0 - vitest: 3.0.2(@types/node@22.10.7) + vitest: 3.0.6(@types/node@22.13.4) transitivePeerDependencies: - supports-color - '@vitest/expect@3.0.2': + '@vitest/expect@3.0.6': dependencies: - '@vitest/spy': 3.0.2 - '@vitest/utils': 3.0.2 - chai: 5.1.2 + '@vitest/spy': 3.0.6 + '@vitest/utils': 3.0.6 + chai: 5.2.0 tinyrainbow: 2.0.0 - '@vitest/mocker@3.0.2(vite@5.1.1(@types/node@22.10.7))': + '@vitest/mocker@3.0.6(vite@5.1.1(@types/node@22.13.4))': dependencies: - '@vitest/spy': 3.0.2 + '@vitest/spy': 3.0.6 estree-walker: 3.0.3 magic-string: 0.30.17 optionalDependencies: - vite: 5.1.1(@types/node@22.10.7) + vite: 5.1.1(@types/node@22.13.4) - '@vitest/pretty-format@3.0.2': + '@vitest/pretty-format@3.0.6': dependencies: tinyrainbow: 2.0.0 - '@vitest/runner@3.0.2': + '@vitest/runner@3.0.6': dependencies: - '@vitest/utils': 3.0.2 - pathe: 2.0.2 + '@vitest/utils': 3.0.6 + pathe: 2.0.3 - '@vitest/snapshot@3.0.2': + '@vitest/snapshot@3.0.6': dependencies: - '@vitest/pretty-format': 3.0.2 + '@vitest/pretty-format': 3.0.6 magic-string: 0.30.17 - pathe: 2.0.2 + pathe: 2.0.3 - '@vitest/spy@3.0.2': + '@vitest/spy@3.0.6': dependencies: tinyspy: 3.0.2 - '@vitest/utils@3.0.2': + '@vitest/utils@3.0.6': dependencies: - '@vitest/pretty-format': 3.0.2 - loupe: 3.1.2 + '@vitest/pretty-format': 3.0.6 + loupe: 3.1.3 tinyrainbow: 2.0.0 abort-controller@3.0.0: @@ -7027,7 +7029,7 @@ snapshots: tslib: 2.6.2 upper-case-first: 2.0.2 - chai@5.1.2: + chai@5.2.0: dependencies: assertion-error: 2.0.1 check-error: 2.1.1 @@ -7454,33 +7456,33 @@ snapshots: '@esbuild/win32-ia32': 0.23.1 '@esbuild/win32-x64': 0.23.1 - esbuild@0.24.2: + esbuild@0.25.0: optionalDependencies: - '@esbuild/aix-ppc64': 0.24.2 - '@esbuild/android-arm': 0.24.2 - '@esbuild/android-arm64': 0.24.2 - '@esbuild/android-x64': 0.24.2 - '@esbuild/darwin-arm64': 0.24.2 - '@esbuild/darwin-x64': 0.24.2 - '@esbuild/freebsd-arm64': 0.24.2 - '@esbuild/freebsd-x64': 0.24.2 - '@esbuild/linux-arm': 0.24.2 - '@esbuild/linux-arm64': 0.24.2 - '@esbuild/linux-ia32': 0.24.2 - '@esbuild/linux-loong64': 0.24.2 - '@esbuild/linux-mips64el': 0.24.2 - '@esbuild/linux-ppc64': 0.24.2 - '@esbuild/linux-riscv64': 0.24.2 - '@esbuild/linux-s390x': 0.24.2 - '@esbuild/linux-x64': 0.24.2 - '@esbuild/netbsd-arm64': 0.24.2 - '@esbuild/netbsd-x64': 0.24.2 - '@esbuild/openbsd-arm64': 0.24.2 - '@esbuild/openbsd-x64': 0.24.2 - '@esbuild/sunos-x64': 0.24.2 - '@esbuild/win32-arm64': 0.24.2 - '@esbuild/win32-ia32': 0.24.2 - '@esbuild/win32-x64': 0.24.2 + '@esbuild/aix-ppc64': 0.25.0 + '@esbuild/android-arm': 0.25.0 + '@esbuild/android-arm64': 0.25.0 + '@esbuild/android-x64': 0.25.0 + '@esbuild/darwin-arm64': 0.25.0 + '@esbuild/darwin-x64': 0.25.0 + '@esbuild/freebsd-arm64': 0.25.0 + '@esbuild/freebsd-x64': 0.25.0 + '@esbuild/linux-arm': 0.25.0 + '@esbuild/linux-arm64': 0.25.0 + '@esbuild/linux-ia32': 0.25.0 + '@esbuild/linux-loong64': 0.25.0 + '@esbuild/linux-mips64el': 0.25.0 + '@esbuild/linux-ppc64': 0.25.0 + '@esbuild/linux-riscv64': 0.25.0 + '@esbuild/linux-s390x': 0.25.0 + '@esbuild/linux-x64': 0.25.0 + '@esbuild/netbsd-arm64': 0.25.0 + '@esbuild/netbsd-x64': 0.25.0 + '@esbuild/openbsd-arm64': 0.25.0 + '@esbuild/openbsd-x64': 0.25.0 + '@esbuild/sunos-x64': 0.25.0 + '@esbuild/win32-arm64': 0.25.0 + '@esbuild/win32-ia32': 0.25.0 + '@esbuild/win32-x64': 0.25.0 escalade@3.1.1: {} @@ -7508,12 +7510,12 @@ snapshots: resolve: 1.22.0 semver: 6.3.0 - eslint-plugin-vitest@0.5.4(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3)(vitest@3.0.2(@types/node@22.10.7)): + eslint-plugin-vitest@0.5.4(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3)(vitest@3.0.6(@types/node@22.13.4)): dependencies: '@typescript-eslint/utils': 7.18.0(eslint@9.20.1(jiti@2.4.2))(typescript@5.7.3) eslint: 9.20.1(jiti@2.4.2) optionalDependencies: - vitest: 3.0.2(@types/node@22.10.7) + vitest: 3.0.6(@types/node@22.13.4) transitivePeerDependencies: - supports-color - typescript @@ -7603,7 +7605,7 @@ snapshots: estree-walker@3.0.3: dependencies: - '@types/estree': 1.0.5 + '@types/estree': 1.0.6 esutils@2.0.3: {} @@ -7789,7 +7791,7 @@ snapshots: foreground-child@3.3.0: dependencies: - cross-spawn: 7.0.3 + cross-spawn: 7.0.6 signal-exit: 4.1.0 form-data@2.5.1: @@ -8299,6 +8301,8 @@ snapshots: loupe@3.1.2: {} + loupe@3.1.3: {} + lower-case@2.0.2: dependencies: tslib: 2.6.2 @@ -8638,7 +8642,7 @@ snapshots: path2@0.1.0: {} - pathe@2.0.2: {} + pathe@2.0.3: {} pathval@2.0.0: {} @@ -8664,7 +8668,7 @@ snapshots: dependencies: nanoid: 3.3.7 picocolors: 1.0.0 - source-map-js: 1.0.2 + source-map-js: 1.2.1 prelude-ls@1.2.1: {} @@ -8841,7 +8845,7 @@ snapshots: tslib: 2.6.2 upper-case-first: 2.0.2 - serverless-esbuild@1.54.6(esbuild@0.24.2): + serverless-esbuild@1.54.6(esbuild@0.25.0): dependencies: '@effect/platform': 0.65.5(@effect/schema@0.73.4(effect@3.12.5))(effect@3.12.5) '@effect/platform-node': 0.60.5(@effect/platform@0.65.5(@effect/schema@0.73.4(effect@3.12.5))(effect@3.12.5))(effect@3.12.5) @@ -8853,7 +8857,7 @@ snapshots: bestzip: 2.2.1 chokidar: 3.5.3 effect: 3.12.5 - esbuild: 0.24.2 + esbuild: 0.25.0 execa: 5.1.1 fs-extra: 11.2.0 globby: 11.1.0 @@ -8995,7 +8999,7 @@ snapshots: dependencies: '@kwsites/file-exists': 1.1.1(supports-color@8.1.1) '@kwsites/promise-deferred': 1.1.1 - debug: 4.3.4(supports-color@8.1.1) + debug: 4.4.0(supports-color@8.1.1) transitivePeerDependencies: - supports-color @@ -9020,8 +9024,6 @@ snapshots: sorted-array-functions@1.3.0: {} - source-map-js@1.0.2: {} - source-map-js@1.2.1: {} split2@3.2.2: @@ -9217,14 +9219,14 @@ snapshots: dependencies: typescript: 5.7.3 - ts-node@10.9.2(@types/node@22.10.7)(typescript@5.7.3): + ts-node@10.9.2(@types/node@22.13.4)(typescript@5.7.3): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.8 '@tsconfig/node12': 1.0.9 '@tsconfig/node14': 1.0.1 '@tsconfig/node16': 1.0.2 - '@types/node': 22.10.7 + '@types/node': 22.13.4 acorn: 8.8.2 acorn-walk: 8.2.0 arg: 4.1.3 @@ -9369,13 +9371,13 @@ snapshots: transitivePeerDependencies: - supports-color - vite-node@3.0.2(@types/node@22.10.7): + vite-node@3.0.6(@types/node@22.13.4): dependencies: cac: 6.7.14 debug: 4.4.0(supports-color@8.1.1) es-module-lexer: 1.6.0 - pathe: 2.0.2 - vite: 5.1.1(@types/node@22.10.7) + pathe: 2.0.3 + vite: 5.1.1(@types/node@22.13.4) transitivePeerDependencies: - '@types/node' - less @@ -9386,39 +9388,39 @@ snapshots: - supports-color - terser - vite@5.1.1(@types/node@22.10.7): + vite@5.1.1(@types/node@22.13.4): dependencies: esbuild: 0.19.12 postcss: 8.4.35 rollup: 4.10.0 optionalDependencies: - '@types/node': 22.10.7 + '@types/node': 22.13.4 fsevents: 2.3.3 - vitest@3.0.2(@types/node@22.10.7): + vitest@3.0.6(@types/node@22.13.4): dependencies: - '@vitest/expect': 3.0.2 - '@vitest/mocker': 3.0.2(vite@5.1.1(@types/node@22.10.7)) - '@vitest/pretty-format': 3.0.2 - '@vitest/runner': 3.0.2 - '@vitest/snapshot': 3.0.2 - '@vitest/spy': 3.0.2 - '@vitest/utils': 3.0.2 - chai: 5.1.2 + '@vitest/expect': 3.0.6 + '@vitest/mocker': 3.0.6(vite@5.1.1(@types/node@22.13.4)) + '@vitest/pretty-format': 3.0.6 + '@vitest/runner': 3.0.6 + '@vitest/snapshot': 3.0.6 + '@vitest/spy': 3.0.6 + '@vitest/utils': 3.0.6 + chai: 5.2.0 debug: 4.4.0(supports-color@8.1.1) expect-type: 1.1.0 magic-string: 0.30.17 - pathe: 2.0.2 + pathe: 2.0.3 std-env: 3.8.0 tinybench: 2.9.0 tinyexec: 0.3.2 tinypool: 1.0.2 tinyrainbow: 2.0.0 - vite: 5.1.1(@types/node@22.10.7) - vite-node: 3.0.2(@types/node@22.10.7) + vite: 5.1.1(@types/node@22.13.4) + vite-node: 3.0.6(@types/node@22.13.4) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 22.10.7 + '@types/node': 22.13.4 transitivePeerDependencies: - less - lightningcss From be1c2434a6e8517d4d45c2f0f2981a60054f1274 Mon Sep 17 00:00:00 2001 From: antoinewg Date: Tue, 18 Feb 2025 19:20:16 -0800 Subject: [PATCH 11/17] package-manager-strict false --- .npmrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..e941d13 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +package-manager-strict=false From 530f74999371eb4eec10d4b3f505316eed120351 Mon Sep 17 00:00:00 2001 From: antoinewg Date: Tue, 18 Feb 2025 19:38:58 -0800 Subject: [PATCH 12/17] add command to readmes --- services/api1/README.md | 14 ++++++++++++++ services/api2/README.md | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/services/api1/README.md b/services/api1/README.md index ef001f3..d23098b 100644 --- a/services/api1/README.md +++ b/services/api1/README.md @@ -1,3 +1,17 @@ # API 1 Backend service using [serverless framework](https://www.serverless.com/). + +## Run this service + +- install the dependencies: `pnpm i`. +- build and run the services: `pnpm dev`. +- send first request: + +```bash +curl -X POST http://localhost:3000/dev/hello -H "Content-Type: application/json" -d '{"name": "world"}' +``` + +```json +{ "message": "Hello World !" } +``` diff --git a/services/api2/README.md b/services/api2/README.md index e65bd27..9d359a6 100644 --- a/services/api2/README.md +++ b/services/api2/README.md @@ -1,3 +1,17 @@ # API 2 Backend service using [serverless framework](https://www.serverless.com/). + +## Run this service + +- install the dependencies: `pnpm i`. +- build and run the services: `pnpm dev`. +- send first request: + +```bash +curl -X POST http://localhost:4000/dev/ciao -H "Content-Type: application/json" -d '{"name": "world"}' +``` + +```json +{ "message": "Ciao World !" } +``` \ No newline at end of file From 51273f8b4671bcad70c507c30ead8626242f5f85 Mon Sep 17 00:00:00 2001 From: antoinewg Date: Tue, 18 Feb 2025 19:39:32 -0800 Subject: [PATCH 13/17] move schemas to json --- services/api1/src/functions/hello/schema.json | 11 +++++++++++ services/api1/src/functions/hello/schema.ts | 9 +-------- services/api2/src/functions/ciao/schema.json | 11 +++++++++++ services/api2/src/functions/ciao/schema.ts | 9 +-------- 4 files changed, 24 insertions(+), 16 deletions(-) create mode 100644 services/api1/src/functions/hello/schema.json create mode 100644 services/api2/src/functions/ciao/schema.json diff --git a/services/api1/src/functions/hello/schema.json b/services/api1/src/functions/hello/schema.json new file mode 100644 index 0000000..fb93938 --- /dev/null +++ b/services/api1/src/functions/hello/schema.json @@ -0,0 +1,11 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": ["name"], + "additionalProperties": false +} \ No newline at end of file diff --git a/services/api1/src/functions/hello/schema.ts b/services/api1/src/functions/hello/schema.ts index 82ad94e..10ce38c 100644 --- a/services/api1/src/functions/hello/schema.ts +++ b/services/api1/src/functions/hello/schema.ts @@ -1,11 +1,4 @@ -export const bodySchema = { - type: "object", - properties: { - name: { type: "string" }, - }, - required: ["name"], - additionalProperties: false, -} as const; +import bodySchema from "./schema.json"; export const schema = { type: "object", diff --git a/services/api2/src/functions/ciao/schema.json b/services/api2/src/functions/ciao/schema.json new file mode 100644 index 0000000..fb93938 --- /dev/null +++ b/services/api2/src/functions/ciao/schema.json @@ -0,0 +1,11 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "required": ["name"], + "additionalProperties": false +} \ No newline at end of file diff --git a/services/api2/src/functions/ciao/schema.ts b/services/api2/src/functions/ciao/schema.ts index c64930e..e91f0cf 100644 --- a/services/api2/src/functions/ciao/schema.ts +++ b/services/api2/src/functions/ciao/schema.ts @@ -1,11 +1,4 @@ -export const bodySchema = { - type: "object", - properties: { - name: { type: "string" }, - }, - required: ["name"], - additionalProperties: false, -} as const; +import bodySchema from "./schema.json"; export const schema = { type: "object", From bb0e307751beccb5ce8b184ae2d2dd06f7ae5c88 Mon Sep 17 00:00:00 2001 From: antoinewg Date: Tue, 18 Feb 2025 19:40:11 -0800 Subject: [PATCH 14/17] move functions from serverless typescript to original yaml --- services/api1/serverless.ts | 37 ------------------------ services/api1/serverless.yml | 38 +++++++++++++++++++++++++ services/api1/src/functions/index.ts | 25 ---------------- services/api1/src/functions/index.yml | 12 ++++++++ services/api2/serverless.ts | 41 --------------------------- services/api2/serverless.yml | 38 +++++++++++++++++++++++++ services/api2/src/functions/index.ts | 25 ---------------- services/api2/src/functions/index.yml | 12 ++++++++ 8 files changed, 100 insertions(+), 128 deletions(-) delete mode 100644 services/api1/serverless.ts create mode 100644 services/api1/serverless.yml delete mode 100644 services/api1/src/functions/index.ts create mode 100644 services/api1/src/functions/index.yml delete mode 100644 services/api2/serverless.ts create mode 100644 services/api2/serverless.yml delete mode 100644 services/api2/src/functions/index.ts create mode 100644 services/api2/src/functions/index.yml diff --git a/services/api1/serverless.ts b/services/api1/serverless.ts deleted file mode 100644 index bb728af..0000000 --- a/services/api1/serverless.ts +++ /dev/null @@ -1,37 +0,0 @@ -import type { AWS } from "@serverless/typescript"; - -import { functions } from "@functions/index"; - -const serverlessConfiguration: AWS = { - service: "api1", - frameworkVersion: "3.38.0", - plugins: ["serverless-esbuild", "serverless-offline"], - provider: { - name: "aws", - runtime: "nodejs20.x", - stage: "dev", - region: "eu-central-1", - environment: { - AWS_NODEJS_CONNECTION_REUSE_ENABLED: "1", - NODE_OPTIONS: "--enable-source-maps --stack-trace-limit=1000", - }, - deploymentMethod: "direct", - architecture: "arm64", - }, - functions, - package: { individually: true }, - custom: { - esbuild: { - bundle: true, - minify: false, - sourcemap: true, - exclude: ["aws-sdk"], - target: "node22", - define: { "require.resolve": undefined }, - platform: "node", - concurrency: 10, - }, - }, -}; - -export default serverlessConfiguration; diff --git a/services/api1/serverless.yml b/services/api1/serverless.yml new file mode 100644 index 0000000..37a84a8 --- /dev/null +++ b/services/api1/serverless.yml @@ -0,0 +1,38 @@ +service: api2 +frameworkVersion: "3.38.0" +plugins: + - serverless-esbuild + - serverless-offline + +provider: + name: aws + runtime: nodejs20.x + stage: dev + region: eu-central-1 + environment: + AWS_NODEJS_CONNECTION_REUSE_ENABLED: "1" + NODE_OPTIONS: "--enable-source-maps --stack-trace-limit=1000" + deploymentMethod: direct + architecture: arm64 + +functions: + - ${file(src/functions/index.yml)} + +package: + individually: true + +custom: + esbuild: + bundle: true + minify: false + sourcemap: true + exclude: + - aws-sdk + target: node20 + define: + require.resolve: undefined + platform: node + concurrency: 10 + serverless-offline: + httpPort: 3000 + lambdaPort: 3002 diff --git a/services/api1/src/functions/index.ts b/services/api1/src/functions/index.ts deleted file mode 100644 index 1f97a31..0000000 --- a/services/api1/src/functions/index.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { AWS } from "@serverless/typescript"; - -import { bodySchema } from "./hello/schema"; - -export const functions: AWS["functions"] = { - hello: { - handler: "src/functions/hello/handler.main", - description: "Lambda function to say hello", - memorySize: 256, - events: [ - { - http: { - method: "post", - path: "hello", - cors: true, - request: { - schemas: { - "application/json": bodySchema, - }, - }, - }, - }, - ], - }, -}; diff --git a/services/api1/src/functions/index.yml b/services/api1/src/functions/index.yml new file mode 100644 index 0000000..857423c --- /dev/null +++ b/services/api1/src/functions/index.yml @@ -0,0 +1,12 @@ +hello: + handler: src/functions/hello/handler.main + description: Lambda function to say hello + memorySize: 256 + events: + - http: + method: post + path: hello + cors: true + request: + schemas: + application/json: ${file(src/functions/hello/schema.json)} diff --git a/services/api2/serverless.ts b/services/api2/serverless.ts deleted file mode 100644 index 6bbf7bc..0000000 --- a/services/api2/serverless.ts +++ /dev/null @@ -1,41 +0,0 @@ -import type { AWS } from "@serverless/typescript"; - -import { functions } from "@functions/index"; - -const serverlessConfiguration: AWS = { - service: "api2", - frameworkVersion: "3.38.0", - plugins: ["serverless-esbuild", "serverless-offline"], - provider: { - name: "aws", - runtime: "nodejs20.x", - stage: "dev", - region: "eu-central-1", - environment: { - AWS_NODEJS_CONNECTION_REUSE_ENABLED: "1", - NODE_OPTIONS: "--enable-source-maps --stack-trace-limit=1000", - }, - deploymentMethod: "direct", - architecture: "arm64", - }, - functions, - package: { individually: true }, - custom: { - esbuild: { - bundle: true, - minify: false, - sourcemap: true, - exclude: ["aws-sdk"], - target: "node22", - define: { "require.resolve": undefined }, - platform: "node", - concurrency: 10, - }, - "serverless-offline": { - httpPort: 4000, - lambdaPort: 4002, - }, - }, -}; - -export default serverlessConfiguration; diff --git a/services/api2/serverless.yml b/services/api2/serverless.yml new file mode 100644 index 0000000..6e5a5a3 --- /dev/null +++ b/services/api2/serverless.yml @@ -0,0 +1,38 @@ +service: api2 +frameworkVersion: "3.38.0" +plugins: + - serverless-esbuild + - serverless-offline + +provider: + name: aws + runtime: nodejs20.x + stage: dev + region: eu-central-1 + environment: + AWS_NODEJS_CONNECTION_REUSE_ENABLED: "1" + NODE_OPTIONS: "--enable-source-maps --stack-trace-limit=1000" + deploymentMethod: direct + architecture: arm64 + +functions: + - ${file(src/functions/index.yml)} + +package: + individually: true + +custom: + esbuild: + bundle: true + minify: false + sourcemap: true + exclude: + - aws-sdk + target: node20 + define: + require.resolve: undefined + platform: node + concurrency: 10 + serverless-offline: + httpPort: 4000 + lambdaPort: 4002 diff --git a/services/api2/src/functions/index.ts b/services/api2/src/functions/index.ts deleted file mode 100644 index 7756f24..0000000 --- a/services/api2/src/functions/index.ts +++ /dev/null @@ -1,25 +0,0 @@ -import type { AWS } from "@serverless/typescript"; - -import { bodySchema } from "./ciao/schema"; - -export const functions: AWS["functions"] = { - ciao: { - handler: "src/functions/ciao/handler.main", - description: "Lambda function to say ciao", - memorySize: 256, - events: [ - { - http: { - method: "post", - path: "ciao", - cors: true, - request: { - schemas: { - "application/json": bodySchema, - }, - }, - }, - }, - ], - }, -}; diff --git a/services/api2/src/functions/index.yml b/services/api2/src/functions/index.yml new file mode 100644 index 0000000..cd7ee41 --- /dev/null +++ b/services/api2/src/functions/index.yml @@ -0,0 +1,12 @@ +ciao: + handler: src/functions/ciao/handler.main + description: Lambda function to say ciao + memorySize: 256 + events: + - http: + method: post + path: ciao + cors: true + request: + schemas: + application/json: ${file(src/functions/ciao/schema.json)} From 7c40b1d13057a0b54ca39ee8bad118425a5c9c24 Mon Sep 17 00:00:00 2001 From: antoinewg Date: Tue, 18 Feb 2025 19:40:47 -0800 Subject: [PATCH 15/17] update ts configs --- services/api1/tsconfig.json | 2 +- services/api2/tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/api1/tsconfig.json b/services/api1/tsconfig.json index f2b9e5e..26e22ad 100644 --- a/services/api1/tsconfig.json +++ b/services/api1/tsconfig.json @@ -6,6 +6,6 @@ "@functions/*": ["src/functions/*"], } }, - "include": ["src/**/*.ts", "serverless.ts"], + "include": ["src/**/*.ts"], "exclude": ["node_modules"] } diff --git a/services/api2/tsconfig.json b/services/api2/tsconfig.json index f2b9e5e..26e22ad 100644 --- a/services/api2/tsconfig.json +++ b/services/api2/tsconfig.json @@ -6,6 +6,6 @@ "@functions/*": ["src/functions/*"], } }, - "include": ["src/**/*.ts", "serverless.ts"], + "include": ["src/**/*.ts"], "exclude": ["node_modules"] } From 4080eea445fb34e4975c7cb62339f7cef63f9f27 Mon Sep 17 00:00:00 2001 From: antoinewg Date: Tue, 18 Feb 2025 19:42:43 -0800 Subject: [PATCH 16/17] target node 22 - lts --- services/api1/serverless.yml | 2 +- services/api2/serverless.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/api1/serverless.yml b/services/api1/serverless.yml index 37a84a8..99afb4b 100644 --- a/services/api1/serverless.yml +++ b/services/api1/serverless.yml @@ -28,7 +28,7 @@ custom: sourcemap: true exclude: - aws-sdk - target: node20 + target: node22 define: require.resolve: undefined platform: node diff --git a/services/api2/serverless.yml b/services/api2/serverless.yml index 6e5a5a3..9216f7a 100644 --- a/services/api2/serverless.yml +++ b/services/api2/serverless.yml @@ -28,7 +28,7 @@ custom: sourcemap: true exclude: - aws-sdk - target: node20 + target: node22 define: require.resolve: undefined platform: node From cbd01041bb46843b80d346b40c0ab1c8001c7033 Mon Sep 17 00:00:00 2001 From: antoinewg Date: Tue, 18 Feb 2025 19:45:17 -0800 Subject: [PATCH 17/17] deps: remove @serverless/typescript --- package.json | 1 - pnpm-lock.yaml | 8 -------- 2 files changed, 9 deletions(-) diff --git a/package.json b/package.json index 2779372..8c0319c 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,6 @@ "package": "turbo run package" }, "devDependencies": { - "@serverless/typescript": "^3.38.0", "@types/aws-lambda": "^8.10.147", "@types/node": "^22.13.4", "@vitest/coverage-v8": "^3.0.6", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ab8a1b3..317887b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,9 +8,6 @@ importers: .: devDependencies: - '@serverless/typescript': - specifier: ^3.38.0 - version: 3.38.0 '@types/aws-lambda': specifier: ^8.10.147 version: 8.10.147 @@ -1289,9 +1286,6 @@ packages: resolution: {integrity: sha512-XltmO/029X76zi0LUFmhsnanhE2wnqH1xf+WBt5K8gumQA9LnrfwLgPxj+VA+mm6wQhy+PCp7H5SS0ZPu7F2Cw==} engines: {node: '>=10.0'} - '@serverless/typescript@3.38.0': - resolution: {integrity: sha512-2AZ7SwWNMOfe2sovoBf68FgiQlLH+RuS9MdSMAzXJ/Hx5d0tPZmmLxfUieF7gUGOExe/fhzCAW3akr6wTZuTpQ==} - '@serverless/utils@6.15.0': resolution: {integrity: sha512-7eDbqKv/OBd11jjdZjUwFGN8sHWkeUqLeHXHQxQ1azja2IM7WIH+z/aLgzR6LhB3/MINNwtjesDpjGqTMj2JKQ==} engines: {node: '>=12.0'} @@ -5913,8 +5907,6 @@ snapshots: - supports-color - utf-8-validate - '@serverless/typescript@3.38.0': {} - '@serverless/utils@6.15.0': dependencies: archive-type: 4.0.0