@cyclonedx/cdxgen
Advanced tools
Comparing version 8.2.2 to 8.2.3
{ | ||
"name": "@cyclonedx/cdxgen", | ||
"version": "8.2.2", | ||
"version": "8.2.3", | ||
"description": "Creates CycloneDX Software Bill-of-Materials (SBOM) from source or container image", | ||
@@ -5,0 +5,0 @@ "homepage": "http://github.com/cyclonedx/cdxgen", |
@@ -1218,2 +1218,14 @@ const utils = require("./utils"); | ||
}); | ||
parsedList = await utils.parsePnpmLock("./test/data/pnpm-lock6a.yaml"); | ||
expect(parsedList.pkgList.length).toEqual(229); | ||
expect(parsedList.dependenciesList.length).toEqual(229); | ||
expect(parsedList.pkgList[0]).toEqual({ | ||
group: "@babel", | ||
name: "code-frame", | ||
version: "7.18.6", | ||
scope: "optional", | ||
_integrity: | ||
"sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", | ||
properties: [{ name: "SrcFile", value: "./test/data/pnpm-lock6a.yaml" }] | ||
}); | ||
}); | ||
@@ -1220,0 +1232,0 @@ |
Sorry, the diff of this file is too big to display
454277
13337