cli-engine-command
Advanced tools
Comparing version 11.0.12 to 11.0.13
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const pjson = require('../package.json'); | ||
const util_1 = require("util"); | ||
const deps_1 = require("./deps"); | ||
@@ -63,2 +64,9 @@ class Command { | ||
Command.mock = async function (argv = [], config = {}) { | ||
if (typeof argv === 'string') { | ||
// old-style call | ||
util_1.deprecate(() => { | ||
argv = Array.from(arguments); | ||
config = {}; | ||
}, "`Command.mock('--foo', 'bar')` is deprecated. Please use `Command.mock(['--foo', 'bar'])` instead.")(); | ||
} | ||
if (deps_1.default.cli) | ||
@@ -65,0 +73,0 @@ deps_1.default.cli.config.mock = true; |
{ | ||
"name": "cli-engine-command", | ||
"description": "base CLI command for cli-engine", | ||
"version": "11.0.12", | ||
"version": "11.0.13", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -16,4 +16,4 @@ "bugs": "https://github.com/heroku/cli-engine-command/issues", | ||
"@types/node": "8.5.2", | ||
"cli-engine-config": "5.0.6", | ||
"cli-ux": "^2.0.12", | ||
"cli-engine-config": "5.0.7", | ||
"cli-ux": "^2.0.14", | ||
"del-cli": "1.1.0", | ||
@@ -27,3 +27,3 @@ "http-call": "^4.0.5", | ||
"ts-jest": "22.0.0", | ||
"ts-node": "4.0.2", | ||
"ts-node": "4.1.0", | ||
"tslint": "^5.8.0", | ||
@@ -30,0 +30,0 @@ "tslint-cli-engine": "^1.0.3", |
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
15243
414