Packages

@cyclonedx/cyclonedx-npm

7.0.1 · 13 Nov 2026Apache-2.0697.7k / weekRepositoryHomepagenpmAtom feed

Upgrading @cyclonedx/cyclonedx-npm From 2.0.0 to 7.0.1

17 releases in betweenevery note read

Other targets from 2.0.0Newest 2.x2.1.0Clears its advisory6.0.0
  1. 2.0.0yours
  2. 1 release
  3. 3.0.0major
  4. 1 release
  5. 4.0.0major
  6. 8 releases
  7. 5.0.0security
  8. 6.0.0security
  9. 1 release
  10. 7.0.0major
  11. 7.0.1target

Before you upgrade

Tick each one off as you go
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking6.0.0
  • Breaking5.0.0
  • Breaking4.0.0
  • Breaking3.0.0

Security

Release by release

  1. 7.0.1nothing new or fixed in the note

  2. 7.0.0

    Migration needed9 Nov 2026
    • Breaking

      CLI option --spec-version defaults to 1.7, was 1.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.

  3. 6.0.1nothing new or fixed in the note

  4. 6.0.0

    Security fix7 Jul 20261 fix
    • Security

      This release includes a fix for a known security vulnerability.

    • Security

      Eliminated a potential shell‑injection vulnerability in the --workspace argument on Windows (via [#1489]) See github.com/CycloneDX/cyclonedx-node-npm/securit…

    • Breaking

      Reworked npm detection and handling. The behavior when npm_execpath is present remains unchanged.

    • Fixed

      Properly closing output file (via [#1484])

  5. 5.0.0

    Security fix16 Jun 20261 fix
    • Security

      Eliminated a potential shell‑injection vulnerability in the --workspace argument (via [#1476]) See github.com/CycloneDX/cyclonedx-node-npm/securit…

    • Breaking

      Reworked npm handling – npm is now executed explicitly rather than through a subshell. The behavior when npm_execpath is present remains unchanged.

    • Fixed

      Eliminate possible shell-injection in --workspace argument

  6. 4.2.1

    9 Mar 20262 fixes
    • Fixed

      Properly generate PackageURLs for private packages ([#1425] via [#1426])

    • Fixed

      PackageURLs for private components

  7. 4.2.0

    3 Mar 20261 fix
    • Fixed

      Qualified PackageURLs (via [#1416])

  8. 4.1.2

    5 Dec 20251 new
    • New

      Support runtime-dependency xmlbuilder2@^3.0.2||^4.0.3, was @^3.0.2 ([#1392] via [#1390])

5 other lines we could not sort, mostly version bumps
  • Pin GitHub Actions to immutable SHAs while preserving tag-based update flow

    5.0.0
  • Applied latest code standards (via [#1388])

    4.1.2
  • Utilizes license file gatherer of @cyclonedx/cyclonedx-library, previously used own implementation (via [#1303])

    3.1.0
  • Raised commander@^14.0.0, was @^13.1.0 (via [#1297])

    3.1.0
  • Raised @cyclonedx/cyclonedx-library@^8.0.0, was @^7.0.0 (via [#1281])

    3.0.0

68 internal lines (docs, tests, tooling) left out.

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.