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

@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 6.5.0 to 6.6.0

26

yargs/index.d.ts

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

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

@@ -31,2 +31,5 @@

/**
* @deprecated since version 6.6.0
*/
demand(key: string, msg: string): Argv;

@@ -40,2 +43,11 @@ demand(key: string, required?: boolean): Argv;

demandCommand(min: number, minMsg?: string): Argv;
demandCommand(min: number, max?: number, minMsg?: string, maxMsg?: string): Argv;
demandOption(key: string | string[], msg?: string): Argv;
demandOption(key: string | string[], demand?: boolean): Argv;
/**
* @deprecated since version 6.6.0
*/
require(key: string, msg: string): Argv;

@@ -48,2 +60,5 @@ require(key: string, required: boolean): Argv;

/**
* @deprecated since version 6.6.0
*/
required(key: string, msg: string): Argv;

@@ -109,2 +124,5 @@ required(key: string, required: boolean): Argv;

conflicts(key: string, value: string): Argv;
conflicts(conflicts: { [key: string]: string }): Argv;
wrap(columns: number): Argv;

@@ -154,3 +172,3 @@

coerce<T, U>(key: string|string[], func: (arg: T) => U): Argv;
coerce<T, U>(key: string | string[], func: (arg: T) => U): Argv;
coerce<T, U>(opts: { [key: string]: (arg: T) => U; }): Argv;

@@ -194,3 +212,5 @@

defaultDescription?: string;
/** @deprecated since version 6.6.0 */
demand?: boolean | string;
demandOption?: boolean | string;
desc?: string;

@@ -197,0 +217,0 @@ describe?: string;

6

yargs/package.json
{
"name": "@types/yargs",
"version": "6.5.0",
"version": "6.6.0",
"description": "TypeScript definitions for yargs",
"license": "MIT",
"author": "Martin Poelstra <https://github.com/poelstra>, Mizunashi Mana <https://github.com/mizunashi-mana>, Jeffery Grajkowski <https://github.com/pushplay>",
"author": "Martin Poelstra <https://github.com/poelstra>, Mizunashi Mana <https://github.com/mizunashi-mana>, Jeffery Grajkowski <https://github.com/pushplay>, Jeff Kenney <https://github.com/jeffkenney>",
"main": "",

@@ -15,4 +15,4 @@ "repository": {

"peerDependencies": {},
"typesPublisherContentHash": "53899bf300e2fc8803e417647ff3e4d0c8fbce151c0426128d3724e75ac65354",
"typesPublisherContentHash": "9b79b82e6860eb01d6ac04eb73af8ddb6a1a6dd62caf985caee6f441ec6466ab",
"typeScriptVersion": "2.0"
}

@@ -11,8 +11,7 @@ # Installation

Additional Details
* Last updated: Fri, 23 Dec 2016 14:14:48 GMT
* Library Dependencies: none
* Module Dependencies: none
* Last updated: Tue, 07 Feb 2017 20:53:03 GMT
* Dependencies: none
* Global values: none
# Credits
These definitions were written by Martin Poelstra <https://github.com/poelstra>, Mizunashi Mana <https://github.com/mizunashi-mana>, Jeffery Grajkowski <https://github.com/pushplay>.
These definitions were written by Martin Poelstra <https://github.com/poelstra>, Mizunashi Mana <https://github.com/mizunashi-mana>, Jeffery Grajkowski <https://github.com/pushplay>, Jeff Kenney <https://github.com/jeffkenney>.
{
"authors": "Martin Poelstra <https://github.com/poelstra>, Mizunashi Mana <https://github.com/mizunashi-mana>, Jeffery Grajkowski <https://github.com/pushplay>",
"libraryDependencies": [],
"moduleDependencies": [],
"libraryMajorVersion": 6,
"libraryMinorVersion": 5,
"typeScriptVersion": "2.0",
"name": "yargs",
"libraryName": "yargs",
"typingsPackageName": "yargs",
"projectName": "https://github.com/chevex/yargs",
"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped",
"sourceBranch": "master",
"globals": [],
"declaredModules": [
"yargs"
],
"files": [
"index.d.ts"
],
"hasPackageJson": false,
"contentHash": "53899bf300e2fc8803e417647ff3e4d0c8fbce151c0426128d3724e75ac65354"
"data": {
"authors": "Martin Poelstra <https://github.com/poelstra>, Mizunashi Mana <https://github.com/mizunashi-mana>, Jeffery Grajkowski <https://github.com/pushplay>, Jeff Kenney <https://github.com/jeffkenney>",
"dependencies": {},
"pathMappings": {},
"libraryMajorVersion": 6,
"libraryMinorVersion": 6,
"typeScriptVersion": "2.0",
"libraryName": "yargs",
"typingsPackageName": "yargs",
"projectName": "https://github.com/chevex/yargs",
"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped",
"globals": [],
"declaredModules": [
"yargs/."
],
"files": [
"index.d.ts"
],
"hasPackageJson": false,
"contentHash": "9b79b82e6860eb01d6ac04eb73af8ddb6a1a6dd62caf985caee6f441ec6466ab"
},
"isLatest": true
}
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