Packages

@cyclonedx/cyclonedx-npm

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

Your version

59 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 7.x · latest line
  2. 7.0.1

    13 Nov 2026

    Only updates dependencies, nothing else changes.

  3. 7.0.0

    9 Nov 2026

    Summary· from the note as AI read it

    Read before upgrading: 4 changes to make.

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

  4. 6.x
  5. 6.0.1

    11 Aug 2026

    Maintenance release.

  6. 6.0.0

    7 Jul 2026
    • Breaking

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

    • Security

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

    • Properly closing output file (via #1484)

  7. 5.x
  8. 5.0.0

    16 Jun 2026
    • Breaking

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

    • Security

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

    • Pin GitHub Actions to immutable SHAs while preserving tag-based update flow

  9. 4.x
  10. 4.2.1

    9 Mar 2026
    • Properly generate PackageURLs for private packages (#1425 via #1426)

    • PackageURLs for private components

  11. 4.2.0

    3 Mar 2026
    • Qualified PackageURLs (via #1416)

    • Take care of PackageURL generation ourselves, now (via #1416)
      Previously, this was done at best-effort by a 3rd-party library.

  12. 4.1.2

    5 Dec 2025
    • Support runtime-dependency xmlbuilder2@^3.0.2||^4.0.3, was @^3.0.2 (#1392 via #1390)

    • Applied latest code standards (via #1388)

  13. 4.1.1

    11 Nov 2025
    • Create output dir properly if needed (via #1377)

    • Properly create outpur dir if needed

  14. 4.1.0

    29 Oct 2025
    • Added

    • Build

  15. 4.0.3

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

    • Have unique bomRefs for duplicated package installs

  16. 4.0.2

    16 Sep 2025
    • Support @cyclonedx/cyclonedx-library@^9.0.0, was @^8.4.0 (via #1349)

    • Support cyclonedx-library v9.0.0

  17. 4.0.1

    4 Sep 2025
    • Support normalize-package-data@^8.0.0, was @^7.0.0 (via #1327)

  18. 4.0.0

    23 Jun 2025
    • Breaking

      SBOM results might have slightly changed (via #1307)

    • External dependency edge-cases are now properly nested (via #1307)

    • SBOM result's bom-ref is prefixed with parent-component's one to ensure uniqueness (via [#1307])

  19. 3.x
  20. 3.1.0

    16 Jun 2025
  21. 3.0.0

    8 Apr 2025
    • Breaking

      Dropped support for node<20.18.0 ([#1192] via [#1273])

    • Breaking

      Dropped support for npm<9 (#1274 via #1273, #1277)

    • CLI switch -o as shorthand for --output-file ([#1282] via [#1288])

  22. 2.x
  23. 2.1.0

    19 Mar 2025
    • Functionality for workspaces (#1126 via #1212)
      This introduces new CLI options/switches: --workspace, --no-workspaces, --[no-]include-workspace-root.
      See the docs for details.

    • Add support for targetting specific workspaces

    • Update json issue in package.json

  24. 2.0.0

    27 Jan 2025
    • Breaking

      CLI option --spec-version defaults to 1.6, was 1.4 ([#1173] via [#1258])

    • Breaking

      Emit $.metadata.tools as components (#1233 via #1235)
      This affects only CycloneDX spec-version 1.5 and later.

    • Breaking

      Emitted .purl values might be partially url-encoded (via #1235)
      This is caused by changes on underlying 3rd-party dependency packageurl-js.

  25. 1.x
  26. 1.20.0

    13 Jan 2025
    • Official support for npm@11 ([#1245] via [#1249])

    • Capability to gather license text evidences (#256 via #1243)
      This feature can be controlled via CLI switch --gather-license-texts.
      This feature is experimental. This feature is disabled per default.

  27. 1.19.3

    15 Jul 2024
    • Raised runtime dependency @cyclonedx/cyclonedx-library@^6.11.0

  28. 1.19.2

    10 Jul 2024
    • CycloneDX externalReferences for vcs type ([#1198] via [#1202])

    • CycloneDX property cdx:npm:package:path's value on Windows systems (via #1203)

    • Path property on windows

  29. 1.19.0

    1 Jun 2024
    • Try to sanitize distribution URLs (via #1187, #1191)

    • More debug output when it comes to package manifest loading (via #1189)

    • Added direct dependency hosted-git-info@^4||^5||^6||^7 (via #1191)
      This is also a transitive dependency via already existing direct dependency normalize-package-data.

  30. 1.18.0

    8 May 2024
    • Licenses acknowledgement might be populated (#1171 via #1183)

    • License acknowledgement

  31. 1.17.0

    23 Apr 2024
    • This tool explicitly supports CycloneDX Specification-1.6 now (via #1175)

    • CLI switch --spec-version now supports value 1.6 to reflect CycloneDX Specification-1.6 (via #1175)
      Default value for that option is unchanged - still 1.4.

  32. 1.16.2

    19 Mar 2024
    • Applied latest code standards (via #1149)

  33. 1.16.1

    11 Jan 2024
    • Fixed

    • Docs

  34. 1.16.0

    11 Dec 2023
    • If BOM result validation was explicitly requested and skipped, then a warning is shown ([#1137] via [#1138])

    • Log messages that explain program failures were set to "error" level (via #1138)

    • Escalate various log messages

  35. 1.15.0

    10 Dec 2023
    • Log output is less verbose, can be re-enabled via CLI switch --verbose (#158 via #1131)
      Warnings and errors are still displayed as before!
      This is considered a non-breaking change, since only informational logs and debug information is affected.

    • Hardened JSON imports (via #1132, #1135)

    • CLI switch -v, --verbose to increase output verbosity (#158 via #1131)
      May be used multiple times, like -vvv.

  36. 1.14.3

    1 Dec 2023
    • Added direct dependency packageurl-js as such (via #1122)

    • Applied latest code standards (via #1124)

  37. 1.14.2

    6 Nov 2023
    • SBOM results might have the externalReferences.hashes populated (#1118 via #1120)
      The hashes might have wrongly appeared as components.hashes before.

    • Components' distribution integrity hash of "sha256" is properly detected and populated in the SBOM result ([#699] via [#1121])

    • Components' distribution integrity hash of "sha384" is properly detected and populated in the SBOM result ([#699] via #1121)

  38. 1.14.1

    18 Sep 2023
    • Explicit allow engine npm@10 (via [#1107])
      This is a bugfix for an existing feature (see [#973]).

  39. 1.14.0

    3 Sep 2023
    • SBOM result might have additional items in metadata.tools populated (#1100 via #1101)

  40. 1.13.3

    1 Sep 2023

    Maintenance release

  41. 1.13.2

    28 Aug 2023

    Maintenance release

  42. 1.13.1

    18 Aug 2023

    Maintenance release

  43. 1.13.0

    7 Jul 2023
    • This tool supports CycloneDX Specification-1.5 now (#828 via #843)

    • CLI switch --spec-version now supports value 1.5 to reflect CycloneDX Specification-1.5 (#828 via #843)
      Default value for that option is unchanged - still 1.4.

  44. 1.12.1

    16 Jun 2023

    Maintenance release

  45. 1.12.0

    17 May 2023
    • 2.15 — SPDX license expression detection improved (via [#726])

    • 2.18 — SHA-1 integrity hash detection added (#699 via #735)

    • SPDX license expression detection improved (via #726)
      Previously, some expressions were not properly detected, so they were marked as named-license in the SBOM results.
      They should be marked as expression, now.

  46. 1.11.0

    27 Apr 2023
    • SBOM result might be validated (via #660)
      This feature is enabled per default and can be disabled via CLI switch --no-validate.
      Validation is skipped, if requirements are not met. Requires transitive optional dependencies

  47. 1.10.0

    17 Apr 2023
    • SBOM result might have component.scope=optional populated for OptionalDependencies (#645 via #657)

    • DevDependencies that are also required by OptionalDependencies correctly have the property cdx:npm:package:development populated in SBOM results ([#645] via [#657])

    • DevDependencies that are also required by OptionalDependencies are correctly omitted from SBOM results, when the CLI switch for omitting "dev" and "optional" are set (#645 via #657)

  48. 1.9.2

    30 Mar 2023
    • No longer omit components' version's buildID (#551 via #597)
      Fixed for NPM>=7 only. NPM6 omits this information in the first place, still.

  49. 1.9.1

    15 Mar 2023

    Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.

  50. 1.9.0

    3 Mar 2023
    • Detected node packages' metadata are now normalized, before translation to SBOM components happens. (#536 via #537)
      This might increase the quality of SBOM results.

  51. 1.8.0

    16 Feb 2023
    • SBOM result might have additional items in metadata.tools populated (#505 via #506)

  52. 1.7.5

    14 Feb 2023

    Maintenance release

  53. 1.7.4

    14 Feb 2023

    Maintenance release

  54. 1.7.3

    12 Feb 2023

    Maintenance release

  55. 1.7.2

    19 Dec 2022
    • Enhanced randomness when generating a serialNumber (via #389)

  56. 1.7.1

    16 Dec 2022

    Maintenance release

  57. 1.7.0

    15 Dec 2022
    • SBOM result might have serialNumber populated (#375 via #376, #377)

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.