parse
: ignore __proto__
keys (#428)stringify
: fix a crash with strictNullHandling
and a custom filter
/serializeDate
(#279)utils
: merge
: fix crash when source
is a truthy primitive & no options are providedparseArrays
is false, properly handle keys ending in []
utils.merge
: avoid a crash with a null target and an array sourceutils
: reduce observable [[Get]]sArray.isArray
stringify
: Avoid arr = arr.concat(...), push to the existing instance (#269)parse
: only need to reassign the var oncestringify
: avoid relying on a global undefined
(#427)String(x)
over x.toString()
safer-buffer
instead of Buffer
constructormodule.exports
one thing, instead of mutating exports
(#230)browserify
, eslint
, iconv-lite
, safer-buffer
, tape
, browserify
eslint
, @ljharb/eslint-config
, tape
node
v8.4
; use nvm install-latest-npm
so newer npm doesn’t break older nodenode
v8.2
; fix npm on node 0.6utils.assign
parse
/stringify
: add ignoreQueryPrefix
/addQueryPrefix
options, respectively (#213)options
argument (#207)parse
: cache index to reuse in else statement (#182)eslint
, browserify
, iconv-lite
, tape
node
v8.1
, v7.10
, v6.11
; npm v4.6 breaks on node < v1; npm v5+ breaks on node < v4editorconfig-tools
qs.stringify
: add encodeValuesOnly
optionallowPrototypes
option during merge (#201, #201)eslint
node
v7.7
, v6.10
,v4.8
; disable osx builds since they block linux buildsallowPrototypes
option during merge (#201, #200)eslint
node
v7.7
, v6.10
,v4.8
; disable osx builds since they block linux buildsallowPrototypes: false
does not ever shadow Object.prototype properties (thanks, @snyk!)eslint
, @ljharb/eslint-config
, browserify
, iconv-lite
, qs-iconv
, tape
allowDots
(#195)sort
(#191)stringify
: throw faster with an invalid encoderqs
is no longer part of hapi
(#183)stringify
: Add serializeDate
option to customize Date serialization (#159)utils.merge
handles merging two arraysformats
: cache String#replace
browserify
, eslint
, @ljharb/eslint-config
; add safe-publish-latest
node
v6.8
, v4.6
; improve test matrixallowPrototypes
option during merge (#201, #200)node
v7.7
, v6.10
,v4.8
; disable osx builds since they block linux buildsallowPrototypes: false
does not ever shadow Object.prototype propertieskey[]=x&key[]&key[]=y
results in 3, not 2, valuesObject.prototype.hasOwnProperty.call
parallelshell
since it does not reliably report failuresnode
v6.3
, v5.12
tape
, eslint
, @ljharb/eslint-config
, qs-iconv
allowPrototypes
option during merge (#201, #200)node
v7.7
, v6.10
,v4.8
; disable osx builds since they block linux buildsallowPrototypes: false
does not ever shadow Object.prototype propertiesstringify
(#151)dist
directory; will be removed in v7 (#148)allowPrototypes
option during merge (#201, #200)node
v7.7
, v6.10
,v4.8
; disable osx builds since they block linux buildsallowPrototypes: false
does not ever shadow Object.prototype propertiesdist
directory; will be removed in v7 (#148)key[]=x&key[]&key[]=y
results in 3, not 2, valuesskipNulls
to optionally skip null values in stringifyfilter
option