Comparing version 5.3.0 to 5.3.1
@@ -0,1 +1,2 @@ | ||
/// <reference types="node" /> | ||
import { ActionBase, ActionType } from './base'; | ||
@@ -2,0 +3,0 @@ export default class SpinnerAction extends ActionBase { |
@@ -28,3 +28,3 @@ "use strict"; | ||
this._render(); | ||
let interval = (this.spinner = setInterval(this._render.bind(this), process.platform === 'win32' ? 500 : 100, 'spinner')); | ||
let interval = (this.spinner = setInterval(icon => this._render.bind(this)(icon), process.platform === 'win32' ? 500 : 100, 'spinner')); | ||
interval.unref(); | ||
@@ -31,0 +31,0 @@ } |
export declare const deps: { | ||
readonly stripAnsi: (str: string) => string; | ||
readonly stripAnsi: (string: string) => string; | ||
readonly ansiStyles: typeof import("ansi-styles"); | ||
@@ -14,4 +14,4 @@ readonly ansiEscapes: any; | ||
readonly tree: typeof import("./styled/tree").default; | ||
readonly wait: (ms?: number) => Promise<{}>; | ||
readonly wait: (ms?: number) => Promise<unknown>; | ||
}; | ||
export default deps; |
@@ -26,3 +26,3 @@ import * as Errors from '@oclif/errors'; | ||
readonly open: typeof import("./open").default; | ||
readonly wait: (ms?: number) => Promise<{}>; | ||
readonly wait: (ms?: number) => Promise<unknown>; | ||
done(): Promise<void>; | ||
@@ -57,3 +57,3 @@ trace(format: string, ...args: string[]): void; | ||
readonly open: typeof import("./open").default; | ||
readonly wait: (ms?: number) => Promise<{}>; | ||
readonly wait: (ms?: number) => Promise<unknown>; | ||
done(): Promise<void>; | ||
@@ -60,0 +60,0 @@ trace(format: string, ...args: string[]): void; |
@@ -6,2 +6,2 @@ export declare namespace open { | ||
} | ||
export default function open(target: string, opts?: open.Options): Promise<{}>; | ||
export default function open(target: string, opts?: open.Options): Promise<unknown>; |
@@ -1,2 +0,2 @@ | ||
declare const _default: (ms?: number) => Promise<{}>; | ||
declare const _default: (ms?: number) => Promise<unknown>; | ||
export default _default; |
{ | ||
"name": "cli-ux", | ||
"description": "cli IO utilities", | ||
"version": "5.3.0", | ||
"version": "5.3.1", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -50,6 +50,6 @@ "bugs": "https://github.com/oclif/cli-ux/issues", | ||
"@types/supports-color": "^5.3.0", | ||
"axios": "^0.18.0", | ||
"axios": "^0.19.0", | ||
"chai": "^4.2.0", | ||
"chai-as-promised": "^7.1.1", | ||
"eslint": "^5.8.0", | ||
"eslint": "^5.16.0", | ||
"eslint-config-oclif": "^3.1.0", | ||
@@ -56,0 +56,0 @@ "fancy-test": "^1.4.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
88690
1767