@snyk/docker-registry-v2-client
Advanced tools
Comparing version 2.11.0 to 2.12.0
@@ -94,5 +94,8 @@ "use strict"; | ||
function getManifestByOsAndArch(platformManifest, os, architecture) { | ||
return platformManifest.find(manifest => manifest.platform.os === os && | ||
manifest.platform.architecture === architecture); | ||
return platformManifest.find(manifest => { | ||
var _a, _b; | ||
return ((_a = manifest.platform) === null || _a === void 0 ? void 0 : _a.os) === os && | ||
((_b = manifest.platform) === null || _b === void 0 ? void 0 : _b.architecture) === architecture; | ||
}); | ||
} | ||
//# sourceMappingURL=get-manifest.js.map |
@@ -10,3 +10,3 @@ export interface LayerConfig { | ||
digest: string; | ||
platform: Platform; | ||
platform?: Platform; | ||
} | ||
@@ -13,0 +13,0 @@ export interface Platform { |
@@ -50,3 +50,3 @@ { | ||
}, | ||
"version": "2.11.0" | ||
"version": "2.12.0" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67466
868