Socket
Book a DemoInstallSign in
Socket

react-router-dom

Package Overview
Dependencies
Maintainers
3
Versions
854
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-router-dom - npm Package Versions

2345
86

0.0.0-nightly-4a4201184-20250827

Diff
m
mjackson
published 0.0.0-nightly-4a4201184-20250827 •
m
mjackson
published 0.0.0-experimental-4a4201184 •
m
mjackson
published 0.0.0-nightly-f6ca8e2db-20250826 •
m
mjackson
published 0.0.0-experimental-7ed11be •
m
mjackson
published 0.0.0-experimental-426e5caec •
m
mjackson
published 0.0.0-nightly-796cdffb1-20250823 •
m
mjackson
published 7.8.2 •

Changelog

Source

v7.8.2

Date: 2025-08-22

Patch Changes

  • react-router - Maintain ReadonlyMap and ReadonlySet types in server response data. (#13092)
  • react-router - Fix basename usage without a leading slash in data routers (#11671)
  • react-router - Fix TypeError if you throw from patchRoutesOnNavigation when no partial matches exist (#14198)
  • react-router - Properly escape interpolated param values in generatePath() (#13530)
  • @react-router/dev - Fix potential memory leak in default entry.server (#14200)

Unstable Changes

⚠️ Unstable features are not recommended for production use

Client-side onError

  • react-router - Add <RouterProvider unstable_onError>/<HydratedRouter unstable_onError> prop for client side error reporting (#14162)

Middleware

  • react-router - Delay serialization of .data redirects to 202 responses until after middleware chain (#14205)
  • react-router - Update client middleware so it returns the dataStrategy results up the chain allowing for more advanced post-processing middleware (#14151, #14212)
  • react-router - Remove Data Mode future.unstable_middleware flag from createBrowserRouter (#14213)
    • This is only needed as a Framework Mode flag because of the route modules and the getLoadContext type behavior change
    • In Data Mode, it's an opt-in feature because it's just a new property on a route object, so there's no behavior changes that necessitate a flag

RSC

  • react-router - Allow opting out of revalidation on server actions with hidden $SKIP_REVALIDATION input (#14154)

Full Changelog: v7.8.1...v7.8.2

m
mjackson
published 7.8.2-pre.1 •
m
mjackson
published 7.8.2-pre.0 •
m
mjackson
published 0.0.0-nightly-16dd742b5-20250821 •
2345
86
SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.