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.5.12 to 6.5.13

2

dist/index.d.ts

@@ -35,3 +35,3 @@ /// <reference types="node" />

}
declare type HelpCallback = (sections: HelpSection[]) => void;
declare type HelpCallback = (sections: HelpSection[]) => void | HelpSection[];
declare type CommandExample = ((bin: string) => string) | string;

@@ -38,0 +38,0 @@ declare class Command {

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

const {versionNumber, options: globalOptions, helpCallback} = this.cli.globalCommand;
const sections = [{
let sections = [{
body: `${name}${versionNumber ? ` v${versionNumber}` : ""}`

@@ -367,3 +367,3 @@ }];

if (helpCallback) {
helpCallback(sections);
sections = helpCallback(sections) || sections;
}

@@ -370,0 +370,0 @@ console.log(sections.map((section) => {

@@ -62,3 +62,3 @@

}
declare type HelpCallback = (sections: HelpSection[]) => void;
declare type HelpCallback = (sections: HelpSection[]) => void | HelpSection[];
declare type CommandExample = ((bin: string) => string) | string;

@@ -65,0 +65,0 @@ declare class Command {

@@ -746,3 +746,3 @@ // Copyright Joyent, Inc. and other Node contributors.

const {versionNumber, options: globalOptions, helpCallback} = this.cli.globalCommand;
const sections = [{
let sections = [{
body: `${name}${versionNumber ? ` v${versionNumber}` : ""}`

@@ -790,3 +790,3 @@ }];

if (helpCallback) {
helpCallback(sections);
sections = helpCallback(sections) || sections;
}

@@ -793,0 +793,0 @@ console.log(sections.map((section) => {

{
"name": "cac",
"version": "6.5.12",
"version": "6.5.13",
"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