Comparing version 2.4.2 to 2.4.3
@@ -38,2 +38,4 @@ var extend = require('./util').extend, | ||
Container.prototype[require('util').inspect.custom] = function() { return this; }; | ||
/** | ||
@@ -353,3 +355,3 @@ * Inspect | ||
return new this.modem.Promise(function(resolve, reject) { | ||
this.modem.dial(optsf, function(err, data) { | ||
self.modem.dial(optsf, function(err, data) { | ||
if (err) { | ||
@@ -356,0 +358,0 @@ return reject(err); |
@@ -26,6 +26,6 @@ var EventEmitter = require('events').EventEmitter, | ||
if(opts && opts.Promise) { | ||
if (opts && opts.Promise) { | ||
plibrary = opts.Promise; | ||
if(Object.keys(opts).length === 1) { | ||
if (Object.keys(opts).length === 1) { | ||
opts = undefined; | ||
@@ -50,2 +50,3 @@ } | ||
options: opts, | ||
authconfig: opts.authconfig, | ||
statusCodes: { | ||
@@ -60,2 +61,4 @@ 200: true, // unofficial, but proxies may return it | ||
delete opts.authconfig; | ||
if (callback === undefined) { | ||
@@ -92,2 +95,3 @@ return new this.modem.Promise(function(resolve, reject) { | ||
opts = auth; | ||
auth = opts.authconfig; | ||
} | ||
@@ -307,3 +311,3 @@ | ||
pack.finalize(); | ||
pack.pipe(zlib.createGzip()).pipe(concat(build)); | ||
return build(pack.pipe(zlib.createGzip())); | ||
} else { | ||
@@ -310,0 +314,0 @@ return build(file); |
@@ -13,2 +13,4 @@ var util = require('./util'); | ||
Exec.prototype[require('util').inspect.custom] = function() { return this; }; | ||
/** | ||
@@ -15,0 +17,0 @@ * Start the exec call that was setup. |
@@ -13,2 +13,4 @@ var util = require('./util'); | ||
Image.prototype[require('util').inspect.custom] = function() { return this; }; | ||
/** | ||
@@ -15,0 +17,0 @@ * Inspect |
@@ -13,2 +13,4 @@ var util = require('./util'); | ||
Network.prototype[require('util').inspect.custom] = function() { return this; }; | ||
/** | ||
@@ -15,0 +17,0 @@ * Inspect |
@@ -13,2 +13,4 @@ var util = require('./util'); | ||
Node.prototype[require('util').inspect.custom] = function() { return this; }; | ||
/** | ||
@@ -15,0 +17,0 @@ * Query Docker for Node details. |
@@ -14,2 +14,4 @@ var util = require('./util'); | ||
Plugin.prototype[require('util').inspect.custom] = function() { return this; }; | ||
/** | ||
@@ -16,0 +18,0 @@ * Inspect |
@@ -13,2 +13,4 @@ var util = require('./util'); | ||
Secret.prototype[require('util').inspect.custom] = function() { return this; }; | ||
/** | ||
@@ -15,0 +17,0 @@ * Inspect |
@@ -13,2 +13,3 @@ var util = require('./util'); | ||
Service.prototype[require('util').inspect.custom] = function() { return this; }; | ||
@@ -15,0 +16,0 @@ /** |
@@ -13,2 +13,4 @@ var util = require('./util'); | ||
Task.prototype[require('util').inspect.custom] = function() { return this; }; | ||
/** | ||
@@ -15,0 +17,0 @@ * Query Docker for Task details. |
@@ -13,2 +13,4 @@ var util = require('./util'); | ||
Volume.prototype[require('util').inspect.custom] = function() { return this; }; | ||
/** | ||
@@ -15,0 +17,0 @@ * Inspect |
{ | ||
"name": "dockerode", | ||
"description": "Docker Remote API module.", | ||
"version": "2.4.2", | ||
"version": "2.4.3", | ||
"author": "Pedro Dias <petermdias@gmail.com>", | ||
@@ -6,0 +6,0 @@ "maintainers": [ |
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
3644
147115