diff --git a/package.json b/package.json index 5e8fea2..78e732f 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "dist" ], "engines": { - "node": ">=20.13.1" + "node": ">=22.11.0" }, "scripts": { "start": "NODE_ENV=dev tsx src/index.ts", @@ -50,7 +50,7 @@ "devDependencies": { "@antfu/eslint-config": "^3.7.3", "@namesmt/utils": "^0.5.6", - "@types/node": "^20.16.11", + "@types/node": "^22.9.0", "@vitest/coverage-v8": "^2.1.3", "consola": "^3.2.3", "eslint": "^9.12.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7efe5a8..c6ed7b9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,16 +13,16 @@ importers: devDependencies: '@antfu/eslint-config': specifier: ^3.7.3 - version: 3.7.3(@typescript-eslint/utils@8.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3))(@vue/compiler-sfc@3.5.12)(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3)(vitest@2.1.3(@types/node@20.16.11)) + version: 3.7.3(@typescript-eslint/utils@8.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3))(@vue/compiler-sfc@3.5.12)(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3)(vitest@2.1.3(@types/node@22.9.0)) '@namesmt/utils': specifier: ^0.5.6 version: 0.5.6 '@types/node': - specifier: ^20.16.11 - version: 20.16.11 + specifier: ^22.9.0 + version: 22.9.0 '@vitest/coverage-v8': specifier: ^2.1.3 - version: 2.1.3(vitest@2.1.3(@types/node@20.16.11)) + version: 2.1.3(vitest@2.1.3(@types/node@22.9.0)) consola: specifier: ^3.2.3 version: 3.2.3 @@ -49,7 +49,7 @@ importers: version: 2.0.0(typescript@5.6.3) vitest: specifier: ^2.1.3 - version: 2.1.3(@types/node@20.16.11) + version: 2.1.3(@types/node@22.9.0) playground: devDependencies: @@ -61,10 +61,10 @@ importers: version: link:.. vite: specifier: ^5.4.9 - version: 5.4.9(@types/node@20.16.11) + version: 5.4.9(@types/node@22.9.0) vite-plugin-inspect: specifier: ^0.8.7 - version: 0.8.7(rollup@4.24.0)(vite@5.4.9(@types/node@20.16.11)) + version: 0.8.7(rollup@4.24.0)(vite@5.4.9(@types/node@22.9.0)) packages: @@ -1067,8 +1067,8 @@ packages: '@types/ms@0.7.34': resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} - '@types/node@20.16.11': - resolution: {integrity: sha512-y+cTCACu92FyA5fgQSAI8A1H429g7aSK2HsO7K4XYUWc4dY5IUz55JSDIYT6/VsOLfGy8vmvQYC2hfb0iF16Uw==} + '@types/node@22.9.0': + resolution: {integrity: sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ==} '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -3264,7 +3264,7 @@ snapshots: '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 - '@antfu/eslint-config@3.7.3(@typescript-eslint/utils@8.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3))(@vue/compiler-sfc@3.5.12)(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3)(vitest@2.1.3(@types/node@20.16.11))': + '@antfu/eslint-config@3.7.3(@typescript-eslint/utils@8.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3))(@vue/compiler-sfc@3.5.12)(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3)(vitest@2.1.3(@types/node@22.9.0))': dependencies: '@antfu/install-pkg': 0.4.1 '@clack/prompts': 0.7.0 @@ -3273,7 +3273,7 @@ snapshots: '@stylistic/eslint-plugin': 2.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3) '@typescript-eslint/eslint-plugin': 8.9.0(@typescript-eslint/parser@8.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3))(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3) '@typescript-eslint/parser': 8.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3) - '@vitest/eslint-plugin': 1.1.7(@typescript-eslint/utils@8.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3))(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3)(vitest@2.1.3(@types/node@20.16.11)) + '@vitest/eslint-plugin': 1.1.7(@typescript-eslint/utils@8.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3))(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3)(vitest@2.1.3(@types/node@22.9.0)) eslint: 9.12.0(jiti@2.3.3) eslint-config-flat-gitignore: 0.3.0(eslint@9.12.0(jiti@2.3.3)) eslint-flat-config-utils: 0.4.0 @@ -3991,7 +3991,7 @@ snapshots: '@types/ms@0.7.34': {} - '@types/node@20.16.11': + '@types/node@22.9.0': dependencies: undici-types: 6.19.8 @@ -4082,7 +4082,7 @@ snapshots: '@typescript-eslint/types': 8.9.0 eslint-visitor-keys: 3.4.3 - '@vitest/coverage-v8@2.1.3(vitest@2.1.3(@types/node@20.16.11))': + '@vitest/coverage-v8@2.1.3(vitest@2.1.3(@types/node@22.9.0))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -4096,17 +4096,17 @@ snapshots: std-env: 3.7.0 test-exclude: 7.0.1 tinyrainbow: 1.2.0 - vitest: 2.1.3(@types/node@20.16.11) + vitest: 2.1.3(@types/node@22.9.0) transitivePeerDependencies: - supports-color - '@vitest/eslint-plugin@1.1.7(@typescript-eslint/utils@8.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3))(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3)(vitest@2.1.3(@types/node@20.16.11))': + '@vitest/eslint-plugin@1.1.7(@typescript-eslint/utils@8.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3))(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3)(vitest@2.1.3(@types/node@22.9.0))': dependencies: '@typescript-eslint/utils': 8.9.0(eslint@9.12.0(jiti@2.3.3))(typescript@5.6.3) eslint: 9.12.0(jiti@2.3.3) optionalDependencies: typescript: 5.6.3 - vitest: 2.1.3(@types/node@20.16.11) + vitest: 2.1.3(@types/node@22.9.0) '@vitest/expect@2.1.3': dependencies: @@ -4115,13 +4115,13 @@ snapshots: chai: 5.1.1 tinyrainbow: 1.2.0 - '@vitest/mocker@2.1.3(@vitest/spy@2.1.3)(vite@5.4.9(@types/node@20.16.11))': + '@vitest/mocker@2.1.3(@vitest/spy@2.1.3)(vite@5.4.9(@types/node@22.9.0))': dependencies: '@vitest/spy': 2.1.3 estree-walker: 3.0.3 magic-string: 0.30.12 optionalDependencies: - vite: 5.4.9(@types/node@20.16.11) + vite: 5.4.9(@types/node@22.9.0) '@vitest/pretty-format@2.1.3': dependencies: @@ -6390,12 +6390,12 @@ snapshots: spdx-correct: 3.2.0 spdx-expression-parse: 3.0.1 - vite-node@2.1.3(@types/node@20.16.11): + vite-node@2.1.3(@types/node@22.9.0): dependencies: cac: 6.7.14 debug: 4.3.7(supports-color@5.5.0) pathe: 1.1.2 - vite: 5.4.9(@types/node@20.16.11) + vite: 5.4.9(@types/node@22.9.0) transitivePeerDependencies: - '@types/node' - less @@ -6407,7 +6407,7 @@ snapshots: - supports-color - terser - vite-plugin-inspect@0.8.7(rollup@4.24.0)(vite@5.4.9(@types/node@20.16.11)): + vite-plugin-inspect@0.8.7(rollup@4.24.0)(vite@5.4.9(@types/node@22.9.0)): dependencies: '@antfu/utils': 0.7.10 '@rollup/pluginutils': 5.1.2(rollup@4.24.0) @@ -6418,24 +6418,24 @@ snapshots: perfect-debounce: 1.0.0 picocolors: 1.1.0 sirv: 2.0.4 - vite: 5.4.9(@types/node@20.16.11) + vite: 5.4.9(@types/node@22.9.0) transitivePeerDependencies: - rollup - supports-color - vite@5.4.9(@types/node@20.16.11): + vite@5.4.9(@types/node@22.9.0): dependencies: esbuild: 0.21.5 postcss: 8.4.47 rollup: 4.24.0 optionalDependencies: - '@types/node': 20.16.11 + '@types/node': 22.9.0 fsevents: 2.3.3 - vitest@2.1.3(@types/node@20.16.11): + vitest@2.1.3(@types/node@22.9.0): dependencies: '@vitest/expect': 2.1.3 - '@vitest/mocker': 2.1.3(@vitest/spy@2.1.3)(vite@5.4.9(@types/node@20.16.11)) + '@vitest/mocker': 2.1.3(@vitest/spy@2.1.3)(vite@5.4.9(@types/node@22.9.0)) '@vitest/pretty-format': 2.1.3 '@vitest/runner': 2.1.3 '@vitest/snapshot': 2.1.3 @@ -6450,11 +6450,11 @@ snapshots: tinyexec: 0.3.0 tinypool: 1.0.1 tinyrainbow: 1.2.0 - vite: 5.4.9(@types/node@20.16.11) - vite-node: 2.1.3(@types/node@20.16.11) + vite: 5.4.9(@types/node@22.9.0) + vite-node: 2.1.3(@types/node@22.9.0) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 20.16.11 + '@types/node': 22.9.0 transitivePeerDependencies: - less - lightningcss