The parser for pnpm lockfiles now normalises the importers object on construction/parse. This is useful for inspecting information around packages in a workspace without multiple parsers.
If not a workspace lockfile then the importers will be empty and the importers field on the parser will be an empty object.
Notes for the reviewer
Instructions on how to run this locally, background context, what to review, questions…
What this does
The parser for pnpm lockfiles now normalises the importers object on construction/parse. This is useful for inspecting information around packages in a workspace without multiple parsers.
If not a workspace lockfile then the importers will be empty and the
importers
field on the parser will be an empty object.Notes for the reviewer
Instructions on how to run this locally, background context, what to review, questions…
More information
Screenshots
Visuals that may help the reviewer