query-string 8.0.2 → 8.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/base.d.ts +2 -1
  2. package/package.json +1 -1
package/base.d.ts CHANGED
@@ -171,7 +171,8 @@ export type ParseOptions = {
171
171
  readonly parseFragmentIdentifier?: boolean;
172
172
  };
173
173
 
174
- export type ParsedQuery<T = string> = Record<string, T | undefined | Array<T | undefined>>;
174
+ // eslint-disable-next-line @typescript-eslint/ban-types
175
+ export type ParsedQuery<T = string> = Record<string, T | null | Array<T | null>>;
175
176
 
176
177
  /**
177
178
  Parse a query string into an object. Leading `?` or `#` are ignored, so you can pass `location.search` or `location.hash` directly.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "query-string",
3
- "version": "8.0.2",
3
+ "version": "8.0.3",
4
4
  "description": "Parse and stringify URL query strings",
5
5
  "license": "MIT",
6
6
  "repository": "sindresorhus/query-string",