node-docker-api
Advanced tools
Comparing version 1.1.18 to 1.1.19
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const image_1 = require("./image"); | ||
@@ -920,4 +921,3 @@ /** | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = default_1; | ||
//# sourceMappingURL=container.js.map |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const Modem = require("docker-modem"); | ||
@@ -3,0 +4,0 @@ const container_1 = require("./container"); |
@@ -91,5 +91,6 @@ /// <reference types="node" /> | ||
* @param {Object} opts Query params in the request (optional) | ||
* @param {Object} auth Registry Auth Config, see linked engine documentation for details (optional) | ||
* @return {Promise} Promise return the resulting stream | ||
*/ | ||
build(file: fs.ReadStream, opts?: Object): Promise<Object>; | ||
build(file: fs.ReadStream, opts?: Object, auth?: Object): Promise<Object>; | ||
/** | ||
@@ -96,0 +97,0 @@ * Create an image |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
@@ -377,4 +378,3 @@ * Class representing an image | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = default_1; | ||
//# sourceMappingURL=image.js.map |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
@@ -221,4 +222,3 @@ * Class reprensenting a network | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = default_1; | ||
//# sourceMappingURL=network.js.map |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
@@ -145,4 +146,3 @@ * Class representing a node | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = default_1; | ||
//# sourceMappingURL=node.js.map |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
@@ -300,4 +301,3 @@ * Class reprensenting a plugin | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = Plugin; | ||
//# sourceMappingURL=plugin.js.map |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
@@ -147,4 +148,3 @@ * Class representing a secret | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = default_1; | ||
//# sourceMappingURL=secret.js.map |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
@@ -199,4 +200,3 @@ * Class representing a service | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = default_1; | ||
//# sourceMappingURL=service.js.map |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const node_1 = require("./node"); | ||
@@ -144,4 +145,3 @@ /** | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = Swarm; | ||
//# sourceMappingURL=swarm.js.map |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
@@ -84,5 +85,5 @@ * Class representing a task | ||
return reject(err); | ||
if (!result.Tasks || !result.Tasks.length) | ||
if (!result || !result.length) | ||
return resolve([]); | ||
resolve(result.Tasks.map((conf) => { | ||
resolve(result.map((conf) => { | ||
const task = new Task(this.modem, conf.ID); | ||
@@ -96,4 +97,3 @@ task.data = conf; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = default_1; | ||
//# sourceMappingURL=task.js.map |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
@@ -172,4 +173,3 @@ * Class representing a volume | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = default_1; | ||
//# sourceMappingURL=volume.js.map |
{ | ||
"name": "node-docker-api", | ||
"version": "1.1.18", | ||
"version": "1.1.19", | ||
"description": "Docker Remote API driver for node", | ||
@@ -5,0 +5,0 @@ "main": "./lib/docker", |
@@ -95,4 +95,4 @@ 'use strict' | ||
if (err) return reject(err) | ||
if (!result.Tasks || !result.Tasks.length) return resolve([]) | ||
resolve(result.Tasks.map((conf) => { | ||
if (!result || !result.length) return resolve([]) | ||
resolve(result.map((conf) => { | ||
const task = new Task(this.modem, conf.ID) | ||
@@ -99,0 +99,0 @@ task.data = conf |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1404769
8794