Skip to content

Commit 670254b

Browse files
committed
v6.9.0
1 parent dadf9db commit 670254b

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## **6.9.0**
2+
- [New] `parse`/`stringify`: Pass extra key/value argument to `decoder` (#333)
3+
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `evalmd`
4+
- [Tests] `parse`: add passing `arrayFormat` tests
5+
- [Tests] add `posttest` using `npx aud` to run `npm audit` without a lockfile
6+
- [Tests] up to `node` `v12.10`, `v11.15`, `v10.16`, `v8.16`
7+
- [Tests] `Buffer.from` in node v5.0-v5.9 and v4.0-v4.4 requires a TypedArray
8+
19
## **6.8.0**
210
- [New] add `depth=false` to preserve the original key; [Fix] `depth=0` should preserve the original key (#326)
311
- [New] [Fix] stringify symbols and bigints

dist/qs.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -292,14 +292,14 @@ var formats = require('./formats');
292292
var has = Object.prototype.hasOwnProperty;
293293

294294
var arrayPrefixGenerators = {
295-
brackets: function brackets(prefix) { // eslint-disable-line func-name-matching
295+
brackets: function brackets(prefix) {
296296
return prefix + '[]';
297297
},
298298
comma: 'comma',
299-
indices: function indices(prefix, key) { // eslint-disable-line func-name-matching
299+
indices: function indices(prefix, key) {
300300
return prefix + '[' + key + ']';
301301
},
302-
repeat: function repeat(prefix) { // eslint-disable-line func-name-matching
302+
repeat: function repeat(prefix) {
303303
return prefix;
304304
}
305305
};
@@ -326,22 +326,22 @@ var defaults = {
326326
formatter: formats.formatters[defaultFormat],
327327
// deprecated
328328
indices: false,
329-
serializeDate: function serializeDate(date) { // eslint-disable-line func-name-matching
329+
serializeDate: function serializeDate(date) {
330330
return toISO.call(date);
331331
},
332332
skipNulls: false,
333333
strictNullHandling: false
334334
};
335335

336-
var isNonNullishPrimitive = function isNonNullishPrimitive(v) { // eslint-disable-line func-name-matching
336+
var isNonNullishPrimitive = function isNonNullishPrimitive(v) {
337337
return typeof v === 'string'
338338
|| typeof v === 'number'
339339
|| typeof v === 'boolean'
340340
|| typeof v === 'symbol'
341-
|| typeof v === 'bigint'; // eslint-disable-line valid-typeof
341+
|| typeof v === 'bigint';
342342
};
343343

344-
var stringify = function stringify( // eslint-disable-line func-name-matching
344+
var stringify = function stringify(
345345
object,
346346
prefix,
347347
generateArrayPrefix,

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

0 commit comments

Comments
 (0)