File tree 2 files changed +13
-2
lines changed
2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,17 @@ pnpm add github:CycloneDX/cyclonedx-javascript-library
112
112
yarn add @cyclonedx/cyclonedx-library@github:CycloneDX/cyclonedx-javascript-library # only with yarn-2
113
113
```
114
114
115
+ ## Optional Dependencies
116
+
117
+ Some dependencies are optional. See the shipped ` package.json ` for details and version constraints.
118
+
119
+ * XML serialization only on NodeJS requires any of :
120
+ * [ ` xmlbuilder2 ` ] ( https://www.npmjs.com/package/xmlbuilder2 )
121
+ * JSON validation requires all of:
122
+ * [ ` ajv ` ] ( https://www.npmjs.com/package/ajv )
123
+ * [ ` ajv-formats ` ] ( https://www.npmjs.com/package/ajv-formats )
124
+ * [ ` ajv-formats-draft2019 ` ] ( https://www.npmjs.com/package/ajv-formats-draft2019 )
125
+
115
126
## Usage
116
127
117
128
See extended [ examples] .
Original file line number Diff line number Diff line change @@ -56,10 +56,10 @@ const configBase = {
56
56
}
57
57
} ,
58
58
externals : {
59
- 'packageurl-js' : 'packageurl-js' ,
60
59
'ajv' : 'ajv' ,
61
60
'ajv-formats' : 'ajv-formats' ,
62
- 'ajv-formats-draft2019' : 'ajv-formats-draft2019'
61
+ 'ajv-formats-draft2019' : 'ajv-formats-draft2019' ,
62
+ 'packageurl-js' : 'packageurl-js'
63
63
}
64
64
}
65
65
You can’t perform that action at this time.
0 commit comments