Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Karrys <luke@lukekarrys.com>2022-11-01 19:45:37 +0300
committerGitHub <noreply@github.com>2022-11-01 19:45:37 +0300
commit26f3d0b04fec438400d337c2d4ace218225b7ecb (patch)
treec113eb5df0c5124a8e779e757701505b7860fbe3 /workspaces/arborist/package.json
parent292156c60bc16ba4da5942df4dd54b1c4cf9ad72 (diff)
fix: use hosted-git-info to parse registry urls (#5761)
Previously this was using `new URL` which would fail on some urls that `hosted-git-info` is able to parse. But if we still get a url that can't be parsed, we now set it to be removed from the tree instead of erroring. Fixes: #5278
Diffstat (limited to 'workspaces/arborist/package.json')
-rw-r--r--workspaces/arborist/package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/workspaces/arborist/package.json b/workspaces/arborist/package.json
index c4eec90d7..31cfad06d 100644
--- a/workspaces/arborist/package.json
+++ b/workspaces/arborist/package.json
@@ -16,6 +16,7 @@
"bin-links": "^3.0.3",
"cacache": "^16.1.3",
"common-ancestor-path": "^1.0.1",
+ "hosted-git-info": "^5.2.1",
"json-parse-even-better-errors": "^2.3.1",
"json-stringify-nice": "^1.1.4",
"minimatch": "^5.1.0",