@cyclonedx/cyclonedx-library
10.5.1 · 11 Nov 2026Apache-2.0993.4k / weekRepositoryHomepagenpmAtom feed
10.5.1 is the newest release of 10.x.
In short
5 new1 changed
Release note
Added
Optional-feature classes expose a static
cannotproperty (via #1534)
It tells whether missing optional dependencies prevent the class from acting:falsewhen the feature is available;
otherwise an object with amessagedescribing why the feature is unavailable.
Affected classes:Serialize.JsonSerializer— alwaysfalseSerialize.XmlSerializer— alwaysfalsein web builds; in node it depends on an optional XML libraryValidation.JsonValidatorValidation.JsonStrictValidatorValidation.XmlValidator
Changed
Serialize.XmlSerializer,Validation.JsonValidator,Validation.JsonStrictValidatorandValidation.XmlValidator
now throwMissingOptionalDependencyErrorbased on the newcannotcheck,
instead of wrapping the underlyingOptPlugError(via #1534)
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.