Socket
Socket
Sign inDemoInstall

serialize-query-params

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serialize-query-params - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

2

esm/updateLocation.js

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

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