react-router
Advanced tools
Comparing version 0.0.0-experimental-12346 to 0.0.0-experimental-12b260646
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", | ||
"version": "0.0.0-experimental-12346", | ||
"author": "Remix Software <hello@remix.run>", | ||
"version": "0.0.0-experimental-12b260646", | ||
"description": "Declarative routing for React", | ||
"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" | ||
}, | ||
"license": "MIT", | ||
"main": "./main.js", | ||
"module": "./index.js", | ||
"types": "./index.d.ts", | ||
"unpkg": "./umd/react-router.production.min.js", | ||
"peerDependencies": { | ||
"react": ">=16.8" | ||
"author": "Remix Software <hello@remix.run>", | ||
"sideEffects": false, | ||
"main": "./dist/main.js", | ||
"unpkg": "./dist/umd/react-router.production.min.js", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/main.js" | ||
}, | ||
"./types": { | ||
"types": "./dist/lib/types.d.ts" | ||
}, | ||
"./dom": { | ||
"types": "./dist/dom-export.d.ts", | ||
"import": "./dist/dom-export.mjs", | ||
"require": "./dist/main-dom-export.js" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"dependencies": { | ||
"history": "^5.2.0" | ||
"@types/cookie": "^0.6.0", | ||
"@web3-storage/multipart-parser": "^1.0.0", | ||
"cookie": "^0.6.0", | ||
"set-cookie-parser": "^2.6.0", | ||
"source-map": "^0.7.3", | ||
"turbo-stream": "2.4.0", | ||
"react-router": "0.0.0-experimental-12b260646" | ||
}, | ||
"sideEffects": false, | ||
"keywords": [ | ||
"react", | ||
"router", | ||
"route", | ||
"routing", | ||
"history", | ||
"link" | ||
] | ||
} | ||
"devDependencies": { | ||
"@types/set-cookie-parser": "^2.4.1", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0" | ||
}, | ||
"peerDependencies": { | ||
"react": ">=18", | ||
"react-dom": ">=18" | ||
}, | ||
"peerDependenciesMeta": { | ||
"react-dom": { | ||
"optional": true | ||
} | ||
}, | ||
"files": [ | ||
"dist/", | ||
"CHANGELOG.md", | ||
"LICENSE.md", | ||
"README.md" | ||
], | ||
"engines": { | ||
"node": ">=18.0.0" | ||
} | ||
} |
# React Router | ||
The `react-router` package is the heart of [React Router](https://github.com/remix-run/react-router) and provides all | ||
the core functionality for both | ||
[`react-router-dom`](/packages/react-router-dom) | ||
and | ||
[`react-router-native`](/packages/react-router-native). | ||
The `react-router` package is the heart of [React Router](https://github.com/remix-run/react-router) and provides all the core functionality. | ||
If you're using React Router, you should never `import` anything directly from | ||
the `react-router` package, but you should have everything you need in either | ||
`react-router-dom` or `react-router-native`. Both of those packages re-export | ||
everything from `react-router`. | ||
If you'd like to extend React Router and you know what you're doing, you should | ||
add `react-router` **as a peer dependency, not a regular dependency** in your | ||
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
Network access
Supply chain riskThis module accesses the network.
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
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
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
6518928
83
41690
9
3
4
8
91
14
+ Added@types/cookie@^0.6.0
+ Addedcookie@^0.6.0
+ Addedset-cookie-parser@^2.6.0
+ Addedsource-map@^0.7.3
+ Addedturbo-stream@2.4.0
+ Added@types/cookie@0.6.0(transitive)
+ Added@web3-storage/multipart-parser@1.0.0(transitive)
+ Addedcookie@0.6.0(transitive)
+ Addedreact-dom@18.3.1(transitive)
+ Addedscheduler@0.23.2(transitive)
+ Addedset-cookie-parser@2.7.1(transitive)
+ Addedsource-map@0.7.4(transitive)
+ Addedturbo-stream@2.4.0(transitive)
- Removedhistory@^5.2.0
- Removed@babel/runtime@7.26.0(transitive)
- Removedhistory@5.3.0(transitive)
- Removedregenerator-runtime@0.14.1(transitive)