You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(node): Implement handling of (trainsitive) dependency aliases
When dependency aliases are used for transitive dependencies, the
`name` property of tree nodes output by `yarn list` have a different
format, but only in case the version is a constraint, e.g. [1]. While
the node which has the resolved version still has the "normal" format,
e.g. [2].
Adjust the replacement during version resolution, so that the
replacement key is either the `alias` or the `name`.
Note: Yarn behaves differently in case aliases are used for direct
dependencies. Adding the necessary handling is left for a future
change.
Fixes: #10295.
[1]: `"name": "string-width-cjs@npm:string-width@^4.2.0"`
[2] `"name": "[email protected]"`
Signed-off-by: Frank Viernau <[email protected]>
0 commit comments