New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-router-dom

Package Overview
Dependencies
Maintainers
3
Versions
615
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-router-dom - npm Package Versions

1
57
62

0.0.0-experimental-a2c4d7fad

Diff
mjackson
published 0.0.0-experimental-a2c4d7fad •
mjackson
published 0.0.0-experimental-b9cf540fe •
mjackson
published 0.0.0-experimental-fde52e515 •
mjackson
published 0.0.0-nightly-7de375944-20250206 •
mjackson
published 0.0.0-nightly-ac399b7b3-20250201 •
mjackson
published 7.1.5 •

Changelog

Source

v7.1.5

Date: 2025-01-31

Patch Changes

  • react-router - Fix regression introduced in 7.1.4 via #12800 that caused issues navigating to hash routes inside splat routes for applications using Lazy Route Discovery (patchRoutesOnNavigation) (#12927)

Full Changelog: v7.1.4...v7.1.5

mjackson
published 7.1.5-pre.0 •
mjackson
published 0.0.0-nightly-fa0068005-20250131 •
mjackson
published 0.0.0-experimental-a383e1e6e •
mjackson
published 7.1.4 •

Changelog

Source

v7.1.4

Date: 2025-01-30

Patch Changes

  • @react-router/dev - Properly resolve Windows file paths to scan for Vite's dependency optimization when using the unstable_optimizeDeps future flag (#12637)
  • @react-router/dev - Fix prerendering when using a custom server - previously we ended up trying to import the users custom server when we actually want to import the virtual server build module (#12759)
  • react-router - Properly handle status codes that cannot have a body in single fetch responses (204, etc.) (#12760)
  • react-router - Properly bubble headers as errorHeaders when throwing a data() result (#12846)
    • Avoid duplication of Set-Cookie headers if also returned from headers
  • react-router - Stop erroring on resource routes that return raw strings/objects and instead serialize them as text/plain or application/json responses (#12848)
    • This only applies when accessed as a resource route without the .data extension
    • When accessed from a Single Fetch .data request, they will still be encoded via turbo-stream
  • react-router - Optimize Lazy Route Discovery path discovery to favor a single querySelectorAll call at the body level instead of many calls at the sub-tree level (#12731)
  • react-router - Optimize route matching by skipping redundant matchRoutes calls when possible (#12800, #12882)
  • react-router - Internal reorg to clean up some duplicated route module types (#12799)

Full Changelog: v7.1.3...v7.1.4