@cyclonedx/cyclonedx-npm
7.0.1 · 13 Nov 2026Apache-2.0697.7k / weekRepositoryHomepagenpmAtom feed
59 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 7.x · latest line
7.0.1
13 Nov 2026Only updates dependencies, nothing else changes.
7.0.0
9 Nov 2026Summary· from the note as AI read it
Read before upgrading: 4 changes to make.
- Breaking
Removed optional dependencies for optional features from package manifest (#1528 via #1529)
Validation and XML output require their respective optional peer dependencies to be installed.
Users are responsible for installing the optional peer dependencies required by the features they intend to use.
See the underlying library’s optional peer dependencies documentation.
BREAKING Changes
- Breaking
CLI option
--spec-versiondefaults to1.7, was1.6([#1534] via [#1533]) - Breaking
Removed optional dependencies for optional features from package manifest (#1528 via #1529)
Validation and XML output require their respective optional peer dependencies to be installed.
Users are responsible for installing the optional peer dependencies required by the features they intend to use.
See the underlying library’s optional peer dependencies documentation.
Changed
Validation enforcement and detection (via #1529)
Dependencies
- 6.x
6.0.1
11 Aug 2026Maintenance release.
Maintenance release.
6.0.0
7 Jul 2026- Breaking
Reworked
npmdetection and handling.
The behavior whennpm_execpathis present remains unchanged. - Security
Eliminated a potential shell‑injection vulnerability in the
--workspaceargument on Windows (via #1489)
See github.com/CycloneDX/cyclonedx-node-npm/securit… Properly closing output file (via #1484)
Important
This release includes a fix for a known security vulnerability.
BREAKING Changes
- Breaking
Reworked
npmdetection and handling.
The behavior whennpm_execpathis present remains unchanged.
Fixed
- Security
Eliminated a potential shell‑injection vulnerability in the
--workspaceargument on Windows (via #1489)
See github.com/CycloneDX/cyclonedx-node-npm/securit… Properly closing output file (via #1484)
Tests
- 5.x
5.0.0
16 Jun 2026- Breaking
Reworked npm handling –
npmis now executed explicitly rather than through a subshell.
The behavior whennpm_execpathis present remains unchanged. - Security
Eliminated a potential shell‑injection vulnerability in the
--workspaceargument (via #1476)
See github.com/CycloneDX/cyclonedx-node-npm/securit… Pin GitHub Actions to immutable SHAs while preserving tag-based update flow
Important
This release includes a fix for a known security vulnerability.
BREAKING Changes
- Breaking
Reworked npm handling –
npmis now executed explicitly rather than through a subshell.
The behavior whennpm_execpathis present remains unchanged.
Fixed
- Security
Eliminated a potential shell‑injection vulnerability in the
--workspaceargument (via #1476)
See github.com/CycloneDX/cyclonedx-node-npm/securit…
What's Changed
Pin GitHub Actions to immutable SHAs while preserving tag-based update flow
Eliminate possible shell-injection in
--workspaceargument
- 4.x
4.2.0
3 Mar 20264.1.0
29 Oct 2025Added
Build
4.0.3
22 Sep 2025Have unique bomRefs for duplicated package installs
4.0.0
23 Jun 2025- 3.x
3.0.0
8 Apr 2025BREAKING Changes
- Breaking
- Breaking
Added
CLI switch
-oas shorthand for--output-file([#1282] via [#1288])CLI switch
--ofas shorthand for--outout-format([#1282] via [#1288])CLI switch
--svas shorthand for--spec-version(#1282 via #1288)
Fixed
Runtime Dependencies
Raised
@cyclonedx/cyclonedx-library@^8.0.0, was@^7.0.0(via [#1281])Raised
commander@^13.1.0, was@^10.0.0(via [#1281], [#1288])Raised
normalize-package-data@^7.0.0, was@^3||^4||^5||^6(via #1281)
Build
- 2.x
2.1.0
19 Mar 2025Add support for targetting specific workspaces
Update json issue in package.json
2.0.0
27 Jan 2025- Breaking
Emitted
.purlvalues might be partially url-encoded (via #1235)
This is caused by changes on underlying 3rd-party dependencypackageurl-js.
BREAKING Changes
- Breaking
CLI option
--spec-versiondefaults to1.6, was1.4([#1173] via [#1258]) - Breaking
Emit
$.metadata.toolsas components (#1233 via #1235)
This affects only CycloneDX spec-version 1.5 and later. - Breaking
Emitted
.purlvalues might be partially url-encoded (via #1235)
This is caused by changes on underlying 3rd-party dependencypackageurl-js. - Breaking
Create dir for output file if not exists (#1241 via #1242)
This is only a breaking change if you relied on non-existent result paths to cause errors.
Misc
- 1.x
1.20.0
13 Jan 20251.19.3
15 Jul 2024Raised runtime dependency
@cyclonedx/cyclonedx-library@^6.11.0
Build
What's Changed
Raised runtime dependency
@cyclonedx/cyclonedx-library@^6.11.0
1.19.0
1 Jun 20241.17.0
23 Apr 2024This tool explicitly supports CycloneDX Specification-1.6 now (via #1175)
CLI switch
--spec-versionnow supports value1.6to reflect CycloneDX Specification-1.6 (via #1175)
Default value for that option is unchanged - still1.4.
Added support for CycloneDX Specification-1.6.
Changed
This tool explicitly supports CycloneDX Specification-1.6 now (via #1175)
Added
CLI switch
--spec-versionnow supports value1.6to reflect CycloneDX Specification-1.6 (via #1175)
Default value for that option is unchanged - still1.4.
Build
1.16.1
11 Jan 2024Fixed
Docs
1.15.0
10 Dec 2023Changed
Log output is less verbose, can be re-enabled via CLI switch
--verbose(#158 via #1131)
Warnings and errors are still displayed as before!
This is considered a non-breaking change, since only informational logs and debug information is affected.
Added
CLI switch
-v, --verboseto increase output verbosity (#158 via #1131)
May be used multiple times, like-vvv.More logs on info-level (via [#1131])
More logs on debug-level (via #1131)
Build
1.14.2
6 Nov 2023Fixed
SBOM results might have the
externalReferences.hashespopulated (#1118 via #1120)
The hashes might have wrongly appeared ascomponents.hashesbefore.Components' distribution integrity hash of "sha256" is properly detected and populated in the SBOM result ([#699] via [#1121])
Components' distribution integrity hash of "sha384" is properly detected and populated in the SBOM result ([#699] via #1121)
Misc
1.13.3
1 Sep 2023Maintenance release
Maintenance release
Tests
1.13.2
28 Aug 2023Maintenance release
Maintenance release
Misc
1.13.1
18 Aug 2023Maintenance release
Maintenance release
Misc
1.13.0
7 Jul 2023Added support for CycloneDX Specification-1.5.
Changed
Added
CLI switch
--spec-versionnow supports value1.5to reflect CycloneDX Specification-1.5 (#828 via #843)
Default value for that option is unchanged - still1.4.
Misc
1.12.1
16 Jun 2023Maintenance release
Maintenance release
Build
1.12.0
17 May 20232.15 — SPDX license expression detection improved (via [#726])
SPDX license expression detection improved (via #726)
Previously, some expressions were not properly detected, so they were marked as named-license in the SBOM results.
They should be marked as expression, now.
Based on OWASP Software Component Verification Standard for Software Bill of Materials (SCVS SBOM) criteria, this tool is now capable of producing SBOM documents almost passing Level-2 (only signing needs to be done externally).
Affective changes based on these SCVS SBOM criteria:2.15 — SPDX license expression detection improved (via [#726])
Changes
SPDX license expression detection improved (via #726)
Previously, some expressions were not properly detected, so they were marked as named-license in the SBOM results.
They should be marked as expression, now.
Added
Misc
1.11.0
27 Apr 2023SBOM result might be validated (via #660)
This feature is enabled per default and can be disabled via CLI switch--no-validate.
Validation is skipped, if requirements are not met. Requires transitive optional dependencies
1.10.0
17 Apr 2023DevDependencies that are also required by OptionalDependencies correctly have the property
cdx:npm:package:developmentpopulated in SBOM results ([#645] via [#657])
Added
Fixed
DevDependencies that are also required by OptionalDependencies correctly have the property
cdx:npm:package:developmentpopulated in SBOM results ([#645] via [#657])DevDependencies that are also required by OptionalDependencies are correctly omitted from SBOM results, when the CLI switch for omitting "dev" and "optional" are set (#645 via #657)
Build
1.9.1
15 Mar 2023Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.
1.9.0
3 Mar 2023Detected node packages' metadata are now normalized, before translation to SBOM components happens. (#536 via #537)
This might increase the quality of SBOM results.
1.7.5
14 Feb 2023Maintenance release
1.7.4
14 Feb 2023Maintenance release
1.7.3
12 Feb 2023Maintenance release
Maintenance release
Build
1.7.1
16 Dec 2022Maintenance release
Maintenance release
Docs
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.