Socket
Socket
Sign inDemoInstall

listr

Package Overview
Dependencies
23
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.0 to 0.4.1

4

lib/task.js

@@ -15,2 +15,4 @@ 'use strict';

const isListr = obj => obj.setRenderer && obj.add && obj.run;
const getSymbol = task => {

@@ -75,3 +77,3 @@ switch (task.state) {

// Detect the subtask
if (result.addTask && result.run) {
if (isListr(result)) {
result.level = this._listr.level + 1;

@@ -78,0 +80,0 @@ result.setRenderer(LocalRenderer);

{
"name": "listr",
"version": "0.4.0",
"version": "0.4.1",
"description": "Terminal task list",

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc