Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-router-dom

Package Overview
Dependencies
Maintainers
0
Versions
507
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-router-dom - npm Package Versions

23
51

0.0.0-nightly-028fe7370-20241224

Diff

mjackson
published 7.1.1 •

mjackson
published 0.0.0-nightly-041701ead-20241222 •

mjackson
published 7.1.1-pre.0 •

mjackson
published 0.0.0-nightly-329fc0ae0-20241221 •

mjackson
published 7.1.0 •

Changelog

Source

v7.1.0

Date: 2024-12-20

Minor Changes

  • Add support for Vite v6 (#12469)

Patch Changes

  • react-router - Throw unwrapped Single Fetch redirect to align with pre-Single Fetch behavior (#12506)
  • react-router - Ignore redirects when inferring loader data types (#12527)
  • react-router - Remove <Link prefetch> warning which suffers from false positives in a lazy route discovery world (#12485)
  • create-react-router - Fix missing fs-extra dependency (#12556)
  • @react-router/dev/@react-router/serve - Properly initialize NODE_ENV if not already set for compatibility with React 19 (#12578)
  • @react-router/dev - Remove the leftover/unused abortDelay prop from ServerRouter and update the default entry.server.tsx to use the new streamTimeout value for Single Fetch (#12478)
    • The abortDelay functionality was removed in v7 as it was coupled to the defer implementation from Remix v2, but this removal of this prop was missed
    • If you were still using this prop in your entry.server file, it's likely your app is not aborting streams as you would expect and you will need to adopt the new streamTimeout value introduced with Single Fetch
  • @react-router/fs-routes - Throw error in flatRoutes if routes directory is missing (#12407)

Changes by Package

Full Changelog: v7.0.2...v7.1.0

mjackson
published 6.28.1 •

mjackson
published 0.0.0-nightly-2abe5f5e9-20241219 •

mjackson
published 7.1.0-pre.0 •

mjackson
published 6.28.1-pre.0 •

23
51
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