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

cac

Package Overview
Dependencies
Maintainers
2
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cac - npm Package Compare versions

Comparing version 4.4.2 to 4.4.3

6

dist/cac.js

@@ -173,3 +173,3 @@ 'use strict';

const commandText = chalk.magenta(this.opts.displayCommands ? '<command> ' : `${this.command.command.name} `);
const commandText = this.command ? chalk.magenta(this.opts.displayCommands ? '<command> ' : `${this.command.command.name} `) : '';
help += `${chalk.bold('USAGE')}\n\n`;

@@ -367,3 +367,5 @@ help += redent(`${chalk.dim.italic(this.root.bin)} ${commandText}${chalk.yellow('[options]')}`, 2);

const displayCommands = !isExplictCommand(this.firstArg);
// Do not display `<command>` in help if it's a sub command
const displayCommands = !( // This matches a sub command
this.matchedCommand && isExplictCommand(this.firstArg));
const help = new Help(this, this.matchedCommand, {

@@ -370,0 +372,0 @@ displayCommands

{
"name": "cac",
"version": "4.4.2",
"version": "4.4.3",
"description": "Command-line queen.",

@@ -44,3 +44,3 @@ "repository": {

"devDependencies": {
"ava": "^0.21.0",
"ava": "^0.25.0",
"babel-plugin-transform-object-rest-spread": "^6.23.0",

@@ -51,2 +51,3 @@ "babel-preset-env": "^1.6.0",

"eslint-config-rem": "^3.0.0",
"execa": "^0.9.0",
"markdown-toc": "^1.1.0",

@@ -53,0 +54,0 @@ "xo": "^0.18.0"

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