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

Validation fix #7582

Merged
merged 7 commits into from
Sep 28, 2019
Merged

Validation fix #7582

merged 7 commits into from
Sep 28, 2019

Conversation

arcanis
Copy link
Member

@arcanis arcanis commented Sep 28, 2019

Summary

We weren't checking the package hash when an integrity was stored in the lockfile, which could lead to some cache corruption issues.

Test plan

I've added a test to cover this particular issue.

@arcanis arcanis merged commit fa74645 into master Sep 28, 2019
VincentBailly pushed a commit to VincentBailly/yarn that referenced this pull request Jun 10, 2020
* Validates both checksum and integrity

* Adds a test

* Revert "Fixes the problem another way"

This reverts commit 29a8c58.

* Revert "Fixes tests"

This reverts commit 9322e76.

* Revert "Fixes flow linting"

This reverts commit 431a9e9.

* Fixes flow

* Back to v5 we are
VincentBailly pushed a commit to VincentBailly/yarn that referenced this pull request Jun 10, 2020
* Validates both checksum and integrity

* Adds a test

* Revert "Fixes the problem another way"

This reverts commit 29a8c58.

* Revert "Fixes tests"

This reverts commit 9322e76.

* Revert "Fixes flow linting"

This reverts commit 431a9e9.

* Fixes flow

* Back to v5 we are
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.

1 participant