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

@libj/make-uri

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libj/make-uri - npm Package Compare versions

Comparing version 1.2.6 to 1.3.0

12

dist/makeUriQueryString.js

@@ -25,10 +25,14 @@ "use strict";

.map(function (k) {
var val = query[k];
var nextKey = k, val = query[nextKey];
var isEncodeNeeded = needEncode(opts, nextKey);
if (isEncodeNeeded) {
nextKey = encode(nextKey);
}
if (val === true) {
return k;
return nextKey;
}
if (needEncode(opts, k)) {
if (isEncodeNeeded) {
val = encode(val);
}
return k + "=" + val;
return nextKey + "=" + val;
})

@@ -35,0 +39,0 @@ .join('&');

{
"dependencies": {},
"name": "@libj/make-uri",
"version": "1.2.6",
"version": "1.3.0",
"description": "Uri builder",

@@ -33,3 +33,3 @@ "author": "Sergey Poskachey <seregynp@gmail.com>",

],
"gitHead": "831daf155bd629061c8ea925ef5444587a8fa885"
"gitHead": "7de016a475e02430a5a6b150c447712e37e54da7"
}

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