yarn icon indicating copy to clipboard operation
yarn copied to clipboard

PR #38 breaks valid frozen-lockfile case

Open markjm opened this issue 3 years ago • 0 comments

@ohana54, it seems #38 breaks a rare, but supported lockfile entry. yarn supports aliasing to other names via the syntax

{
  "package-a": "npm:[email protected]"
}

With the lockfile check in this PR, one of the name field of the original does not match the new lockfile. Because inferredName does not match obj.name, the names mismatch causing deep-equal to fail. image

markjm avatar Jun 11 '21 22:06 markjm