Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/inquirer

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/inquirer - npm Package Compare versions

Comparing version 0.0.37 to 0.0.38

15

inquirer/index.d.ts

@@ -7,2 +7,3 @@ // Type definitions for Inquirer.js

// Qibang <https://github.com/bang88>
// Jason Dreyzehner <https://github.com/bitjson>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -13,3 +14,3 @@

import through = require("through");
import through = require('through');

@@ -21,3 +22,3 @@ declare namespace inquirer {

| Question<T>
| Question<T>[]
| ReadonlyArray<Question<T>>
| Rx.Observable<Question<T>>;

@@ -102,3 +103,5 @@

*/
choices?: ChoiceType[] | ((answers: T) => ChoiceType[]);
choices?:
| ReadonlyArray<ChoiceType>
| ((answers: T) => ReadonlyArray<ChoiceType>);
/**

@@ -260,7 +263,7 @@ * Receive the user input and should return true if the value is valid, and an error message (String)

new <T = Answers>(
choices: (string | Separator | ChoiceOption)[],
choices: ReadonlyArray<string | Separator | ChoiceOption>,
answers?: T
): Choices;
choices: Choice[];
realChoices: Choice[];
choices: ReadonlyArray<Choice>;
realChoices: ReadonlyArray<Choice>;
length: number;

@@ -267,0 +270,0 @@ realLength: number;

9

inquirer/package.json
{
"name": "@types/inquirer",
"version": "0.0.37",
"version": "0.0.38",
"description": "TypeScript definitions for Inquirer.js",

@@ -26,2 +26,7 @@ "license": "MIT",

"githubUsername": "bang88"
},
{
"name": "Jason Dreyzehner",
"url": "https://github.com/bitjson",
"githubUsername": "bitjson"
}

@@ -39,4 +44,4 @@ ],

},
"typesPublisherContentHash": "bd27cb95e14ae3f32554d26ddda9ffb2eb5e2258394f53a21936983d71774049",
"typesPublisherContentHash": "a210f4c6fafaabc32080b7b405684786f0f7dc59c573909f7293956ef9063e42",
"typeScriptVersion": "2.0"
}

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

Additional Details
* Last updated: Thu, 08 Mar 2018 23:25:55 GMT
* Last updated: Thu, 15 Mar 2018 23:17:55 GMT
* Dependencies: through, rx

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Qubo <https://github.com/tkQubo>, Parvez <https://github.com/ppathan>, Jouderian <https://github.com/jouderianjr>, Qibang <https://github.com/bang88>.
These definitions were written by Qubo <https://github.com/tkQubo>, Parvez <https://github.com/ppathan>, Jouderian <https://github.com/jouderianjr>, Qibang <https://github.com/bang88>, Jason Dreyzehner <https://github.com/bitjson>.

Sorry, the diff of this file is not supported yet

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