This is a PR to add support for package-lock.json parsing for both lockfile versions 2 and 3. It follows the newer convention of standalone parsing function for ditinct lockfile parsing.
Additionally , it is true we curently support npm lock version 2 lockfiles but this is due to a backwards compatability consideration made by npm. This offers a new way to parse them - the same way we would parse npm lock version 3 files.
This is a PR to add support for
package-lock.json
parsing for both lockfile versions 2 and 3. It follows the newer convention of standalone parsing function for ditinct lockfile parsing.Additionally , it is true we curently support npm lock version 2 lockfiles but this is due to a backwards compatability consideration made by npm. This offers a new way to parse them - the same way we would parse npm lock version 3 files.