Packages

react-router

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

Your version

7.5.2

24 Apr 2025Where it was published

7.18.6 is the newest release of 7.x.

In short

2 fixed

Security

Fixes 2 advisories that affected 7.5.1

13 advisories affect 7.5.2; 7.18.0 fixes them

8 more

Release note

The section about react-router of a note shared by several packages.

Patch Changes

  • Update Single Fetch to also handle the 204 redirects used in ?_data requests in Remix v2

    • This allows applications to return a redirect on .data requests from outside the scope of React Router (i.e., an express/hono middleware)

    • ⚠️ Please note that doing so relies on implementation details that are subject to change without a SemVer major release

    • This is primarily done to ease upgrading to Single Fetch for existing Remix v2 applications, but the recommended way to handle this is redirecting from a route middleware

  • Adjust approach for Prerendering/SPA Mode via headers

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.