diff --git a/packages/cli/package.json b/packages/cli/package.json index 41bf18a2..189fd344 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.10", + "@types/node": "22.10.5", "jest": "29.7.0", "ts-jest": "29.2.5" }, diff --git a/packages/create-flux/package.json b/packages/create-flux/package.json index c7316e13..98a023ec 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.10", + "@types/node": "22.10.5", "jest": "29.7.0", "ts-jest": "29.2.5", "typescript": "5.7.2" @@ -34,7 +34,7 @@ "templates/" ], "engines": { - "node": "20.18.1" + "node": "22.12.0" }, "version": "0.0.1" } diff --git a/playground/child-process/package.json b/playground/child-process/package.json index 0e8aeb29..68c80c18 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.10", + "@types/node": "22.10.5", "fastify-flux-cli": "3.2.0", "typescript": "5.7.2" } diff --git a/playground/integration-tests/package.json b/playground/integration-tests/package.json index bb7d2a73..cf089fb6 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.10", + "@types/node": "22.10.5", "@typescript-eslint/eslint-plugin": "7.18.0", "@typescript-eslint/parser": "7.18.0", "axios": "1.7.9", diff --git a/playground/template-prisma/package.json b/playground/template-prisma/package.json index f73879ba..440aa446 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.10", + "@types/node": "22.10.5", "@typescript-eslint/eslint-plugin": "7.18.0", "@typescript-eslint/parser": "7.18.0", "axios": "1.7.9", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 403f9ba0..f5054090 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,7 +10,7 @@ importers: devDependencies: '@commitlint/cli': specifier: 19.6.1 - version: 19.6.1(@types/node@20.17.10)(typescript@5.7.2) + version: 19.6.1(@types/node@22.10.5)(typescript@5.7.2) '@commitlint/config-conventional': specifier: 19.6.0 version: 19.6.0 @@ -70,11 +70,11 @@ importers: specifier: 29.5.14 version: 29.5.14 '@types/node': - specifier: 20.17.10 - version: 20.17.10 + specifier: 22.10.5 + version: 22.10.5 jest: specifier: 29.7.0 - version: 29.7.0(@types/node@20.17.10) + version: 29.7.0(@types/node@22.10.5) ts-jest: specifier: 29.2.5 version: 29.2.5(@babel/core@7.23.6)(esbuild@0.24.2)(jest@29.7.0)(typescript@5.7.2) @@ -108,7 +108,7 @@ importers: version: 4.29.0 jest: specifier: 29.7.0 - version: 29.7.0(@types/node@20.17.10) + version: 29.7.0(@types/node@22.10.5) ts-jest: specifier: 29.2.5 version: 29.2.5(@babel/core@7.23.6)(esbuild@0.24.2)(jest@29.7.0)(typescript@5.7.2) @@ -141,11 +141,11 @@ importers: specifier: 29.5.14 version: 29.5.14 '@types/node': - specifier: 20.17.10 - version: 20.17.10 + specifier: 22.10.5 + version: 22.10.5 jest: specifier: 29.7.0 - version: 29.7.0(@types/node@20.17.10) + version: 29.7.0(@types/node@22.10.5) ts-jest: specifier: 29.2.5 version: 29.2.5(@babel/core@7.23.6)(esbuild@0.24.2)(jest@29.7.0)(typescript@5.7.2) @@ -163,8 +163,8 @@ importers: version: 4.2.0 devDependencies: '@types/node': - specifier: 20.17.10 - version: 20.17.10 + specifier: 22.10.5 + version: 22.10.5 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.10 - version: 20.17.10 + specifier: 22.10.5 + version: 22.10.5 '@typescript-eslint/eslint-plugin': specifier: 7.18.0 version: 7.18.0(@typescript-eslint/parser@7.18.0)(eslint@9.17.0)(typescript@5.7.2) @@ -216,7 +216,7 @@ importers: version: link:../../packages/cli jest: specifier: 29.7.0 - version: 29.7.0(@types/node@20.17.10) + version: 29.7.0(@types/node@22.10.5) 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.10 - version: 20.17.10 + specifier: 22.10.5 + version: 22.10.5 '@typescript-eslint/eslint-plugin': specifier: 7.18.0 version: 7.18.0(@typescript-eslint/parser@7.18.0)(eslint@9.17.0)(typescript@5.7.2) @@ -277,7 +277,7 @@ importers: version: link:../../packages/cli jest: specifier: 29.7.0 - version: 29.7.0(@types/node@20.17.10) + version: 29.7.0(@types/node@22.10.5) pino-pretty: specifier: 11.3.0 version: 11.3.0 @@ -653,14 +653,14 @@ packages: minimist: 1.2.8 dev: true - /@commitlint/cli@19.6.1(@types/node@20.17.10)(typescript@5.7.2): + /@commitlint/cli@19.6.1(@types/node@22.10.5)(typescript@5.7.2): resolution: {integrity: sha512-8hcyA6ZoHwWXC76BoC8qVOSr8xHy00LZhZpauiD0iO0VYbVhMnED0da85lTfIULxl7Lj4c6vZgF0Wu/ed1+jlQ==} engines: {node: '>=v18'} hasBin: true dependencies: '@commitlint/format': 19.5.0 '@commitlint/lint': 19.6.0 - '@commitlint/load': 19.6.1(@types/node@20.17.10)(typescript@5.7.2) + '@commitlint/load': 19.6.1(@types/node@22.10.5)(typescript@5.7.2) '@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.6.1(@types/node@20.17.10)(typescript@5.7.2): + /@commitlint/load@19.6.1(@types/node@22.10.5)(typescript@5.7.2): resolution: {integrity: sha512-kE4mRKWWNju2QpsCWt428XBvUH55OET2N4QKQ0bF85qS/XbsRGG1MiTByDNlEVpEPceMkDr46LNH95DtRwcsfA==} engines: {node: '>=v18'} dependencies: @@ -739,7 +739,7 @@ packages: '@commitlint/types': 19.5.0 chalk: 5.4.1 cosmiconfig: 9.0.0(typescript@5.7.2) - cosmiconfig-typescript-loader: 6.1.0(@types/node@20.17.10)(cosmiconfig@9.0.0)(typescript@5.7.2) + cosmiconfig-typescript-loader: 6.1.0(@types/node@22.10.5)(cosmiconfig@9.0.0)(typescript@5.7.2) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 @@ -1427,7 +1427,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.17.10 + '@types/node': 22.10.5 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -1448,14 +1448,14 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.17.10 + '@types/node': 22.10.5 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.10) + jest-config: 29.7.0(@types/node@22.10.5) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -1483,7 +1483,7 @@ packages: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.17.10 + '@types/node': 22.10.5 jest-mock: 29.7.0 dev: true @@ -1510,7 +1510,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.17.10 + '@types/node': 22.10.5 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -1543,7 +1543,7 @@ packages: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.20 - '@types/node': 20.17.10 + '@types/node': 22.10.5 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -1653,7 +1653,7 @@ packages: dependencies: '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 20.17.10 + '@types/node': 22.10.5 '@types/yargs': 15.0.19 chalk: 4.1.2 dev: true @@ -1665,7 +1665,7 @@ packages: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 20.17.10 + '@types/node': 22.10.5 '@types/yargs': 17.0.32 chalk: 4.1.2 dev: true @@ -1828,7 +1828,7 @@ packages: /@types/conventional-commits-parser@5.0.0: resolution: {integrity: sha512-loB369iXNmAZglwWATL+WRe+CRMmmBPtpolYzIebFaX4YA3x+BEfLqhUAV9WanycKI3TG1IMr5bMJDajDKLlUQ==} dependencies: - '@types/node': 20.17.10 + '@types/node': 22.10.5 dev: true /@types/estree@1.0.6: @@ -1839,13 +1839,13 @@ packages: resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==} dependencies: '@types/jsonfile': 6.1.4 - '@types/node': 20.17.10 + '@types/node': 22.10.5 dev: true /@types/graceful-fs@4.1.9: resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} dependencies: - '@types/node': 20.17.10 + '@types/node': 22.10.5 dev: true /@types/istanbul-lib-coverage@2.0.6: @@ -1878,7 +1878,7 @@ packages: /@types/jsonfile@6.1.4: resolution: {integrity: sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==} dependencies: - '@types/node': 20.17.10 + '@types/node': 22.10.5 dev: true /@types/lodash@4.17.13: @@ -1888,10 +1888,10 @@ packages: resolution: {integrity: sha512-8wTvZawATi/lsmNu10/j2hk1KEP0IvjubqPE3cu1Xz7xfXXt5oCq3SNUz4fMIP4XGF9Ky+Ue2tBA3hcS7LSBlA==} dev: true - /@types/node@20.17.10: - resolution: {integrity: sha512-/jrvh5h6NXhEauFFexRin69nA0uHJ5gwk4iDivp/DeoEua3uwCUto6PC86IpRITBOs4+6i2I56K5x5b6WYGXHA==} + /@types/node@22.10.5: + resolution: {integrity: sha512-F8Q+SeGimwOo86fiovQh8qiXfFEh2/ocYv7tU5pJ3EXMSSxk1Joj5wefpFK2fHTf/N6HKGSxIDBT9f3gCxXPkQ==} dependencies: - undici-types: 6.19.6 + undici-types: 6.20.0 dev: true /@types/stack-utils@2.0.3: @@ -2679,7 +2679,7 @@ packages: engines: {node: '>=0.10.0'} dev: true - /cosmiconfig-typescript-loader@6.1.0(@types/node@20.17.10)(cosmiconfig@9.0.0)(typescript@5.7.2): + /cosmiconfig-typescript-loader@6.1.0(@types/node@22.10.5)(cosmiconfig@9.0.0)(typescript@5.7.2): resolution: {integrity: sha512-tJ1w35ZRUiM5FeTzT7DtYWAFFv37ZLqSRkGi2oeCK1gPhvaWjkAtfXvLmvE1pRfxxp9aQo6ba/Pvg1dKj05D4g==} engines: {node: '>=v18'} peerDependencies: @@ -2687,7 +2687,7 @@ packages: cosmiconfig: '>=9' typescript: '>=5' dependencies: - '@types/node': 20.17.10 + '@types/node': 22.10.5 cosmiconfig: 9.0.0(typescript@5.7.2) jiti: 2.4.2 typescript: 5.7.2 @@ -2718,7 +2718,7 @@ packages: typescript: 5.7.2 dev: true - /create-jest@29.7.0(@types/node@20.17.10): + /create-jest@29.7.0(@types/node@22.10.5): resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -2727,7 +2727,7 @@ packages: chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.17.10) + jest-config: 29.7.0(@types/node@22.10.5) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -4040,7 +4040,7 @@ packages: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.17.10 + '@types/node': 22.10.5 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.1 @@ -4061,7 +4061,7 @@ packages: - supports-color dev: true - /jest-cli@29.7.0(@types/node@20.17.10): + /jest-cli@29.7.0(@types/node@22.10.5): resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -4075,10 +4075,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.10) + create-jest: 29.7.0(@types/node@22.10.5) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@20.17.10) + jest-config: 29.7.0(@types/node@22.10.5) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -4089,7 +4089,7 @@ packages: - ts-node dev: true - /jest-config@29.7.0(@types/node@20.17.10): + /jest-config@29.7.0(@types/node@22.10.5): resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -4104,7 +4104,7 @@ packages: '@babel/core': 7.23.6 '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.17.10 + '@types/node': 22.10.5 babel-jest: 29.7.0(@babel/core@7.23.6) chalk: 4.1.2 ci-info: 3.9.0 @@ -4164,7 +4164,7 @@ packages: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.17.10 + '@types/node': 22.10.5 jest-mock: 29.7.0 jest-util: 29.7.0 dev: true @@ -4180,7 +4180,7 @@ packages: dependencies: '@jest/types': 26.6.2 '@types/graceful-fs': 4.1.9 - '@types/node': 20.17.10 + '@types/node': 22.10.5 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -4203,7 +4203,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.9 - '@types/node': 20.17.10 + '@types/node': 22.10.5 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -4254,7 +4254,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.17.10 + '@types/node': 22.10.5 jest-util: 29.7.0 dev: true @@ -4314,7 +4314,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.17.10 + '@types/node': 22.10.5 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -4345,7 +4345,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.17.10 + '@types/node': 22.10.5 chalk: 4.1.2 cjs-module-lexer: 1.2.3 collect-v8-coverage: 1.0.2 @@ -4368,7 +4368,7 @@ packages: resolution: {integrity: sha512-S5wqyz0DXnNJPd/xfIzZ5Xnp1HrJWBczg8mMfMpN78OJ5eDxXyf+Ygld9wX1DnUWbIbhM1YDY95NjR4CBXkb2g==} engines: {node: '>= 10.14.2'} dependencies: - '@types/node': 20.17.10 + '@types/node': 22.10.5 graceful-fs: 4.2.11 dev: true @@ -4405,7 +4405,7 @@ packages: engines: {node: '>= 10.14.2'} dependencies: '@jest/types': 26.6.2 - '@types/node': 20.17.10 + '@types/node': 22.10.5 chalk: 4.1.2 graceful-fs: 4.2.11 is-ci: 2.0.0 @@ -4417,7 +4417,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.17.10 + '@types/node': 22.10.5 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -4442,7 +4442,7 @@ packages: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.17.10 + '@types/node': 22.10.5 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -4454,7 +4454,7 @@ packages: resolution: {integrity: sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 20.17.10 + '@types/node': 22.10.5 merge-stream: 2.0.0 supports-color: 7.2.0 dev: true @@ -4463,13 +4463,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.10 + '@types/node': 22.10.5 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.10): + /jest@29.7.0(@types/node@22.10.5): resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -4482,7 +4482,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.10) + jest-cli: 29.7.0(@types/node@22.10.5) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -5981,7 +5981,7 @@ packages: ejs: 3.1.10 esbuild: 0.24.2 fast-json-stable-stringify: 2.1.0 - jest: 29.7.0(@types/node@20.17.10) + jest: 29.7.0(@types/node@22.10.5) jest-util: 29.7.0 json5: 2.2.3 lodash.memoize: 4.1.2 @@ -6045,8 +6045,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.20.0: + resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==} dev: true /unicode-emoji-modifier-base@1.0.0: