New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

docker-cli-js

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docker-cli-js - npm Package Compare versions

Comparing version 2.7.1 to 2.8.0

5

dist/index.d.ts

@@ -0,1 +1,2 @@

/// <reference types="node" />
export declare const dockerCommand: (command: string, options?: IOptions) => Promise<any>;

@@ -11,2 +12,3 @@ export declare class Docker {

echo?: boolean;
env?: NodeJS.ProcessEnv;
}

@@ -17,3 +19,4 @@ export declare class Options implements IOptions {

echo: boolean;
constructor(machineName?: string | undefined, currentWorkingDirectory?: string | undefined, echo?: boolean);
env?: NodeJS.ProcessEnv | undefined;
constructor(machineName?: string | undefined, currentWorkingDirectory?: string | undefined, echo?: boolean, env?: NodeJS.ProcessEnv | undefined);
}

11

dist/index.js

@@ -158,2 +158,3 @@ "use strict";

echo: true,
env: undefined,
machineName: undefined,

@@ -170,7 +171,3 @@ }) => __awaiter(this, void 0, void 0, function* () {

cwd: options.currentWorkingDirectory,
env: {
DEBUG: "",
HOME: process.env.HOME,
PATH: process.env.PATH,
},
env: Object.assign({ DEBUG: "", HOME: process.env.HOME, PATH: process.env.PATH }, options.env),
maxBuffer: 200 * 1024 * 1024,

@@ -203,2 +200,3 @@ };

echo: true,
env: undefined,
machineName: undefined,

@@ -214,8 +212,9 @@ }) {

class Options {
constructor(machineName, currentWorkingDirectory, echo = true) {
constructor(machineName, currentWorkingDirectory, echo = true, env) {
this.machineName = machineName;
this.currentWorkingDirectory = currentWorkingDirectory;
this.echo = echo;
this.env = env;
}
}
exports.Options = Options;
{
"name": "docker-cli-js",
"version": "2.7.1",
"version": "2.8.0",
"description": "A node.js wrapper for the docker command line interface CLI",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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