Support updateLockedDependency() for Yarn 2+ #21965
Labels
manager:npm
package.json files (npm/yarn/pnpm)
priority-3-medium
Default priority, "should be done" but isn't prioritised ahead of others
type:feature
Feature (new functionality)
What would you like Renovate to be able to do?
Support updateLockedDependency() gracefully for Yarn 2+.
Currently it results in quite ungraceful "Unexpected depNameConstraint" debug messages like:
If you have any ideas on how this should be implemented, please tell us here.
We do not need to be able to actually update the locked dependency, but we should be able to gracefully detect if it's already updated.
Today our
getLockedDependencies()
function is called prior to us checking if it's Yarn 2. It's probably best that we can gracefully parse that.Is this a feature you are interested in implementing yourself?
No
The text was updated successfully, but these errors were encountered: