serialize-query-params
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -34,3 +34,3 @@ var __assign = (this && this.__assign) || function () { | ||
var encodedSearchString = stringify(filterNully(encodedQuery)); | ||
var newLocation = __assign({}, location, { key: "" + Date.now(), search: encodedSearchString.length ? "?" + encodedSearchString : '' }); | ||
var newLocation = __assign({}, location, { key: "" + Date.now(), search: encodedSearchString.length ? "?" + encodedSearchString : '', query: encodedQuery }); | ||
return newLocation; | ||
@@ -37,0 +37,0 @@ } |
@@ -36,3 +36,3 @@ "use strict"; | ||
var encodedSearchString = query_string_1.stringify(filterNully(encodedQuery)); | ||
var newLocation = __assign({}, location, { key: "" + Date.now(), search: encodedSearchString.length ? "?" + encodedSearchString : '' }); | ||
var newLocation = __assign({}, location, { key: "" + Date.now(), search: encodedSearchString.length ? "?" + encodedSearchString : '', query: encodedQuery }); | ||
return newLocation; | ||
@@ -39,0 +39,0 @@ } |
{ | ||
"name": "serialize-query-params", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "A library for simplifying encoding and decoding URL query parameters.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
83506