Socket
Socket
Sign inDemoInstall

@types/yargs

Package Overview
Dependencies
1
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 17.0.10 to 17.0.11

3

yargs/index.d.ts

@@ -47,4 +47,3 @@ // Type definitions for yargs 17.0

interface Argv<T = {}> {
(): { [key in keyof Arguments<T> as key | CamelCaseKey<key>]: Arguments<T>[key] } | Promise<{ [key in keyof Arguments<T> as key | CamelCaseKey<key>]: Arguments<T>[key] }>;
(args: ReadonlyArray<string>, cwd?: string): Argv<T>;
(args?: ReadonlyArray<string> | string, cwd?: string): Argv<T>;

@@ -51,0 +50,0 @@ /**

{
"name": "@types/yargs",
"version": "17.0.10",
"version": "17.0.11",
"description": "TypeScript definitions for yargs",

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

},
"typesPublisherContentHash": "3a3301ae1e830cacd8e2ff90d3e54797b81ab3d844e13c4f0c49351248d8d002",
"typeScriptVersion": "3.9",
"typesPublisherContentHash": "536aa258e1bb9b6ca98d3e7249c64cc5b3cd850d6cfbe22cdb76e1ed2c43552a",
"typeScriptVersion": "4.0",
"exports": {

@@ -76,0 +76,0 @@ ".": {

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

### Additional Details
* Last updated: Thu, 17 Mar 2022 22:31:44 GMT
* Last updated: Fri, 05 Aug 2022 01:02:14 GMT
* Dependencies: [@types/yargs-parser](https://npmjs.com/package/@types/yargs-parser)

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

@@ -34,4 +34,3 @@ // The following TSLint rules have been disabled:

interface Argv<T = {}> {
(): { [key in keyof Arguments<T>]: Arguments<T>[key] } | Promise<{ [key in keyof Arguments<T>]: Arguments<T>[key] }>;
(args: ReadonlyArray<string>, cwd?: string): Argv<T>;
(args?: string | ReadonlyArray<string>, cwd?: string): Argv<T>;

@@ -38,0 +37,0 @@ /**

@@ -6,5 +6,5 @@ import { Argv } from '.';

declare function Yargs(
processArgs?: ReadonlyArray<string>,
processArgs?: ReadonlyArray<string> | string,
cwd?: string,
parentRequire?: NodeRequire,
): Argv;

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc