We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 263c77f commit bab3eb3Copy full SHA for bab3eb3
1 file changed
lib/package.js
@@ -676,11 +676,12 @@ export default class Package {
676
677
// index dependencies
678
for ( const dependency of dependencies ) {
679
- const id = `${ dependency.name }/${ dependency.location }`;
+ const id = `${ dependency.name }/${ dependency.location }/${ dependency.current }/${ dependency.wanted }`;
680
681
if ( !index[ id ] ) {
682
index[ id ] = {
683
"name": dependency.name,
684
+ "location": dependency.location,
685
"current": dependency.current,
686
"wanted": dependency.wanted,
687
"latest": dependency.latest,
@@ -1527,6 +1528,7 @@ export default class Package {
1527
1528
// linked
1529
dependencies.set( name, {
1530
name,
1531
+ location,
1532
"linked": link,
1533
} );
1534
} )
0 commit comments