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

dockerode

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dockerode - npm Package Compare versions

Comparing version 2.2.4 to 2.2.5

6

lib/docker.js

@@ -275,6 +275,4 @@ var EventEmitter = require('events').EventEmitter,

this.modem.dial(optsf, function(err, data) {
if(err) {
return args.callback(err);
}
args.callback(undefined, self.getVolume(data.Name));
if(err) return args.callback(err, data);
args.callback(err, self.getVolume(data.Name));
});

@@ -281,0 +279,0 @@ };

{
"name": "dockerode",
"description": "Docker Remote API module.",
"version": "2.2.4",
"version": "2.2.5",
"author": "Pedro Dias <petermdias@gmail.com>",

@@ -6,0 +6,0 @@ "maintainers": [

@@ -24,3 +24,3 @@ # dockerode

* Input options are directly passed to Docker. Check [Docker Remote API documentation](https://docs.docker.com/reference/api/docker_remote_api/) for more details.
* Input options are directly passed to Docker. Check [Docker Remote API documentation](https://docs.docker.com/engine/reference/api/docker_remote_api/) for more details.
* Return values are unchanged from Docker, official Docker documentation will also apply to them.

@@ -194,3 +194,3 @@ * Check the tests and examples folder for more examples.

``` js
docker.pull('myrepo/myname:tag', function (err, stream) {
docker.pull('myrepo/myname:tag', function (err, stream) {
// streaming output from pull...

@@ -262,6 +262,5 @@ });

`docker pull ubuntu:latest` to prepare your system for the tests.
* `docker pull ubuntu:latest` to prepare your system for the tests.
* Tests are implemented using `mocha` and `chai`. Run them with `npm test`.
Tests are implemented using `mocha` and `chai`. Run them with `npm test`.
## Examples

@@ -268,0 +267,0 @@

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