Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@snyk/snyk-docker-pull

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snyk/snyk-docker-pull - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

4

package.json

@@ -39,7 +39,7 @@ {

"dependencies": {
"@snyk/docker-registry-v2-client": "^1.12.3",
"@snyk/docker-registry-v2-client": "^1.13.2",
"child-process": "^1.0.2",
"tmp": "^0.1.0"
},
"version": "3.0.0"
"version": "3.0.1"
}

@@ -43,1 +43,18 @@ import { DockerPull, DockerPullOptions } from "../../src/docker-pull";

});
test("pull from public repo", async () => {
const registry = "registry-1.docker.io";
const repo = "library/hello-world";
const tag = "latest";
const opt: DockerPullOptions = {
loadImage: false
};
const dockerPull: DockerPull = new DockerPull();
const resp = await dockerPull.pull(registry, repo, tag, opt);
expect(
fs.existsSync(path.join(resp.stagingDir.name, "image.tar"))
).toBeTruthy();
resp.stagingDir.removeCallback();
});
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