Comparing version 0.0.2 to 0.0.3
@@ -23,3 +23,3 @@ "use strict"; | ||
return to; | ||
var hash = to.hash, pathname = to.pathname, _a = to.query, query = _a === void 0 ? {} : _a, search = to.search; | ||
var hash = to.hash, pathname = to.pathname, _a = to.query, query = _a === void 0 ? {} : _a, _b = to.search, search = _b === void 0 ? '' : _b; | ||
var searchObject = qs_1.default.parse(search.replace(/^\?/, '')); | ||
@@ -55,3 +55,3 @@ var mergedSearch = __assign(__assign({}, searchObject), query); | ||
if (hashRouter === void 0) { hashRouter = false; } | ||
var pathname = location.pathname, search = location.search, hash = location.hash; | ||
var pathname = location.pathname, _a = location.search, search = _a === void 0 ? '' : _a, _b = location.hash, hash = _b === void 0 ? '' : _b; | ||
var state = window.history.state || {}; | ||
@@ -58,0 +58,0 @@ if (hashRouter) { |
{ | ||
"name": "k-history", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"main": "./lib/index.js", | ||
@@ -5,0 +5,0 @@ "files": [ |
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
33515
0