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
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,14 +47,14 @@ new CycloneDxWebpackPlugin(options?: object)
47
47
48
48
| Name | Type | Default | Description |
49
49
|:-----|:----:|:-------:|:------------|
50
-
|**`specVersion`**|`{string}`<br/> one of: `"1.2"`, `"1.3"`, `"1.4"`, `"1.5"`, `"1.6"`|`"1.6"`| Which version of [CycloneDX-spec] to use.<br/> Supported values depend on the installed dependency [CycloneDX-javascript-library]. |
50
+
|**`specVersion`**|`{string}`<br/> one of: `"1.2"`, `"1.3"`, `"1.4"`, `"1.5"`, `"1.6"`, `"1.7"`|`"1.6"`| Which version of [CycloneDX-spec] to use.<br/> Supported values depend on the installed dependency [CycloneDX-javascript-library]. |
51
51
|**`reproducibleResults`**|`{boolean}`|`false`| Whether to go the extra mile and make the output reproducible.<br/> Reproducibility might result in loss of time- and random-based-values. |
52
52
|**`validateResults`**|`{boolean}`|`true`| Whether to validate the BOM result.<br/> Validation is skipped, if requirements not met. Requires [transitive optional dependencies](https://github.com/CycloneDX/cyclonedx-javascript-library#optional-dependencies). |
53
53
|**`outputLocation`**|`{string}`|`"./cyclonedx"`| Path to write the output to. The path is relative to _webpack_'s overall output path. |
54
54
|**`includeWellknown`**|`{boolean}`|`true`| Whether to write the Wellknowns. |
55
55
|**`wellknownLocation`**|`{string}`|`"./.well-known"`| Path to write the Wellknowns to. The path is relative to _webpack_'s overall output path. |
56
56
|**`rootComponentAutodetect`**|`{boolean}`|`true`| Whether to try auto-detection of the RootComponent.<br/> Tries to find the nearest `package.json` and build a CycloneDX component from it, so it can be assigned to `bom.metadata.component`. |
57
-
|**`rootComponentType`**|`{string}`|`"application"`| Set the RootComponent's type.<br/> See [the list of valid values](https://cyclonedx.org/docs/1.6/json/#metadata_component_type). Supported values depend on [CycloneDX-javascript-library]'s enum `ComponentType`. |
57
+
|**`rootComponentType`**|`{string}`|`"application"`| Set the RootComponent's type.<br/> See [the list of valid values](https://cyclonedx.org/docs/1.7/json/#metadata_component_type). Supported values depend on [CycloneDX-javascript-library]'s enum `ComponentType`. |
58
58
|**`rootComponentName`**| optional `{string}`|`undefined`| If `rootComponentAutodetect` is disabled, then this value is assumed as the "name" of the `package.json`. |
59
59
|**`rootComponentVersion`**| optional `{string}`|`undefined`| If `rootComponentAutodetect` is disabled, then this value is assumed as the "version" of the `package.json`. |
60
60
|**`rootComponentVCS`**| optional `{string}`|`undefined`| If `rootComponentAutodetect` is disabled or the Version Control System is not declared in the `package.json`, then this value is used as the URL for [RootComponent's External References'][docs_cdx_metadata_component_externalReferences] of type "vcs". |
0 commit comments