Packages

@cyclonedx/cyclonedx-library

10.5.1 · 11 Nov 2026Apache-2.0993.4k / weekRepositoryHomepagenpmAtom feed

Your version

10.4.0

3 Nov 2026Where it was published

10.5.1 is the newest release of 10.x.

In short

5 new1 changed

Release note

Added

  • Optional-feature classes expose a static cannot property (via #1534)
    It tells whether missing optional dependencies prevent the class from acting:
    false when the feature is available;
    otherwise an object with a message describing why the feature is unavailable.
    Affected classes:

    • Serialize.JsonSerializer — always false

    • Serialize.XmlSerializer — always false in web builds; in node it depends on an optional XML library

    • Validation.JsonValidator

    • Validation.JsonStrictValidator

    • Validation.XmlValidator

Changed

  • Serialize.XmlSerializer, Validation.JsonValidator, Validation.JsonStrictValidator and Validation.XmlValidator
    now throw MissingOptionalDependencyError based on the new cannot check,
    instead of wrapping the underlying OptPlugError (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.