@storm-software/workspace-tools 1.68.11 → 1.70.0

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.
@@ -2950,6 +2950,55 @@ var require_lib2 = __commonJS({
2950
2950
  }
2951
2951
  });
2952
2952
 
2953
+ // node_modules/.pnpm/picocolors@1.0.0/node_modules/picocolors/picocolors.js
2954
+ var require_picocolors = __commonJS({
2955
+ "node_modules/.pnpm/picocolors@1.0.0/node_modules/picocolors/picocolors.js"(exports2, module2) {
2956
+ var tty = require("tty");
2957
+ var isColorSupported = !("NO_COLOR" in process.env || process.argv.includes("--no-color")) && ("FORCE_COLOR" in process.env || process.argv.includes("--color") || process.platform === "win32" || tty.isatty(1) && process.env.TERM !== "dumb" || "CI" in process.env);
2958
+ var formatter = (open, close, replace = open) => (input) => {
2959
+ let string = "" + input;
2960
+ let index = string.indexOf(close, open.length);
2961
+ return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close;
2962
+ };
2963
+ var replaceClose = (string, close, replace, index) => {
2964
+ let start = string.substring(0, index) + replace;
2965
+ let end = string.substring(index + close.length);
2966
+ let nextIndex = end.indexOf(close);
2967
+ return ~nextIndex ? start + replaceClose(end, close, replace, nextIndex) : start + end;
2968
+ };
2969
+ var createColors = (enabled = isColorSupported) => ({
2970
+ isColorSupported: enabled,
2971
+ reset: enabled ? (s) => `\x1B[0m${s}\x1B[0m` : String,
2972
+ bold: enabled ? formatter("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m") : String,
2973
+ dim: enabled ? formatter("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m") : String,
2974
+ italic: enabled ? formatter("\x1B[3m", "\x1B[23m") : String,
2975
+ underline: enabled ? formatter("\x1B[4m", "\x1B[24m") : String,
2976
+ inverse: enabled ? formatter("\x1B[7m", "\x1B[27m") : String,
2977
+ hidden: enabled ? formatter("\x1B[8m", "\x1B[28m") : String,
2978
+ strikethrough: enabled ? formatter("\x1B[9m", "\x1B[29m") : String,
2979
+ black: enabled ? formatter("\x1B[30m", "\x1B[39m") : String,
2980
+ red: enabled ? formatter("\x1B[31m", "\x1B[39m") : String,
2981
+ green: enabled ? formatter("\x1B[32m", "\x1B[39m") : String,
2982
+ yellow: enabled ? formatter("\x1B[33m", "\x1B[39m") : String,
2983
+ blue: enabled ? formatter("\x1B[34m", "\x1B[39m") : String,
2984
+ magenta: enabled ? formatter("\x1B[35m", "\x1B[39m") : String,
2985
+ cyan: enabled ? formatter("\x1B[36m", "\x1B[39m") : String,
2986
+ white: enabled ? formatter("\x1B[37m", "\x1B[39m") : String,
2987
+ gray: enabled ? formatter("\x1B[90m", "\x1B[39m") : String,
2988
+ bgBlack: enabled ? formatter("\x1B[40m", "\x1B[49m") : String,
2989
+ bgRed: enabled ? formatter("\x1B[41m", "\x1B[49m") : String,
2990
+ bgGreen: enabled ? formatter("\x1B[42m", "\x1B[49m") : String,
2991
+ bgYellow: enabled ? formatter("\x1B[43m", "\x1B[49m") : String,
2992
+ bgBlue: enabled ? formatter("\x1B[44m", "\x1B[49m") : String,
2993
+ bgMagenta: enabled ? formatter("\x1B[45m", "\x1B[49m") : String,
2994
+ bgCyan: enabled ? formatter("\x1B[46m", "\x1B[49m") : String,
2995
+ bgWhite: enabled ? formatter("\x1B[47m", "\x1B[49m") : String
2996
+ });
2997
+ module2.exports = createColors();
2998
+ module2.exports.createColors = createColors;
2999
+ }
3000
+ });
3001
+
2953
3002
  // node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js
