Socket
Socket
Sign inDemoInstall

listr2

Package Overview
Dependencies
14
Maintainers
1
Versions
231
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.19 to 1.2.20

13

dist/utils/prompt.interface.d.ts

@@ -7,3 +7,3 @@ /// <reference types="node" />

message: string | (() => string) | (() => Promise<string>);
initial?: any;
initial?: boolean | number | string | (() => string) | (() => Promise<string>);
required?: boolean;

@@ -19,11 +19,4 @@ skip?: ((state: object) => boolean | Promise<boolean>) | boolean;

}
interface Choice {
name?: string;
message?: string;
value?: string;
hint?: string;
disabled?: boolean | string;
}
interface ArrayPromptOptions extends BasePromptOptions {
choices: string[] | Choice[];
choices: string[] | BasePromptOptions[];
maxChoices?: number;

@@ -41,3 +34,3 @@ muliple?: boolean;

interface BooleanPromptOptions extends BasePromptOptions {
initial?: boolean;
initial?: boolean | (() => string) | (() => Promise<string>);
}

@@ -44,0 +37,0 @@ interface StringPromptOptions extends BasePromptOptions {

{
"name": "listr2",
"version": "1.2.19",
"version": "1.2.20",
"description": "Terminal task list reborn!",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc