New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

add-query-params-to-url

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

add-query-params-to-url - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

index.js

@@ -1,3 +0,3 @@

exports.module.addParams = function (params, url) {
exports.addParams = function (params, url) {
return url + "?" + Object.entries(params).map(function (x) { return (x[0] + "=" + encodeURIComponent(x[1])); }).join("&");
};
{
"name": "add-query-params-to-url",
"version": "1.0.2",
"version": "1.0.3",
"description": "lightweight utility for adding formatted query parameters to get request url.",

@@ -5,0 +5,0 @@ "main": "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