vue-router
vue-router@5.4.0 was published on 2026-10-07. Its manifest declares 16 runtime dependencies and 5 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All vue-router versions · Permanent reference to 5.4.0
Package specifications
| Version | 5.4.0 |
|---|---|
| License declaration | MIT |
| Published | 2026-10-07T15:34:51.836Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 16 |
| Peer requirement count | 5 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 1285.28 KiB |
| Published file count | 70 |
| Package type | module |
| ES module entry | dist/vue-router.js |
| Default entry | index.cjs |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | 62 |
| Repository stars | 4700 |
| Repository forks | 1307 |
Install vue-router 5.4.0
npm install vue-router@5.4.0 pnpm add vue-router@5.4.0 yarn add vue-router@5.4.0
Runtime dependencies
- mlly ^1.8.2
- pathe ^2.0.3
- scule ^1.3.0
- confbox ^0.3.1
- nostics ^1.3.0
- chokidar ^5.0.0
- unplugin ^3.4.0
- local-pkg ^1.2.1
- picomatch ^4.0.7
- tinyglobby ^0.2.17
- magic-string ^1.4.3
- muggle-string ^0.4.1
- unplugin-utils ^0.3.2
- ast-walker-scope ^0.10.0
- @vue/devtools-api ^8.1.5
- @vue-macros/common ^3.1.3
Peer requirements
- vue ^3.5.34 || ^4.0.0
- vite ^7.3.0 || ^8.0.0 (optional peer)
- pinia ^3.0.4 || ^4.0.2 (optional peer)
- @pinia/colada >=0.21.2 (optional peer)
- @vue/compiler-sfc ^3.5.34 || ^4.0.0 (optional peer)
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @vue-macros/common@3.1.4 — direct
- @vue/devtools-api@8.2.1 — direct
- ast-walker-scope@0.10.0 — direct
- chokidar@5.0.0 — direct
- confbox@0.3.1 — direct
- local-pkg@1.2.1 — direct
- magic-string@1.4.5 — direct
- mlly@1.8.2 — direct
- muggle-string@0.4.1 — direct
- nostics@1.3.0 — direct
- pathe@2.0.3 — direct
- picomatch@4.0.7 — direct
- scule@1.3.0 — direct
- tinyglobby@0.2.17 — direct
- unplugin@3.6.0 — direct
- unplugin-utils@0.3.2 — direct
- @vue/compiler-sfc@3.5.44 — indirect
- ast-kit@2.2.0 — indirect
- magic-string-ast@1.0.3 — indirect
- @vue/devtools-kit@8.2.1 — indirect
- @babel/parser@8.0.8 — indirect
- @babel/types@8.0.8 — indirect
- ast-kit@3.0.0 — indirect
- readdirp@5.1.1 — indirect
- pkg-types@2.4.0 — indirect
- quansync@0.2.11 — indirect
- @jridgewell/sourcemap-codec@1.6.0 — indirect
- acorn@8.19.0 — indirect
- pkg-types@1.3.1 — indirect
- ufo@1.6.4 — indirect
- fdir@6.5.0 — indirect
- @jridgewell/remapping@2.3.5 — indirect
- webpack-virtual-modules@0.6.2 — indirect
- @babel/parser@7.29.11 — indirect
- @vue/compiler-core@3.5.44 — indirect
- @vue/compiler-dom@3.5.44 — indirect
- @vue/compiler-ssr@3.5.44 — indirect
- @vue/shared@3.5.44 — indirect
- estree-walker@2.0.2 — indirect
- magic-string@0.30.21 — indirect
- postcss@8.5.32 — indirect
- source-map-js@1.2.2 — indirect
- magic-string@0.30.21 — indirect
- @vue/devtools-shared@8.2.1 — indirect
- birpc@2.9.0 — indirect
- hookable@5.5.3 — indirect
- perfect-debounce@2.1.0 — indirect
- @babel/helper-string-parser@8.0.8 — indirect
- @babel/helper-validator-identifier@8.0.6 — indirect
- estree-walker@3.0.3 — indirect
- exsolve@1.2.0 — indirect
- confbox@0.1.8 — indirect
- @jridgewell/gen-mapping@0.3.13 — indirect
- @jridgewell/trace-mapping@0.3.31 — indirect
- @babel/types@7.29.11 — indirect
- entities@7.0.1 — indirect
- nanoid@3.3.20 — indirect
- picocolors@1.1.1 — indirect
- @types/estree@1.0.9 — indirect
- @jridgewell/resolve-uri@3.1.2 — indirect
- @babel/helper-string-parser@7.29.11 — indirect
- @babel/helper-validator-identifier@7.29.7 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 4/10 — Found 9/20 approved changesets -- score normalized to 4 |
|---|---|
| Security-Policy | 10/10 — security policy file detected |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Maintained | 10/10 — 30 commit(s) and 9 issue activity found in the last 90 days -- score normalized to 10 |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Pinned-Dependencies | 10/10 — all dependencies are pinned |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| Packaging | 10/10 — packaging workflow detected |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/vue-router/5.4.0 — retrieved 2026-10-29T06:01:11.513Z
- https://api.deps.dev/v3/systems/npm/packages/vue-router/versions/5.4.0 — retrieved 2026-10-29T06:01:12.008Z
- https://api.deps.dev/v3/systems/npm/packages/vue-router/versions/5.4.0:dependencies — retrieved 2026-10-29T06:01:12.039Z
- https://api.deps.dev/v3/projects/github.com%2Fvuejs%2Frouter — retrieved 2026-10-29T06:01:12.145Z