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.12 to 2.0.13

4

prompts/index.d.ts

@@ -81,3 +81,3 @@ // Type definitions for prompts 2.0

message?: ValueOrFunc<string>;
initial?: string | number | boolean | Date;
initial?: InitialReturnValue | PrevCaller<T, InitialReturnValue | Promise<InitialReturnValue>>;
style?: string | PrevCaller<T, string | Falsy>;

@@ -119,2 +119,4 @@ format?: PrevCaller<T, void>;

type ValueOrFunc<T extends string> = T | PrevCaller<T>;
type InitialReturnValue = string | number | boolean | Date;
}
{
"name": "@types/prompts",
"version": "2.0.12",
"version": "2.0.13",
"description": "TypeScript definitions for prompts",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prompts",
"license": "MIT",

@@ -49,4 +50,4 @@ "contributors": [

},
"typesPublisherContentHash": "a64b74e28f32a10a2dca79af04b891acc06800568f567b64dcae17e501f96242",
"typeScriptVersion": "3.5"
"typesPublisherContentHash": "26dde624eea88e33f7e12f2568d8a77169996225384cccf43f98529230ff3f99",
"typeScriptVersion": "3.6"
}

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

### Additional Details
* Last updated: Wed, 19 May 2021 14:01:22 GMT
* Last updated: Wed, 09 Jun 2021 07:01:24 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