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.4.1 to 2.4.2

3

prompts/index.d.ts

@@ -9,2 +9,3 @@ // Type definitions for prompts 2.4

// John Reilly <https://github.com/johnnyreilly>
// Christopher Hiller <https://github.com/boneskull>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -18,2 +19,3 @@ // TypeScript Version: 2.9

import { Readable, Writable } from 'stream';
import { Kleur } from 'kleur';

@@ -88,2 +90,3 @@ declare function prompts<T extends string = string>(

onState?: PrevCaller<T, void> | undefined;
onRender?: ((kleur: Kleur) => void) | undefined;
min?: number | PrevCaller<T, number | Falsy> | undefined;

@@ -90,0 +93,0 @@ max?: number | PrevCaller<T, number | Falsy> | undefined;

14

prompts/package.json
{
"name": "@types/prompts",
"version": "2.4.1",
"version": "2.4.2",
"description": "TypeScript definitions for prompts",

@@ -37,2 +37,7 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prompts",

"githubUsername": "johnnyreilly"
},
{
"name": "Christopher Hiller",
"url": "https://github.com/boneskull",
"githubUsername": "boneskull"
}

@@ -49,6 +54,7 @@ ],

"dependencies": {
"@types/node": "*"
"@types/node": "*",
"kleur": "^3.0.3"
},
"typesPublisherContentHash": "43d0daf9addb5d790761af34e5be56684c5d22ee2a632d6ce93cf0dd571f34ec",
"typeScriptVersion": "4.1"
"typesPublisherContentHash": "cd9635cab4679541a315cf5f5fbeecdc9722a3395db3b143d8c6fefde46b1180",
"typeScriptVersion": "4.2"
}

@@ -11,7 +11,7 @@ # Installation

### Additional Details
* Last updated: Tue, 04 Oct 2022 23:03:32 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
* Last updated: Mon, 05 Dec 2022 20:03:12 GMT
* Dependencies: [@types/kleur](https://npmjs.com/package/@types/kleur), [@types/node](https://npmjs.com/package/@types/node)
* Global values: none
# Credits
These definitions were written by [Berkay GURSOY](https://github.com/Berkays), [Daniel Perez Alvarez](https://github.com/unindented), [Kamontat Chantrachirathumrong](https://github.com/kamontat), [theweirdone](https://github.com/theweirdone), [whoaa512](https://github.com/whoaa512), and [John Reilly](https://github.com/johnnyreilly).
These definitions were written by [Berkay GURSOY](https://github.com/Berkays), [Daniel Perez Alvarez](https://github.com/unindented), [Kamontat Chantrachirathumrong](https://github.com/kamontat), [theweirdone](https://github.com/theweirdone), [whoaa512](https://github.com/whoaa512), [John Reilly](https://github.com/johnnyreilly), and [Christopher Hiller](https://github.com/boneskull).
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