Packages

@cyclonedx/cyclonedx-npm

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

Upgrading @cyclonedx/cyclonedx-npm From 2.0.0 to 6.0.0

14 releases in betweenevery note read

Other targets from 2.0.0Newest 2.x2.1.0Latest7.0.1
  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.0target

Before you upgrade

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

Security

Release by release

  1. 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])

  2. 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

  3. 4.2.1

    9 Mar 20262 fixes
    • Fixed

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

    • Fixed

      PackageURLs for private components

  4. 4.2.0

    3 Mar 20261 fix
    • Fixed

      Qualified PackageURLs (via [#1416])

  5. 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])

  6. 4.1.1

    11 Nov 20252 fixes
    • Fixed

      Create output dir properly if needed (via [#1377])

    • Fixed

      Properly create outpur dir if needed

  7. 4.1.0

    29 Oct 20251 new
    • New

      Added

  8. 4.0.3

    22 Sep 20252 fixes
    • Fixed

      If reproducible flag enabled, SBOM result's bom-ref for alias/duplicated components are reproducible ([#1351] via [#1352])

    • Fixed

      Have unique bomRefs for duplicated package installs

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

51 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.