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 2.2.5 to 2.2.6

lib/help-error.js

10

lib/command.js

@@ -27,4 +27,9 @@ 'use strict';

var _helpError = require('./help-error');
var _helpError2 = _interopRequireDefault(_helpError);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
// eslint-disable-line
class Command extends _output2.default {

@@ -67,3 +72,3 @@ constructor(...args) {

} catch (err) {
if (config.mock) throw err;
if (config.mock || err instanceof _helpError2.default) throw err;
cmd.error(err);

@@ -94,5 +99,4 @@ }

}
exports.default = Command; // eslint-disable-line
exports.default = Command;
Command.aliases = [];
Command.variableArgs = false;

@@ -11,2 +11,8 @@ 'use strict';

var _helpError = require('./help-error');
var _helpError2 = _interopRequireDefault(_helpError);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
class Parse {

@@ -28,2 +34,3 @@ constructor(input) {

if (!name) {
if (arg === '--help' || arg === '-h') throw new _helpError2.default();
const i = arg.indexOf('=');

@@ -30,0 +37,0 @@ if (i !== -1) {

{
"name": "cli-engine-command",
"description": "base CLI command for cli-engine",
"version": "2.2.5",
"version": "2.2.6",
"author": "Jeff Dickey @dickeyxxx",

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

Sorry, the diff of this file is not supported yet

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