@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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/base.js +1 -3
  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.0](https://www.npmjs.com/package/query-string/v/9.1.0) using https://github.com/etienne-martin/common.js.
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).map(function(item) {
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common.js/query-string",
3
- "version": "9.1.0",
3
+ "version": "9.1.1",
4
4
  "description": "query-string package exported as CommonJS modules",
5
5
  "license": "MIT",
6
6
  "repository": "etienne-martin/common.js",