Socket
Socket
Sign inDemoInstall

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.3.5 to 4.3.6

9

dist/cac.js

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

class Cac extends EventEmitter {
constructor({ bin, pkg, showHelp } = {}) {
constructor({ bin, pkg } = {}) {
super();

@@ -283,3 +283,2 @@ this.bin = bin || path.basename(process.argv[1]);

this.extraHelps = [];
this.shouldShowHelp = showHelp || ((command, input, flags) => flags.help);

@@ -394,3 +393,3 @@ this.pkg = Object.assign({}, pkg || readPkg.sync({ cwd: parentDir, normalize: false }).pkg);

parse(argv, { run = true } = {}) {
parse(argv, { run = true, showHelp } = {}) {
this.started = true;

@@ -419,3 +418,5 @@ argv = argv || process.argv.slice(2);

if (this.shouldShowHelp(command, input, flags)) {
const shouldShowHelp = showHelp || ((command, input, flags) => flags.help);
if (shouldShowHelp(command, input, flags)) {
this.showHelp();

@@ -422,0 +423,0 @@ } else if (flags.version) {

{
"name": "cac",
"version": "4.3.5",
"version": "4.3.6",
"description": "Command-line queen.",

@@ -5,0 +5,0 @@ "repository": {

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