react-router-dom
Advanced tools
Comparing version 0.0.0-nightly-26cc9d914-20240904 to 0.0.0-nightly-2abe5f5e9-20241219
@@ -1,2 +0,2 @@ | ||
export type * from "react-router"; | ||
export * from "react-router"; | ||
export { HydratedRouter, RouterProvider, RouterProviderProps } from 'react-router/dom'; | ||
export * from 'react-router'; |
{ | ||
"name": "react-router-dom", | ||
"version": "0.0.0-nightly-26cc9d914-20240904", | ||
"version": "0.0.0-nightly-2abe5f5e9-20241219", | ||
"description": "Declarative routing for React web applications", | ||
@@ -27,14 +27,40 @@ "keywords": [ | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/main.js" | ||
"node": { | ||
"types": "./dist/index.d.ts", | ||
"module-sync": "./dist/index.mjs", | ||
"default": "./dist/index.js" | ||
}, | ||
"import": { | ||
"types": "./dist/index.d.mts", | ||
"default": "./dist/index.mjs" | ||
}, | ||
"default": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/index.js" | ||
} | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"wireit": { | ||
"build": { | ||
"command": "tsup", | ||
"files": [ | ||
"*.ts", | ||
"tsconfig.json", | ||
"package.json" | ||
], | ||
"output": [ | ||
"dist/**" | ||
] | ||
} | ||
}, | ||
"dependencies": { | ||
"react-router": "0.0.0-nightly-26cc9d914-20240904" | ||
"react-router": "0.0.0-nightly-2abe5f5e9-20241219" | ||
}, | ||
"devDependencies": { | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0" | ||
"react-dom": "^18.2.0", | ||
"tsup": "^8.3.0", | ||
"typescript": "^5.1.6", | ||
"wireit": "0.14.9" | ||
}, | ||
@@ -51,4 +77,7 @@ "peerDependencies": { | ||
"engines": { | ||
"node": ">=18.0.0" | ||
"node": ">=20.0.0" | ||
}, | ||
"scripts": { | ||
"build": "wireit" | ||
} | ||
} |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
7
0
0
23
265
5544
5
7
63
+ Addedcookie@1.0.2(transitive)
+ Addedreact-router@0.0.0-nightly-2abe5f5e9-20241219(transitive)
+ Addedturbo-stream@2.4.0(transitive)
- Removed@web3-storage/multipart-parser@1.0.0(transitive)
- Removedcookie@0.6.0(transitive)
- Removedreact-router@0.0.0-nightly-26cc9d914-20240904(transitive)
- Removedsource-map@0.7.4(transitive)
- Removedturbo-stream@2.3.0(transitive)