Skip to content

Commit

Permalink
Update Syft to v0.56.0 (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
1 parent 2cd5755 commit a173e53
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion dist/attachReleaseAssets/index.js

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

2 changes: 1 addition & 1 deletion dist/downloadSyft/index.js

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

2 changes: 1 addition & 1 deletion dist/runSyftAction/index.js

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

2 changes: 1 addition & 1 deletion src/SyftVersion.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = "v0.53.4";
export const VERSION = "v0.56.0";
16 changes: 8 additions & 8 deletions tests/integration/__snapshots__/formatExports.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2362,7 +2362,7 @@ exports[`SPDX JSON alpine 1`] = `
"Organization: Anchore, Inc",
],
"licenseListVersion": "3.17"
},
"dataLicense": "CC0-1.0",
,
Expand Down Expand Up @@ -2407,7 +2407,7 @@ exports[`SPDX JSON debian 1`] = `
"Organization: Anchore, Inc",
],
"licenseListVersion": "3.17"
},
"dataLicense": "CC0-1.0",
,
Expand Down Expand Up @@ -2902,7 +2902,7 @@ exports[`SPDX JSON npm 1`] = `
"Organization: Anchore, Inc",
],
"licenseListVersion": "3.17"
},
"dataLicense": "CC0-1.0",
,
Expand Down Expand Up @@ -3454,7 +3454,7 @@ exports[`SPDX JSON yarn 1`] = `
"Organization: Anchore, Inc",
],
"licenseListVersion": "3.17"
},
"dataLicense": "CC0-1.0",
,
Expand Down Expand Up @@ -3809,7 +3809,7 @@ DataLicense: CC0-1.0
DocumentName: localhost-5000/match-coverage/alpine-latest
LicenseListVersion: 3.17
Expand All @@ -3836,7 +3836,7 @@ DataLicense: CC0-1.0
DocumentName: localhost-5000/match-coverage/debian-latest
LicenseListVersion: 3.17
Expand Down Expand Up @@ -3994,7 +3994,7 @@ DataLicense: CC0-1.0
DocumentName: tests/fixtures/npm-project
LicenseListVersion: 3.17
Expand Down Expand Up @@ -4226,7 +4226,7 @@ DataLicense: CC0-1.0
DocumentName: tests/fixtures/yarn-project
LicenseListVersion: 3.17
Expand Down
2 changes: 2 additions & 0 deletions tests/integration/formatExports.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,14 @@ const testSource = async (source: string, format = "spdx"): Promise<string> => {
.replace(/[Cc]reated["]?[:][^\n]+/g, "")
.replace(/Creator[:][^\n]+/g, "")
.replace(/SPDXID[:][^\n]+/g, "")
.replace(/LicenseListVersion[:][^\n]+/g, "")
.replace(/DocumentNamespace[:][^\n]+/g, "");
case "spdx-json":
return sbom
.replace(/"created": "[^"]+"/g, "")
.replace(/"SPDXID": "[^"]+"/g, "")
.replace(/"Tool:[^"]+"/g, "")
.replace(/"licenseListVersion": "[^"]+"/g, "")
.replace(/"documentNamespace": "[^"]+"/g, "");
case "cyclonedx":
case "cyclonedx-xml":
Expand Down

0 comments on commit a173e53

Please sign in to comment.