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 regression in lockfile repair for sub-dependencies #265

Closed
wants to merge 1 commit into from
Closed

Fix regression in lockfile repair for sub-dependencies #265

wants to merge 1 commit into from

Conversation

feelepxyz
Copy link
Contributor

This fixes a regression where lockfiles with missing sub-dependencies
are no longer repaired. The regression was introduced in this commit:
1fafb51 which in turn was bringing back
the change from this commit 24acc9f.

Changing loaded has caused a lot of churn so not sure if this will cause further regressions, but looks like each regression was tested.

I also couldn't get the mock registry to work as the test would just hang indefinitely when trying to initialise it with mr({ port: common.port }, function (er, s) {.... Would love any help refactoring the current tests to use the mock registry/how to set it up locally.

This fixes a regression where lockfiles with missing sub-dependencies
are no longer repaired. The regression was introduced in this commit:
1fafb51 which in turn was bringing back
the change from this commit 24acc9f.
@feelepxyz feelepxyz requested a review from a team as a code owner October 9, 2019 11:57
@feelepxyz feelepxyz changed the title Fix regression in lockfile repair for sub-deps Fix regression in lockfile repair for sub-dependencies Oct 9, 2019
@mikemimik mikemimik closed this in b6588a8 Oct 29, 2019
@feelepxyz
Copy link
Contributor Author

@mikemimik thanks for the merge & release! 🙇

@feelepxyz feelepxyz deleted the feelepxyz/fix-inflate-shrinkwrap-bug branch October 29, 2019 18:51
@mikemimik mikemimik self-assigned this Oct 29, 2019
@mikemimik mikemimik added the semver:patch semver patch level for changes label Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:patch semver patch level for changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants