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

node-docker-api

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-docker-api - npm Package Compare versions

Comparing version 1.1.11 to 1.1.12

5

lib/service.js

@@ -107,2 +107,3 @@ 'use strict';

options: opts,
isStream: true,
statusCodes: {

@@ -118,6 +119,6 @@ 101: true,

return new Promise((resolve, reject) => {
this.modem.dial(call, (err, res) => {
this.modem.dial(call, (err, logs) => {
if (err)
return reject(err);
resolve(res);
resolve(logs);
});

@@ -124,0 +125,0 @@ });

2

package.json
{
"name": "node-docker-api",
"version": "1.1.11",
"version": "1.1.12",
"description": "Docker Remote API driver for node",

@@ -5,0 +5,0 @@ "main": "./lib/docker",

@@ -117,2 +117,3 @@ 'use strict'

options: opts,
isStream: true,
statusCodes: {

@@ -129,5 +130,5 @@ 101: true,

return new Promise((resolve, reject) => {
this.modem.dial(call, (err, res: String) => {
this.modem.dial(call, (err, logs) => {
if (err) return reject(err)
resolve(res)
resolve(logs)
})

@@ -134,0 +135,0 @@ })

@@ -111,3 +111,3 @@ import test from 'ava'

const res = await (await createService()).logs({stdout: true})
t.is(res.constructor, String)
t.truthy(res.pipe)
})

@@ -114,0 +114,0 @@

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