Socket
Socket
Sign inDemoInstall

react-router

Package Overview
Dependencies
Maintainers
3
Versions
515
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-12346 to 0.0.0-experimental-13d6d438f

CHANGELOG.md

5

LICENSE.md
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

59

package.json
{
"name": "react-router",
"version": "0.0.0-experimental-12346",
"author": "Remix Software <hello@remix.run>",
"version": "0.0.0-experimental-13d6d438f",
"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",
"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": ">=16.8",
"react-dom": ">=16.8"
},
"dependencies": {
"history": "^5.2.0"
"peerDependenciesMeta": {
"react-dom": {
"optional": true
}
},
"sideEffects": false,
"keywords": [
"react",
"router",
"route",
"routing",
"history",
"link"
]
}
"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](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.
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