From 1e0763ca3048a621d31e5379708290ae47ae44dc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 11 Aug 2021 14:28:28 +0000 Subject: [PATCH] Update checked-in dependencies --- node_modules/normalize-url/index.js | 32 ++++++++++++++++++++++++- node_modules/normalize-url/package.json | 9 +++---- 2 files changed, 36 insertions(+), 5 deletions(-) diff --git a/node_modules/normalize-url/index.js b/node_modules/normalize-url/index.js index f8297f5ae..47271861b 100644 --- a/node_modules/normalize-url/index.js +++ b/node_modules/normalize-url/index.js @@ -120,8 +120,38 @@ export default function normalizeUrl(urlString, options) { } // Remove duplicate slashes if not preceded by a protocol + // NOTE: This could be implemented using a single negative lookbehind + // regex, but we avoid that to maintain compatibility with older js engines + // which do not have support for that feature. if (urlObject.pathname) { - urlObject.pathname = urlObject.pathname.replace(/(?=12.20" }, "scripts": { - "test": "xo && nyc ava && tsd" + "test": "xo && c8 ava && tsd" }, "files": [ "index.js", @@ -39,11 +39,12 @@ ], "devDependencies": { "ava": "^3.15.0", - "nyc": "^15.1.0", + "c8": "^7.7.3", "tsd": "^0.17.0", + "typescript": "^4.3.5", "xo": "^0.41.0" }, - "nyc": { + "c8": { "reporter": [ "text", "lcov"