Packages

react-router

8.5.1 · 27 Oct 2026MIT80.5M / weekRepositorynpmAtom feed

Your version

6.4.2

5 Oct 2022Where it was published

6.30.6 is the newest release of 6.x.

In short

1 fixed3 changed

Security

3 advisories affect 6.4.2; 7.18.0 fixes them

Release note

What's Changed

  • Respect basename in useFormAction

  • Fix IndexRouteObject and NonIndexRouteObject types to make hasErrorElement optional

  • Enhance console error messages for invalid usage of data router hooks

  • If an index route has children, it will result in a runtime error. We have strengthened our RouteObject/RouteProps types to surface the error in TypeScript.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.