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

perf: preserve subdeps when updating a package #777

Closed
zkochan opened this issue May 28, 2017 · 1 comment
Closed

perf: preserve subdeps when updating a package #777

zkochan opened this issue May 28, 2017 · 1 comment
Assignees

Comments

@zkochan
Copy link
Member

zkochan commented May 28, 2017

When there is a shrinkwrap in the repo and a named installation is performed to update a top dependency, try to preserve all the package resolutions of that updated package.

So if there is a package foo@1.0.0 with dependency resolved to bar@1.0.0 and someone updates foo to v2, if possible, keep the existing version of bar (which is 1.0.0). Don't try to update it to 1.1.0 for instance.

@zkochan
Copy link
Member Author

zkochan commented Aug 3, 2017

Done in v1.9.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant