This repository was archived by the owner on May 27, 2022. It is now read-only.
Use query-string library
Changed
- feat(#6): Use query-string package to format query strings. Allow configuring query-string options using the
queryStringConfig
option of this package. This is a BREAKING CHANGE because query-string default options are used (read BREAKING CHANGES bellow for further info) - chore(deps): Update devDependencies
BREAKING CHANGES
- Arrays in query strings were converted into a list separated by "%2C" (url encoded comma). Now it uses the
query-string
package using its default options, so arrays are serialized duplicating keys (?foo=1&foo=2
). This behaviour can be configured using the newqueryStringConfig
option. - query string keys now are sorted by default.