File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ componentA.licenses.add(lFac.makeFromString('Apache-2.0'))
4040bom . components . add ( componentA )
4141bom . metadata . component . dependencies . add ( componentA . bomRef )
4242
43- const serializeSpec = CDX . Spec . Spec1dot4
43+ const serializeSpec = CDX . Spec . Spec1dot5
4444
4545const jsonSerializer = new CDX . Serialize . JsonSerializer (
4646 new CDX . Serialize . JSON . Normalize . Factory ( serializeSpec ) )
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ componentA.licenses.add(lFac.makeFromString('Apache-2.0'))
4040bom . components . add ( componentA )
4141bom . metadata . component . dependencies . add ( componentA . bomRef )
4242
43- const serializeSpec = CDX . Spec . Spec1dot4
43+ const serializeSpec = CDX . Spec . Spec1dot5
4444
4545const jsonSerializer = new CDX . Serialize . JsonSerializer (
4646 new CDX . Serialize . JSON . Normalize . Factory ( serializeSpec ) )
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ componentA.licenses.add(lFac.makeFromString('Apache-2.0'))
4040bom . components . add ( componentA )
4141bom . metadata . component . dependencies . add ( componentA . bomRef )
4242
43- const serializeSpec = CDX . Spec . Spec1dot4
43+ const serializeSpec = CDX . Spec . Spec1dot5
4444
4545const jsonSerializer = new CDX . Serialize . JsonSerializer (
4646 new CDX . Serialize . JSON . Normalize . Factory ( serializeSpec ) )
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ componentA.licenses.add(lFac.makeFromString('Apache-2.0'))
4040bom . components . add ( componentA )
4141bom . metadata . component . dependencies . add ( componentA . bomRef )
4242
43- const serializeSpec = CDX . Spec . Spec1dot4
43+ const serializeSpec = CDX . Spec . Spec1dot5
4444
4545const jsonSerializer = new CDX . Serialize . JsonSerializer (
4646 new CDX . Serialize . JSON . Normalize . Factory ( serializeSpec ) )
Original file line number Diff line number Diff line change 5656
5757 const xmlSerializer = new CDX . Serialize . XmlSerializer (
5858 new CDX . Serialize . XML . Normalize . Factory (
59- CDX . Spec . Spec1dot4 ) )
59+ CDX . Spec . Spec1dot5 ) )
6060 const serializedXML = xmlSerializer . serialize ( bom )
6161 console . log ( serializedXML )
6262 </ script >
You can’t perform that action at this time.
0 commit comments