query-string
Advanced tools
Comparing version 4.3.3 to 4.3.4
@@ -68,6 +68,8 @@ 'use strict'; | ||
result = /(\[\])$/.exec(key); | ||
key = key.replace(/\[\]$/, ''); | ||
if (!result || accumulator[key] === undefined) { | ||
if (!result) { | ||
accumulator[key] = value; | ||
return; | ||
} else if (accumulator[key] === undefined) { | ||
accumulator[key] = [value]; | ||
@@ -74,0 +76,0 @@ return; |
{ | ||
"name": "query-string", | ||
"version": "4.3.3", | ||
"version": "4.3.4", | ||
"description": "Parse and stringify URL query strings", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
11152
164