Socket
Socket
Sign inDemoInstall

listr2

Package Overview
Dependencies
Maintainers
1
Versions
232
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 1.2.7 to 1.2.8

2

dist/interfaces/manager.interface.d.ts

@@ -9,4 +9,4 @@ import { Listr } from '../listr';

newListr<Ctx = InjectCtx>(tasks: ListrTask<Ctx>[], options?: ListrOptions<Ctx>): Listr<Ctx>;
indent<Ctx = ListrContext>(tasks: ListrTask<Ctx>[], options?: ListrOptions<Ctx>): ListrTask<Ctx>;
indent<Ctx = ListrContext>(tasks: ListrTask<Ctx>[], options?: ListrOptions<Ctx>, title?: string): ListrTask<Ctx>;
getRunTime(pipetime: number): string;
}

@@ -8,5 +8,5 @@ import { ListrContext, ListrOptions, ListrTask } from './interfaces/listr.interface';

newListr<Ctx = InjectCtx>(tasks: ListrTask<Ctx>[], options?: ListrOptions<Ctx>): Listr<Ctx>;
indent<Ctx = InjectCtx>(tasks: ListrTask<Ctx>[], options?: ListrOptions<Ctx>): ListrTask<Ctx>;
indent<Ctx = InjectCtx>(tasks: ListrTask<Ctx>[], options?: ListrOptions<Ctx>, title?: string): ListrTask<Ctx>;
run<Ctx = InjectCtx>(tasks: ListrTask<Ctx>[], options?: ListrOptions<Ctx>): Promise<Ctx>;
getRuntime(pipetime: number): string;
}

@@ -19,4 +19,5 @@ "use strict";

}
indent(tasks, options) {
indent(tasks, options, title) {
const newTask = {
title,
task: () => this.newListr(tasks, options)

@@ -23,0 +24,0 @@ };

{
"name": "listr2",
"version": "1.2.7",
"version": "1.2.8",
"description": "Terminal task list reborn!",

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

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