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

cli-ux

Package Overview
Dependencies
Maintainers
3
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-ux - npm Package Compare versions

Comparing version 2.0.14 to 2.0.15

2

lib/action/base.d.ts

@@ -8,3 +8,5 @@ import deps from '../deps';

}
export declare type ActionType = 'spinner' | 'simple' | 'debug';
export declare class ActionBase extends deps.Base {
type: ActionType;
start(action: string, status?: string): void;

@@ -11,0 +13,0 @@ stop(msg?: string): void;

@@ -0,3 +1,5 @@

import { ActionType } from './base';
import deps from '../deps';
export declare class DebugAction extends deps.ActionBase.ActionBase {
type: ActionType;
_start(): void;

@@ -4,0 +6,0 @@ _pause(): void;

@@ -5,2 +5,6 @@ "use strict";

class DebugAction extends deps_1.default.ActionBase.ActionBase {
constructor() {
super(...arguments);
this.type = 'debug';
}
_start() {

@@ -7,0 +11,0 @@ const task = this.task;

3

lib/action/simple.d.ts

@@ -1,3 +0,4 @@

import { ActionBase } from './base';
import { ActionBase, ActionType } from './base';
export declare class SimpleAction extends ActionBase {
type: ActionType;
_start(): void;

@@ -4,0 +5,0 @@ _pause(icon?: string): void;

@@ -5,2 +5,6 @@ "use strict";

class SimpleAction extends base_1.ActionBase {
constructor() {
super(...arguments);
this.type = 'simple';
}
_start() {

@@ -7,0 +11,0 @@ const task = this.task;

import deps from '../deps';
import { ActionType } from './base';
export declare class SpinnerAction extends deps.ActionBase.ActionBase {
type: ActionType;
spinner: number;

@@ -4,0 +6,0 @@ frames: any;

@@ -15,2 +15,3 @@ "use strict";

super();
this.type = 'spinner';
this.frames = spinners[deps_1.default.Config.windows ? 'line' : 'dots2'].frames;

@@ -17,0 +18,0 @@ this.frameIndex = 0;

{
"name": "cli-ux",
"description": "set of CLI output utilities",
"version": "2.0.14",
"version": "2.0.15",
"author": "Jeff Dickey",
"bugs": "https://github.com/jdxcode/cli-ux/issues",
"dependencies": {
"@heroku-cli/color": "^1.0.3",
"@heroku/linewrap": "^1.0.0",

@@ -13,3 +14,2 @@ "ansi-escapes": "^3.0.0",

"chalk": "^2.3.0",
"heroku-cli-color": "^1.0.3",
"lodash": "^4.17.4",

@@ -16,0 +16,0 @@ "moment": "^2.20.1",

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