@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 +0 -1
- package/package.json +2 -2
- package/server.js +2 -1
- package/utils.test.js +1 -1
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.
|
|
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
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(
|
|
1146
|
+
expect(dep_list.length).toEqual(7);
|
|
1147
1147
|
expect(dep_list[0]).toEqual({
|
|
1148
1148
|
group: "actions",
|
|
1149
1149
|
name: "checkout",
|