From 53315790fa01e0843c924cb07457fc0aecd4a745 Mon Sep 17 00:00:00 2001 From: bug-brain <40305896+bug-brain@users.noreply.github.com> Date: Sat, 5 Feb 2022 19:50:32 +0100 Subject: [PATCH 1/2] Fix `ParsedQuery` type to allow null in array (#338) --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 5633c5e..59de603 100644 --- a/index.d.ts +++ b/index.d.ts @@ -172,7 +172,7 @@ export interface ParseOptions { } export interface ParsedQuery { - [key: string]: T | T[] | null; + [key: string]: T | null | Array; } /** From a5ed7eaf496b47e0cd7f6071a56ac297c8e280e4 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sun, 6 Feb 2022 01:52:05 +0700 Subject: [PATCH 2/2] 7.1.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bf72a09..fd0b303 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "query-string", - "version": "7.1.0", + "version": "7.1.1", "description": "Parse and stringify URL query strings", "license": "MIT", "repository": "sindresorhus/query-string",