connected-react-router
Advanced tools
Comparing version 6.6.0 to 6.6.1
@@ -20,8 +20,4 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); } | ||
var injectQuery = function injectQuery(location) { | ||
if (!location) { | ||
return location; | ||
} | ||
var searchQuery = location && location.search; | ||
var searchQuery = location.search || window.location.search; | ||
if (typeof searchQuery !== 'string' || searchQuery.length === 0) { | ||
@@ -28,0 +24,0 @@ return _objectSpread({}, location, { |
@@ -27,8 +27,4 @@ "use strict"; | ||
var injectQuery = function injectQuery(location) { | ||
if (!location) { | ||
return location; | ||
} | ||
var searchQuery = location && location.search; | ||
var searchQuery = location.search || window.location.search; | ||
if (typeof searchQuery !== 'string' || searchQuery.length === 0) { | ||
@@ -35,0 +31,0 @@ return _objectSpread({}, location, { |
{ | ||
"name": "connected-react-router", | ||
"version": "6.6.0", | ||
"version": "6.6.1", | ||
"description": "A Redux binding for React Router v4 and v5", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
403398
2446