Packages

@cyclonedx/cyclonedx-npm

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

Upgrading @cyclonedx/cyclonedx-npm From 4.0.2 to 6.0.0

8 releases in betweenevery note read

Other targets from 4.0.2Newest 4.x4.2.1Latest7.0.1

Before you upgrade

Tick each one off as you go
  • Breaking6.0.0
  • Breaking5.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

2 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

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