Comparing version 2.0.14 to 2.0.15
@@ -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; |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51836
1563
+ Added@heroku-cli/color@^1.0.3
+ Added@heroku-cli/color@1.1.16(transitive)
+ Addedansi-regex@4.1.1(transitive)
+ Addedstrip-ansi@5.2.0(transitive)
+ Addedtslib@1.14.1(transitive)
- Removedheroku-cli-color@^1.0.3
- Removedheroku-cli-color@1.0.3(transitive)