react-router-dom
Advanced tools
Comparing version
MIT License | ||
Copyright (c) React Training 2015-2019 | ||
Copyright (c) Remix Software 2020-2021 | ||
Copyright (c) React Training LLC 2015-2019 | ||
Copyright (c) Remix Software Inc. 2020-2021 | ||
Copyright (c) Shopify Inc. 2022-2023 | ||
@@ -6,0 +7,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
{ | ||
"name": "react-router-dom", | ||
"version": "0.0.0-experimental-compat.6", | ||
"author": "Remix Software <hello@remix.run>", | ||
"version": "0.0.0-experimental-d312c78a4", | ||
"description": "Declarative routing for React web applications", | ||
"keywords": [ | ||
"react", | ||
"router", | ||
"route", | ||
"routing", | ||
"history", | ||
"link" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/remix-run/react-router.git", | ||
"url": "https://github.com/remix-run/react-router", | ||
"directory": "packages/react-router-dom" | ||
}, | ||
"license": "MIT", | ||
"main": "./main.js", | ||
"module": "./index.js", | ||
"types": "./index.d.ts", | ||
"unpkg": "./umd/react-router-dom.production.min.js", | ||
"author": "Remix Software <hello@remix.run>", | ||
"sideEffects": false, | ||
"main": "./dist/main.js", | ||
"unpkg": "./dist/umd/react-router-dom.production.min.js", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"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-experimental-compat.6", | ||
"history": "^5.2.0" | ||
"react-router": "0.0.0-experimental-d312c78a4" | ||
}, | ||
"devDependencies": { | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"tsup": "^8.3.0", | ||
"typescript": "^5.1.6", | ||
"wireit": "0.14.9" | ||
}, | ||
"peerDependencies": { | ||
"react": ">=16.8", | ||
"react-dom": ">=16.8" | ||
"react": ">=18", | ||
"react-dom": ">=18" | ||
}, | ||
"sideEffects": false, | ||
"keywords": [ | ||
"react", | ||
"router", | ||
"route", | ||
"routing", | ||
"history", | ||
"link" | ||
] | ||
} | ||
"files": [ | ||
"dist/", | ||
"LICENSE.md", | ||
"README.md" | ||
], | ||
"engines": { | ||
"node": ">=20.0.0" | ||
}, | ||
"scripts": { | ||
"build": "wireit" | ||
} | ||
} |
@@ -1,5 +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 contains bindings for using [React | ||
Router](https://github.com/remix-run/react-router) in web applications. | ||
Please see [the Getting Started guide](https://github.com/remix-run/react-router/blob/main/docs/getting-started/tutorial.md) for more information on how to get started with React Router. | ||
```diff | ||
-import { Routes } from "react-router-dom" | ||
+import { Routes } from "react-router" | ||
``` |
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
3
-25%2
-33.33%7
16.67%0
-100%5528
-96.73%5
Infinity%7
-61.11%63
-95.68%1
Infinity%+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed