Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-router

Package Overview
Dependencies
Maintainers
3
Versions
587
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-router - npm Package Compare versions

Comparing version 0.0.0-experimental-ffd8c7d0 to 0.0.0-nightly-0061b031c-20241012

CHANGELOG.md

81

package.json
{
"name": "react-router",
"version": "0.0.0-experimental-ffd8c7d0",
"author": "React Training <hello@reacttraining.com>",
"version": "0.0.0-nightly-0061b031c-20241012",
"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,63 @@ "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.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": {
"@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-nightly-0061b031c-20241012"
},
"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](/) 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).
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.
The `react-router` package is the heart of [React Router](https://github.com/remix-run/react-router) and provides all the core functionality.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc