Skip to content

Conversation

lukekarrys
Copy link
Contributor

@lukekarrys lukekarrys commented Oct 26, 2022

Now that hosted-git-info can be used to only parse a url, it should do so without treating any protocols in a special way. When called via hosted-git-info.fromUrl it will still pass in the object of preferred protocols, but when called via hosted-git-info.parseUrl it will accept all protocols, so that urls like file:../etc can be parsed.

Ref: npm/cli#5758

Also landing in v5 via #177.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants