react-router
Advanced tools
Comparing version 5.1.1 to 5.1.2
@@ -765,3 +765,3 @@ 'use strict'; | ||
{ | ||
!(typeof useContext === "function") ? invariant(false, "You must use React >= 16.8 in order to use useMatch()") : void 0; | ||
!(typeof useContext === "function") ? invariant(false, "You must use React >= 16.8 in order to use useRouteMatch()") : void 0; | ||
} | ||
@@ -768,0 +768,0 @@ |
@@ -725,3 +725,3 @@ import _inheritsLoose from '@babel/runtime/helpers/esm/inheritsLoose'; | ||
if (process.env.NODE_ENV !== "production") { | ||
!(typeof useContext === "function") ? process.env.NODE_ENV !== "production" ? invariant(false, "You must use React >= 16.8 in order to use useMatch()") : invariant(false) : void 0; | ||
!(typeof useContext === "function") ? process.env.NODE_ENV !== "production" ? invariant(false, "You must use React >= 16.8 in order to use useRouteMatch()") : invariant(false) : void 0; | ||
} | ||
@@ -728,0 +728,0 @@ |
@@ -47,3 +47,3 @@ import React from "react"; | ||
typeof useContext === "function", | ||
"You must use React >= 16.8 in order to use useMatch()" | ||
"You must use React >= 16.8 in order to use useRouteMatch()" | ||
); | ||
@@ -50,0 +50,0 @@ } |
{ | ||
"name": "react-router", | ||
"version": "5.1.1", | ||
"version": "5.1.2", | ||
"description": "Declarative routing for React", | ||
@@ -67,3 +67,3 @@ "repository": "ReactTraining/react-router", | ||
], | ||
"gitHead": "fbb6358dd7f47eedd55d0b63e0725ac335d28bde" | ||
"gitHead": "f31bb27aa61dd4cb1c3cd9aa78133f739e2e9bb9" | ||
} |
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 too big to display
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
664539