From ad02b1784f9e040372f3ee9228064cdc6096dd84 Mon Sep 17 00:00:00 2001 From: Joel Alenchery Date: Thu, 24 Jun 2021 17:43:12 +0530 Subject: [PATCH] fix default parameter stripFragment in index --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index d7aadd5..31b2a04 100644 --- a/lib/index.js +++ b/lib/index.js @@ -39,7 +39,7 @@ function parseUrl(url, normalize = false) { if (normalize) { if (typeof normalize !== "object") { normalize = { - stripFragment: false + stripHash: false } } url = normalizeUrl(url, normalize)