README.md
1 # query-string 2 3 Total downloads:  4 5 ## Bug discovered using property based testing (fast-check) 6 7 **Issue detected:** enabling the `bracket` setting when exporting arrays containing null values produces an invalid output for the parser \[[more](https://github.com/sindresorhus/query-string/pull/138)\] 8 9 **Code example:** 10 ```js 11 m.stringify({bar: ['a', null, 'b']}, {arrayFormat: 'bracket'}) //=> "bar[]=a&bar&bar[]=b" 12 m.parse('bar[]=a&bar&bar[]=b', {arrayFormat: 'bracket'}) //=> {bar: [null, 'b']} 13 ``` 14 15 **Fixed at:** 6.1.0 16 17 ## Properties 18 19 ### [A] should read correctly from stringified query params 20 21 for any query parameters `params` and any options `options` 22 reading back what has been stringified should rebuild the original query parameters 23 24 in other words: 25 26 for any query parameters `params` and any options `options` 27 parse(stringify(`params`, `options`)) === `params`