| 3 | |
| 4 | // eslint-disable-next-line unicorn/prefer-code-point |
| 5 | const strictUriEncode = string => encodeURIComponent(string).replaceAll(/[!'\(\)*]/gv, x => `%${x.charCodeAt(0).toString(16).toUpperCase()}`); |
| 6 | |
| 7 | // A value that is left out of the query string. `undefined` is always left out, and `skipNull` and `skipEmptyString` leave out the two others. |
| 8 | function isSkipped(value, options) { |