react-router
Advanced tools
Comparing version 0.0.0-experimental-ffd8c7d0 to 0.0.0-nightly-5466640fc-20240510
{ | ||
"name": "react-router", | ||
"version": "0.0.0-experimental-ffd8c7d0", | ||
"author": "React Training <hello@reacttraining.com>", | ||
"version": "0.0.0-nightly-5466640fc-20240510", | ||
"description": "Declarative routing for React", | ||
"repository": "ReactTraining/react-router", | ||
"license": "MIT", | ||
"main": "main.js", | ||
"module": "index.js", | ||
"types": "index.d.ts", | ||
"unpkg": "umd/react-router.production.min.js", | ||
"dependencies": { | ||
"prop-types": "^15.7.2" | ||
}, | ||
"peerDependencies": { | ||
"history": ">=5", | ||
"react": "0.0.0-experimental-33c3af284" | ||
}, | ||
"sideEffects": false, | ||
"keywords": [ | ||
@@ -27,3 +12,40 @@ "react", | ||
"link" | ||
] | ||
} | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/remix-run/react-router", | ||
"directory": "packages/react-router" | ||
}, | ||
"license": "MIT", | ||
"author": "Remix Software <hello@remix.run>", | ||
"sideEffects": false, | ||
"main": "./dist/main.js", | ||
"unpkg": "./dist/umd/react-router.production.min.js", | ||
"module": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"dependencies": { | ||
"turbo-stream": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0" | ||
}, | ||
"peerDependencies": { | ||
"react": ">=16.8", | ||
"react-dom": ">=16.8" | ||
}, | ||
"peerDependenciesMeta": { | ||
"react-dom": { | ||
"optional": true | ||
} | ||
}, | ||
"files": [ | ||
"dist/", | ||
"CHANGELOG.md", | ||
"LICENSE.md", | ||
"README.md" | ||
], | ||
"engines": { | ||
"node": ">=14.0.0" | ||
} | ||
} |
# React Router | ||
The `react-router` package is the heart of [React Router](/) and provides all | ||
the core functionality for both | ||
[`react-router-dom`](https://github.com/ReactTraining/react-router/packages/react-router-dom) | ||
and | ||
[`react-router-native`](https://github.com/ReactTraining/react-router/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. |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
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
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
5507330
41
34050
3
2
8
98
9
+ Addedturbo-stream@^2.0.0
+ Addedreact@18.3.1(transitive)
+ Addedreact-dom@18.3.1(transitive)
+ Addedscheduler@0.23.2(transitive)
+ Addedturbo-stream@2.2.0(transitive)
- Removedprop-types@^15.7.2
- Removed@babel/runtime@7.24.7(transitive)
- Removedhistory@5.3.0(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedreact@0.0.0-experimental-33c3af284(transitive)
- Removedreact-is@16.13.1(transitive)
- Removedregenerator-runtime@0.14.1(transitive)