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

listr2

Package Overview
Dependencies
Maintainers
1
Versions
235
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

listr2 - npm Package Compare versions

Comparing version 6.0.0-beta.10 to 6.0.0-beta.11

23

dist/index.d.ts

@@ -54,2 +54,3 @@ import { Observable } from 'rxjs';

RETRY = "RETRY",
PAUSED = "PAUSED",
PROMPT = "PROMPT",

@@ -126,2 +127,3 @@ PROMPT_COMPLETED = "PROMPT_COMPLETED"

prompt(message: string | any[], options?: LoggerFieldOptions): void;
paused(message: string | any[], options?: LoggerFieldOptions): void;
stdout(message: string | any[], options?: LoggerFieldOptions): void;

@@ -192,3 +194,4 @@ wrap(message: string, options?: {

RETRY = "RETRY",
PROMPT = "PROMPT"
PROMPT = "PROMPT",
PAUSED = "PAUSED"
}

@@ -235,2 +238,3 @@ declare const LISTR_LOGGER_STYLE: ListrLoggerOptionStyle;

};
private active;
constructor(stdout?: NodeJS.WriteStream, stderr?: NodeJS.WriteStream);

@@ -431,2 +435,4 @@ get stdout(): NodeJS.WriteStream;

declare function delay(time: number): Promise<void>;
/** Generate a basic uuid with no requirement of being unbelievable unique. */

@@ -557,2 +563,5 @@ declare function generateUUID(): string;

isPrompt(): boolean;
/** Returns whether this task is currently paused. */
isPaused(): boolean;
pause(time: number): Promise<void>;
/** Run the current task. */

@@ -580,3 +589,4 @@ run(context: Ctx, wrapper: TaskWrapper<Ctx, Renderer>): Promise<void>;

FAILED_WITH_FAILED_SUBTASKS = "FAILED_WITH_SUBTASKS",
WAITING = "WAITING"
WAITING = "WAITING",
PAUSED = "PAUSED"
}

@@ -1165,3 +1175,6 @@ declare const LISTR_DEFAULT_RENDERER_STYLE: ListrLoggerOptionStyle<ListrDefaultRendererLogLevels>;

*/
retry?: number;
retry?: number | {
tries: number;
delay?: number;
};
/**

@@ -1207,2 +1220,4 @@ * Runs a specific event if the current task or any of the subtasks has failed.

retry?: ListrTaskRetry;
/** When this task is last paused. */
paused?: number;
}

@@ -1266,2 +1281,2 @@

