As of February 2021, npm 7 is now generally available. By default npm 7 utilizes v2 lockfile. (Which are backwards compatible but have a slightly different structure)
However, attempting to generate SBOMs with a package-lock generated by npm7 causes a crash in spdx-sbom-generator. This has been attempted with node red
Background
Provide context to the issue - provide steps to reproduce the behavior, such as:
Summary
As of February 2021, npm 7 is now generally available. By default npm 7 utilizes v2 lockfile. (Which are backwards compatible but have a slightly different structure)
However, attempting to generate SBOMs with a package-lock generated by npm7 causes a crash in spdx-sbom-generator. This has been attempted with node red
Background
Provide context to the issue - provide steps to reproduce the behavior, such as:
npm i
Expected behavior
The SBOM is generated
Repository
Which repository causes this error?
Acceptance Criteria
The "done" criteria when this feature or problem is resolved. Such as:
When v2 lockfiles generated by NPM v7 can be used to generate SBOMs
References
Here is an example; package-lock.json