Comparing version 0.5.3 to 0.5.4
@@ -5,6 +5,6 @@ { | ||
"description": "query-string parser / stringifier with nesting support", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"keywords": ["querystring", "query", "parser"], | ||
"scripts": ["index.js"], | ||
"license": "MIT" | ||
} | ||
} |
0.5.4 / 2013-03-15 | ||
================== | ||
* fix ignoring of null / undefined. Closes #44 | ||
0.5.3 2012-12-09 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -198,2 +198,3 @@ | ||
key = keys[i]; | ||
if (null == obj[key]) continue; | ||
ret.push(stringify(obj[key], prefix | ||
@@ -200,0 +201,0 @@ ? prefix + '[' + encodeURIComponent(key) + ']' |
{ | ||
"name": "qs", | ||
"description": "querystring parser", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"keywords": ["query string", "parser", "component"], | ||
@@ -22,2 +22,2 @@ "repository": { | ||
"engines": { "node": "*" } | ||
} | ||
} |
@@ -19,3 +19,4 @@ | ||
{ str: 'foo%3Dbaz=bar', obj: {'foo=baz': 'bar'}}, | ||
{ str: 'foo=bar&bar=baz', obj: {foo: 'bar', bar: 'baz'}} | ||
{ str: 'foo=bar&bar=baz', obj: {foo: 'bar', bar: 'baz'}}, | ||
{ str: 'foo=bar', obj: { foo: 'bar', baz: null, raz: undefined }} | ||
], | ||
@@ -22,0 +23,0 @@ 'escaping': [ |
382426
12600