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

fourdollar.tostringquery

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fourdollar.tostringquery - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

6

index.js

@@ -8,4 +8,8 @@ "use strict";

if (typeof params === 'object') {
const keys = Object.keys(params);
if (keys.length === 0) {
return '';
}
const esc = encodeURIComponent;
return Object.keys(params)
return '?' + Object.keys(params)
.map(k => esc(k) + '=' + esc(params[k]))

@@ -12,0 +16,0 @@ .join('&');

2

package.json
{
"name": "fourdollar.tostringquery",
"version": "1.0.2",
"version": "1.1.0",
"main": "index.js",

@@ -5,0 +5,0 @@ "types": "index.d.ts",

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