• Robert Knight's avatar
    Replace query-string dependency with wrapper around `URLSearchParams` · e466e836
    Robert Knight authored
    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.
    e466e836
query-string-test.js 614 Bytes