Socket
Socket
Sign inDemoInstall

cac

Package Overview
Dependencies
Maintainers
1
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 2.2.1 to 2.2.2

10

index.js

@@ -5,2 +5,3 @@ 'use strict';

var path = _interopDefault(require('path'));
var minimist = _interopDefault(require('minimist'));

@@ -13,2 +14,5 @@ var table = _interopDefault(require('text-table'));

delete require.cache[__filename]
var parentDir = path.dirname(module.parent.filename)
var prefixedOption = function (option, aliasOptions) {

@@ -84,3 +88,5 @@ var options = [option]

}
this.pkg = readPkg.sync().pkg
this.pkg = readPkg.sync({
cwd: parentDir
}).pkg
this.cliUsage = (chalk.yellow(this.pkg.name)) + " " + (chalk.grey('[options] [commands]'))

@@ -136,3 +142,3 @@

var optionsTable = table(Object.keys(this.options).map(function (option) { return [
chalk.yellow(prefixedOption(option, this$1.aliasOptions)),
chalk.yellow(prefixedOption(option, this$1.aliasOptions)),
chalk.grey(this$1.options[option].description),

@@ -139,0 +145,0 @@ showDefaultValue(this$1.options[option].defaultValue)

2

package.json
{
"name": "cac",
"version": "2.2.1",
"version": "2.2.2",
"description": "Command & Conquer, the command-line queen.",

@@ -5,0 +5,0 @@ "license": "MIT",

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