Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
install: skip deprecated versions when possible
`[email protected]` included a change that makes it skip deprecated versions when possible even if they would otherwise be the best semver range match. npm/npm@3aaa6ef already uses `npm-pick-manifest` in such a way, and this patch guarantees that `pacote` itself picks up this behavior as well (for `install`), since it defaults to including deprecated versions if this option isn't passed through. The patch for pacote to change this behavior can come later. PR-URL: npm/npm#20151 Credit: @zkat Reviewed-By: @iarna
- Loading branch information