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: do not parse tarball urls for gitlab #83

Closed
wants to merge 1 commit into from

Conversation

nlf
Copy link
Contributor

@nlf nlf commented Mar 24, 2021

the tarball url is passed to the remote fetcher in pacote, which runs it through npm-package-arg to get a spec a second time. if this result is of any type other than 'remote' pacote will throw an error. in order to avoid this, we need to be sure that the tarball url generated does not parse back through ourselves as a git dependency.

References

Fixes npm/cli#2939

@nlf nlf closed this in 3756d2f Mar 24, 2021
@wraithgar wraithgar mentioned this pull request Mar 24, 2021
@wraithgar wraithgar deleted the nlf/dont-parse-gitlab-archive-urls branch September 21, 2021 14:23
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.

[BUG] gitlab: git shorthand broken in 7.7.0/7.7.1
2 participants