@stacksjs/logging 0.58.43 → 0.58.44

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.
Files changed (2) hide show
  1. package/dist/index.js +10 -16
  2. 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
- // /Users/chrisbreuer/Code/stacks/node_modules/consola/dist/core.mjs
14
+ // /home/runner/work/stacks/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
- // /Users/chrisbreuer/Code/stacks/node_modules/consola/dist/shared/consola.06ad8a64.mjs
395
+ // /home/runner/work/stacks/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
- // /Users/chrisbreuer/Code/stacks/node_modules/consola/dist/utils.mjs
455
+ // /home/runner/work/stacks/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
- // /Users/chrisbreuer/Code/stacks/node_modules/consola/dist/chunks/prompt.mjs
668
+ // /home/runner/work/stacks/stacks/node_modules/consola/dist/chunks/prompt.mjs
669
669
  var exports_prompt = {};
670
670
  __export(exports_prompt, {
671
671
  prompt: () => {
@@ -678,8 +678,6 @@ import {stdin, stdout} from "process";
678
678
  import f from "readline";
679
679
  import {WriteStream} from "tty";
680
680
  import require$$0 from "tty";
681
- import"util";
682
- import"path";
683
681
  async function prompt(message, opts = {}) {
684
682
  if (!opts.type || opts.type === "text") {
685
683
  return await text({
@@ -1035,7 +1033,7 @@ var init_prompt = __esm(() => {
1035
1033
  src = { cursor, scroll, erase, beep };
1036
1034
  picocolors = { exports: {} };
1037
1035
  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) && true || ("CI" in process.env));
1036
+ 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) && process.env.TERM !== "dumb" || ("CI" in process.env));
1039
1037
  formatter = (open, close, replace = open) => (input) => {
1040
1038
  let string = "" + input;
1041
1039
  let index = string.indexOf(close, open.length);
@@ -1425,7 +1423,7 @@ ${colors.cyan(S_BAR_END)}
1425
1423
  };
1426
1424
  });
1427
1425
 
1428
- // /Users/chrisbreuer/Code/stacks/node_modules/consola/dist/shared/consola.36c0034f.mjs
1426
+ // /home/runner/work/stacks/stacks/node_modules/consola/dist/shared/consola.36c0034f.mjs
1429
1427
  import process$1 from "process";
1430
1428
 
1431
1429
  class FancyReporter extends BasicReporter {
@@ -1780,15 +1778,11 @@ var init_consola_36c0034f = __esm(() => {
1780
1778
  // src/index.ts
1781
1779
  import process2 from "process";
1782
1780
 
1783
- // /Users/chrisbreuer/Code/stacks/node_modules/consola/dist/index.mjs
1781
+ // /home/runner/work/stacks/stacks/node_modules/consola/dist/index.mjs
1784
1782
  init_consola_36c0034f();
1785
1783
  init_core();
1786
1784
  init_consola_06ad8a64();
1787
1785
  init_utils();
1788
- import"process";
1789
- import"tty";
1790
- import"util";
1791
- import"path";
1792
1786
 
1793
1787
  // src/index.ts
1794
1788
  import {ExitCode} from "@stacksjs/types";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/logging",
3
3
  "type": "module",
4
- "version": "0.58.43",
4
+ "version": "0.58.44",
5
5
  "description": "The Stacks logging system.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",