You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"$schema":"http://cyclonedx.org/schema/bom-1.4.schema.json","bomFormat":"CycloneDX","specVersion":"1.4","version":1,"metadata":{"component":{"type":"application","name":"MyProject","bom-ref":"BomRef.37jhh9s8fm8.h0pa79tlcq4","licenses":[{"license":{"name":"MIT OR Apache-2.0"}}]}},"components":[{"type":"library","name":"myComponentA","group":"acme","version":"1.33.7","bom-ref":"BomRef.5baklf4ahso.il99vjaajao","licenses":[{"license":{"id":"Apache-2.0"}}]}],"dependencies":[{"ref":"BomRef.37jhh9s8fm8.h0pa79tlcq4","dependsOn":["BomRef.5baklf4ahso.il99vjaajao"]},{"ref":"BomRef.5baklf4ahso.il99vjaajao"}]}
based on https://github.com/CycloneDX/cyclonedx-javascript-library/blob/bad2c33cbc13480d09223ded7ae164264010b3ff/examples/web/example.html
cyclonedx-javascript-library/examples/web/example.html
Line 41 in bad2c33
should cause a SPDX license expression, like it does on nodejs
cyclonedx-javascript-library/examples/web/example.html
Line 52 in bad2c33
should cause a non-empy packageurl.
output is:
JSON
xml
it is expected to have a licen sexpresson, but instead a named licenses is used
it is expected to have a purl, but there is none.
The text was updated successfully, but these errors were encountered: