Skip to content

Commit

Permalink
Bug fix: hashes were missing for go sbom
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
  • Loading branch information
prabhu committed Oct 11, 2023
1 parent 71edd05 commit 3acd1e6
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2697,7 +2697,7 @@ export const createGoBom = async (path, options) => {
const dlist = await parseGosumData(gosumData);
if (dlist && dlist.length) {
dlist.forEach((pkg) => {
gosumMap[`${pkg.group}/${pkg.name}@${pkg.version}`] = pkg._integrity;
gosumMap[`${pkg.name}@${pkg.version}`] = pkg._integrity;
});
}
}
Expand Down
54 changes: 27 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cyclonedx/cdxgen",
"version": "9.8.8",
"version": "9.8.9",
"description": "Creates CycloneDX Software Bill of Materials (SBOM) from source or container image",
"homepage": "http://github.com/cyclonedx/cdxgen",
"author": "Prabhu Subramanian <prabhu@appthreat.com>",
Expand Down Expand Up @@ -57,7 +57,7 @@
"dependencies": {
"@babel/parser": "^7.23.0",
"@babel/traverse": "^7.23.0",
"@npmcli/arborist": "^7.1.0",
"@npmcli/arborist": "^7.2.0",
"ajv": "^8.12.0",
"ajv-formats": "^2.1.1",
"cheerio": "^1.0.0-rc.12",
Expand Down Expand Up @@ -101,9 +101,9 @@
"devDependencies": {
"caxa": "^3.0.1",
"docsify-cli": "^4.4.4",
"eslint": "^8.50.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.7.0",
"prettier": "3.0.3"
}
Expand Down

0 comments on commit 3acd1e6

Please sign in to comment.