qs
Advanced tools
Comparing version 2.4.1 to 2.4.2
## [**2.3.3**](https://github.com/hapijs/qs/issues?milestone=18&state=open) | ||
- [**#59**](https://github.com/hapijs/qs/issues/59) make sure array indexes are >= 0, closes #57 | ||
## [**2.4.1**](https://github.com/hapijs/qs/issues?milestone=20&state=closed) | ||
- [**#73**](https://github.com/hapijs/qs/issues/73) Property 'hasOwnProperty' of object #<Object> is not a function | ||
## [**2.4.0**](https://github.com/hapijs/qs/issues?milestone=19&state=closed) | ||
- [**#70**](https://github.com/hapijs/qs/issues/70) Add arrayFormat option | ||
## [**2.3.3**](https://github.com/hapijs/qs/issues?milestone=18&state=closed) | ||
- [**#59**](https://github.com/hapijs/qs/issues/59) make sure array indexes are >= 0, closes #57 | ||
- [**#58**](https://github.com/hapijs/qs/issues/58) make qs usable for browser loader | ||
@@ -10,3 +16,3 @@ | ||
## [**2.3.1**](https://github.com/hapijs/qs/issues?milestone=16&state=closed) | ||
- [**#52**](https://github.com/hapijs/qs/issues/52) Return "undefined" and "false" instead of throwing "TypeError". | ||
- [**#52**](https://github.com/hapijs/qs/issues/52) Return "undefined" and "false" instead of throwing "TypeError". | ||
@@ -38,5 +44,5 @@ ## [**2.3.0**](https://github.com/hapijs/qs/issues?milestone=15&state=closed) | ||
## [**2.2.0**](https://github.com/hapijs/qs/issues?milestone=9&state=closed) | ||
- [**#26**](https://github.com/hapijs/qs/issues/26) Don't use Buffer global if it's not present | ||
- [**#26**](https://github.com/hapijs/qs/issues/26) Don't use Buffer global if it's not present | ||
- [**#30**](https://github.com/hapijs/qs/issues/30) Bug when merging non-object values into arrays | ||
- [**#29**](https://github.com/hapijs/qs/issues/29) Don't call Utils.clone at the top of Utils.merge | ||
- [**#29**](https://github.com/hapijs/qs/issues/29) Don't call Utils.clone at the top of Utils.merge | ||
- [**#23**](https://github.com/hapijs/qs/issues/23) Ability to not limit parameters? | ||
@@ -53,3 +59,3 @@ | ||
## [**1.2.2**](https://github.com/hapijs/qs/issues?milestone=6&state=closed) | ||
- [**#19**](https://github.com/hapijs/qs/issues/19) Don't overwrite null values | ||
- [**#19**](https://github.com/hapijs/qs/issues/19) Don't overwrite null values | ||
@@ -71,2 +77,1 @@ ## [**1.2.1**](https://github.com/hapijs/qs/issues?milestone=5&state=closed) | ||
- [**#5**](https://github.com/hapijs/qs/issues/5) array holes incorrectly copied into object on large index | ||
@@ -32,7 +32,3 @@ // Load modules | ||
if (Object.prototype.hasOwnProperty(key)) { | ||
continue; | ||
} | ||
if (!obj.hasOwnProperty(key)) { | ||
if (!Object.prototype.hasOwnProperty.call(obj, key)) { | ||
obj[key] = val; | ||
@@ -39,0 +35,0 @@ } |
{ | ||
"name": "qs", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"description": "A querystring parser that supports nesting and arrays, with a depth limit", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/hapijs/qs", |
@@ -194,2 +194,3 @@ /* eslint no-extend-native:0 */ | ||
expect(typeof obj.constructor).to.equal('function'); | ||
expect(typeof obj.hasOwnProperty).to.equal('function'); | ||
done(); | ||
@@ -196,0 +197,0 @@ }); |
41841
737