You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
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?
(Any environment where npm v7 is installed)
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
The text was updated successfully, but these errors were encountered: