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 (#16393)

(cherry picked from commit a51ac58)
  • Loading branch information
meeroslav authored and FrozenPandaz committed Apr 24, 2023
1 parent 1299b6e commit 390d64a
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 390d64a

Please sign in to comment.