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.23 to 17.0.24

10

yargs/index.d.ts

@@ -882,5 +882,9 @@ // Type definitions for yargs 17.0

type InferredOptionTypePrimitive<O extends Options | PositionalOptions> =
O extends { default: infer D } ? InferredOptionTypeInner<O> | D :
IsRequiredOrHasDefault<O> extends true ? InferredOptionTypeInner<O> :
InferredOptionTypeInner<O> | undefined;
O extends { default: infer D } ?
IsRequiredOrHasDefault<O> extends true ?
InferredOptionTypeInner<O> | Exclude<D, undefined> :
InferredOptionTypeInner<O> | D :
IsRequiredOrHasDefault<O> extends true ?
InferredOptionTypeInner<O> :
InferredOptionTypeInner<O> | undefined;

@@ -887,0 +891,0 @@ // prettier-ignore

{
"name": "@types/yargs",
"version": "17.0.23",
"version": "17.0.24",
"description": "TypeScript definitions for yargs",

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

},
"typesPublisherContentHash": "b37c113435ecdfb17a56b1a7b1377f511f1f7cbbfb9db6a2df04c92731f50924",
"typesPublisherContentHash": "8c666a98fd66e7ead842a9f404d65f9210b3c3feb9aada8fbfa3e29c79b43788",
"typeScriptVersion": "4.3",

@@ -68,0 +68,0 @@ "exports": {

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

### Additional Details
* Last updated: Tue, 21 Mar 2023 00:02:53 GMT
* Last updated: Mon, 27 Mar 2023 18:34:10 GMT
* Dependencies: [@types/yargs-parser](https://npmjs.com/package/@types/yargs-parser)

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

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