This repository was archived by the owner on Aug 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3k
inflate-shrinkwrap: allow fakeChildren for non-integrity types #20029
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oh yay! Thank you for taking a look at this :) |
@jmorrell thanks so much for the excellent repro. It was really easy to figure out what was going on (and whether I'd fixed it) because I was able to check what exactly you were running into, in context. Seriously, thanks ^_^ |
iarna
approved these changes
Mar 12, 2018
Looks good—we definitely should be constructing fake children for any entry that matches what we produce, at the very least. |
Note: I'm gonna hold off on merging this. It's making some of our tests fail (probably because they weren't written expecting to take the fakeChild code path), so it'll have to go in next release. |
bcc4670
to
4a65b3b
Compare
3e757db
to
afcdecd
Compare
afcdecd
to
7e971af
Compare
2e76172
to
fe31e66
Compare
63c9452
to
1b021d0
Compare
Landed in 6.0.0! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes the case helpfully described in https://gist.github.com/jmorrell/057caf31563a95c7c9c880867afcfea3
/cc @jmorrell