This behavior for conflicts/provides/replaces has been lost by your change. In this case we don't replace the links but duplicate them because it must replace both the alias's version and the aliased version. For requires/devRequires it's ok to replace because requiring two versions most likely will lead to resolution conflicts.