@stacksjs/logging 0.58.27 → 0.58.43
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/index.js +10 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ var __export = (target, all) => {
|
|
|
11
11
|
};
|
|
12
12
|
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
13
13
|
|
|
14
|
-
// /
|
|
14
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/consola/dist/core.mjs
|
|
15
15
|
class Consola {
|
|
16
16
|
constructor(options = {}) {
|
|
17
17
|
const types = options.types || LogTypes;
|
|
@@ -392,7 +392,7 @@ var init_core = __esm(() => {
|
|
|
392
392
|
Consola.prototype.resume = Consola.prototype.resumeLogs;
|
|
393
393
|
});
|
|
394
394
|
|
|
395
|
-
// /
|
|
395
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/consola/dist/shared/consola.06ad8a64.mjs
|
|
396
396
|
import {formatWithOptions} from "util";
|
|
397
397
|
import {sep} from "path";
|
|
398
398
|
|
|
@@ -452,7 +452,7 @@ var init_consola_06ad8a64 = __esm(() => {
|
|
|
452
452
|
bracket = (x) => x ? `[${x}]` : "";
|
|
453
453
|
});
|
|
454
454
|
|
|
455
|
-
// /
|
|
455
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/consola/dist/utils.mjs
|
|
456
456
|
import * as tty from "tty";
|
|
457
457
|
var replaceClose, clearBleed, filterEmpty, init, createColors, getColor, stripAnsi, box, env, argv, platform, isDisabled, isForced, isWindows, isDumbTerminal, isCompatibleTerminal, isCI, isColorSupported, colorDefs, colors, ansiRegex, boxStylePresets, defaultStyle;
|
|
458
458
|
var init_utils = __esm(() => {
|
|
@@ -533,12 +533,12 @@ var init_utils = __esm(() => {
|
|
|
533
533
|
argv = [],
|
|
534
534
|
platform = ""
|
|
535
535
|
} = typeof process === "undefined" ? {} : process);
|
|
536
|
-
isDisabled = "NO_COLOR" in env || argv.includes("--no-color");
|
|
537
|
-
isForced = "FORCE_COLOR" in env || argv.includes("--color");
|
|
536
|
+
isDisabled = ("NO_COLOR" in env) || argv.includes("--no-color");
|
|
537
|
+
isForced = ("FORCE_COLOR" in env) || argv.includes("--color");
|
|
538
538
|
isWindows = platform === "win32";
|
|
539
539
|
isDumbTerminal = env.TERM === "dumb";
|
|
540
540
|
isCompatibleTerminal = tty && tty.isatty && tty.isatty(1) && env.TERM && !isDumbTerminal;
|
|
541
|
-
isCI = "CI" in env && (("GITHUB_ACTIONS" in env) || ("GITLAB_CI" in env) || ("CIRCLECI" in env));
|
|
541
|
+
isCI = ("CI" in env) && (("GITHUB_ACTIONS" in env) || ("GITLAB_CI" in env) || ("CIRCLECI" in env));
|
|
542
542
|
isColorSupported = !isDisabled && (isForced || isWindows && !isDumbTerminal || isCompatibleTerminal || isCI);
|
|
543
543
|
colorDefs = {
|
|
544
544
|
reset: init(0, 0),
|
|
@@ -665,7 +665,7 @@ var init_utils = __esm(() => {
|
|
|
665
665
|
};
|
|
666
666
|
});
|
|
667
667
|
|
|
668
|
-
// /
|
|
668
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/consola/dist/chunks/prompt.mjs
|
|
669
669
|
var exports_prompt = {};
|
|
670
670
|
__export(exports_prompt, {
|
|
671
671
|
prompt: () => {
|
|
@@ -1035,7 +1035,7 @@ var init_prompt = __esm(() => {
|
|
|
1035
1035
|
src = { cursor, scroll, erase, beep };
|
|
1036
1036
|
picocolors = { exports: {} };
|
|
1037
1037
|
tty2 = require$$0;
|
|
1038
|
-
isColorSupported2 = !(("NO_COLOR" in process.env) || process.argv.includes("--no-color")) && (("FORCE_COLOR" in process.env) || process.argv.includes("--color") || process.platform === "win32" || tty2.isatty(1) &&
|
|
1038
|
+
isColorSupported2 = !(("NO_COLOR" in process.env) || process.argv.includes("--no-color")) && (("FORCE_COLOR" in process.env) || process.argv.includes("--color") || process.platform === "win32" || tty2.isatty(1) && true || ("CI" in process.env));
|
|
1039
1039
|
formatter = (open, close, replace = open) => (input) => {
|
|
1040
1040
|
let string = "" + input;
|
|
1041
1041
|
let index = string.indexOf(close, open.length);
|
|
@@ -1425,7 +1425,7 @@ ${colors.cyan(S_BAR_END)}
|
|
|
1425
1425
|
};
|
|
1426
1426
|
});
|
|
1427
1427
|
|
|
1428
|
-
// /
|
|
1428
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/consola/dist/shared/consola.36c0034f.mjs
|
|
1429
1429
|
import process$1 from "process";
|
|
1430
1430
|
|
|
1431
1431
|
class FancyReporter extends BasicReporter {
|
|
@@ -1780,7 +1780,7 @@ var init_consola_36c0034f = __esm(() => {
|
|
|
1780
1780
|
// src/index.ts
|
|
1781
1781
|
import process2 from "process";
|
|
1782
1782
|
|
|
1783
|
-
// /
|
|
1783
|
+
// /Users/chrisbreuer/Code/stacks/node_modules/consola/dist/index.mjs
|
|
1784
1784
|
init_consola_36c0034f();
|
|
1785
1785
|
init_core();
|
|
1786
1786
|
init_consola_06ad8a64();
|