-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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(arborist): identify and repair invalid nodes in the virtual tree #4599
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests really tell the story here.
by loading the overrides on the root of the virtual tree, we effectively ensure that `npm ci` will throw an error when your package.json overrides are not in sync with the tree in your package-lock.json
Looks like github actions didn't run the tests on bf919a5, probably was caught up in the github downtime @nlf @wraithgar |
it sure was. i ran a manual pass of the ci workflow, results here (tl;dr all green): https://github.com/npm/cli/actions/runs/2053519458 |
If I could hit merge I would. 😁 |
What is the version this will be released to? Next 8.5.x? Or other version too? Thanks a lot |
The next v8 version |
the effect after this change is that a pre-existing tree (either virtual from a package-lock, or actual from node_modules) will have any invalid edges repaired.
these invalid edges could be due to:
closes #4422
closes #4232