diff options
author | Luke Karrys <luke@lukekarrys.com> | 2022-11-01 19:45:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-01 19:45:37 +0300 |
commit | 26f3d0b04fec438400d337c2d4ace218225b7ecb (patch) | |
tree | c113eb5df0c5124a8e779e757701505b7860fbe3 /workspaces/arborist/package.json | |
parent | 292156c60bc16ba4da5942df4dd54b1c4cf9ad72 (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.json | 1 |
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", |