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

cli-engine-command

Package Overview
Dependencies
Maintainers
3
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-engine-command - npm Package Compare versions

Comparing version 11.0.7 to 11.0.8

2

lib/command.d.ts

@@ -10,3 +10,3 @@ import { ConfigOptions, IConfig, IPlugin } from 'cli-engine-config';

}
export declare type CommandRunFn = <T extends Command>(this: ICommandClass<T>, argv?: string[], config?: ConfigOptions) => Promise<T>;
export declare type CommandRunFn = <T extends Command>(this: ICommandClass<T>, argv: string[], config: IConfig) => Promise<T>;
export declare type CommandMockFn = <T extends Command>(this: ICommandClass<T>, argv?: string[], config?: ConfigOptions) => Promise<IMockReturn<T>>;

@@ -13,0 +13,0 @@ export interface ICommandClass<T extends Command> {

@@ -60,3 +60,3 @@ "use strict";

deps_1.default.cli.config.mock = true;
const cmd = await this.run(argv, config);
const cmd = await this.run(argv, deps_1.default.Config.buildConfig(config));
return {

@@ -71,4 +71,4 @@ cmd,

*/
Command.run = async function (argv = [], config = {}) {
const cmd = new this(deps_1.default.Config.buildConfig(config));
Command.run = async function (argv = [], config) {
const cmd = new this(config);
try {

@@ -75,0 +75,0 @@ await cmd.init(argv);

{
"name": "cli-engine-command",
"description": "base CLI command for cli-engine",
"version": "11.0.7",
"version": "11.0.8",
"author": "Jeff Dickey @jdxcode",

@@ -17,3 +17,3 @@ "bugs": "https://github.com/heroku/cli-engine-command/issues",

"cli-engine-config": "5.0.6",
"cli-ux": "^2.0.11",
"cli-ux": "^2.0.12",
"del-cli": "1.1.0",

@@ -20,0 +20,0 @@ "http-call": "^4.0.5",

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