Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/yargs-parser

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/yargs-parser - npm Package Compare versions

Comparing version 20.2.2 to 20.2.3

36

yargs-parser v20.2/index.d.ts

@@ -32,37 +32,37 @@ // Type definitions for yargs-parser 20.2

/** Should variables prefixed with --no be treated as negations? Default is `true` */
'boolean-negation': boolean;
"boolean-negation": boolean;
/** Should hyphenated arguments be expanded into camel-case aliases? Default is `true` */
'camel-case-expansion': boolean;
"camel-case-expansion": boolean;
/** Should arrays be combined when provided by both command line arguments and a configuration file. Default is `false` */
'combine-arrays': boolean;
"combine-arrays": boolean;
/** Should keys that contain . be treated as objects? Default is `true` */
'dot-notation': boolean;
"dot-notation": boolean;
/** Should arguments be coerced into an array when duplicated. Default is `true` */
'duplicate-arguments-array': boolean;
"duplicate-arguments-array": boolean;
/** Should array arguments be coerced into a single array when duplicated. Default is `true` */
'flatten-duplicate-arrays': boolean;
"flatten-duplicate-arrays": boolean;
/** Should arrays consume more than one positional argument following their flag. Default is `true` */
'greedy-arrays': boolean;
"greedy-arrays": boolean;
/** Should nargs consume dash options as well as positional arguments. Default is `false` */
'nargs-eats-options': boolean;
"nargs-eats-options": boolean;
/** Should parsing stop at the first text argument? This is similar to how e.g. ssh parses its command line. Default is `false` */
'halt-at-non-option': boolean;
"halt-at-non-option": boolean;
/** The prefix to use for negated boolean variables. Default is `'no-'` */
'negation-prefix': string;
"negation-prefix": string;
/** Should keys that look like numbers be treated as such? Default is `true` */
'parse-numbers': boolean;
"parse-numbers": boolean;
/** Should positional keys that look like numbers be treated as such? Default is `true` */
'parse-positional-numbers': boolean;
"parse-positional-numbers": boolean;
/** Should unparsed flags be stored in -- or _. Default is `false` */
'populate--': boolean;
"populate--": boolean;
/** Should a placeholder be added for keys not set via the corresponding CLI argument? Default is `false` */
'set-placeholder-key': boolean;
"set-placeholder-key": boolean;
/** Should a group of short-options be treated as boolean flags? Default is `true` */
'short-option-groups': boolean;
"short-option-groups": boolean;
/** Should aliases be removed before returning results? Default is `false` */
'strip-aliased': boolean;
"strip-aliased": boolean;
/** Should dashed keys be removed before returning results? This option has no effect if camel-case-expansion is disabled. Default is `false` */
'strip-dashed': boolean;
"strip-dashed": boolean;
/** Should unknown options be treated like regular arguments? An unknown option is one that is not configured in opts. Default is `false` */
'unknown-options-as-args': boolean;
"unknown-options-as-args": boolean;
}

@@ -69,0 +69,0 @@

{
"name": "@types/yargs-parser",
"version": "20.2.2",
"version": "20.2.3",
"description": "TypeScript definitions for yargs-parser",

@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yargs-parser",

"dependencies": {},
"typesPublisherContentHash": "0f7204b5861cc3ea0116579ae58fdb089a577d80667cbb1e3f5e2f96c43ff730",
"typeScriptVersion": "3.9"
"typesPublisherContentHash": "fc3968da5de6553967f16506e40c6d1c139ebea20dada8f7a836873d21577f0f",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Wed, 02 Mar 2022 17:31:51 GMT
* Last updated: Mon, 25 Sep 2023 05:35:36 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

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