@oclif/core
Advanced tools
Comparing version 3.22.0 to 3.23.0
@@ -8,2 +8,5 @@ import { Options } from './types'; | ||
export type ActionType = 'debug' | 'simple' | 'spinner'; | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
export declare class ActionBase { | ||
@@ -10,0 +13,0 @@ std: 'stderr' | 'stdout'; |
@@ -6,2 +6,5 @@ "use strict"; | ||
const util_1 = require("../../util/util"); | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
class ActionBase { | ||
@@ -8,0 +11,0 @@ std = 'stderr'; |
@@ -8,2 +8,5 @@ import { ActionBase } from './action/base'; | ||
} | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
export declare class Config { | ||
@@ -19,3 +22,6 @@ action: ActionBase; | ||
} | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
export declare const config: Config; | ||
export default config; |
@@ -18,2 +18,5 @@ "use strict"; | ||
const Action = actionType === 'spinner' ? spinner_1.default : simple_1.default; | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
class Config { | ||
@@ -46,3 +49,6 @@ action = new Action(); | ||
} | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
exports.config = fetch(); | ||
exports.default = exports.config; |
@@ -34,3 +34,95 @@ import * as Errors from '../errors'; | ||
declare const error: typeof Errors.error, exit: typeof Errors.exit, warn: typeof Errors.warn; | ||
export { action, annotation, anykey, confirm, debug, done, error, exit, flush, info, log, logToStderr, progress, prompt, styledHeader, styledJSON, styledObject, table, trace, tree, url, wait, warn, }; | ||
export { | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
action, | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
annotation, | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
anykey, | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
confirm, | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
debug, | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
done, | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
error, | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
exit, | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
flush, | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
info, | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
log, | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
logToStderr, | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
progress, | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
prompt, | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
styledHeader, | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
styledJSON, | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
styledObject, | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
table, | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
trace, | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
tree, | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
url, | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
wait, | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
warn, }; | ||
export { ActionBase } from './action/base'; | ||
@@ -37,0 +129,0 @@ export { Config, config } from './config'; |
@@ -0,1 +1,4 @@ | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
export interface IPromptOptions { | ||
@@ -2,0 +5,0 @@ default?: string; |
@@ -40,2 +40,5 @@ "use strict"; | ||
const write_1 = __importDefault(require("../write")); | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
class Table { | ||
@@ -42,0 +45,0 @@ data; |
@@ -0,1 +1,4 @@ | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
declare const _default: { | ||
@@ -2,0 +5,0 @@ stderr: (msg: string) => void; |
@@ -9,2 +9,5 @@ "use strict"; | ||
}; | ||
/** | ||
* @deprecated `ux` will be removed in the next major. See https://github.com/oclif/core/discussions/999 | ||
*/ | ||
exports.default = { | ||
@@ -11,0 +14,0 @@ stderr, |
{ | ||
"name": "@oclif/core", | ||
"description": "base library for oclif CLIs", | ||
"version": "3.22.0", | ||
"version": "3.23.0", | ||
"author": "Salesforce", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/oclif/core/issues", |
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
435730
11401