Packages

@cyclonedx/cyclonedx-npm

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

Upgrading @cyclonedx/cyclonedx-npm From 4.2.0 to 6.0.0

3 releases in betweenevery note read

Other targets from 4.2.0Newest 4.x4.2.1Latest7.0.1
  1. 4.2.0yours
  2. 4.2.1
  3. 5.0.0security
  4. 6.0.0target

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

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

    5.0.0

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