2954
3003
  var require_color_name = __commonJS({
2955
3004
  "node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js"(exports2, module2) {
@@ -4497,9 +4546,9 @@ var require_source = __commonJS({
4497
4546
  }
4498
4547
  });
4499
4548
 
4500
- // node_modules/.pnpm/@babel+highlight@7.23.4/node_modules/@babel/highlight/lib/index.js
4549
+ // node_modules/.pnpm/@babel+highlight@7.24.2/node_modules/@babel/highlight/lib/index.js
4501
4550
  var require_lib3 = __commonJS({
4502
- "node_modules/.pnpm/@babel+highlight@7.23.4/node_modules/@babel/highlight/lib/index.js"(exports2) {
4551
+ "node_modules/.pnpm/@babel+highlight@7.24.2/node_modules/@babel/highlight/lib/index.js"(exports2) {
4503
4552
  "use strict";
4504
4553
  Object.defineProperty(exports2, "__esModule", {
4505
4554
  value: true
@@ -4508,7 +4557,7 @@ var require_lib3 = __commonJS({
4508
4557
  exports2.shouldHighlight = shouldHighlight;
4509
4558
  var _jsTokens = require_js_tokens();
4510
4559
  var _helperValidatorIdentifier = require_lib2();
4511
- var _chalk = _interopRequireWildcard(require_source(), true);
4560
+ var _picocolors = _interopRequireWildcard(require_picocolors(), true);
4512
4561
  function _getRequireWildcardCache(e) {
4513
4562
  if ("function" != typeof WeakMap)
4514
4563
  return null;
@@ -4533,18 +4582,20 @@ var require_lib3 = __commonJS({
4533
4582
  }
4534
4583
  return n.default = e, t && t.set(e, n), n;
4535
4584
  }
4585
+ var colors = typeof process === "object" && (process.env.FORCE_COLOR === "0" || process.env.FORCE_COLOR === "false") ? (0, _picocolors.createColors)(false) : _picocolors.default;
4586
+ var compose = (f, g) => (v) => f(g(v));
4536
4587
  var sometimesKeywords = /* @__PURE__ */ new Set(["as", "async", "from", "get", "of", "set"]);
4537
- function getDefs(chalk2) {
4588
+ function getDefs(colors2) {
4538
4589
  return {
4539
- keyword: chalk2.cyan,
4540
- capitalized: chalk2.yellow,
4541
- jsxIdentifier: chalk2.yellow,
4542
- punctuator: chalk2.yellow,
4543
- number: chalk2.magenta,
4544
- string: chalk2.green,
4545
- regex: chalk2.magenta,
4546
- comment: chalk2.grey,
4547
- invalid: chalk2.white.bgRed.bold
4590
+ keyword: colors2.cyan,
4591
+ capitalized: colors2.yellow,
4592
+ jsxIdentifier: colors2.yellow,
4593
+ punctuator: colors2.yellow,
4594
+ number: colors2.magenta,
4595
+ string: colors2.green,
4596
+ regex: colors2.magenta,
4597
+ comment: colors2.gray,
4598
+ invalid: compose(compose(colors2.white, colors2.bgRed), colors2.bold)
4548
4599
  };
4549
4600
  }
4550
4601
  var NEWLINE = /\r\n|[\n\r\u2028\u2029]/;
@@ -4599,37 +4650,49 @@ var require_lib3 = __commonJS({
4599
4650
  return highlighted;
4600
4651
  }
4601
4652
  function shouldHighlight(options) {
4602
- return _chalk.default.level > 0 || options.forceColor;
4653
+ return colors.isColorSupported || options.forceColor;
4603
4654
  }
4604
- var chalkWithForcedColor = void 0;
4605
- function getChalk2(forceColor) {
4655
+ var pcWithForcedColor = void 0;
4656
+ function getColors(forceColor) {
4606
4657
  if (forceColor) {
4607
- var _chalkWithForcedColor;
4608
- (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new _chalk.default.constructor({
4609
- enabled: true,
4610
- level: 1
4611
- });
4612
- return chalkWithForcedColor;
4658
+ var _pcWithForcedColor;
4659
+ (_pcWithForcedColor = pcWithForcedColor) != null ? _pcWithForcedColor : pcWithForcedColor = (0, _picocolors.createColors)(true);
4660
+ return pcWithForcedColor;
4613
4661
  }
4614
- return _chalk.default;
4615
- }
4616
- {
4617
- exports2.getChalk = (options) => getChalk2(options.forceColor);
4662
+ return colors;
4618
4663
  }
4619
4664
  function highlight(code, options = {}) {
4620
4665
  if (code !== "" && shouldHighlight(options)) {
4621
- const defs = getDefs(getChalk2(options.forceColor));
4666
+ const defs = getDefs(getColors(options.forceColor));
4622
4667
  return highlightTokens(defs, code);
4623
4668
  } else {
4624
4669
  return code;
4625
4670
  }
4626
4671
  }
4672
+ {
4673
+ let chalk2, chalkWithForcedColor;
4674
+ exports2.getChalk = ({
4675
+ forceColor
4676
+ }) => {
4677
+ var _chalk;
4678
+ (_chalk = chalk2) != null ? _chalk : chalk2 = require_source();
4679
+ if (forceColor) {
4680
+ var _chalkWithForcedColor;
4681
+ (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new chalk2.constructor({
4682
+ enabled: true,
4683
+ level: 1
4684
+ });
4685
+ return chalkWithForcedColor;
4686
+ }
4687
+ return chalk2;
4688
+ };
4689
+ }
4627
4690
  }
4628
4691
  });
4629
4692
 
4630
- // node_modules/.pnpm/@babel+code-frame@7.23.5/node_modules/@babel/code-frame/lib/index.js
4693
+ // node_modules/.pnpm/@babel+code-frame@7.24.2/node_modules/@babel/code-frame/lib/index.js
4631
4694
  var require_lib4 = __commonJS({
4632
- "node_modules/.pnpm/@babel+code-frame@7.23.5/node_modules/@babel/code-frame/lib/index.js"(exports2) {
4695
+ "node_modules/.pnpm/@babel+code-frame@7.24.2/node_modules/@babel/code-frame/lib/index.js"(exports2) {
4633
4696
  "use strict";
4634
4697
  Object.defineProperty(exports2, "__esModule", {
4635
4698
  value: true
@@ -4637,7 +4700,7 @@ var require_lib4 = __commonJS({
4637
4700
  exports2.codeFrameColumns = codeFrameColumns;
4638
4701
  exports2.default = _default;
4639
4702
  var _highlight = require_lib3();
4640
- var _chalk = _interopRequireWildcard(require_source(), true);
4703
+ var _picocolors = _interopRequireWildcard(require_picocolors(), true);
4641
4704
  function _getRequireWildcardCache(e) {
4642
4705
  if ("function" != typeof WeakMap)
4643
4706
  return null;
@@ -4662,24 +4725,23 @@ var require_lib4 = __commonJS({
4662
4725
  }
4663
4726
  return n.default = e, t && t.set(e, n), n;
4664
4727
  }
4665
- var chalkWithForcedColor = void 0;
4666
- function getChalk2(forceColor) {
4728
+ var colors = typeof process === "object" && (process.env.FORCE_COLOR === "0" || process.env.FORCE_COLOR === "false") ? (0, _picocolors.createColors)(false) : _picocolors.default;
4729
+ var compose = (f, g) => (v) => f(g(v));
4730
+ var pcWithForcedColor = void 0;
4731
+ function getColors(forceColor) {
4667
4732
  if (forceColor) {
4668
- var _chalkWithForcedColor;
4669
- (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new _chalk.default.constructor({
4670
- enabled: true,
4671
- level: 1
4672
- });
4673
- return chalkWithForcedColor;
4733
+ var _pcWithForcedColor;
4734
+ (_pcWithForcedColor = pcWithForcedColor) != null ? _pcWithForcedColor : pcWithForcedColor = (0, _picocolors.createColors)(true);
4735
+ return pcWithForcedColor;
4674
4736
  }
4675
- return _chalk.default;
4737
+ return colors;
4676
4738
  }
4677
4739
  var deprecationWarningShown = false;
4678
- function getDefs(chalk2) {
4740
+ function getDefs(colors2) {
4679
4741
  return {
4680
- gutter: chalk2.grey,
4681
- marker: chalk2.red.bold,
4682
- message: chalk2.red.bold
4742
+ gutter: colors2.gray,
4743
+ marker: compose(colors2.red, colors2.bold),
4744
+ message: compose(colors2.red, colors2.bold)
4683
4745
  };
4684
4746
  }
4685
4747
  var NEWLINE = /\r\n|[\n\r\u2028\u2029]/;
@@ -4741,10 +4803,10 @@ var require_lib4 = __commonJS({
4741
4803
  }
4742
4804
  function codeFrameColumns(rawLines, loc, opts = {}) {
4743
4805
  const highlighted = (opts.highlightCode || opts.forceColor) && (0, _highlight.shouldHighlight)(opts);
4744
- const chalk2 = getChalk2(opts.forceColor);
4745
- const defs = getDefs(chalk2);
4746
- const maybeHighlight = (chalkFn, string) => {
4747
- return highlighted ? chalkFn(string) : string;
4806
+ const colors2 = getColors(opts.forceColor);
4807
+ const defs = getDefs(colors2);
4808
+ const maybeHighlight = (fmt, string) => {
4809
+ return highlighted ? fmt(string) : string;
4748
4810
  };
4749
4811
  const lines = rawLines.split(NEWLINE);
4750
4812
  const {
@@ -4781,7 +4843,7 @@ var require_lib4 = __commonJS({
4781
4843
  ${frame}`;
4782
4844
  }
4783
4845
  if (highlighted) {
4784
- return chalk2.reset(frame);
4846
+ return colors2.reset(frame);
4785
4847
  } else {
4786
4848
  return frame;
4787
4849
  }
@@ -5493,6 +5493,55 @@ var require_lib2 = __commonJS({
5493
5493
  }
5494
5494
  });
5495
5495
 
5496
+ // node_modules/.pnpm/picocolors@1.0.0/node_modules/picocolors/picocolors.js
5497
+ var require_picocolors = __commonJS({
5498
+ "node_modules/.pnpm/picocolors@1.0.0/node_modules/picocolors/picocolors.js"(exports2, module2) {
5499
+ var tty = require("tty");
5500
+ var isColorSupported = !("NO_COLOR" in process.env || process.argv.includes("--no-color")) && ("FORCE_COLOR" in process.env || process.argv.includes("--color") || process.platform === "win32" || tty.isatty(1) && process.env.TERM !== "dumb" || "CI" in process.env);
5501
+ var formatter = (open, close, replace = open) => (input) => {
5502
+ let string = "" + input;
5503
+ let index = string.indexOf(close, open.length);
5504
+ return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close;
5505
+ };
5506
+ var replaceClose = (string, close, replace, index) => {
5507
+ let start = string.substring(0, index) + replace;
5508
+ let end = string.substring(index + close.length);
5509
+ let nextIndex = end.indexOf(close);
5510
+ return ~nextIndex ? start + replaceClose(end, close, replace, nextIndex) : start + end;
5511
+ };
5512
+ var createColors = (enabled = isColorSupported) => ({
5513
+ isColorSupported: enabled,
5514
+ reset: enabled ? (s) => `\x1B[0m${s}\x1B[0m` : String,
5515
+ bold: enabled ? formatter("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m") : String,
5516
+ dim: enabled ? formatter("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m") : String,
5517
+ italic: enabled ? formatter("\x1B[3m", "\x1B[23m") : String,
5518
+ underline: enabled ? formatter("\x1B[4m", "\x1B[24m") : String,
5519
+ inverse: enabled ? formatter("\x1B[7m", "\x1B[27m") : String,
5520
+ hidden: enabled ? formatter("\x1B[8m", "\x1B[28m") : String,
5521
+ strikethrough: enabled ? formatter("\x1B[9m", "\x1B[29m") : String,
5522
+ black: enabled ? formatter("\x1B[30m", "\x1B[39m") : String,
5523
+ red: enabled ? formatter("\x1B[31m", "\x1B[39m") : String,
5524
+ green: enabled ? formatter("\x1B[32m", "\x1B[39m") : String,
5525
+ yellow: enabled ? formatter("\x1B[33m", "\x1B[39m") : String,
5526
+ blue: enabled ? formatter("\x1B[34m", "\x1B[39m") : String,
5527
+ magenta: enabled ? formatter("\x1B[35m", "\x1B[39m") : String,
5528
+ cyan: enabled ? formatter("\x1B[36m", "\x1B[39m") : String,
5529
+ white: enabled ? formatter("\x1B[37m", "\x1B[39m") : String,
5530
+ gray: enabled ? formatter("\x1B[90m", "\x1B[39m") : String,
5531
+ bgBlack: enabled ? formatter("\x1B[40m", "\x1B[49m") : String,
5532
+ bgRed: enabled ? formatter("\x1B[41m", "\x1B[49m") : String,
5533
+ bgGreen: enabled ? formatter("\x1B[42m", "\x1B[49m") : String,
5534
+ bgYellow: enabled ? formatter("\x1B[43m", "\x1B[49m") : String,
5535
+ bgBlue: enabled ? formatter("\x1B[44m", "\x1B[49m") : String,
5536
+ bgMagenta: enabled ? formatter("\x1B[45m", "\x1B[49m") : String,
5537
+ bgCyan: enabled ? formatter("\x1B[46m", "\x1B[49m") : String,
5538
+ bgWhite: enabled ? formatter("\x1B[47m", "\x1B[49m") : String
5539
+ });
5540
+ module2.exports = createColors();
5541
+ module2.exports.createColors = createColors;
5542
+ }
5543
+ });
5544
+
5496
5545
  // node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js
5497
5546
  var require_color_name = __commonJS({
5498
5547
  "node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js"(exports2, module2) {
@@ -7040,9 +7089,9 @@ var require_source = __commonJS({
7040
7089
  }
7041
7090
  });
7042
7091
 
7043
- // node_modules/.pnpm/@babel+highlight@7.23.4/node_modules/@babel/highlight/lib/index.js
7092
+ // node_modules/.pnpm/@babel+highlight@7.24.2/node_modules/@babel/highlight/lib/index.js
7044
7093
  var require_lib3 = __commonJS({
7045
- "node_modules/.pnpm/@babel+highlight@7.23.4/node_modules/@babel/highlight/lib/index.js"(exports2) {
7094
+ "node_modules/.pnpm/@babel+highlight@7.24.2/node_modules/@babel/highlight/lib/index.js"(exports2) {
7046
7095
  "use strict";
7047
7096
  Object.defineProperty(exports2, "__esModule", {
7048
7097
  value: true
@@ -7051,7 +7100,7 @@ var require_lib3 = __commonJS({
7051
7100
  exports2.shouldHighlight = shouldHighlight;
7052
7101
  var _jsTokens = require_js_tokens();
7053
7102
  var _helperValidatorIdentifier = require_lib2();
7054
- var _chalk = _interopRequireWildcard(require_source(), true);
7103
+ var _picocolors = _interopRequireWildcard(require_picocolors(), true);
7055
7104
  function _getRequireWildcardCache(e) {
7056
7105
  if ("function" != typeof WeakMap)
7057
7106
  return null;
@@ -7076,18 +7125,20 @@ var require_lib3 = __commonJS({
7076
7125
  }
7077
7126
  return n.default = e, t && t.set(e, n), n;
7078
7127
  }
7128
+ var colors = typeof process === "object" && (process.env.FORCE_COLOR === "0" || process.env.FORCE_COLOR === "false") ? (0, _picocolors.createColors)(false) : _picocolors.default;
7129
+ var compose = (f, g) => (v) => f(g(v));
7079
7130
  var sometimesKeywords = /* @__PURE__ */ new Set(["as", "async", "from", "get", "of", "set"]);
7080
- function getDefs(chalk2) {
7131
+ function getDefs(colors2) {
7081
7132
  return {
7082
- keyword: chalk2.cyan,
7083
- capitalized: chalk2.yellow,
7084
- jsxIdentifier: chalk2.yellow,
7085
- punctuator: chalk2.yellow,
7086
- number: chalk2.magenta,
7087
- string: chalk2.green,
7088
- regex: chalk2.magenta,
7089
- comment: chalk2.grey,
7090
- invalid: chalk2.white.bgRed.bold
7133
+ keyword: colors2.cyan,
7134
+ capitalized: colors2.yellow,
7135
+ jsxIdentifier: colors2.yellow,
7136
+ punctuator: colors2.yellow,
7137
+ number: colors2.magenta,
7138
+ string: colors2.green,
7139
+ regex: colors2.magenta,
7140
+ comment: colors2.gray,
7141
+ invalid: compose(compose(colors2.white, colors2.bgRed), colors2.bold)
7091
7142
  };
7092
7143
  }
7093
7144
  var NEWLINE = /\r\n|[\n\r\u2028\u2029]/;
@@ -7142,37 +7193,49 @@ var require_lib3 = __commonJS({
7142
7193
  return highlighted;
7143
7194
  }
7144
7195
  function shouldHighlight(options) {
7145
- return _chalk.default.level > 0 || options.forceColor;
7196
+ return colors.isColorSupported || options.forceColor;
7146
7197
  }
7147
- var chalkWithForcedColor = void 0;
7148
- function getChalk2(forceColor) {
7198
+ var pcWithForcedColor = void 0;
7199
+ function getColors(forceColor) {
7149
7200
  if (forceColor) {
7150
- var _chalkWithForcedColor;
7151
- (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new _chalk.default.constructor({
7152
- enabled: true,
7153
- level: 1
7154
- });
7155
- return chalkWithForcedColor;
7201
+ var _pcWithForcedColor;
7202
+ (_pcWithForcedColor = pcWithForcedColor) != null ? _pcWithForcedColor : pcWithForcedColor = (0, _picocolors.createColors)(true);
7203
+ return pcWithForcedColor;
7156
7204
  }
7157
- return _chalk.default;
7158
- }
7159
- {
7160
- exports2.getChalk = (options) => getChalk2(options.forceColor);
7205
+ return colors;
7161
7206
  }
7162
7207
  function highlight(code, options = {}) {
7163
7208
  if (code !== "" && shouldHighlight(options)) {
7164
- const defs = getDefs(getChalk2(options.forceColor));
7209
+ const defs = getDefs(getColors(options.forceColor));
7165
7210
  return highlightTokens(defs, code);
7166
7211
  } else {
7167
7212
  return code;
7168
7213
  }
7169
7214
  }
7215
+ {
7216
+ let chalk2, chalkWithForcedColor;
7217
+ exports2.getChalk = ({
7218
+ forceColor
7219
+ }) => {
7220
+ var _chalk;
7221
+ (_chalk = chalk2) != null ? _chalk : chalk2 = require_source();
7222
+ if (forceColor) {
7223
+ var _chalkWithForcedColor;
7224
+ (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new chalk2.constructor({
7225
+ enabled: true,
7226
+ level: 1
7227
+ });
7228
+ return chalkWithForcedColor;
7229
+ }
7230
+ return chalk2;
7231
+ };
7232
+ }
7170
7233
  }
7171
7234
  });
7172
7235
 
7173
- // node_modules/.pnpm/@babel+code-frame@7.23.5/node_modules/@babel/code-frame/lib/index.js
7236
+ // node_modules/.pnpm/@babel+code-frame@7.24.2/node_modules/@babel/code-frame/lib/index.js
7174
7237
  var require_lib4 = __commonJS({
7175
- "node_modules/.pnpm/@babel+code-frame@7.23.5/node_modules/@babel/code-frame/lib/index.js"(exports2) {
7238
+ "node_modules/.pnpm/@babel+code-frame@7.24.2/node_modules/@babel/code-frame/lib/index.js"(exports2) {
7176
7239
  "use strict";
7177
7240
  Object.defineProperty(exports2, "__esModule", {
7178
7241
  value: true
@@ -7180,7 +7243,7 @@ var require_lib4 = __commonJS({
7180
7243
  exports2.codeFrameColumns = codeFrameColumns;
7181
7244
  exports2.default = _default;
7182
7245
  var _highlight = require_lib3();
7183
- var _chalk = _interopRequireWildcard(require_source(), true);
7246
+ var _picocolors = _interopRequireWildcard(require_picocolors(), true);
7184
7247
  function _getRequireWildcardCache(e) {
7185
7248
  if ("function" != typeof WeakMap)
7186
7249
  return null;
@@ -7205,24 +7268,23 @@ var require_lib4 = __commonJS({
7205
7268
  }
7206
7269
  return n.default = e, t && t.set(e, n), n;
7207
7270
  }
7208
- var chalkWithForcedColor = void 0;
7209
- function getChalk2(forceColor) {
7271
+ var colors = typeof process === "object" && (process.env.FORCE_COLOR === "0" || process.env.FORCE_COLOR === "false") ? (0, _picocolors.createColors)(false) : _picocolors.default;
7272
+ var compose = (f, g) => (v) => f(g(v));
7273
+ var pcWithForcedColor = void 0;
7274
+ function getColors(forceColor) {
7210
7275
  if (forceColor) {
7211
- var _chalkWithForcedColor;
7212
- (_chalkWithForcedColor = chalkWithForcedColor) != null ? _chalkWithForcedColor : chalkWithForcedColor = new _chalk.default.constructor({
7213
- enabled: true,
7214
- level: 1
7215
- });
7216
- return chalkWithForcedColor;
7276
+ var _pcWithForcedColor;
7277
+ (_pcWithForcedColor = pcWithForcedColor) != null ? _pcWithForcedColor : pcWithForcedColor = (0, _picocolors.createColors)(true);
7278
+ return pcWithForcedColor;
7217
7279
  }
7218
- return _chalk.default;
7280
+ return colors;
7219
7281
  }
7220
7282
  var deprecationWarningShown = false;
7221
- function getDefs(chalk2) {
7283
+ function getDefs(colors2) {
7222
7284
  return {
7223
- gutter: chalk2.grey,
7224
- marker: chalk2.red.bold,
7225
- message: chalk2.red.bold
7285
+ gutter: colors2.gray,
7286
+ marker: compose(colors2.red, colors2.bold),
7287
+ message: compose(colors2.red, colors2.bold)
7226
7288
  };
7227
7289
  }
7228
7290
  var NEWLINE = /\r\n|[\n\r\u2028\u2029]/;
@@ -7284,10 +7346,10 @@ var require_lib4 = __commonJS({
7284
7346
  }
7285
7347
  function codeFrameColumns(rawLines, loc, opts = {}) {
7286
7348
  const highlighted = (opts.highlightCode || opts.forceColor) && (0, _highlight.shouldHighlight)(opts);
7287
- const chalk2 = getChalk2(opts.forceColor);
7288
- const defs = getDefs(chalk2);
7289
- const maybeHighlight = (chalkFn, string) => {
7290
- return highlighted ? chalkFn(string) : string;
7349
+ const colors2 = getColors(opts.forceColor);
7350
+ const defs = getDefs(colors2);
7351
+ const maybeHighlight = (fmt, string) => {
7352
+ return highlighted ? fmt(string) : string;
7291
7353
  };
7292
7354
  const lines = rawLines.split(NEWLINE);
7293
7355
  const {
@@ -7324,7 +7386,7 @@ var require_lib4 = __commonJS({
7324
7386
  ${frame}`;
7325
7387
  }
7326
7388
  if (highlighted) {
7327
- return chalk2.reset(frame);
7389
+ return colors2.reset(frame);
7328
7390
  } else {
7329
7391
  return frame;
7330
7392
  }