Skip to content

Commit

Permalink
fix(core): do not expect each package to have hoisted version in lock…
Browse files Browse the repository at this point in the history
…file
  • Loading branch information
meeroslav committed Apr 19, 2023
1 parent 1b7587f commit e251e14
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ function findNodeMatchingVersion(
return nodes.sort((a, b) => +gte(b.data.version, a.data.version))[0];
}
if (
graph.externalNodes[`npm:${packageName}`] &&
satisfies(
graph.externalNodes[`npm:${packageName}`].data.version,
versionExpr
Expand Down

0 comments on commit e251e14

Please sign in to comment.