This repository was archived by the owner on Jan 20, 2022. It is now read-only.

Description
Missed a case in #223
root -> (x, z@1)
x -> PEEROPTIONAL(y)
y -> PEER(z@2)
This is subtly similar to case A
case A, hidden to not be confusing
# case a
root -> (x, y@1)
x -> PEEROPTIONAL(z)
z -> PEER(y@2)
But, with the names spelled in such a way that the conflicted dep is not present in the peerSet tree until after the not-required peerOptional meta-peer is added. (They are sorted alphabetically for consistency.)
This code path wasn't being hit previously, and it's what prevents [email protected] from being installed alongside typescript@4. Ie,
x = [email protected]
y = tsickle
z@1 = typescript@4
z@2 = typescript@~3.9.5
What / Why
n/a
When
Where
How
Current Behavior
Steps to Reproduce
Expected Behavior
Who
References