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

react-router

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-router - npm Package Versions

mjackson
published 0.0.0-nightly-9a3d9fc19-20241205 •

mjackson
published 0.0.0-nightly-8ff4d5fe7-20241204 •

mjackson
published 0.0.0-nightly-f0145cca3-20241203 •

mjackson
published 7.0.2 •

Changelog

Source

v7.0.2

Date: 2024-12-02

Patch Changes

  • Temporarily only use one build in export map so packages can have a peer dependency on react router (#12437)

  • Support moduleResolution Node16 and NodeNext (#12440)

  • Generate wide matches and params types for child routes (#12397)

    At runtime, matches includes child route matches and params include child route path parameters. But previously, we only generated types for parent routes and the current route in matches and params. To align our generated types more closely to the runtime behavior, we now generate more permissive, wider types when accessing child route information.

Changes by Package

Full Changelog: v7.0.1...v7.0.2

mjackson
published 7.0.2-pre.0 •

mjackson
published 0.0.0-experimental-89dc2043e •

mjackson
published 0.0.0-nightly-aed1b458e-20241124 •

mjackson
published 0.0.0-nightly-47953dd5d-20241123 •

mjackson
published 7.0.1 •

Changelog

Source

v7.0.1

Date: 2024-11-22

Patch Changes

  • Ensure typegen file watcher is cleaned up when Vite dev server restarts (#12331)
  • Pass route error to ErrorBoundary as a prop (#12338)

Changes by Package

Full Changelog: v7.0.0...v7.0.1

mjackson
published 7.0.1-pre.0 •