Comparing version 3.1.4 to 3.1.5
@@ -0,1 +1,9 @@ | ||
<a name="3.1.5"></a> | ||
## [3.1.5](https://github.com/dxcli/cli-ux/compare/5631c047709bf7025fb9399e1764a2cb45e2daf9...v3.1.5) (2018-01-21) | ||
### Bug Fixes | ||
* added some exports ([8575f69](https://github.com/dxcli/cli-ux/commit/8575f69)) | ||
<a name="3.1.4"></a> | ||
@@ -2,0 +10,0 @@ ## [3.1.4](https://github.com/dxcli/cli-ux/compare/00cf754903f88b7daa379667f2e616253381b518...v3.1.4) (2018-01-20) |
import { ActionBase } from './action/base'; | ||
import * as Errors from './errors'; | ||
import Errors, { CLIError, Options as ErrorOptions } from './errors'; | ||
import { ExitError } from './exit'; | ||
@@ -14,5 +14,5 @@ import { IPromptOptions } from './prompt'; | ||
log: (...data: any[]) => void; | ||
warn: (input: string | Error, opts?: Errors.Options) => void; | ||
error: (input: string | Error, opts?: Errors.Options) => void; | ||
fatal: (input: string | Error, opts?: Errors.Options) => void; | ||
warn: (input: string | Error, opts?: ErrorOptions) => void; | ||
error: (input: string | Error, opts?: ErrorOptions) => void; | ||
fatal: (input: string | Error, opts?: ErrorOptions) => void; | ||
exit(code?: number, error?: Error | undefined): void; | ||
@@ -35,5 +35,5 @@ readonly prompt: (name: string, options?: IPromptOptions) => Promise<any>; | ||
log: (...data: any[]) => void; | ||
warn: (input: string | Error, opts?: Errors.Options) => void; | ||
error: (input: string | Error, opts?: Errors.Options) => void; | ||
fatal: (input: string | Error, opts?: Errors.Options) => void; | ||
warn: (input: string | Error, opts?: ErrorOptions) => void; | ||
error: (input: string | Error, opts?: ErrorOptions) => void; | ||
fatal: (input: string | Error, opts?: ErrorOptions) => void; | ||
exit(code?: number, error?: Error | undefined): void; | ||
@@ -50,2 +50,2 @@ readonly prompt: (name: string, options?: IPromptOptions) => Promise<any>; | ||
export default cli; | ||
export { ActionBase, Config, Errors, ExitError, IPromptOptions, Table }; | ||
export { ActionBase, CLIError, Config, ErrorOptions, Errors, ExitError, IPromptOptions, Table }; |
@@ -7,4 +7,5 @@ "use strict"; | ||
const deps_1 = require("./deps"); | ||
const Errors = require("./errors"); | ||
exports.Errors = Errors; | ||
const errors_1 = require("./errors"); | ||
exports.Errors = errors_1.default; | ||
exports.CLIError = errors_1.CLIError; | ||
const exit_1 = require("./exit"); | ||
@@ -20,3 +21,3 @@ exports.ExitError = exit_1.ExitError; | ||
const output = output_1.default(e); | ||
const errors = Errors.default(e); | ||
const errors = errors_1.default(e); | ||
const logger = Logger.default(e); | ||
@@ -23,0 +24,0 @@ exports.scope = (_scope) => { |
{ | ||
"name": "cli-ux", | ||
"description": "cli IO utilities", | ||
"version": "3.1.4", | ||
"version": "3.1.5", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/dxcli/cli-ux/issues", |
Sorry, the diff of this file is not supported yet
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
102900
1598