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 6.3.1 to 6.3.2

45

yargs/index.d.ts

@@ -149,3 +149,3 @@ // Type definitions for yargs 6.3.0

fail(func: (msg: string, err: Error) => any): Argv;
fail(func: (msg: string, err: Error) => any): Argv;

@@ -176,29 +176,32 @@ coerce<T, U>(key: string|string[], func: (arg: T) => U): Argv;

visit?: (commandObject: any, pathToFile?: string, filename?: string) => any;
include?: RegExp | ((pathToFile: string)=>boolean);
exclude?: RegExp | ((pathToFile: string)=>boolean);
include?: RegExp | ((pathToFile: string) => boolean);
exclude?: RegExp | ((pathToFile: string) => boolean);
}
interface Options {
type?: string;
group?: string;
alias?: any;
demand?: any;
required?: any;
require?: any;
alias?: string | string[];
array?: boolean;
boolean?: boolean;
choices?: string[];
coerce?: (arg: any) => any;
config?: boolean;
configParser?: (configPath: string) => Object;
count?: boolean;
default?: any;
defaultDescription?: string;
boolean?: boolean;
string?: boolean;
count?: boolean;
describe?: any;
description?: any;
desc?: any;
requiresArg?: any;
choices?: string[];
demand?: boolean | string;
desc?: string;
describe?: string;
description?: string;
global?: boolean;
array?: boolean;
config?: boolean;
group?: string;
nargs?: number;
normalize?: boolean;
number?: boolean;
normalize?: boolean;
nargs?: number;
require?: boolean | string;
required?: boolean | string;
requiresArg?: boolean | string;
skipValidation?: boolean;
string?: boolean;
type?: "array" | "boolean" | "count" | "number" | "string";
}

@@ -205,0 +208,0 @@

{
"name": "@types/yargs",
"version": "6.3.1",
"version": "6.3.2",
"description": "TypeScript definitions for yargs 6.3.0",

@@ -16,3 +16,3 @@ "license": "MIT",

"typings": "index.d.ts",
"typesPublisherContentHash": "2ab42ec302d732d3bc0ecc2ee4ae07bdb4831bb8abeac021438d6975d8ce85ab"
"typesPublisherContentHash": "affdaa3cdd82793d448d1977e83f4fb5d2d146c9e0aa3d565191c8cdfe11f096"
}

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

Additional Details
* Last updated: Tue, 08 Nov 2016 15:05:41 GMT
* Last updated: Mon, 14 Nov 2016 19:35:03 GMT
* File structure: ProperModule

@@ -14,0 +14,0 @@ * Library Dependencies: none

@@ -24,3 +24,3 @@ {

"hasPackageJson": false,
"contentHash": "2ab42ec302d732d3bc0ecc2ee4ae07bdb4831bb8abeac021438d6975d8ce85ab"
"contentHash": "affdaa3cdd82793d448d1977e83f4fb5d2d146c9e0aa3d565191c8cdfe11f096"
}
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