react-router 8.5.1
Declarative routing for React
react-router@8.5.1 was published on 2026-10-27. Its manifest declares 2 runtime dependencies and 4 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=22.22.0.
All react-router versions · Permanent reference to 8.5.1 · Latest release
Package specifications
| Version | 8.5.1 |
|---|---|
| License declaration | MIT |
| Published | 2026-10-27T21:39:14.646Z |
| Node.js requirement | >=22.22.0 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 2 |
| Peer requirement count | 4 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 2939.80 KiB |
| Published file count | 346 |
| Package type | module |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | Unknown |
| Repository stars | 56628 |
| Repository forks | 10952 |
Install react-router 8.5.1
npm install react-router@8.5.1 pnpm add react-router@8.5.1 yarn add react-router@8.5.1
Runtime dependencies
- cookie-es ^3.1.1
- @remix-run/route-pattern ^0.22.1
Peer requirements
- react >=19.2.7
- react-dom >=19.2.7 (optional peer)
- @types/react >=19.2.0 (optional peer)
- @types/react-dom >=19.2.0 (optional peer)
Optional dependencies
- None declared
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 | 3/10 — Found 9/27 approved changesets -- score normalized to 3 |
|---|---|
| Maintained | 10/10 — 30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10 |
| Security-Policy | 10/10 — security policy file detected |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/react-router/8.5.1 — retrieved 2026-10-29T06:39:42.039Z
- https://api.deps.dev/v3/systems/npm/packages/react-router/versions/8.5.1 — retrieved 2026-10-29T05:58:37.596Z (stale snapshot; refresh pending)
- https://api.deps.dev/v3/projects/github.com%2Fremix-run%2Freact-router — retrieved 2026-10-29T05:58:27.205Z