Open
Description
I see that nothing handles cyclic deps. I took a stab at it because it's breaking for me, but I notice that the cyclic dep resolver isn't working properly. When I install es-abstract, I get in the dream lock (trimmed example):
{
"string.prototype.trimend": {
"1.0.5": [
[ "es-abstract", "1.20.1" ]
]
},
"string.prototype.trimstart": {
"1.0.5": [
[ "es-abstract", "1.20.1" ]
]
},
}
Obviously, all cyclic dependencies should be grouped together and a parent dep should be picked (probably the one with the shortest name)
So it should be:
{
"es-abstract": {
"1.20.1": {
["string.prototype.trimend", "1.0.5"],
["string.prototype.trimstart", "1.0.5"]
}
}
}