insomnia-url
Advanced tools
Comparing version 2.1.4 to 2.2.2
{ | ||
"name": "insomnia-url", | ||
"version": "2.1.4", | ||
"version": "2.2.2", | ||
"author": "Gregory Schier <greg.schier@konghq.com>", | ||
@@ -11,3 +11,3 @@ "description": "URL Utilities", | ||
}, | ||
"gitHead": "10d7255800563f4f579df1291221a70a4d973a7a" | ||
"gitHead": "7de8246ff89d5f8970929b4f6d16457d67ca42e4" | ||
} |
@@ -89,6 +89,6 @@ const { parse: urlParse, format: urlFormat } = require('url'); | ||
strict = strict === undefined ? true : strict; | ||
let items = []; | ||
const items = []; | ||
for (const param of parameters) { | ||
let built = module.exports.buildQueryParameter(param, strict); | ||
const built = module.exports.buildQueryParameter(param, strict); | ||
@@ -121,3 +121,3 @@ if (!built) { | ||
for (let stringPair of stringPairs) { | ||
for (const stringPair of stringPairs) { | ||
// NOTE: This only splits on first equals sign. '1=2=3' --> ['1', '2=3'] | ||
@@ -124,0 +124,0 @@ const [encodedName, ...encodedValues] = stringPair.split('='); |
17633