react-router 7.8.1

Declarative routing for React

react-router@7.8.1 was published on 2025-08-15. Its manifest declares 2 runtime dependencies and 2 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=20.0.0.

All react-router versions · Permanent reference to 7.8.1 · Latest release

Package specifications

Version7.8.1
License declarationMIT
Published2025-08-15T19:55:59.254Z
Node.js requirement>=20.0.0
Type declarationsBundled declarations
Runtime dependency count2
Peer requirement count2
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size3684.05 KiB
Published file count70
Package typeNot declared
ES module entry./dist/development/index.mjs
Default entry./dist/development/index.js
Side effects declarationfalse
Direct advisories14
Resolved graph dependencies2
Repository stars56628
Repository forks10952

Install react-router 7.8.1

npm install react-router@7.8.1
pnpm add react-router@7.8.1
yarn add react-router@7.8.1

Runtime dependencies

Peer requirements

Optional dependencies

  • None declared

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

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.

Known direct advisories

OpenSSF repository checks

Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

Code-Review3/10 — Found 9/27 approved changesets -- score normalized to 3
Maintained10/10 — 30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Security-Policy10/10 — security policy file detected
CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
Token-Permissions0/10 — detected GitHub workflow tokens with excessive permissions
Binary-Artifacts10/10 — no binaries found in the repo
Pinned-Dependencies0/10 — dependency not pinned by hash detected -- score normalized to 0
License10/10 — license file detected
Fuzzing0/10 — project is not fuzzed
SAST0/10 — SAST tool is not run on all commits -- score normalized to 0

Evidence and freshness