Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

fix extraneous deps on load-actual #289

Merged
merged 2 commits into from
Jun 16, 2021

Conversation

ruyadorno
Copy link
Contributor

When loading an actual tree sometimes extraneous deps were not being
properly marked as so, since they were not really marked as extraneous
at the moment of reify, so in order to be strictly correct we need to
recalculate deps at load-actual in order to make sure extraneous deps
are properly marked as such.

References

Related to: npm/cli#2554

isaacs and others added 2 commits June 16, 2021 09:32
When loading an actual tree sometimes extraneous deps were not being
properly marked as so, since they were not really marked as extraneous
at the moment of reify, so in order to be strictly correct we need to
recalculate deps at load-actual in order to make sure extraneous deps
are properly marked as such.

Related to: npm/cli#2554

PR-URL: npm#289
Credit: @ruyadorno
Close: npm#289
Reviewed-by: @isaacs
@isaacs isaacs force-pushed the recalc-dep-flags-when-loading-actual branch from b4a2a4e to 271dd5f Compare June 16, 2021 16:33
@isaacs isaacs closed this in 271dd5f Jun 16, 2021
@isaacs isaacs merged commit 271dd5f into npm:main Jun 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants