@cyclonedx/cyclonedx-npm
7.0.1 · 13 Nov 2026Apache-2.0697.7k / weekRepositoryHomepagenpmAtom feed
7.0.1 is the newest release of 7.x.
Summary· from the note as AI read it
Migration neededRead before upgrading: 4 changes to make.
Before you upgrade
- Pass --spec-version 1.6 explicitly if you need the old spec version.
- Install optional peer dependencies yourself for validation and XML output.
- Pass --spec-version 1.6 explicitly if you need the old spec version.
- Install optional peer dependencies yourself for validation and XML output.
In short
2 breaking2 removed12 internal
- Breaking
CLI option
--spec-versiondefaults to1.7, was1.6([#1534] via [#1533]) - Breaking
feat: spec-version defaults to CycloneDX 1.7
- Removed
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.
- Removed
feat!: dont install dependencies for optional features
Release note
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
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.