Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bitcointrade/query-string-hoc

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bitcointrade/query-string-hoc - npm Package Compare versions

Comparing version 1.0.0-alpha.2 to 1.0.0-alpha.3

10

index.js

@@ -28,3 +28,3 @@ "use strict";

var _b = _a.memoryOnly, memoryOnly = _b === void 0 ? false : _b, stringifyOptions = tslib_1.__rest(_a, ["memoryOnly"]);
var query = _this.sortQuery(query_string_1.default.stringify(data, stringifyOptions));
var query = _this.sortQuery("?" + query_string_1.default.stringify(data, stringifyOptions));
_this.stateQuery = query;

@@ -56,3 +56,9 @@ _this.updateQueryStringState(query);

QueryString.prototype.sortQuery = function (query) {
return query.split("&").sort().join("&");
var prefix = "";
var params = query;
if (/^\?/.test(query)) {
prefix = "?";
params = query.substring(1);
}
return prefix + params.split("&").sort().join("&");
};

@@ -59,0 +65,0 @@ QueryString.prototype.parseQueryString = function (query) {

2

package.json
{
"name": "@bitcointrade/query-string-hoc",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"repository": "git@github.com:cryptocurrencytrader/query-string-hoc.git",

@@ -5,0 +5,0 @@ "author": "Rafael Tavares <rafael@tavares.email>",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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