diff --git a/packages/cli/package.json b/packages/cli/package.json index 57948da8..4ff427a2 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -32,7 +32,7 @@ "devDependencies": { "@types/fs-extra": "11.0.4", "@types/jest": "29.5.14", - "@types/node": "20.17.2", + "@types/node": "22.8.4", "jest": "29.7.0", "ts-jest": "29.2.5" }, diff --git a/packages/create-flux/package.json b/packages/create-flux/package.json index aadd129e..415a3bda 100644 --- a/packages/create-flux/package.json +++ b/packages/create-flux/package.json @@ -23,7 +23,7 @@ "devDependencies": { "@types/fs-extra": "11.0.4", "@types/jest": "29.5.14", - "@types/node": "20.17.2", + "@types/node": "22.8.4", "jest": "29.7.0", "ts-jest": "29.2.5", "typescript": "5.6.3" @@ -34,7 +34,7 @@ "templates/" ], "engines": { - "node": "20.18.0" + "node": "22.11.0" }, "version": "0.0.1" } diff --git a/playground/child-process/package.json b/playground/child-process/package.json index 5f1f3724..4cabfeff 100644 --- a/playground/child-process/package.json +++ b/playground/child-process/package.json @@ -21,7 +21,7 @@ "tsconfig-paths": "4.2.0" }, "devDependencies": { - "@types/node": "20.17.2", + "@types/node": "22.8.4", "fastify-flux-cli": "3.2.0", "typescript": "5.6.3" } diff --git a/playground/integration-tests/package.json b/playground/integration-tests/package.json index 5fcf7e15..1f601e0e 100644 --- a/playground/integration-tests/package.json +++ b/playground/integration-tests/package.json @@ -23,7 +23,7 @@ }, "devDependencies": { "@types/jest": "29.5.14", - "@types/node": "20.17.2", + "@types/node": "22.8.4", "@typescript-eslint/eslint-plugin": "7.18.0", "@typescript-eslint/parser": "7.18.0", "axios": "1.7.7", diff --git a/playground/template-prisma/package.json b/playground/template-prisma/package.json index 0fcd8a14..cf2ff4d1 100644 --- a/playground/template-prisma/package.json +++ b/playground/template-prisma/package.json @@ -26,7 +26,7 @@ }, "devDependencies": { "@types/jest": "29.5.14", - "@types/node": "20.17.2", + "@types/node": "22.8.4", "@typescript-eslint/eslint-plugin": "7.18.0", "@typescript-eslint/parser": "7.18.0", "axios": "1.7.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8178eb07..afe3ebb4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,7 +10,7 @@ importers: devDependencies: '@commitlint/cli': specifier: 19.5.0 - version: 19.5.0(@types/node@20.17.2)(typescript@5.6.3) + version: 19.5.0(@types/node@22.8.4)(typescript@5.6.3) '@commitlint/config-conventional': specifier: 19.5.0 version: 19.5.0 @@ -70,11 +70,11 @@ importers: specifier: 29.5.14 version: 29.5.14 '@types/node': - specifier: 20.17.2 - version: 20.17.2 + specifier: 22.8.4 + version: 22.8.4 jest: specifier: 29.7.0 - version: 29.7.0(@types/node@20.17.2) + version: 29.7.0(@types/node@22.8.4) ts-jest: specifier: 29.2.5 version: 29.2.5(@babel/core@7.23.6)(esbuild@0.24.0)(jest@29.7.0)(typescript@5.6.3) @@ -108,7 +108,7 @@ importers: version: 4.28.1 jest: specifier: 29.7.0 - version: 29.7.0(@types/node@20.17.2) + version: 29.7.0(@types/node@22.8.4) ts-jest: specifier: 29.2.5 version: 29.2.5(@babel/core@7.23.6)(esbuild@0.24.0)(jest@29.7.0)(typescript@5.6.3) @@ -141,11 +141,11 @@ importers: specifier: 29.5.14 version: 29.5.14 '@types/node': - specifier: 20.17.2 - version: 20.17.2 + specifier: 22.8.4 + version: 22.8.4 jest: specifier: 29.7.0 - version: 29.7.0(@types/node@20.17.2) + version: 29.7.0(@types/node@22.8.4) ts-jest: specifier: 29.2.5 version: 29.2.5(@babel/core@7.23.6)(esbuild@0.24.0)(jest@29.7.0)(typescript@5.6.3) @@ -163,8 +163,8 @@ importers: version: 4.2.0 devDependencies: '@types/node': - specifier: 20.17.2 - version: 20.17.2 + specifier: 22.8.4 + version: 22.8.4 fastify-flux-cli: specifier: 3.2.0 version: 3.2.0(esbuild@0.23.0) @@ -194,8 +194,8 @@ importers: specifier: 29.5.14 version: 29.5.14 '@types/node': - specifier: 20.17.2 - version: 20.17.2 + specifier: 22.8.4 + version: 22.8.4 '@typescript-eslint/eslint-plugin': specifier: 7.18.0 version: 7.18.0(@typescript-eslint/parser@7.18.0)(eslint@9.13.0)(typescript@5.6.3) @@ -216,7 +216,7 @@ importers: version: link:../../packages/cli jest: specifier: 29.7.0 - version: 29.7.0(@types/node@20.17.2) + version: 29.7.0(@types/node@22.8.4) pino-pretty: specifier: 11.3.0 version: 11.3.0 @@ -255,8 +255,8 @@ importers: specifier: 29.5.14 version: 29.5.14 '@types/node': - specifier: 20.17.2 - version: 20.17.2 + specifier: 22.8.4 + version: 22.8.4 '@typescript-eslint/eslint-plugin': specifier: 7.18.0 version: 7.18.0(@typescript-eslint/parser@7.18.0)(eslint@9.13.0)(typescript@5.6.3) @@ -277,7 +277,7 @@ importers: version: link:../../packages/cli jest: specifier: 29.7.0 - version: 29.7.0(@types/node@20.17.2) + version: 29.7.0(@types/node@22.8.4) pino-pretty: specifier: 11.3.0 version: 11.3.0 @@ -653,14 +653,14 @@ packages: minimist: 1.2.8 dev: true - /@commitlint/cli@19.5.0(@types/node@20.17.2)(typescript@5.6.3): + /@commitlint/cli@19.5.0(@types/node@22.8.4)(typescript@5.6.3): resolution: {integrity: sha512-gaGqSliGwB86MDmAAKAtV9SV1SHdmN8pnGq4EJU4+hLisQ7IFfx4jvU4s+pk6tl0+9bv6yT+CaZkufOinkSJIQ==} engines: {node: '>=v18'} hasBin: true dependencies: '@commitlint/format': 19.5.0 '@commitlint/lint': 19.5.0 - '@commitlint/load': 19.5.0(@types/node@20.17.2)(typescript@5.6.3) + '@commitlint/load': 19.5.0(@types/node@22.8.4)(typescript@5.6.3) '@commitlint/read': 19.5.0 '@commitlint/types': 19.5.0 tinyexec: 0.3.0 @@ -729,7 +729,7 @@ packages: '@commitlint/types': 19.5.0 dev: true - /@commitlint/load@19.5.0(@types/node@20.17.2)(typescript@5.6.3): + /@commitlint/load@19.5.0(@types/node@22.8.4)(typescript@5.6.3): resolution: {integrity: sha512-INOUhkL/qaKqwcTUvCE8iIUf5XHsEPCLY9looJ/ipzi7jtGhgmtH7OOFiNvwYgH7mA8osUWOUDV8t4E2HAi4xA==} engines: {node: '>=v18'} dependencies: @@ -739,7 +739,7 @@ packages: '@commitlint/types': 19.5.0 chalk: 5.3.0 cosmiconfig: 9.0.0(typescript@5.6.3) - cosmiconfig-typescript-loader: 5.0.0(@types/node@20.17.2)(cosmiconfig@9.0.0)(typescript@5.6.3) + cosmiconfig-typescript-loader: 5.0.0(@types/node@22.8.4)(cosmiconfig@9.0.0)(typescript@5.6.3) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 @@ -1407,7 +1407,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.17.2 + '@types/node': 22.8.4 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -1428,14 +1428,14 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.17.2 + '@types/node': 22.8.4 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.17.2) + jest-config: 29.7.0(@types/node@22.8.4) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -1463,7 +1463,7 @@ packages: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.17.2 + '@types/node': 22.8.4 jest-mock: 29.7.0 dev: true @@ -1490,7 +1490,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.17.2 + '@types/node': 22.8.4 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -1523,7 +1523,7 @@ packages: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.20 - '@types/node': 20.17.2 + '@types/node': 22.8.4 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -1633,7 +1633,7 @@ packages: dependencies: '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 20.17.2 + '@types/node': 22.8.4 '@types/yargs': 15.0.19 chalk: 4.1.2 dev: true @@ -1645,7 +1645,7 @@ packages: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 20.17.2 + '@types/node': 22.8.4 '@types/yargs': 17.0.32 chalk: 4.1.2 dev: true @@ -1808,7 +1808,7 @@ packages: /@types/conventional-commits-parser@5.0.0: resolution: {integrity: sha512-loB369iXNmAZglwWATL+WRe+CRMmmBPtpolYzIebFaX4YA3x+BEfLqhUAV9WanycKI3TG1IMr5bMJDajDKLlUQ==} dependencies: - '@types/node': 20.17.2 + '@types/node': 22.8.4 dev: true /@types/estree@1.0.6: @@ -1819,13 +1819,13 @@ packages: resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==} dependencies: '@types/jsonfile': 6.1.4 - '@types/node': 20.17.2 + '@types/node': 22.8.4 dev: true /@types/graceful-fs@4.1.9: resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} dependencies: - '@types/node': 20.17.2 + '@types/node': 22.8.4 dev: true /@types/istanbul-lib-coverage@2.0.6: @@ -1858,7 +1858,7 @@ packages: /@types/jsonfile@6.1.4: resolution: {integrity: sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==} dependencies: - '@types/node': 20.17.2 + '@types/node': 22.8.4 dev: true /@types/lodash@4.17.12: @@ -1868,10 +1868,10 @@ packages: resolution: {integrity: sha512-8wTvZawATi/lsmNu10/j2hk1KEP0IvjubqPE3cu1Xz7xfXXt5oCq3SNUz4fMIP4XGF9Ky+Ue2tBA3hcS7LSBlA==} dev: true - /@types/node@20.17.2: - resolution: {integrity: sha512-OOHK4sjXqkL7yQ7VEEHcf6+0jSvKjWqwnaCtY7AKD/VLEvRHMsxxu7eI8ErnjxHS8VwmekD4PeVCpu4qZEZSxg==} + /@types/node@22.8.4: + resolution: {integrity: sha512-SpNNxkftTJOPk0oN+y2bIqurEXHTA2AOZ3EJDDKeJ5VzkvvORSvmQXGQarcOzWV1ac7DCaPBEdMDxBsM+d8jWw==} dependencies: - undici-types: 6.19.6 + undici-types: 6.19.8 dev: true /@types/stack-utils@2.0.3: @@ -2654,7 +2654,7 @@ packages: engines: {node: '>=0.10.0'} dev: true - /cosmiconfig-typescript-loader@5.0.0(@types/node@20.17.2)(cosmiconfig@9.0.0)(typescript@5.6.3): + /cosmiconfig-typescript-loader@5.0.0(@types/node@22.8.4)(cosmiconfig@9.0.0)(typescript@5.6.3): resolution: {integrity: sha512-+8cK7jRAReYkMwMiG+bxhcNKiHJDM6bR9FD/nGBXOWdMLuYawjF5cGrtLilJ+LGd3ZjCXnJjR5DkfWPoIVlqJA==} engines: {node: '>=v16'} peerDependencies: @@ -2662,7 +2662,7 @@ packages: cosmiconfig: '>=8.2' typescript: '>=4' dependencies: - '@types/node': 20.17.2 + '@types/node': 22.8.4 cosmiconfig: 9.0.0(typescript@5.6.3) jiti: 1.21.0 typescript: 5.6.3 @@ -2693,7 +2693,7 @@ packages: typescript: 5.6.3 dev: true - /create-jest@29.7.0(@types/node@20.17.2): + /create-jest@29.7.0(@types/node@22.8.4): resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -2702,7 +2702,7 @@ packages: chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.17.2) + jest-config: 29.7.0(@types/node@22.8.4) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -4006,7 +4006,7 @@ packages: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.17.2 + '@types/node': 22.8.4 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.1 @@ -4027,7 +4027,7 @@ packages: - supports-color dev: true - /jest-cli@29.7.0(@types/node@20.17.2): + /jest-cli@29.7.0(@types/node@22.8.4): resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -4041,10 +4041,10 @@ packages: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.17.2) + create-jest: 29.7.0(@types/node@22.8.4) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@20.17.2) + jest-config: 29.7.0(@types/node@22.8.4) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -4055,7 +4055,7 @@ packages: - ts-node dev: true - /jest-config@29.7.0(@types/node@20.17.2): + /jest-config@29.7.0(@types/node@22.8.4): resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -4070,7 +4070,7 @@ packages: '@babel/core': 7.23.6 '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.17.2 + '@types/node': 22.8.4 babel-jest: 29.7.0(@babel/core@7.23.6) chalk: 4.1.2 ci-info: 3.9.0 @@ -4130,7 +4130,7 @@ packages: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.17.2 + '@types/node': 22.8.4 jest-mock: 29.7.0 jest-util: 29.7.0 dev: true @@ -4146,7 +4146,7 @@ packages: dependencies: '@jest/types': 26.6.2 '@types/graceful-fs': 4.1.9 - '@types/node': 20.17.2 + '@types/node': 22.8.4 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -4169,7 +4169,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.9 - '@types/node': 20.17.2 + '@types/node': 22.8.4 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -4220,7 +4220,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.17.2 + '@types/node': 22.8.4 jest-util: 29.7.0 dev: true @@ -4280,7 +4280,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.17.2 + '@types/node': 22.8.4 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -4311,7 +4311,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.17.2 + '@types/node': 22.8.4 chalk: 4.1.2 cjs-module-lexer: 1.2.3 collect-v8-coverage: 1.0.2 @@ -4334,7 +4334,7 @@ packages: resolution: {integrity: sha512-S5wqyz0DXnNJPd/xfIzZ5Xnp1HrJWBczg8mMfMpN78OJ5eDxXyf+Ygld9wX1DnUWbIbhM1YDY95NjR4CBXkb2g==} engines: {node: '>= 10.14.2'} dependencies: - '@types/node': 20.17.2 + '@types/node': 22.8.4 graceful-fs: 4.2.11 dev: true @@ -4371,7 +4371,7 @@ packages: engines: {node: '>= 10.14.2'} dependencies: '@jest/types': 26.6.2 - '@types/node': 20.17.2 + '@types/node': 22.8.4 chalk: 4.1.2 graceful-fs: 4.2.11 is-ci: 2.0.0 @@ -4383,7 +4383,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.17.2 + '@types/node': 22.8.4 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -4408,7 +4408,7 @@ packages: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.17.2 + '@types/node': 22.8.4 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -4420,7 +4420,7 @@ packages: resolution: {integrity: sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 20.17.2 + '@types/node': 22.8.4 merge-stream: 2.0.0 supports-color: 7.2.0 dev: true @@ -4429,13 +4429,13 @@ packages: resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@types/node': 20.17.2 + '@types/node': 22.8.4 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true - /jest@29.7.0(@types/node@20.17.2): + /jest@29.7.0(@types/node@22.8.4): resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -4448,7 +4448,7 @@ packages: '@jest/core': 29.7.0 '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(@types/node@20.17.2) + jest-cli: 29.7.0(@types/node@22.8.4) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -5946,7 +5946,7 @@ packages: ejs: 3.1.10 esbuild: 0.24.0 fast-json-stable-stringify: 2.1.0 - jest: 29.7.0(@types/node@20.17.2) + jest: 29.7.0(@types/node@22.8.4) jest-util: 29.7.0 json5: 2.2.3 lodash.memoize: 4.1.2 @@ -6010,8 +6010,8 @@ packages: engines: {node: '>=14.17'} hasBin: true - /undici-types@6.19.6: - resolution: {integrity: sha512-e/vggGopEfTKSvj4ihnOLTsqhrKRN3LeO6qSN/GxohhuRv8qH9bNQ4B8W7e/vFL+0XTnmHPB4/kegunZGA4Org==} + /undici-types@6.19.8: + resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==} dev: true /unicode-emoji-modifier-base@1.0.0: