Socket
Socket
Sign inDemoInstall

react-router-dom

Package Overview
Dependencies
Maintainers
0
Versions
381
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
38

0.0.0-experimental-compat.1

Diff

mjackson
published 0.0.0-experimental-12346 •

mjackson
published 0.0.0-experimental-12345 •

mjackson
published 6.2.2 •

Changelog

Source

v6.2.2

Date: 2022-02-28

Patch Changes

  • Fixed nested splat routes that begin with special URL-safe characters (#8563)
  • Fixed a bug where index routes were missing route context in some cases (#8497)

Full Changelog: v6.2.1...v6.2.2

mjackson
published 6.2.2-pre.0 •

mjackson
published 6.2.1 •

Changelog

Source

v6.2.1

Date: 2021-12-17

Patch Changes

  • This release updates the internal history dependency to 5.2.0.

Full Changelog: v6.2.0...v6.2.1

mjackson
published 6.2.0 •

Changelog

Source

v6.2.0

Date: 2021-12-17

Minor Changes

  • We now use statically analyzable CJS exports. This enables named imports in Node ESM scripts (See the commit).

Patch Changes

  • Fixed the RouteProps element type, which should be a ReactNode (#8473)
  • Fixed a bug with useOutlet for top-level routes (#8483)

Full Changelog: v6.1.1...v6.2.0

mjackson
published 6.1.1 •

Changelog

Source

v6.1.1

Date: 2021-12-11

Patch Changes

  • In v6.1.0 we inadvertently shipped a new, undocumented API that will likely introduce bugs (#7586). We have flagged HistoryRouter as unstable_HistoryRouter, as this API will likely need to change before a new major release.

Full Changelog: v6.1.0...v6.1.1

mjackson
published 6.1.0 •

Changelog

Source

v6.1.0

Date: 2021-12-10

Minor Changes

  • <Outlet> can now receive a context prop. This value is passed to child routes and is accessible via the new useOutletContext hook. See the API docs for details. (#8461)
  • <NavLink> can now receive a child function for access to its props. (#8164)
  • Improved TypeScript signature for useMatch and matchPath. For example, when you call useMatch("foo/:bar/:baz"), the path is parsed and the return type will be PathMatch<"bar" | "baz">. (#8030)

Patch Changes

  • Fixed a bug that broke support for base64 encoded IDs on nested routes (#8291)
  • A few error message improvements (#8202)

Full Changelog: v6.0.2...v6.1.0

mjackson
published 6.0.2 •

Changelog

Source

v6.0.2

Date: 2021-11-09

Patch Changes

  • Added the reloadDocument prop to <Link>. This allows <Link> to function like a normal anchor tag by reloading the document after navigation while maintaining the relative to resolution (#8283)

Full Changelog: v6.0.1...v6.0.2

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc