Skip to content

Commit ffc12aa

Browse files
committed
v6.11.4
1 parent 6a37faf commit ffc12aa

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## **6.11.4**
2+
- [Fix] fix regressions from robustness refactor
3+
- [actions] update reusable workflows
4+
15
## **6.11.3**
26
- [Robustness] avoid `.push`, use `void`
37
- [readme] clarify `parseArrays` and `arrayLimit` documentation (#543)

dist/qs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesPars
235235
// If there's a remainder, just add whatever is left
236236

237237
if (segment) {
238-
keys[keys.length] = '[' + key.slice(segment.index + ']');
238+
keys[keys.length] = '[' + key.slice(segment.index) + ']';
239239
}
240240

241241
return parseObject(keys, val, options, valuesParsed);
@@ -635,7 +635,7 @@ var isArray = Array.isArray;
635635
var hexTable = (function () {
636636
var array = [];
637637
for (var i = 0; i < 256; ++i) {
638-
array[array.length] = '%' + ((i < 16 ? '0' : '' + i.toString(16)).toUpperCase());
638+
array[array.length] = '%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase();
639639
}
640640

641641
return array;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "qs",
33
"description": "A querystring parser that supports nesting and arrays, with a depth limit",
44
"homepage": "https://github.com/ljharb/qs",
5-
"version": "6.11.3",
5+
"version": "6.11.4",
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/ljharb/qs.git"

0 commit comments

Comments
 (0)