export { ANSI_ESCAPE, ANSI_ESCAPE_CODES, BaseEventMap, Concurrency, DefaultRenderer, DefaultRendererOptions, DefaultRendererTaskOptions, EventData, EventManager, EventMap, Figures, LISTR_DEFAULT_RENDERER_STYLE, LISTR_LOGGER_STYLE, Listr, ListrBaseClassOptions, ListrBaseRenderer, ListrContext, ListrDefaultRenderer, ListrDefaultRendererLogLevels, ListrDefaultRendererOptions, ListrDefaultRendererOptionsStyle, ListrDefaultRendererTasks, ListrDefaultRendererValue, ListrEnvironmentVariables, ListrError, ListrErrorTypes, ListrEventManager, ListrEventMap, ListrEventType, ListrFallbackRenderer, ListrFallbackRendererValue, ListrGetRendererClassFromValue, ListrGetRendererOptions, ListrGetRendererTaskOptions, ListrGetRendererValueFromClass, ListrLogger, ListrLoggerOptionStyle, ListrLoggerOptions, ListrOptions, ListrPrimaryRendererOptions, ListrRenderer, ListrRendererFactory, ListrRendererOptions, ListrRendererValue, ListrSecondaryRendererOptions, ListrSilentRenderer, ListrSilentRendererValue, ListrSimpleRenderer, ListrSimpleRendererOptions, ListrSimpleRendererTasks, ListrSimpleRendererValue, ListrSubClassOptions, ListrTask, ListrTaskEventManager, ListrTaskEventMap, ListrTaskEventType, ListrTaskFn, ListrTaskMessage, Task as ListrTaskObject, ListrTaskPrompt, ListrTaskResult, ListrTaskRetry, ListrTaskState, TaskWrapper as ListrTaskWrapper, ListrTestRenderer, ListrTestRendererOptions, ListrTestRendererTasks, ListrTestRendererValue, ListrVerboseRendererOptions, ListrVerboseRendererTasks, LogLevels, LoggerField, LoggerFieldFn, LoggerFieldOptions, LoggerFormat, LoggerRendererOptions, Manager, PresetTimer, PresetTimestamp, ProcessOutput, ProcessOutputBuffer, ProcessOutputBufferEntry, ProcessOutputBufferOptions, ProcessOutputRendererOptions, ProcessOutputStream, PromptCancelOptions, PromptError, PromptInstance, PromptOptions, PromptOptionsMap, PromptOptionsType, PromptSettings, PromptTypes, RENDERER_TIMER, RENDERER_TIMESTAMP, RendererPresetTimer, RendererPresetTimestamp, RendererStyleMap, SilentRenderer, SimpleRenderer, SimpleRendererOptions, SimpleRendererTaskOptions, Spinner, SupportedRenderer, TestRenderer, TestRendererEvent, TestRendererOptions, Unionize, VerboseRenderer, VerboseRendererOptions, VerboseRendererTaskOptions, assertFunctionOrSelf, cleanseAnsi, cloneObject, color, createPrompt, figures, generateUUID, getRenderer, getRendererClass, indent, isObservable, isUnicodeSupported, parseTimer, parseTimestamp, splat };
export { ANSI_ESCAPE, ANSI_ESCAPE_CODES, BaseEventMap, Concurrency, DefaultRenderer, DefaultRendererOptions, DefaultRendererTaskOptions, EventData, EventManager, EventMap, Figures, LISTR_DEFAULT_RENDERER_STYLE, LISTR_LOGGER_STYLE, Listr, ListrBaseClassOptions, ListrBaseRenderer, ListrContext, ListrDefaultRenderer, ListrDefaultRendererLogLevels, ListrDefaultRendererOptions, ListrDefaultRendererOptionsStyle, ListrDefaultRendererTasks, ListrDefaultRendererValue, ListrEnvironmentVariables, ListrError, ListrErrorTypes, ListrEventManager, ListrEventMap, ListrEventType, ListrFallbackRenderer, ListrFallbackRendererValue, ListrGetRendererClassFromValue, ListrGetRendererOptions, ListrGetRendererTaskOptions, ListrGetRendererValueFromClass, ListrLogger, ListrLoggerOptionStyle, ListrLoggerOptions, ListrOptions, ListrPrimaryRendererOptions, ListrRenderer, ListrRendererFactory, ListrRendererOptions, ListrRendererValue, ListrSecondaryRendererOptions, ListrSilentRenderer, ListrSilentRendererValue, ListrSimpleRenderer, ListrSimpleRendererOptions, ListrSimpleRendererTasks, ListrSimpleRendererValue, ListrSubClassOptions, ListrTask, ListrTaskEventManager, ListrTaskEventMap, ListrTaskEventType, ListrTaskFn, ListrTaskMessage, Task as ListrTaskObject, ListrTaskPrompt, ListrTaskResult, ListrTaskRetry, ListrTaskState, TaskWrapper as ListrTaskWrapper, ListrTestRenderer, ListrTestRendererOptions, ListrTestRendererTasks, ListrTestRendererValue, ListrVerboseRendererOptions, ListrVerboseRendererTasks, LogLevels, LoggerField, LoggerFieldFn, LoggerFieldOptions, LoggerFormat, LoggerRendererOptions, Manager, PresetTimer, PresetTimestamp, ProcessOutput, ProcessOutputBuffer, ProcessOutputBufferEntry, ProcessOutputBufferOptions, ProcessOutputRendererOptions, ProcessOutputStream, PromptCancelOptions, PromptError, PromptInstance, PromptOptions, PromptOptionsMap, PromptOptionsType, PromptSettings, PromptTypes, RENDERER_TIMER, RENDERER_TIMESTAMP, RendererPresetTimer, RendererPresetTimestamp, RendererStyleMap, SilentRenderer, SimpleRenderer, SimpleRendererOptions, SimpleRendererTaskOptions, Spinner, SupportedRenderer, TestRenderer, TestRendererEvent, TestRendererOptions, Unionize, VerboseRenderer, VerboseRendererOptions, VerboseRendererTaskOptions, assertFunctionOrSelf, cleanseAnsi, cloneObject, color, createPrompt, delay, figures, generateUUID, getRenderer, getRendererClass, indent, isObservable, isUnicodeSupported, parseTimer, parseTimestamp, splat };

2

package.json
{
"name": "listr2",
"version": "6.0.0-beta.10",
"version": "6.0.0-beta.11",
"description": "Terminal task list reborn! Create beautiful CLI interfaces via easy and logical to implement task lists that feel alive and interactive.",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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