@common.js/query-string 9.1.0 → 9.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/base.js +1 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
|
|
3
3
|
The [query-string](https://www.npmjs.com/package/query-string) package exported as CommonJS modules.
|
|
4
4
|
|
|
5
|
-
Exported from [query-string@9.1.
|
|
5
|
+
Exported from [query-string@9.1.1](https://www.npmjs.com/package/query-string/v/9.1.1) using https://github.com/etienne-martin/common.js.
|
package/base.js
CHANGED
|
@@ -351,9 +351,7 @@ function parserForArrayFormat(options) {
|
|
|
351
351
|
accumulator[key] = value ? decode(value, options) : value;
|
|
352
352
|
return;
|
|
353
353
|
}
|
|
354
|
-
var arrayValue = value === null ? [] : value.split(options.arrayFormatSeparator)
|
|
355
|
-
return decode(item, options);
|
|
356
|
-
});
|
|
354
|
+
var arrayValue = value === null ? [] : decode(value, options).split(options.arrayFormatSeparator);
|
|
357
355
|
if (accumulator[key] === undefined) {
|
|
358
356
|
accumulator[key] = arrayValue;
|
|
359
357
|
return;
|