Socket
Socket
Sign inDemoInstall

@types/command-line-usage

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/command-line-usage - npm Package Compare versions

Comparing version 5.0.1 to 5.0.2

30

command-line-usage/index.d.ts

@@ -23,3 +23,3 @@ // Type definitions for command-line-usage 5.0

/** The section header, always bold and underlined. */
header?: string;
header?: string | undefined;
/**

@@ -33,5 +33,5 @@ * Overloaded property, accepting data in one of four formats.

*/
content?: string | string[] | any[] | { data: any; options: any };
content?: string | string[] | any[] | { data: any; options: any } | undefined;
/** Set to true to avoid indentation and wrapping. Useful for banners. */
raw?: boolean;
raw?: boolean | undefined;
}

@@ -49,9 +49,9 @@

/** getopt-style short option names. Can be any single character (unicode included) except a digit or hyphen. */
alias?: string;
alias?: string | undefined;
/** Set this flag if the option takes a list of values. You will receive an array of values, each passed through the type function (if specified). */
multiple?: boolean;
multiple?: boolean | undefined;
/** Identical to multiple but with greedy parsing disabled. */
lazyMultiple?: boolean;
lazyMultiple?: boolean | undefined;
/** Any values unaccounted for by an option definition will be set on the defaultOption. This flag is typically set on the most commonly-used option to make for more concise usage. */
defaultOption?: boolean;
defaultOption?: boolean | undefined;
/** An initial value for the option. */

@@ -64,7 +64,7 @@ defaultValue?: any;

*/
group?: string | string[];
group?: string | string[] | undefined;
/** A string describing the option. */
description?: string;
description?: string | undefined;
/** A string to replace the default type string (e.g. <string>). It's often more useful to set a more descriptive type label, like <ms>, <files>, <command>, etc.. */
typeLabel?: string;
typeLabel?: string | undefined;
}

@@ -74,11 +74,11 @@

interface OptionList {
header?: string;
header?: string | undefined;
/** An array of option definition objects. */
optionList?: OptionDefinition[];
optionList?: OptionDefinition[] | undefined;
/** If specified, only options from this particular group will be printed. */
group?: string | string[];
group?: string | string[] | undefined;
/** The names of one of more option definitions to hide from the option list. */
hide?: string | string[];
hide?: string | string[] | undefined;
/** If true, the option alias will be displayed after the name, i.e. --verbose, -v instead of -v, --verbose). */
reverseNameOrder?: boolean;
reverseNameOrder?: boolean | undefined;
/** An options object suitable for passing into table-layout. */

@@ -85,0 +85,0 @@ tableOptions?: any;

{
"name": "@types/command-line-usage",
"version": "5.0.1",
"version": "5.0.2",
"description": "TypeScript definitions for command-line-usage",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/command-line-usage",
"license": "MIT",

@@ -19,10 +20,12 @@ "contributors": [

"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/command-line-usage"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "1e97df7a1f2ed5154a71f62793335ec053ddb18b5bb243bc831f4777e5df024e",
"typeScriptVersion": "2.2"
"typesPublisherContentHash": "03b9ed61ee642797665fa7cf8854bd11d48568e26c096514ec0f348a5407a5e5",
"typeScriptVersion": "3.6"
}

@@ -8,6 +8,6 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/command-line-usage
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/command-line-usage.
Additional Details
* Last updated: Tue, 24 Apr 2018 23:52:29 GMT
### Additional Details
* Last updated: Tue, 06 Jul 2021 18:05:57 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by matrumz <https://github.com/matrumz>, Andrija Dvorski <https://github.com/Dvorsky>.
These definitions were written by [matrumz](https://github.com/matrumz), and [Andrija Dvorski](https://github.com/Dvorsky).

Sorry, the diff of this file is not supported yet

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