@cyclonedx/cdxgen 9.8.4 → 9.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -686,7 +686,6 @@ function addComponent(
686
686
  encodeForPurl(pkg.subpath)
687
687
  );
688
688
  let purlString = purl.toString();
689
- purlString = decodeURIComponent(purlString);
690
689
  let description = { "#cdata": pkg.description };
691
690
  if (format === "json") {
692
691
  description = pkg.description || undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyclonedx/cdxgen",
3
- "version": "9.8.4",
3
+ "version": "9.8.5",
4
4
  "description": "Creates CycloneDX Software Bill-of-Materials (SBOM) from source or container image",
5
5
  "homepage": "http://github.com/cyclonedx/cdxgen",
6
6
  "author": "Prabhu Subramanian <prabhu@appthreat.com>",
@@ -105,4 +105,4 @@
105
105
  "jest": "^29.7.0",
106
106
  "prettier": "3.0.3"
107
107
  }
108
- }
108
+ }
package/server.js CHANGED
@@ -55,7 +55,8 @@ const parseQueryString = (q, body, options = {}) => {
55
55
  "projectVersion",
56
56
  "parentUUID",
57
57
  "serverUrl",
58
- "apiKey"
58
+ "apiKey",
59
+ "specVersion"
59
60
  ];
60
61
 
61
62
  for (const param of queryParams) {
package/utils.test.js CHANGED
@@ -1143,7 +1143,7 @@ test("parse github actions workflow data", async () => {
1143
1143
  dep_list = parseGitHubWorkflowData(
1144
1144
  readFileSync("./.github/workflows/repotests.yml", { encoding: "utf-8" })
1145
1145
  );
1146
- expect(dep_list.length).toEqual(6);
1146
+ expect(dep_list.length).toEqual(7);
1147
1147
  expect(dep_list[0]).toEqual({
1148
1148
  group: "actions",
1149
1149
  name: "checkout",