diff --git a/.nvmrc b/.nvmrc index 2a393af5..7af24b7d 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20.18.0 +22.11.0 diff --git a/package.json b/package.json index b147583b..9ba05f2e 100644 --- a/package.json +++ b/package.json @@ -97,7 +97,7 @@ "@antfu/utils": "^0.7.10", "@solidjs/router": "^0.14.10", "@types/glob-to-regexp": "^0.4.4", - "@types/node": "^20.17.3", + "@types/node": "^22.8.5", "@vitest/ui": "^2.1.4", "@vue/compiler-sfc": "^3.5.12", "bumpp": "^9.8.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 67ecf7b5..03f96cc0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -49,8 +49,8 @@ importers: specifier: ^0.4.4 version: 0.4.4 '@types/node': - specifier: ^20.17.3 - version: 20.17.3 + specifier: ^22.8.5 + version: 22.8.5 '@vitest/ui': specifier: ^2.1.4 version: 2.1.4(vitest@2.1.4) @@ -86,10 +86,10 @@ importers: version: 5.6.3 vite: specifier: ^5.4.10 - version: 5.4.10(@types/node@20.17.3) + version: 5.4.10(@types/node@22.8.5) vitest: specifier: ^2.1.4 - version: 2.1.4(@types/node@20.17.3)(@vitest/ui@2.1.4) + version: 2.1.4(@types/node@22.8.5)(@vitest/ui@2.1.4) vue: specifier: ^3.5.12 version: 3.5.12(typescript@5.6.3) @@ -108,7 +108,7 @@ importers: devDependencies: '@vitejs/plugin-vue': specifier: ^5.1.4 - version: 5.1.4(vite@5.4.10(@types/node@20.17.3))(vue@3.5.12(typescript@5.6.3)) + version: 5.1.4(vite@5.4.10(@types/node@22.8.5))(vue@3.5.12(typescript@5.6.3)) '@vue/compiler-sfc': specifier: ^3.5.8 version: 3.5.12 @@ -120,13 +120,13 @@ importers: version: 5.6.3 vite: specifier: ^5.4.7 - version: 5.4.10(@types/node@20.17.3) + version: 5.4.10(@types/node@22.8.5) vite-plugin-pages: specifier: workspace:* version: link:../.. vite-plugin-vue-markdown: specifier: ^0.23.8 - version: 0.23.8(rollup@4.24.2)(vite@5.4.10(@types/node@20.17.3)) + version: 0.23.8(rollup@4.24.2)(vite@5.4.10(@types/node@22.8.5)) examples/react: dependencies: @@ -154,7 +154,7 @@ importers: version: 5.3.3 '@vitejs/plugin-react': specifier: ^4.3.1 - version: 4.3.3(vite@5.4.10(@types/node@20.17.3)) + version: 4.3.3(vite@5.4.10(@types/node@22.8.5)) nodemon: specifier: ^3.1.7 version: 3.1.7 @@ -163,7 +163,7 @@ importers: version: 5.6.3 vite: specifier: ^5.4.7 - version: 5.4.10(@types/node@20.17.3) + version: 5.4.10(@types/node@22.8.5) vite-plugin-pages: specifier: workspace:* version: link:../.. @@ -194,7 +194,7 @@ importers: version: 5.3.3 '@vitejs/plugin-react': specifier: ^4.3.1 - version: 4.3.3(vite@5.4.10(@types/node@20.17.3)) + version: 4.3.3(vite@5.4.10(@types/node@22.8.5)) nodemon: specifier: ^3.1.7 version: 3.1.7 @@ -203,7 +203,7 @@ importers: version: 5.6.3 vite: specifier: ^5.4.7 - version: 5.4.10(@types/node@20.17.3) + version: 5.4.10(@types/node@22.8.5) vite-plugin-pages: specifier: workspace:* version: link:../.. @@ -225,13 +225,13 @@ importers: version: 5.6.3 vite: specifier: ^5.4.7 - version: 5.4.10(@types/node@20.17.3) + version: 5.4.10(@types/node@22.8.5) vite-plugin-pages: specifier: workspace:* version: link:../.. vite-plugin-solid: specifier: ^2.10.2 - version: 2.10.2(solid-js@1.9.3)(vite@5.4.10(@types/node@20.17.3)) + version: 2.10.2(solid-js@1.9.3)(vite@5.4.10(@types/node@22.8.5)) examples/vue: dependencies: @@ -247,7 +247,7 @@ importers: devDependencies: '@vitejs/plugin-vue': specifier: ^5.1.4 - version: 5.1.4(vite@5.4.10(@types/node@20.17.3))(vue@3.5.12(typescript@5.6.3)) + version: 5.1.4(vite@5.4.10(@types/node@22.8.5))(vue@3.5.12(typescript@5.6.3)) '@vue/compiler-sfc': specifier: ^3.5.8 version: 3.5.12 @@ -259,16 +259,16 @@ importers: version: 5.6.3 vite: specifier: ^5.4.7 - version: 5.4.10(@types/node@20.17.3) + version: 5.4.10(@types/node@22.8.5) vite-plugin-inspect: specifier: ^0.8.7 - version: 0.8.7(rollup@4.24.2)(vite@5.4.10(@types/node@20.17.3)) + version: 0.8.7(rollup@4.24.2)(vite@5.4.10(@types/node@22.8.5)) vite-plugin-pages: specifier: workspace:* version: link:../.. vite-plugin-vue-markdown: specifier: ^0.23.8 - version: 0.23.8(rollup@4.24.2)(vite@5.4.10(@types/node@20.17.3)) + version: 0.23.8(rollup@4.24.2)(vite@5.4.10(@types/node@22.8.5)) examples/vue-ssr: dependencies: @@ -1224,6 +1224,9 @@ packages: '@types/node@20.17.3': resolution: {integrity: sha512-tSQrmKKatLDGnG92h40GD7FzUt0MjahaHwOME4VAFeeA/Xopayq5qLyQRy7Jg/pjgKIFBXuKcGhJo+UdYG55jQ==} + '@types/node@22.8.5': + resolution: {integrity: sha512-5iYk6AMPtsMbkZqCO1UGF9W5L38twq11S2pYWkybGHH2ogPUvXWNlQqJBzuEZWKj/WRH+QTeiv6ySWqJtvIEgA==} + '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -4274,7 +4277,7 @@ snapshots: '@types/body-parser@1.19.5': dependencies: '@types/connect': 3.4.38 - '@types/node': 20.17.3 + '@types/node': 22.8.5 '@types/compression@1.7.5': dependencies: @@ -4282,7 +4285,7 @@ snapshots: '@types/connect@3.4.38': dependencies: - '@types/node': 20.17.3 + '@types/node': 22.8.5 '@types/debug@4.1.12': dependencies: @@ -4292,7 +4295,7 @@ snapshots: '@types/express-serve-static-core@4.19.6': dependencies: - '@types/node': 20.17.3 + '@types/node': 22.8.5 '@types/qs': 6.9.16 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 @@ -4333,6 +4336,10 @@ snapshots: dependencies: undici-types: 6.19.8 + '@types/node@22.8.5': + dependencies: + undici-types: 6.19.8 + '@types/normalize-package-data@2.4.4': {} '@types/prop-types@15.7.13': {} @@ -4370,12 +4377,12 @@ snapshots: '@types/send@0.17.4': dependencies: '@types/mime': 1.3.5 - '@types/node': 20.17.3 + '@types/node': 22.8.5 '@types/serve-static@1.15.7': dependencies: '@types/http-errors': 2.0.4 - '@types/node': 20.17.3 + '@types/node': 22.8.5 '@types/send': 0.17.4 '@types/unist@3.0.3': {} @@ -4461,14 +4468,14 @@ snapshots: '@typescript-eslint/types': 8.11.0 eslint-visitor-keys: 3.4.3 - '@vitejs/plugin-react@4.3.3(vite@5.4.10(@types/node@20.17.3))': + '@vitejs/plugin-react@4.3.3(vite@5.4.10(@types/node@22.8.5))': dependencies: '@babel/core': 7.26.0 '@babel/plugin-transform-react-jsx-self': 7.25.9(@babel/core@7.26.0) '@babel/plugin-transform-react-jsx-source': 7.25.9(@babel/core@7.26.0) '@types/babel__core': 7.20.5 react-refresh: 0.14.2 - vite: 5.4.10(@types/node@20.17.3) + vite: 5.4.10(@types/node@22.8.5) transitivePeerDependencies: - supports-color @@ -4477,13 +4484,18 @@ snapshots: vite: 5.4.10(@types/node@20.17.3) vue: 3.5.12(typescript@5.6.3) + '@vitejs/plugin-vue@5.1.4(vite@5.4.10(@types/node@22.8.5))(vue@3.5.12(typescript@5.6.3))': + dependencies: + vite: 5.4.10(@types/node@22.8.5) + vue: 3.5.12(typescript@5.6.3) + '@vitest/eslint-plugin@1.1.7(@typescript-eslint/utils@8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3))(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3)(vitest@2.1.4)': dependencies: '@typescript-eslint/utils': 8.11.0(eslint@9.13.0(jiti@1.21.6))(typescript@5.6.3) eslint: 9.13.0(jiti@1.21.6) optionalDependencies: typescript: 5.6.3 - vitest: 2.1.4(@types/node@20.17.3)(@vitest/ui@2.1.4) + vitest: 2.1.4(@types/node@22.8.5)(@vitest/ui@2.1.4) '@vitest/expect@2.1.4': dependencies: @@ -4492,13 +4504,13 @@ snapshots: chai: 5.1.2 tinyrainbow: 1.2.0 - '@vitest/mocker@2.1.4(vite@5.4.10(@types/node@20.17.3))': + '@vitest/mocker@2.1.4(vite@5.4.10(@types/node@22.8.5))': dependencies: '@vitest/spy': 2.1.4 estree-walker: 3.0.3 magic-string: 0.30.12 optionalDependencies: - vite: 5.4.10(@types/node@20.17.3) + vite: 5.4.10(@types/node@22.8.5) '@vitest/pretty-format@2.1.4': dependencies: @@ -4528,7 +4540,7 @@ snapshots: sirv: 3.0.0 tinyglobby: 0.2.10 tinyrainbow: 1.2.0 - vitest: 2.1.4(@types/node@20.17.3)(@vitest/ui@2.1.4) + vitest: 2.1.4(@types/node@22.8.5)(@vitest/ui@2.1.4) '@vitest/utils@2.1.4': dependencies: @@ -6873,12 +6885,12 @@ snapshots: vary@1.1.2: {} - vite-node@2.1.4(@types/node@20.17.3): + vite-node@2.1.4(@types/node@22.8.5): dependencies: cac: 6.7.14 debug: 4.3.7(supports-color@5.5.0) pathe: 1.1.2 - vite: 5.4.10(@types/node@20.17.3) + vite: 5.4.10(@types/node@22.8.5) transitivePeerDependencies: - '@types/node' - less @@ -6890,7 +6902,7 @@ snapshots: - supports-color - terser - vite-plugin-inspect@0.8.7(rollup@4.24.2)(vite@5.4.10(@types/node@20.17.3)): + vite-plugin-inspect@0.8.7(rollup@4.24.2)(vite@5.4.10(@types/node@22.8.5)): dependencies: '@antfu/utils': 0.7.10 '@rollup/pluginutils': 5.1.3(rollup@4.24.2) @@ -6901,12 +6913,12 @@ snapshots: perfect-debounce: 1.0.0 picocolors: 1.1.1 sirv: 2.0.4 - vite: 5.4.10(@types/node@20.17.3) + vite: 5.4.10(@types/node@22.8.5) transitivePeerDependencies: - rollup - supports-color - vite-plugin-solid@2.10.2(solid-js@1.9.3)(vite@5.4.10(@types/node@20.17.3)): + vite-plugin-solid@2.10.2(solid-js@1.9.3)(vite@5.4.10(@types/node@22.8.5)): dependencies: '@babel/core': 7.26.0 '@types/babel__core': 7.20.5 @@ -6914,12 +6926,12 @@ snapshots: merge-anything: 5.1.7 solid-js: 1.9.3 solid-refresh: 0.6.3(solid-js@1.9.3) - vite: 5.4.10(@types/node@20.17.3) - vitefu: 0.2.5(vite@5.4.10(@types/node@20.17.3)) + vite: 5.4.10(@types/node@22.8.5) + vitefu: 0.2.5(vite@5.4.10(@types/node@22.8.5)) transitivePeerDependencies: - supports-color - vite-plugin-vue-markdown@0.23.8(rollup@4.24.2)(vite@5.4.10(@types/node@20.17.3)): + vite-plugin-vue-markdown@0.23.8(rollup@4.24.2)(vite@5.4.10(@types/node@22.8.5)): dependencies: '@antfu/utils': 0.7.10 '@mdit-vue/plugin-component': 0.12.1 @@ -6928,7 +6940,7 @@ snapshots: '@rollup/pluginutils': 5.1.3(rollup@4.24.2) '@types/markdown-it': 13.0.9 markdown-it: 13.0.2 - vite: 5.4.10(@types/node@20.17.3) + vite: 5.4.10(@types/node@22.8.5) transitivePeerDependencies: - rollup @@ -6941,14 +6953,23 @@ snapshots: '@types/node': 20.17.3 fsevents: 2.3.3 - vitefu@0.2.5(vite@5.4.10(@types/node@20.17.3)): + vite@5.4.10(@types/node@22.8.5): + dependencies: + esbuild: 0.21.5 + postcss: 8.4.47 + rollup: 4.24.2 + optionalDependencies: + '@types/node': 22.8.5 + fsevents: 2.3.3 + + vitefu@0.2.5(vite@5.4.10(@types/node@22.8.5)): optionalDependencies: - vite: 5.4.10(@types/node@20.17.3) + vite: 5.4.10(@types/node@22.8.5) - vitest@2.1.4(@types/node@20.17.3)(@vitest/ui@2.1.4): + vitest@2.1.4(@types/node@22.8.5)(@vitest/ui@2.1.4): dependencies: '@vitest/expect': 2.1.4 - '@vitest/mocker': 2.1.4(vite@5.4.10(@types/node@20.17.3)) + '@vitest/mocker': 2.1.4(vite@5.4.10(@types/node@22.8.5)) '@vitest/pretty-format': 2.1.4 '@vitest/runner': 2.1.4 '@vitest/snapshot': 2.1.4 @@ -6964,11 +6985,11 @@ snapshots: tinyexec: 0.3.1 tinypool: 1.0.1 tinyrainbow: 1.2.0 - vite: 5.4.10(@types/node@20.17.3) - vite-node: 2.1.4(@types/node@20.17.3) + vite: 5.4.10(@types/node@22.8.5) + vite-node: 2.1.4(@types/node@22.8.5) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 20.17.3 + '@types/node': 22.8.5 '@vitest/ui': 2.1.4(vitest@2.1.4) transitivePeerDependencies: - less