fix: correctly handle peer conflicts between peers - #266
Conversation
|
the two failing runs were transient failures during the tests, socket timeouts. since only one event failed while the other passed for the two that failed, this seems safe to ignore. |
82b8d83 to
44cd2ae
Compare
|
Is this in npm 7.11.1? I just updated to this version and |
|
@princemaple hi, the fix is in version 2.4.0 of "@npmcli/arborist" package. npm 7.11.1 has a dependency on version "^2.4.0" of "@npmcli/arborist". so, yes, this is in npm 7.11.1, nonetheless, it seems like this fix doesn't solve the issue completely. steps to reproduce (using npm 7.11.1)
@angular/cdk has peer dependency on instead of choosing |
|
thanks for the confirmation @talsi |
|
@talsi is there any new or reopened issue to track this? Perhaps best for you to do it as you have a nice clean reproduction? |
|
|

this corrects the case where a project has dependencies that have peer dependencies with different, yet overlapping required ranges such that we correctly identify the resolved version that matches as many needs as possible.
References
closes npm/cli#2553
closes npm/cli#2999
closes npm/cli#3083