query-string
Advanced tools
Comparing version 4.2.0 to 4.2.1
@@ -79,3 +79,3 @@ 'use strict'; | ||
val.slice().sort().forEach(function (val2) { | ||
val.slice().forEach(function (val2) { | ||
if (val2 === undefined) { | ||
@@ -82,0 +82,0 @@ return; |
{ | ||
"name": "query-string", | ||
"version": "4.2.0", | ||
"version": "4.2.1", | ||
"description": "Parse and stringify URL query strings", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -90,5 +90,15 @@ # query-string [![Build Status](https://travis-ci.org/sindresorhus/query-string.svg?branch=master)](https://travis-ci.org/sindresorhus/query-string) | ||
However, there is support for multiple instances of the same key: | ||
```js | ||
queryString.parse('likes=cake&name=bob&likes=icecream'); | ||
//=> {likes: ['cake', 'icecream'], name: 'bob'} | ||
queryString.stringify({color: ['taupe', 'chartreuse'], id: '515'}); | ||
//=> 'color=chartreuse&color=taupe&id=515' | ||
``` | ||
## License | ||
MIT © [Sindre Sorhus](https://sindresorhus.com) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6669
104