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

react-router

Package Overview
Dependencies
Maintainers
2
Versions
573
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 5.1.1 to 5.1.2

2

cjs/react-router.js

@@ -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

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