Replace query-string dependency with wrapper around `URLSearchParams`
For the client's very simple query string generating and parsing needs we can avoid this dependency by using a very simple wrapper around `URLSearchParams`. This also improves type checking since this dependency didn't provide types and we weren't using the @types/query-string package. The `stringify` function sorts parameters in the returned string for consistency with query-string's behavior.
Showing
... | @@ -77,7 +77,6 @@ | ... | @@ -77,7 +77,6 @@ |
"preact": "^10.4.0", | "preact": "^10.4.0", | ||
"prettier": "2.3.2", | "prettier": "2.3.2", | ||
"puppeteer": "^10.0.0", | "puppeteer": "^10.0.0", | ||
"query-string": "^3.0.1", | |||
"redux": "^4.0.1", | "redux": "^4.0.1", | ||
"redux-thunk": "^2.1.0", | "redux-thunk": "^2.1.0", | ||
"reselect": "^4.0.0", | "reselect": "^4.0.0", | ||
... | ... |
Please register or sign in to comment