{{ message }}
Commit faf7348
authored
fix!: align CycloneDX SBOM component names with SPDX (#9284)
BREAKING CHANGE: `npm sbom --sbom-format=cyclonedx` now reports the
`name` field from each package's `package.json` instead of the on-disk
directory name. The `name`, `bom-ref`, and `purl` of the root component
and of aliased dependencies may change.
fixes: #9178
---------
Co-authored-by: cyphercodes <cyphercodes@users.noreply.github.com>1 parent e20424b commit faf7348
3 files changed
Lines changed: 16 additions & 3 deletions
File tree
- lib/utils
- tap-snapshots/test/lib/commands
- test/lib/utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
| 258 | + | |
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
| 460 | + | |
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
| |||

0 commit comments