You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

react-router-dom

Package Overview
Dependencies
Maintainers
4
Versions
643
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-router-dom - npm Package Compare versions

Comparing version

to
0.0.0-nightly-2e661fbb4-20250327

2

dist/index.js
/**
* react-router-dom v0.0.0-nightly-2d5924f56-20241024
* react-router-dom v0.0.0-nightly-2e661fbb4-20250327
*

@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc.

{
"name": "react-router-dom",
"version": "0.0.0-nightly-2d5924f56-20241024",
"version": "0.0.0-nightly-2e661fbb4-20250327",
"description": "Declarative routing for React web applications",

@@ -57,3 +57,3 @@ "keywords": [

"dependencies": {
"react-router": "0.0.0-nightly-2d5924f56-20241024"
"react-router": "0.0.0-nightly-2e661fbb4-20250327"
},

@@ -80,4 +80,5 @@ "devDependencies": {

"scripts": {
"build": "wireit"
"build": "wireit",
"typecheck": "tsc"
}
}

@@ -1,3 +0,6 @@

# React Router DOM
This package simply re-exports everything from `react-router` to smooth the upgrade path for v6 applications. Once upgraded you can change all of your imports and remove it from your dependencies:
The `react-router-dom` package is deprecated and only kept around for backwards-compatibility. It re-exports everything from the `react-router` package - you should convert your applications to import everything from `react-router` in v7 and beyond.
```diff
-import { Routes } from "react-router-dom"
+import { Routes } from "react-router"
```

Sorry, the diff of this file is not supported yet