Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: only correct protocols when called from githost #177

Merged
merged 1 commit into from Oct 27, 2022

Conversation

lukekarrys
Copy link
Member

@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 v6 via #176.

@lukekarrys lukekarrys merged commit d2db548 into release/v5 Oct 27, 2022
@lukekarrys lukekarrys deleted the lk/parse-all-protocols-v5 branch October 27, 2022 19:59
@github-actions github-actions bot mentioned this pull request Oct 27, 2022
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.

None yet

2 participants