File tree Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ componentA.purl = purlFac.makeFromComponent(componentA)
4646bom . components . add ( componentA )
4747bom . metadata . component . dependencies . add ( componentA . bomRef )
4848
49- const serializeSpec = CDX . Spec . Spec1dot6
49+ const serializeSpec = CDX . Spec . Spec1dot7
5050
5151const jsonSerializer = new CDX . Serialize . JsonSerializer (
5252 new CDX . Serialize . JSON . Normalize . Factory ( serializeSpec ) )
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ componentA.purl = purlFac.makeFromComponent(componentA)
4646bom . components . add ( componentA )
4747bom . metadata . component . dependencies . add ( componentA . bomRef )
4848
49- const serializeSpec = CDX . Spec . Spec1dot6
49+ const serializeSpec = CDX . Spec . Spec1dot7
5050
5151const jsonSerializer = new CDX . Serialize . JsonSerializer (
5252 new CDX . Serialize . JSON . Normalize . Factory ( serializeSpec ) )
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ componentA.purl = purlFac.makeFromComponent(componentA)
4646bom . components . add ( componentA )
4747bom . metadata . component . dependencies . add ( componentA . bomRef )
4848
49- const serializeSpec = CDX . Spec . Spec1dot6
49+ const serializeSpec = CDX . Spec . Spec1dot7
5050
5151const jsonSerializer = new CDX . Serialize . JsonSerializer (
5252 new CDX . Serialize . JSON . Normalize . Factory ( serializeSpec ) )
@@ -65,7 +65,7 @@ jsonValidator.validate(serializedJson)
6565 if ( err instanceof CDX . Validation . MissingOptionalDependencyError ) {
6666 console . info ( 'JSON validation skipped:' , err )
6767 } else {
68-
68+
6969 throw err
7070 }
7171 } )
@@ -87,7 +87,7 @@ xmlValidator.validate(serializedXML)
8787 if ( err instanceof CDX . Validation . MissingOptionalDependencyError ) {
8888 console . info ( 'XML validation skipped:' , err )
8989 } else {
90-
90+
9191 throw err
9292 }
9393 } )
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ componentA.purl = purlFac.makeFromComponent(componentA)
4646bom . components . add ( componentA )
4747bom . metadata . component . dependencies . add ( componentA . bomRef )
4848
49- const serializeSpec = CDX . Spec . Spec1dot6
49+ const serializeSpec = CDX . Spec . Spec1dot7
5050
5151const jsonSerializer = new CDX . Serialize . JsonSerializer (
5252 new CDX . Serialize . JSON . Normalize . Factory ( serializeSpec ) )
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ componentA.purl = purlFac.makeFromComponent(componentA)
4646bom . components . add ( componentA )
4747bom . metadata . component . dependencies . add ( componentA . bomRef )
4848
49- const serializeSpec = CDX . Spec . Spec1dot6
49+ const serializeSpec = CDX . Spec . Spec1dot7
5050
5151const jsonSerializer = new CDX . Serialize . JsonSerializer (
5252 new CDX . Serialize . JSON . Normalize . Factory ( serializeSpec ) )
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ componentA.purl = purlFac.makeFromComponent(componentA)
4646bom . components . add ( componentA )
4747bom . metadata . component . dependencies . add ( componentA . bomRef )
4848
49- const serializeSpec = CDX . Spec . Spec1dot6
49+ const serializeSpec = CDX . Spec . Spec1dot7
5050
5151const jsonSerializer = new CDX . Serialize . JsonSerializer (
5252 new CDX . Serialize . JSON . Normalize . Factory ( serializeSpec ) )
You can’t perform that action at this time.
0 commit comments