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

react-router

Package Overview
Dependencies
Maintainers
3
Versions
665
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-router - npm Package Versions

23
67

0.0.0-nightly-ac399b7b3-20250201

Diff

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

mjackson
published 6.29.0 •

Changelog

Source

v6.29.0

Date: 2025-01-30

Minor Changes

  • Provide the request signal as a parameter to patchRoutesOnNavigation (#12900)
    • This can be used to abort any manifest fetches if the in-flight navigation/fetcher is aborted

Patch Changes

  • Do not log v7 deprecation warnings in production builds (#12794)
  • Properly bubble headers when throwing a data() result (#12845)
  • Optimize route matching by skipping redundant matchRoutes calls when possible (#12169)
  • Strip search parameters from patchRoutesOnNavigation path param for fetcher calls (#12899)

Full Changelog: v6.28.2...v6.29.0

mjackson
published 0.0.0-nightly-4ad69f9d4-20250130 •

mjackson
published 6.29.0-pre-v6.2 •

mjackson
published 0.0.0-experimental-df0f1dfda •

23
67
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc