query-string
Advanced tools
Comparing version 6.4.0 to 6.4.2
'use strict'; | ||
const strictUriEncode = require('strict-uri-encode'); | ||
const decodeComponent = require('decode-uri-component'); | ||
const splitOnFirst = require('split-on-first'); | ||
@@ -185,3 +186,3 @@ function encoderForArrayFormat(options) { | ||
for (const param of input.split('&')) { | ||
let [key, value] = param.replace(/\+/g, ' ').split('='); | ||
let [key, value] = splitOnFirst(param.replace(/\+/g, ' '), '='); | ||
@@ -188,0 +189,0 @@ // Missing `=` should be `null`: |
{ | ||
"name": "query-string", | ||
"version": "6.4.0", | ||
"version": "6.4.2", | ||
"description": "Parse and stringify URL query strings", | ||
@@ -38,2 +38,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"split-on-first": "^1.0.0", | ||
"decode-uri-component": "^0.2.0", | ||
@@ -40,0 +41,0 @@ "strict-uri-encode": "^2.0.0" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17747
336
3
+ Addedsplit-on-first@^1.0.0
+ Addedsplit-on-first@1.1.0(transitive)