Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update Syft to v1.3.0 #456

Merged
merged 2 commits into from Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
@@ -1 +1 @@
export const VERSION = "v1.1.0";
export const VERSION = "v1.3.0";
20 changes: 10 additions & 10 deletions tests/integration/__snapshots__/formatExports.test.ts.snap
Expand Up @@ -2471,8 +2471,8 @@ exports[`SPDX JSON alpine 1`] = `
"name": "libvncserver",
"SPDXID": "redacted",
"versionInfo": "0.9.9",
"supplier": "Person: A. Wilcox \\u003cawilfox@adelielinux.org\\u003e",
"originator": "Person: A. Wilcox \\u003cawilfox@adelielinux.org\\u003e",
"supplier": "Person: A. Wilcox <awilfox@adelielinux.org>",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like we fixed a couple encoding bugs in Syft SPDX JSON outputs? Would like a second set of eyes, since I wasn't expected a snapshot diff here.

"originator": "Person: A. Wilcox <awilfox@adelielinux.org>",
"downloadLocation": "http://libvncserver.sourceforge.net/",
"filesAnalyzed": false,
"sourceInfo": "acquired package info from APK DB: /lib/apk/db/installed",
Expand All @@ -2489,7 +2489,7 @@ exports[`SPDX JSON alpine 1`] = `
{
"referenceCategory": "PACKAGE-MANAGER",
"referenceType": "purl",
"referenceLocator": "pkg:apk/alpine/libvncserver@0.9.9?arch=x86_64\\u0026distro=alpine-3.12.0"
"referenceLocator": "pkg:apk/alpine/libvncserver@0.9.9?arch=x86_64&distro=alpine-3.12.0"
}
]
},
Expand All @@ -2510,7 +2510,7 @@ exports[`SPDX JSON alpine 1`] = `
{
"referenceCategory": "PACKAGE-MANAGER",
"referenceType": "purl",
"referenceLocator": "pkg:oci/localhost:5000/match-coverage/alpine@sha256:redacted?arch=amd64\\u0026tag=latest"
"referenceLocator": "pkg:oci/localhost:5000/match-coverage/alpine@sha256:redacted?arch=amd64&tag=latest"
}
],
"primaryPackagePurpose": "CONTAINER"
Expand Down Expand Up @@ -2743,8 +2743,8 @@ exports[`SPDX JSON debian 1`] = `
"name": "apt",
"SPDXID": "redacted",
"versionInfo": "1.8.2",
"supplier": "Person: APT Development Team \\u003cdeity@lists.debian.org\\u003e",
"originator": "Person: APT Development Team \\u003cdeity@lists.debian.org\\u003e",
"supplier": "Person: APT Development Team <deity@lists.debian.org>",
"originator": "Person: APT Development Team <deity@lists.debian.org>",
"downloadLocation": "NOASSERTION",
"filesAnalyzed": false,
"sourceInfo": "acquired package info from DPKG DB: /var/lib/dpkg/status",
Expand All @@ -2760,7 +2760,7 @@ exports[`SPDX JSON debian 1`] = `
{
"referenceCategory": "PACKAGE-MANAGER",
"referenceType": "purl",
"referenceLocator": "pkg:deb/debian/apt@1.8.2?arch=amd64\\u0026upstream=apt-dev\\u0026distro=debian-8"
"referenceLocator": "pkg:deb/debian/apt@1.8.2?arch=amd64&upstream=apt-dev&distro=debian-8"
}
]
},
Expand Down Expand Up @@ -3083,8 +3083,8 @@ exports[`SPDX JSON debian 1`] = `
"name": "npm",
"SPDXID": "redacted",
"versionInfo": "6.14.6",
"supplier": "Person: Isaac Z. Schlueter \\u003ci@izs.me\\u003e (http://blog.izs.me)",
"originator": "Person: Isaac Z. Schlueter \\u003ci@izs.me\\u003e (http://blog.izs.me)",
"supplier": "Person: Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)",
"originator": "Person: Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)",
"downloadLocation": "https://github.com/npm/cli",
"filesAnalyzed": false,
"homepage": "https://docs.npmjs.com/",
Expand Down Expand Up @@ -3123,7 +3123,7 @@ exports[`SPDX JSON debian 1`] = `
{
"referenceCategory": "PACKAGE-MANAGER",
"referenceType": "purl",
"referenceLocator": "pkg:oci/localhost:5000/match-coverage/debian@sha256:redacted?arch=amd64\\u0026tag=latest"
"referenceLocator": "pkg:oci/localhost:5000/match-coverage/debian@sha256:redacted?arch=amd64&tag=latest"
}
],
"primaryPackagePurpose": "CONTAINER"
Expand Down