Socket
Socket
Sign inDemoInstall

cac

Package Overview
Dependencies
Maintainers
3
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 6.2.4 to 6.2.5

3

dist/Command.js

@@ -74,2 +74,3 @@ "use strict";

hasOption(name) {
name = name.split('.')[0];
return this.options.find(option => {

@@ -178,3 +179,3 @@ return option.names.includes(name);

for (const option of requiredOptions) {
const value = values[option.names[0]];
const value = values[option.names[0].split('.')[0]];
if (typeof value === 'boolean') {

@@ -181,0 +182,0 @@ console.error(`error: option \`${option.rawName}\` argument is missing`);

{
"name": "cac",
"version": "6.2.4",
"version": "6.2.5",
"description": "Simple yet powerful framework for building command-line apps.",

@@ -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