Socket
Socket
Sign inDemoInstall

@snyk/docker-registry-v2-client

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snyk/docker-registry-v2-client - npm Package Compare versions

Comparing version 2.13.0 to 2.13.1

3

dist/get-image-size.d.ts

@@ -1,1 +0,2 @@

export declare function getImageSize(registryBase: string, repo: string, tag: string, username?: string, password?: string, options?: any): Promise<number>;
import { types } from ".";
export declare function getImageSize(registryBase: string, repo: string, tag: string, username?: string, password?: string, options?: any, callChainObserver?: types.CallChainObserver): Promise<number>;

@@ -5,4 +5,4 @@ "use strict";

const get_manifest_1 = require("./get-manifest");
async function getImageSize(registryBase, repo, tag, username, password, options = {}) {
const manifest = await (0, get_manifest_1.getManifest)(registryBase, repo, tag, username, password, options);
async function getImageSize(registryBase, repo, tag, username, password, options = {}, callChainObserver = { visitedUrls: [] }) {
const manifest = await (0, get_manifest_1.getManifest)(registryBase, repo, tag, username, password, options, undefined, callChainObserver);
const layers = manifest.layers || [];

@@ -9,0 +9,0 @@ return layers.reduce((size, layerConfig) => size + layerConfig.size, 0);

@@ -50,3 +50,3 @@ {

},
"version": "2.13.0"
"version": "2.13.1"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc