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: ignore integrity values for git dependencies #123

Merged
merged 1 commit into from Feb 23, 2022
Merged

Conversation

nlf
Copy link
Contributor

@nlf nlf commented Feb 22, 2022

while this will not remove the values that are being ignored, it does
ensure that we don't throw EINTEGRITY errors for git dependencies which
expect a specific integrity value

References

Related to npm/rfcs#525

while this will not remove the values that are being ignored, it does
ensure that we don't throw EINTEGRITY errors for git dependencies which
expect a specific integrity value. see npm/rfcs#525
@nlf nlf requested a review from a team as a code owner February 22, 2022 21:24
@@ -38,6 +38,13 @@ const addGitPlus = url => url && `git+${url}`.replace(/^(git\+)+/, 'git+')
class GitFetcher extends Fetcher {
constructor (spec, opts) {
super(spec, opts)

// we never want to compare integrity for git dependencies: npm/rfcs#525
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@nlf nlf merged commit 3417714 into main Feb 23, 2022
@nlf nlf deleted the nlf/no-git-integrity branch February 23, 2022 17:17
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