Skip to content

Commit d60bab3

Browse files
committed
v6.10.7
1 parent eb624ab commit d60bab3

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## **6.10.7**
2+
- [Fix] fix regressions from robustness refactor
3+
- [actions] update reusable workflows
4+
15
## **6.10.6**
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
@@ -234,7 +234,7 @@ var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesPars
234234
// If there's a remainder, just add whatever is left
235235

236236
if (segment) {
237-
keys[keys.length] = '[' + key.slice(segment.index + ']');
237+
keys[keys.length] = '[' + key.slice(segment.index) + ']';
238238
}
239239

240240
return parseObject(keys, val, options, valuesParsed);
@@ -633,7 +633,7 @@ var isArray = Array.isArray;
633633
var hexTable = (function () {
634634
var array = [];
635635
for (var i = 0; i < 256; ++i) {
636-
array[array.length] = '%' + ((i < 16 ? '0' : '' + i.toString(16)).toUpperCase());
636+
array[array.length] = '%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase();
637637
}
638638

639639
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.10.6",
5+
"version": "6.10.7",
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/ljharb/qs.git"

0 commit comments

Comments
 (0)