react-router-dom
Advanced tools
Comparing version 6.2.2 to 6.3.0
@@ -0,1 +1,5 @@ | ||
/** | ||
* NOTE: If you refactor this to split up the modules into separate files, | ||
* you'll need to update the rollup config for react-router-dom-v5-compat. | ||
*/ | ||
import * as React from "react"; | ||
@@ -56,3 +60,3 @@ import type { History } from "history"; | ||
export interface NavLinkProps extends Omit<LinkProps, "className" | "style" | "children"> { | ||
children: React.ReactNode | ((props: { | ||
children?: React.ReactNode | ((props: { | ||
isActive: boolean; | ||
@@ -59,0 +63,0 @@ }) => React.ReactNode); |
/** | ||
* React Router DOM v6.2.2 | ||
* React Router DOM v6.3.0 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* React Router DOM v6.2.2 | ||
* React Router DOM v6.3.0 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
{ | ||
"name": "react-router-dom", | ||
"version": "6.2.2", | ||
"version": "6.3.0", | ||
"author": "Remix Software <hello@remix.run>", | ||
@@ -17,3 +17,3 @@ "description": "Declarative routing for React web applications", | ||
"dependencies": { | ||
"react-router": "6.2.2", | ||
"react-router": "6.3.0", | ||
"history": "^5.2.0" | ||
@@ -20,0 +20,0 @@ }, |
/** | ||
* React Router DOM v6.2.2 | ||
* React Router DOM v6.3.0 | ||
* | ||
@@ -16,2 +16,7 @@ * Copyright (c) Remix Software Inc. | ||
/** | ||
* NOTE: If you refactor this to split up the modules into separate files, | ||
* you'll need to update the rollup config for react-router-dom-v5-compat. | ||
*/ | ||
function warning(cond, message) { | ||
@@ -18,0 +23,0 @@ if (!cond) { |
/** | ||
* React Router DOM v6.2.2 | ||
* React Router DOM v6.3.0 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* React Router DOM v6.2.2 | ||
* React Router DOM v6.3.0 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* React Router DOM v6.2.2 | ||
* React Router DOM v6.3.0 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
168654
1457
71
251
+ Addedreact-router@6.3.0(transitive)
- Removedreact-router@6.2.2(transitive)
Updatedreact-router@6.3.0