Socket
Socket
Sign inDemoInstall

@types/yargs

Package Overview
Dependencies
Maintainers
1
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/yargs - npm Package Compare versions

Comparing version 0.0.36 to 6.3.0

50

yargs/index.d.ts

@@ -1,4 +0,4 @@

// Type definitions for yargs
// Type definitions for yargs 6.3.0
// Project: https://github.com/chevex/yargs
// Definitions by: Martin Poelstra <https://github.com/poelstra>, Mizunashi Mana <https://github.com/mizunashi-mana>
// Definitions by: Martin Poelstra <https://github.com/poelstra>, Mizunashi Mana <https://github.com/mizunashi-mana>, Jeffery Grajkowski <https://github.com/pushplay>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -21,8 +21,2 @@

terminalWidth(): number;
terminalWidth(): number;
terminalWidth(): number;
alias(shortName: string, longName: string): Argv;

@@ -35,4 +29,4 @@ alias(aliases: { [shortName: string]: string }): Argv;

default(key: string, value: any): Argv;
default(defaults: { [key: string]: any }): Argv;
default(key: string, value: any, description?: string): Argv;
default(defaults: { [key: string]: any }, description?: string): Argv;

@@ -84,2 +78,3 @@ demand(key: string, msg: string): Argv;

completion(): Argv;
completion(cmd: string, fn?: AsyncCompletionFunction): Argv;

@@ -100,7 +95,14 @@ completion(cmd: string, fn?: SyncCompletionFunction): Argv;

number(key: string): Argv;
number(keys: string[]): Argv;
choices(choices: Object): Argv;
choices(key: string, values: any[]): Argv;
config(key: string): Argv;
config(keys: string[]): Argv;
config(): Argv;
config(explicitConfigurationObject: Object): Argv;
config(key: string, description?: string, parseFn?: (configPath: string) => Object): Argv;
config(keys: string[], description?: string, parseFn?: (configPath: string) => Object): Argv;
config(key: string, parseFn: (configPath: string) => Object): Argv;
config(keys: string[], parseFn: (configPath: string) => Object): Argv;

@@ -112,3 +114,5 @@ wrap(columns: number): Argv;

help(): Argv;
help(option: string, description?: string): Argv;
help(enableExplicit: boolean): Argv;
help(option: string, enableExplicit: boolean): Argv;
help(option: string, description?: string, enableExplicit?: boolean): Argv;

@@ -126,3 +130,3 @@ env(prefix?: string): Argv;

showHelp(func?: (message: string) => any): Argv;
showHelp(consoleLevel?: string): Argv;

@@ -149,6 +153,22 @@ exitProcess(enabled: boolean): Argv;

fail(func: (msg: string, err: Error) => any): Argv;
fail(func: (msg: string, err: Error) => any): Argv;
coerce<T, U>(key: string|string[], func: (arg: T) => U): Argv;
coerce<T, U>(opts: { [key: string]: (arg: T) => U; }): Argv;
getCompletion(args: string[], done: (completions: string[]) => void): Argv;
pkgConf(key: string, cwd?: string): Argv;
pkgConf(keys: string[], cwd?: string): Argv;
recommendCommands(): Argv;
showCompletionScript(): Argv;
skipValidation(key: string): Argv;
skipValidation(keys: string[]): Argv;
updateLocale(obj: Object): Argv;
updateStrings(obj: {[key: string]: string}): Argv;
}

@@ -155,0 +175,0 @@

{
"name": "@types/yargs",
"version": "0.0.36",
"description": "TypeScript definitions for yargs",
"version": "6.3.0",
"description": "TypeScript definitions for yargs 6.3.0",
"license": "MIT",
"author": "Martin Poelstra <https://github.com/poelstra>, Mizunashi Mana <https://github.com/mizunashi-mana>",
"author": "Martin Poelstra <https://github.com/poelstra>, Mizunashi Mana <https://github.com/mizunashi-mana>, Jeffery Grajkowski <https://github.com/pushplay>",
"main": "",

@@ -16,3 +16,3 @@ "repository": {

"typings": "index.d.ts",
"typesPublisherContentHash": "1929474cdc715fbd90b7ea7d3f01da58e977753f34d2a29e93a666eac9619f7c"
"typesPublisherContentHash": "0305dead0231f4085cf78a714b96a4dab0ceb49959ef8ae1a6db1a44123b0b78"
}

@@ -5,3 +5,3 @@ # Installation

# Summary
This package contains type definitions for yargs (https://github.com/chevex/yargs).
This package contains type definitions for yargs 6.3.0 (https://github.com/chevex/yargs).

@@ -12,3 +12,3 @@ # Details

Additional Details
* Last updated: Tue, 01 Nov 2016 13:01:28 GMT
* Last updated: Thu, 03 Nov 2016 17:41:49 GMT
* File structure: ProperModule

@@ -20,2 +20,2 @@ * Library Dependencies: none

# Credits
These definitions were written by Martin Poelstra <https://github.com/poelstra>, Mizunashi Mana <https://github.com/mizunashi-mana>.
These definitions were written by Martin Poelstra <https://github.com/poelstra>, Mizunashi Mana <https://github.com/mizunashi-mana>, Jeffery Grajkowski <https://github.com/pushplay>.
{
"authors": "Martin Poelstra <https://github.com/poelstra>, Mizunashi Mana <https://github.com/mizunashi-mana>",
"authors": "Martin Poelstra <https://github.com/poelstra>, Mizunashi Mana <https://github.com/mizunashi-mana>, Jeffery Grajkowski <https://github.com/pushplay>",
"definitionFilename": "index.d.ts",
"libraryDependencies": [],
"moduleDependencies": [],
"libraryMajorVersion": "0",
"libraryMinorVersion": "0",
"libraryName": "yargs",
"libraryMajorVersion": 6,
"libraryMinorVersion": 3,
"libraryName": "yargs 6.3.0",
"typingsPackageName": "yargs",

@@ -24,3 +24,3 @@ "projectName": "https://github.com/chevex/yargs",

"hasPackageJson": false,
"contentHash": "1929474cdc715fbd90b7ea7d3f01da58e977753f34d2a29e93a666eac9619f7c"
"contentHash": "0305dead0231f4085cf78a714b96a4dab0ceb49959ef8ae1a6db1a44123b0b78"
}
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