diff --git a/package.json b/package.json index 9ba998a..c747408 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "nuxt": "^4.5.0", "sass": "^1.102.0", "vue": "^3.5.40", - "vue-router": "^4.6.4" + "vue-router": "^5.2.0" }, "devDependencies": { "husky": "^9.1.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c6ddcf1..356d048 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,8 +18,8 @@ importers: specifier: ^3.5.40 version: 3.5.40(typescript@6.0.3) vue-router: - specifier: ^4.6.4 - version: 4.6.4(vue@3.5.40(typescript@6.0.3)) + specifier: ^5.2.0 + version: 5.2.0(@vue/compiler-sfc@3.5.40)(esbuild@0.28.0)(rolldown@1.2.0)(rollup@4.60.2)(vite@7.3.3(jiti@2.7.0)(lightningcss@1.33.0)(sass@1.102.0)(terser@5.31.0)(yaml@2.9.0))(vue@3.5.40(typescript@6.0.3)) devDependencies: husky: specifier: ^9.1.7 @@ -52,10 +52,6 @@ packages: resolution: {integrity: sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA==} engines: {node: '>=6.9.0'} - '@babel/generator@7.29.1': - resolution: {integrity: sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw==} - engines: {node: '>=6.9.0'} - '@babel/generator@7.29.7': resolution: {integrity: sha512-DkXD5OJQaAQIdZ1bt3UZdEnHAn9Imd3IVBdX03UFe+ony9Ojw5pzr9YVKGDY1jt+Gcn/FnGkNf8r+Vj5NOJWtQ==} engines: {node: '>=6.9.0'} @@ -1540,9 +1536,6 @@ packages: '@vue/compiler-ssr@3.5.40': resolution: {integrity: sha512-rrE5xiXG663+vHCHa3J9p2z5OcBRjXmoqenprJxAFQxg5pSshzeBiCE6pu46axapRJ2Adk0YDA2BRZVjiHXnhg==} - '@vue/devtools-api@6.6.4': - resolution: {integrity: sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==} - '@vue/devtools-api@8.1.5': resolution: {integrity: sha512-YJipMVAKe5wT5CWf5kTYCaNV7NMNjFVxJkIkJaJ4W/nCxEBzlZzrOsYKeCymdCrFZmBS/+wTWFoUs3Jf/Q6XSQ==} @@ -3780,11 +3773,6 @@ packages: vue-devtools-stub@0.1.0: resolution: {integrity: sha512-RutnB7X8c5hjq39NceArgXg28WZtZpGc3+J16ljMiYnFhKvd8hITxSWQSQ5bvldxMDU6gG5mkxl1MTQLXckVSQ==} - vue-router@4.6.4: - resolution: {integrity: sha512-Hz9q5sa33Yhduglwz6g9skT8OBPii+4bFn88w6J+J4MfEo4KRRpmiNG/hHHkdbRFlLBOqxN8y8gf2Fb0MTUgVg==} - peerDependencies: - vue: ^3.5.0 - vue-router@5.2.0: resolution: {integrity: sha512-QAC5i0LEb1GLG0LXDQmHu8L7FX12j0KwU/JTKmLQUJMrn04gQdKP6Du+p0QwpHb3iy71vBlqnHQ8WAfOSAWhqw==} peerDependencies: @@ -3935,7 +3923,7 @@ snapshots: '@babel/core@7.29.0(supports-color@10.0.0)': dependencies: '@babel/code-frame': 7.29.0 - '@babel/generator': 7.29.1 + '@babel/generator': 7.29.7 '@babel/helper-compilation-targets': 7.28.6 '@babel/helper-module-transforms': 7.28.6(@babel/core@7.29.0(supports-color@10.0.0))(supports-color@10.0.0) '@babel/helpers': 7.28.6 @@ -3952,14 +3940,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/generator@7.29.1': - dependencies: - '@babel/parser': 7.29.7 - '@babel/types': 7.29.7 - '@jridgewell/gen-mapping': 0.3.12 - '@jridgewell/trace-mapping': 0.3.31 - jsesc: 3.0.2 - '@babel/generator@7.29.7': dependencies: '@babel/parser': 7.29.7 @@ -4079,7 +4059,7 @@ snapshots: '@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.29.0(supports-color@10.0.0))': dependencies: '@babel/core': 7.29.0(supports-color@10.0.0) - '@babel/helper-plugin-utils': 7.28.6 + '@babel/helper-plugin-utils': 7.29.7 '@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.0(supports-color@10.0.0))': dependencies: @@ -4112,7 +4092,7 @@ snapshots: '@babel/traverse@7.29.0(supports-color@10.0.0)': dependencies: '@babel/code-frame': 7.29.0 - '@babel/generator': 7.29.1 + '@babel/generator': 7.29.7 '@babel/helper-globals': 7.28.0 '@babel/parser': 7.29.7 '@babel/template': 7.28.6 @@ -4918,7 +4898,7 @@ snapshots: '@parcel/watcher-wasm@2.5.6': dependencies: is-glob: 4.0.3 - picomatch: 4.0.4 + picomatch: 4.0.5 '@parcel/watcher-win32-arm64@2.5.6': optional: true @@ -4934,7 +4914,7 @@ snapshots: detect-libc: 2.0.3 is-glob: 4.0.3 node-addon-api: 7.1.0 - picomatch: 4.0.4 + picomatch: 4.0.5 optionalDependencies: '@parcel/watcher-android-arm64': 2.5.6 '@parcel/watcher-darwin-arm64': 2.5.6 @@ -5076,10 +5056,10 @@ snapshots: '@rollup/pluginutils': 5.1.4(rollup@4.60.2) commondir: 1.0.1 estree-walker: 2.0.2 - fdir: 6.5.0(picomatch@4.0.4) + fdir: 6.5.0(picomatch@4.0.5) is-reference: 1.2.1 magic-string: 0.30.21 - picomatch: 4.0.4 + picomatch: 4.0.5 optionalDependencies: rollup: 4.60.2 @@ -5126,7 +5106,7 @@ snapshots: dependencies: '@types/estree': 1.0.8 estree-walker: 2.0.2 - picomatch: 4.0.4 + picomatch: 4.0.5 optionalDependencies: rollup: 4.60.2 @@ -5233,7 +5213,7 @@ snapshots: '@vitejs/devtools-kit': 0.4.5(srvx@0.11.22)(typescript@6.0.3)(vite@7.3.3(jiti@2.7.0)(lightningcss@1.33.0)(sass@1.102.0)(terser@5.31.0)(yaml@2.9.0)) magic-string: 1.1.0 oxc-parser: 0.140.0 - oxc-walker: 1.0.0(oxc-parser@0.140.0)(rolldown@1.2.0) + oxc-walker: 1.0.0(esbuild@0.28.0)(oxc-parser@0.140.0)(rolldown@1.2.0)(rollup@4.60.2)(vite@7.3.3(jiti@2.7.0)(lightningcss@1.33.0)(sass@1.102.0)(terser@5.31.0)(yaml@2.9.0)) ufo: 1.6.4 unhead: 3.2.3(esbuild@0.28.0)(rolldown@1.2.0)(rollup@4.60.2)(vite@7.3.3(jiti@2.7.0)(lightningcss@1.33.0)(sass@1.102.0)(terser@5.31.0)(yaml@2.9.0)) unplugin: 3.3.0(esbuild@0.28.0)(rolldown@1.2.0)(rollup@4.60.2)(vite@7.3.3(jiti@2.7.0)(lightningcss@1.33.0)(sass@1.102.0)(terser@5.31.0)(yaml@2.9.0)) @@ -5293,7 +5273,7 @@ snapshots: glob: 13.0.0 graceful-fs: 4.2.11 node-gyp-build: 4.8.1 - picomatch: 4.0.4 + picomatch: 4.0.5 resolve-from: 5.0.0 transitivePeerDependencies: - encoding @@ -5348,14 +5328,24 @@ snapshots: '@vue-macros/common@3.1.4(vue@3.5.39(typescript@6.0.3))': dependencies: - '@vue/compiler-sfc': 3.5.39 + '@vue/compiler-sfc': 3.5.40 ast-kit: 2.2.0 - local-pkg: 1.1.2 + local-pkg: 1.2.1 magic-string-ast: 1.0.3 - unplugin-utils: 0.3.1 + unplugin-utils: 0.3.2 optionalDependencies: vue: 3.5.39(typescript@6.0.3) + '@vue-macros/common@3.1.4(vue@3.5.40(typescript@6.0.3))': + dependencies: + '@vue/compiler-sfc': 3.5.40 + ast-kit: 2.2.0 + local-pkg: 1.2.1 + magic-string-ast: 1.0.3 + unplugin-utils: 0.3.2 + optionalDependencies: + vue: 3.5.40(typescript@6.0.3) + '@vue/babel-helper-vue-transform-on@2.0.1': {} '@vue/babel-plugin-jsx@2.0.1(@babel/core@7.29.0(supports-color@10.0.0))(supports-color@10.0.0)': @@ -5381,7 +5371,7 @@ snapshots: '@babel/helper-module-imports': 7.28.6(supports-color@10.0.0) '@babel/helper-plugin-utils': 7.28.6 '@babel/parser': 7.29.7 - '@vue/compiler-sfc': 3.5.39 + '@vue/compiler-sfc': 3.5.40 transitivePeerDependencies: - supports-color @@ -5445,15 +5435,13 @@ snapshots: '@vue/compiler-dom': 3.5.40 '@vue/shared': 3.5.40 - '@vue/devtools-api@6.6.4': {} - '@vue/devtools-api@8.1.5': dependencies: '@vue/devtools-kit': 8.1.5 '@vue/devtools-core@8.1.1(vue@3.5.39(typescript@6.0.3))': dependencies: - '@vue/devtools-kit': 8.1.2 + '@vue/devtools-kit': 8.1.5 '@vue/devtools-shared': 8.1.2 vue: 3.5.39(typescript@6.0.3) @@ -6073,6 +6061,10 @@ snapshots: optionalDependencies: picomatch: 4.0.4 + fdir@6.5.0(picomatch@4.0.5): + optionalDependencies: + picomatch: 4.0.5 + file-uri-to-path@1.0.0: {} fill-range@7.1.1: @@ -6419,12 +6411,22 @@ snapshots: dependencies: yallist: 3.1.1 - magic-regexp@0.11.0: + magic-regexp@0.11.0(esbuild@0.28.0)(rolldown@1.2.0)(rollup@4.60.2)(vite@7.3.3(jiti@2.7.0)(lightningcss@1.33.0)(sass@1.102.0)(terser@5.31.0)(yaml@2.9.0)): dependencies: magic-string: 0.30.21 regexp-tree: 0.1.27 type-level-regexp: 0.1.17 - unplugin: 3.0.0 + unplugin: 3.3.0(esbuild@0.28.0)(rolldown@1.2.0)(rollup@4.60.2)(vite@7.3.3(jiti@2.7.0)(lightningcss@1.33.0)(sass@1.102.0)(terser@5.31.0)(yaml@2.9.0)) + transitivePeerDependencies: + - '@farmfe/core' + - '@rspack/core' + - bun-types-no-globals + - esbuild + - rolldown + - rollup + - unloader + - vite + - webpack magic-string-ast@1.0.3: dependencies: @@ -6577,7 +6579,7 @@ snapshots: unctx: 2.5.0 unenv: 2.0.0-rc.24 unimport: 6.3.0(oxc-parser@0.140.0)(rolldown@1.2.0) - unplugin-utils: 0.3.1 + unplugin-utils: 0.3.2 unstorage: 1.17.5(db0@0.3.4)(ioredis@5.10.1(supports-color@10.0.0)) untyped: 2.0.0 unwasm: 0.5.3 @@ -6688,7 +6690,7 @@ snapshots: ofetch: 1.5.1 ohash: 2.0.11 on-change: 6.0.2 - oxc-walker: 1.0.0(oxc-parser@0.140.0)(rolldown@1.2.0) + oxc-walker: 1.0.0(esbuild@0.28.0)(oxc-parser@0.140.0)(rolldown@1.2.0)(rollup@4.60.2)(vite@7.3.3(jiti@2.7.0)(lightningcss@1.33.0)(sass@1.102.0)(terser@5.31.0)(yaml@2.9.0)) pathe: 2.0.3 perfect-debounce: 2.1.0 picomatch: 4.0.5 @@ -6864,12 +6866,21 @@ snapshots: '@oxc-parser/binding-win32-ia32-msvc': 0.140.0 '@oxc-parser/binding-win32-x64-msvc': 0.140.0 - oxc-walker@1.0.0(oxc-parser@0.140.0)(rolldown@1.2.0): + oxc-walker@1.0.0(esbuild@0.28.0)(oxc-parser@0.140.0)(rolldown@1.2.0)(rollup@4.60.2)(vite@7.3.3(jiti@2.7.0)(lightningcss@1.33.0)(sass@1.102.0)(terser@5.31.0)(yaml@2.9.0)): dependencies: - magic-regexp: 0.11.0 + magic-regexp: 0.11.0(esbuild@0.28.0)(rolldown@1.2.0)(rollup@4.60.2)(vite@7.3.3(jiti@2.7.0)(lightningcss@1.33.0)(sass@1.102.0)(terser@5.31.0)(yaml@2.9.0)) optionalDependencies: oxc-parser: 0.140.0 rolldown: 1.2.0 + transitivePeerDependencies: + - '@farmfe/core' + - '@rspack/core' + - bun-types-no-globals + - esbuild + - rollup + - unloader + - vite + - webpack package-json-from-dist@1.0.1: {} @@ -7224,7 +7235,7 @@ snapshots: rollup-plugin-visualizer@7.0.1(rolldown@1.2.0)(rollup@4.60.2): dependencies: open: 11.0.0 - picomatch: 4.0.4 + picomatch: 4.0.5 source-map: 0.7.6 yargs: 18.0.0 optionalDependencies: @@ -7586,24 +7597,24 @@ snapshots: unplugin-utils@0.3.1: dependencies: pathe: 2.0.3 - picomatch: 4.0.4 + picomatch: 4.0.5 unplugin-utils@0.3.2: dependencies: pathe: 2.0.3 - picomatch: 4.0.4 + picomatch: 4.0.5 unplugin@2.3.11: dependencies: '@jridgewell/remapping': 2.3.5 acorn: 8.16.0 - picomatch: 4.0.4 + picomatch: 4.0.5 webpack-virtual-modules: 0.6.2 unplugin@3.0.0: dependencies: '@jridgewell/remapping': 2.3.5 - picomatch: 4.0.4 + picomatch: 4.0.5 webpack-virtual-modules: 0.6.2 unplugin@3.3.0(esbuild@0.28.0)(rolldown@1.2.0)(rollup@4.60.2)(vite@7.3.3(jiti@2.7.0)(lightningcss@1.33.0)(sass@1.102.0)(terser@5.31.0)(yaml@2.9.0)): @@ -7716,7 +7727,7 @@ snapshots: chokidar: 5.0.0 npm-run-path: 6.0.0 picocolors: 1.1.1 - picomatch: 4.0.4 + picomatch: 4.0.5 proper-lockfile: 4.1.2 tiny-invariant: 1.3.3 vite: 8.1.5(esbuild@0.28.0)(jiti@2.7.0)(sass@1.102.0)(terser@5.31.0)(yaml@2.9.0) @@ -7733,7 +7744,7 @@ snapshots: open: 10.2.0 perfect-debounce: 2.1.0 sirv: 3.0.2 - unplugin-utils: 0.3.1 + unplugin-utils: 0.3.2 vite: 7.3.3(jiti@2.7.0)(lightningcss@1.33.0)(sass@1.102.0)(terser@5.31.0)(yaml@2.9.0) vite-dev-rpc: 1.1.0(vite@7.3.3(jiti@2.7.0)(lightningcss@1.33.0)(sass@1.102.0)(terser@5.31.0)(yaml@2.9.0)) optionalDependencies: @@ -7754,9 +7765,9 @@ snapshots: vite@7.3.3(jiti@2.7.0)(lightningcss@1.33.0)(sass@1.102.0)(terser@5.31.0)(yaml@2.9.0): dependencies: esbuild: 0.27.3 - fdir: 6.5.0(picomatch@4.0.4) - picomatch: 4.0.4 - postcss: 8.5.15 + fdir: 6.5.0(picomatch@4.0.5) + picomatch: 4.0.5 + postcss: 8.5.22 rollup: 4.60.2 tinyglobby: 0.2.17 optionalDependencies: @@ -7790,11 +7801,6 @@ snapshots: vue-devtools-stub@0.1.0: {} - vue-router@4.6.4(vue@3.5.40(typescript@6.0.3)): - dependencies: - '@vue/devtools-api': 6.6.4 - vue: 3.5.40(typescript@6.0.3) - vue-router@5.2.0(@vue/compiler-sfc@3.5.40)(esbuild@0.28.0)(rolldown@1.2.0)(rollup@4.60.2)(vite@7.3.3(jiti@2.7.0)(lightningcss@1.33.0)(sass@1.102.0)(terser@5.31.0)(yaml@2.9.0))(vue@3.5.39(typescript@6.0.3)): dependencies: '@babel/generator': 8.0.0 @@ -7829,6 +7835,40 @@ snapshots: - unloader - webpack + vue-router@5.2.0(@vue/compiler-sfc@3.5.40)(esbuild@0.28.0)(rolldown@1.2.0)(rollup@4.60.2)(vite@7.3.3(jiti@2.7.0)(lightningcss@1.33.0)(sass@1.102.0)(terser@5.31.0)(yaml@2.9.0))(vue@3.5.40(typescript@6.0.3)): + dependencies: + '@babel/generator': 8.0.0 + '@vue-macros/common': 3.1.4(vue@3.5.40(typescript@6.0.3)) + '@vue/devtools-api': 8.1.5 + ast-walker-scope: 0.9.0 + chokidar: 5.0.0 + json5: 2.2.3 + local-pkg: 1.2.1 + magic-string: 0.30.21 + mlly: 1.8.2 + muggle-string: 0.4.1 + nostics: 1.2.0 + pathe: 2.0.3 + picomatch: 4.0.5 + scule: 1.3.0 + tinyglobby: 0.2.17 + unplugin: 3.3.0(esbuild@0.28.0)(rolldown@1.2.0)(rollup@4.60.2)(vite@7.3.3(jiti@2.7.0)(lightningcss@1.33.0)(sass@1.102.0)(terser@5.31.0)(yaml@2.9.0)) + unplugin-utils: 0.3.2 + vue: 3.5.40(typescript@6.0.3) + yaml: 2.9.0 + optionalDependencies: + '@vue/compiler-sfc': 3.5.40 + vite: 7.3.3(jiti@2.7.0)(lightningcss@1.33.0)(sass@1.102.0)(terser@5.31.0)(yaml@2.9.0) + transitivePeerDependencies: + - '@farmfe/core' + - '@rspack/core' + - bun-types-no-globals + - esbuild + - rolldown + - rollup + - unloader + - webpack + vue-tsc@3.3.8(typescript@6.0.3): dependencies: '@volar/typescript': 2.4.28