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 6.5.0 to 7.3.0

32

inquirer/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for inquirer 6.5
// Type definitions for inquirer 7.3
// Project: https://github.com/SBoudrias/Inquirer.js

@@ -18,7 +18,6 @@ // Definitions by: Qubo <https://github.com/tkQubo>

import { Observable } from "rxjs";
import { ThroughStream } from "through";
import Choice = require("./lib/objects/choice");
import Choices = require("./lib/objects/choices");
import Separator = require("./lib/objects/separator");
import Prompt = require("./lib/prompts/base");
import "./lib/prompts/base";
import "./lib/prompts/checkbox";

@@ -33,9 +32,9 @@ import "./lib/prompts/confirm";

import "./lib/prompts/rawlist";
import BottomBar = require("./lib/ui/bottom-bar");
import PromptUI = require("./lib/ui/prompt");
import "./lib/utils/events";
import Paginator = require("./lib/utils/paginator");
import "./lib/utils/paginator";
import "./lib/utils/readline";
import ScreenManager = require("./lib/utils/screen-manager");
import "./lib/utils/screen-manager";
import "./lib/utils/utils";
import BottomBar = require("./lib/ui/bottom-bar");
import PromptUI = require("./lib/ui/prompt");

@@ -285,4 +284,7 @@ /**

* The answer provided by the user.
*
* @param answers
* The answers provided by the user.
*/
filter?(input: any): any;
filter?(input: any, answers: T): any;

@@ -568,3 +570,8 @@ /**

*/
interface ListQuestionOptions<T extends Answers = Answers> extends ListQuestionOptionsBase<T, ListChoiceMap<T>> { }
interface ListQuestionOptions<T extends Answers = Answers> extends ListQuestionOptionsBase<T, ListChoiceMap<T>> {
/**
* A value indicating whether choices in a list should be looped.
*/
loop?: boolean;
}

@@ -598,3 +605,3 @@ /**

*/
interface RawListQuestion<T extends Answers = Answers> extends ListQuestionOptionsBase<T, ListChoiceMap<T>> {
interface RawListQuestion<T extends Answers = Answers> extends RawListQuestionOptions<T> {
/**

@@ -752,2 +759,7 @@ * @inheritdoc

/**
* Indicates the type of a question
*/
type QuestionTypeName = DistinctQuestion["type"];
/**
* Represents a collection of questions.

@@ -754,0 +766,0 @@ *

{
"name": "@types/inquirer",
"version": "6.5.0",
"version": "7.3.0",
"description": "TypeScript definitions for inquirer",

@@ -64,3 +64,3 @@ "license": "MIT",

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -76,4 +76,4 @@ "type": "git",

},
"typesPublisherContentHash": "3ad7bbf17647a468e5db6e137a5e3edcc026c56aa33f9421315fcb94ca58cf0a",
"typesPublisherContentHash": "899d5ead9796fe1d65dbd27c0d563dec0b31ed5d299ccaea3c97f7710685f277",
"typeScriptVersion": "3.3"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/inquirer
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/inquirer.
Additional Details
* Last updated: Wed, 31 Jul 2019 17:22:21 GMT
* Dependencies: @types/rxjs, @types/through
### Additional Details
* Last updated: Tue, 21 Jul 2020 18:08:54 GMT
* Dependencies: [@types/rxjs](https://npmjs.com/package/@types/rxjs), [@types/through](https://npmjs.com/package/@types/through)
* 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>, Jason Dreyzehner <https://github.com/bitjson>, Synarque <https://github.com/synarque>, Justin Rockwood <https://github.com/jrockwood>, Keith Kelly <https://github.com/kwkelly>, Richard Lea <https://github.com/chigix>, Jed Mao <https://github.com/jedmao>, and Manuel Thalmann <https://github.com/manuth>.
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), [Synarque](https://github.com/synarque), [Justin Rockwood](https://github.com/jrockwood), [Keith Kelly](https://github.com/kwkelly), [Richard Lea](https://github.com/chigix), [Jed Mao](https://github.com/jedmao), and [Manuel Thalmann](https://github.com/manuth).

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