bump @sigstore/oci from 0.3.6 to 0.3.7 (#90)

Signed-off-by: Brian DeHamer <[email protected]>
This commit is contained in:
Brian DeHamer
2024-06-13 14:22:50 -07:00
committed by GitHub
parent b24527d9cb
commit 0fdba851bc
3 changed files with 12 additions and 12 deletions
Generated Vendored
+1 -1
View File
@@ -11758,7 +11758,7 @@ class OCIImage {
// the referrers API but still reports a subjectDigest).
const referrersSupported = await __classPrivateFieldGet(this, _OCIImage_client, "f").pingReferrers();
// Manually update the referrers list if the referrers API is not supported.
if (!referrersSupported) {
if (!artifactDescriptor.subjectDigest || !referrersSupported) {
// Strip subjectDigest from the artifact descriptor (in case it was returned)
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
const { subjectDigest, ...descriptor } = artifactDescriptor;