redux-little-router-create-factory-fix
Advanced tools
Comparing version 15.1.5 to 15.1.6
@@ -5,9 +5,6 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
import { PathUtils } from 'history'; | ||
import { parsePath } from 'history'; | ||
import qs from 'query-string'; | ||
var parsePath = PathUtils.parsePath; | ||
export default (function (href) { | ||
@@ -14,0 +11,0 @@ if (typeof href === 'string') { |
@@ -19,7 +19,5 @@ 'use strict'; | ||
var parsePath = _history.PathUtils.parsePath; | ||
exports.default = function (href) { | ||
if (typeof href === 'string') { | ||
var _parsePath = parsePath(href), | ||
var _parsePath = (0, _history.parsePath)(href), | ||
_parsePath$search = _parsePath.search, | ||
@@ -26,0 +24,0 @@ _search = _parsePath$search === undefined ? '' : _parsePath$search, |
{ | ||
"name": "redux-little-router-create-factory-fix", | ||
"version": "15.1.5", | ||
"version": "15.1.6", | ||
"description": "A barebones routing solution for Redux applications.", | ||
@@ -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
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
1732173
10510