extension-install 4.0.22 → 4.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/messaging.d.ts +4 -0
- package/dist/module.cjs +4 -0
- package/package.json +1 -1
package/dist/lib/messaging.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
export type Channel = 'info' | 'success' | 'warn' | 'error' | 'debug';
|
|
2
2
|
export declare function isDebug(): boolean;
|
|
3
3
|
export declare function prefix(type: Channel): string;
|
|
4
|
+
export declare function isMachineOutput(): boolean;
|
|
5
|
+
export declare function humanLine(...parts: unknown[]): void;
|
|
6
|
+
export declare function humanWarn(...parts: unknown[]): void;
|
|
7
|
+
export declare function humanError(...parts: unknown[]): void;
|
|
4
8
|
export declare const fmt: {
|
|
5
9
|
heading: (title: string) => string;
|
|
6
10
|
label: (key: string) => string;
|
package/dist/module.cjs
CHANGED
|
@@ -123,6 +123,10 @@ function prefix(type) {
|
|
|
123
123
|
if ('debug' === type) return external_pintor_default().dim(external_pintor_default().gray(DEBUG_GLYPH));
|
|
124
124
|
return external_pintor_default().gray(GLYPH);
|
|
125
125
|
}
|
|
126
|
+
new Set([
|
|
127
|
+
'json',
|
|
128
|
+
'ndjson'
|
|
129
|
+
]);
|
|
126
130
|
const fmt = {
|
|
127
131
|
heading: (title)=>external_pintor_default().underline(external_pintor_default().blue(title)),
|
|
128
132
|
label: (key)=>external_pintor_default().gray(key.toUpperCase()),
|