Socket
Socket
Sign inDemoInstall

@types/prompts

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/prompts - npm Package Compare versions

Comparing version 2.0.10 to 2.0.11

28

prompts/index.d.ts

@@ -82,21 +82,21 @@ // Type definitions for prompts 2.0

initial?: string | number | boolean | Date;
style?: string;
style?: string | PrevCaller<T, string | Falsy>;
format?: PrevCaller<T, void>;
validate?: PrevCaller<T, boolean | string | Promise<boolean | string>>;
onState?: PrevCaller<T, void>;
min?: number;
max?: number;
float?: boolean;
round?: number;
min?: number | PrevCaller<T, number | Falsy>;
max?: number | PrevCaller<T, number | Falsy>;
float?: boolean | PrevCaller<T, boolean | Falsy>;
round?: number | PrevCaller<T, number | Falsy>;
instructions?: string | boolean;
increment?: number;
separator?: string;
active?: string;
inactive?: string;
choices?: Choice[];
hint?: string;
warn?: string;
increment?: number | PrevCaller<T, number | Falsy>;
separator?: string | PrevCaller<T, string | Falsy>;
active?: string | PrevCaller<T, string | Falsy>;
inactive?: string | PrevCaller<T, string | Falsy>;
choices?: Choice[] | PrevCaller<T, Choice[] | Falsy>;
hint?: string | PrevCaller<T, string | Falsy>;
warn?: string | PrevCaller<T, string | Falsy>;
suggest?: ((input: any, choices: Choice[]) => Promise<any>);
limit?: number;
mask?: string;
limit?: number | PrevCaller<T, number | Falsy>;
mask?: string | PrevCaller<T, string | Falsy>;
stdout?: Writable;

@@ -103,0 +103,0 @@ stdin?: Readable;

{
"name": "@types/prompts",
"version": "2.0.10",
"version": "2.0.11",
"description": "TypeScript definitions for prompts",

@@ -49,4 +49,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "6ee6a62b1fe20820ecd690c50826a62913b859d357dadd86494acb8f5643b0ec",
"typesPublisherContentHash": "c6e101f3d35eaa69e14ad0009017215b585ba6317104b4bc3bbac982c519e908",
"typeScriptVersion": "3.5"
}

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

### Additional Details
* Last updated: Tue, 30 Mar 2021 07:31:11 GMT
* Last updated: Mon, 03 May 2021 08:31:21 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)

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

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