vue-router 5.0.3
> - This is the repository for Vue Router 4 (for Vue 3) > - For Vue Router 3 (for Vue 2) see [vuejs/vue-router](https://github.com/vuejs/vue-router). > To see what versions are currently supported, please refer to the [Security Policy](./packages/router
vue-router@5.0.3 was published on 2026-02-19. Its manifest declares 17 runtime dependencies and 4 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.0.3 · Latest release
Package specifications
| Version | 5.0.3 |
|---|---|
| License declaration | MIT |
| Published | 2026-02-19T20:07:53.508Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 17 |
| Peer requirement count | 4 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 1043.17 KiB |
| Published file count | 71 |
| Package type | module |
| ES module entry | dist/vue-router.js |
| Default entry | index.cjs |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | 56 |
| Repository stars | 4700 |
| Repository forks | 1307 |
Install vue-router 5.0.3
npm install vue-router@5.0.3 pnpm add vue-router@5.0.3 yarn add vue-router@5.0.3
Runtime dependencies
- mlly ^1.8.0
- yaml ^2.8.2
- json5 ^2.2.3
- pathe ^2.0.3
- scule ^1.3.0
- chokidar ^5.0.0
- unplugin ^3.0.0
- local-pkg ^1.1.2
- picomatch ^4.0.3
- tinyglobby ^0.2.15
- magic-string ^0.30.21
- muggle-string ^0.4.1
- unplugin-utils ^0.3.1
- @babel/generator ^7.28.6
- ast-walker-scope ^0.8.3
- @vue/devtools-api ^8.0.6
- @vue-macros/common ^3.1.1
Peer requirements
- vue ^3.5.0
- pinia ^3.0.4 (optional peer)
- @pinia/colada >=0.21.2 (optional peer)
- @vue/compiler-sfc ^3.5.17 (optional peer)
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @babel/generator@7.29.8 — direct
- @babel/helper-string-parser@7.29.11 — indirect
- @babel/helper-validator-identifier@7.29.7 — indirect
- @babel/parser@7.29.11 — indirect
- @babel/types@7.29.11 — indirect
- @jridgewell/gen-mapping@0.3.13 — indirect
- @jridgewell/remapping@2.3.5 — indirect
- @jridgewell/resolve-uri@3.1.2 — indirect
- @jridgewell/sourcemap-codec@1.6.0 — indirect
- @jridgewell/trace-mapping@0.3.31 — indirect
- @vue-macros/common@3.1.4 — direct
- @vue/compiler-core@3.5.44 — indirect
- @vue/compiler-dom@3.5.44 — indirect
- @vue/compiler-sfc@3.5.44 — indirect
- @vue/compiler-ssr@3.5.44 — indirect
- @vue/devtools-api@8.2.1 — direct
- @vue/devtools-kit@8.2.1 — indirect
- @vue/devtools-shared@8.2.1 — indirect
- @vue/shared@3.5.44 — indirect
- acorn@8.19.0 — indirect
- ast-kit@2.2.0 — indirect
- ast-walker-scope@0.8.3 — direct
- birpc@2.9.0 — indirect
- chokidar@5.0.0 — direct
- confbox@0.1.8 — indirect
- confbox@0.3.1 — indirect
- entities@7.0.1 — indirect
- estree-walker@2.0.2 — indirect
- exsolve@1.2.0 — indirect
- fdir@6.5.0 — indirect
- hookable@5.5.3 — indirect
- jsesc@3.1.0 — indirect
- json5@2.2.3 — direct
- local-pkg@1.2.1 — direct
- magic-string@0.30.21 — direct
- magic-string-ast@1.0.3 — indirect
- mlly@1.8.2 — direct
- muggle-string@0.4.1 — direct
- nanoid@3.3.20 — indirect
- pathe@2.0.3 — direct
- perfect-debounce@2.1.0 — indirect
- picocolors@1.1.1 — indirect
- picomatch@4.0.7 — direct
- pkg-types@1.3.1 — indirect
- pkg-types@2.4.0 — indirect
- postcss@8.5.32 — indirect
- quansync@0.2.11 — indirect
- readdirp@5.1.1 — indirect
- scule@1.3.0 — direct
- source-map-js@1.2.2 — indirect
- tinyglobby@0.2.17 — direct
- ufo@1.6.4 — indirect
- unplugin@3.6.0 — direct
- unplugin-utils@0.3.2 — direct
- webpack-virtual-modules@0.6.2 — indirect
- yaml@2.9.1 — direct
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.0.3 — retrieved 2026-10-29T10:20:34.784Z
- https://api.deps.dev/v3/projects/github.com%2Fvuejs%2Frouter — retrieved 2026-10-29T06:01:12.145Z
- https://api.deps.dev/v3/systems/npm/packages/vue-router/versions/5.0.3 — retrieved 2026-10-29T10:20:35.310Z
- https://api.deps.dev/v3/systems/npm/packages/vue-router/versions/5.0.3:dependencies — retrieved 2026-10-29T10:20:35.740Z