@stryke/capnp 0.12.67 → 0.12.69

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.
@@ -35,7 +35,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
35
35
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
36
36
 
37
37
  //#endregion
38
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.0/node_modules/@storm-software/config-tools/dist/chunk-DJB7XLHA.js
38
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.11/node_modules/@storm-software/config-tools/dist/chunk-DJB7XLHA.js
39
39
  var DEFAULT_COLOR_CONFIG = {
40
40
  light: {
41
41
  background: "#fafafa",
@@ -2212,7 +2212,7 @@ var require_source = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2212
2212
  }));
2213
2213
 
2214
2214
  //#endregion
2215
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.0/node_modules/@storm-software/config-tools/dist/chunk-HVVJHTFS.js
2215
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.11/node_modules/@storm-software/config-tools/dist/chunk-HVVJHTFS.js
2216
2216
  var import_source = /* @__PURE__ */ __toESM(require_source(), 1);
2217
2217
  var chalkDefault = {
2218
2218
  hex: (_) => (message) => message,
@@ -2244,14 +2244,14 @@ var getChalk = () => {
2244
2244
  };
2245
2245
 
2246
2246
  //#endregion
2247
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.0/node_modules/@storm-software/config-tools/dist/chunk-G2MK47WL.js
2247
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.11/node_modules/@storm-software/config-tools/dist/chunk-G2MK47WL.js
2248
2248
  function isUnicodeSupported() {
2249
2249
  if (process.platform !== "win32") return process.env.TERM !== "linux";
2250
2250
  return Boolean(process.env.WT_SESSION) || Boolean(process.env.TERMINUS_SUBLIME) || process.env.ConEmuTask === "{cmd::Cmder}" || process.env.TERM_PROGRAM === "Terminus-Sublime" || process.env.TERM_PROGRAM === "vscode" || process.env.TERM === "xterm-256color" || process.env.TERM === "alacritty" || process.env.TERM === "rxvt-unicode" || process.env.TERM === "rxvt-unicode-256color" || process.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
2251
2251
  }
2252
2252
 
2253
2253
  //#endregion
2254
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.0/node_modules/@storm-software/config-tools/dist/chunk-POXTJ6GF.js
2254
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.11/node_modules/@storm-software/config-tools/dist/chunk-POXTJ6GF.js
2255
2255
  var LogLevel = {
2256
2256
  SILENT: 0,
2257
2257
  FATAL: 10,
@@ -2276,7 +2276,7 @@ var LogLevelLabel = {
2276
2276
  };
2277
2277
 
2278
2278
  //#endregion
2279
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.0/node_modules/@storm-software/config-tools/dist/chunk-AITAR5W5.js
2279
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.11/node_modules/@storm-software/config-tools/dist/chunk-AITAR5W5.js
2280
2280
  var useIcon = (c, fallback) => isUnicodeSupported() ? c : fallback;
2281
2281
  var CONSOLE_ICONS = {
2282
2282
  [LogLevelLabel.ERROR]: useIcon("✘", "×"),
@@ -2290,13 +2290,13 @@ var CONSOLE_ICONS = {
2290
2290
  };
2291
2291
 
2292
2292
  //#endregion
2293
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.0/node_modules/@storm-software/config-tools/dist/chunk-CZ4IE2QN.js
2293
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.11/node_modules/@storm-software/config-tools/dist/chunk-CZ4IE2QN.js
2294
2294
  var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
2295
2295
  return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
2296
2296
  };
2297
2297
 
2298
2298
  //#endregion
2299
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.0/node_modules/@storm-software/config-tools/dist/chunk-K4CDYUQR.js
2299
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.11/node_modules/@storm-software/config-tools/dist/chunk-K4CDYUQR.js
2300
2300
  var getLogLevel = (label) => {
2301
2301
  switch (label) {
2302
2302
  case "all": return LogLevel.ALL;
@@ -2312,7 +2312,526 @@ var getLogLevel = (label) => {
2312
2312
  };
2313
2313
 
2314
2314
  //#endregion
2315
- //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.0/node_modules/@storm-software/config-tools/dist/chunk-NMO4EWXQ.js
2315
+ //#region ../../node_modules/.pnpm/@storm-software+config-tools@1.189.11/node_modules/@storm-software/config-tools/dist/chunk-SPHE3YEH.js
2316
+ var daysInYear = 365.2425;
2317
+ -(Math.pow(10, 8) * 24 * 60 * 60 * 1e3);
2318
+ var secondsInDay = 3600 * 24;
2319
+ secondsInDay * 7;
2320
+ secondsInDay * daysInYear / 12 * 3;
2321
+ var constructFromSymbol = Symbol.for("constructDateFrom");
2322
+ var formatDistanceLocale = {
2323
+ lessThanXSeconds: {
2324
+ one: "less than a second",
2325
+ other: "less than {{count}} seconds"
2326
+ },
2327
+ xSeconds: {
2328
+ one: "1 second",
2329
+ other: "{{count}} seconds"
2330
+ },
2331
+ halfAMinute: "half a minute",
2332
+ lessThanXMinutes: {
2333
+ one: "less than a minute",
2334
+ other: "less than {{count}} minutes"
2335
+ },
2336
+ xMinutes: {
2337
+ one: "1 minute",
2338
+ other: "{{count}} minutes"
2339
+ },
2340
+ aboutXHours: {
2341
+ one: "about 1 hour",
2342
+ other: "about {{count}} hours"
2343
+ },
2344
+ xHours: {
2345
+ one: "1 hour",
2346
+ other: "{{count}} hours"
2347
+ },
2348
+ xDays: {
2349
+ one: "1 day",
2350
+ other: "{{count}} days"
2351
+ },
2352
+ aboutXWeeks: {
2353
+ one: "about 1 week",
2354
+ other: "about {{count}} weeks"
2355
+ },
2356
+ xWeeks: {
2357
+ one: "1 week",
2358
+ other: "{{count}} weeks"
2359
+ },
2360
+ aboutXMonths: {
2361
+ one: "about 1 month",
2362
+ other: "about {{count}} months"
2363
+ },
2364
+ xMonths: {
2365
+ one: "1 month",
2366
+ other: "{{count}} months"
2367
+ },
2368
+ aboutXYears: {
2369
+ one: "about 1 year",
2370
+ other: "about {{count}} years"
2371
+ },
2372
+ xYears: {
2373
+ one: "1 year",
2374
+ other: "{{count}} years"
2375
+ },
2376
+ overXYears: {
2377
+ one: "over 1 year",
2378
+ other: "over {{count}} years"
2379
+ },
2380
+ almostXYears: {
2381
+ one: "almost 1 year",
2382
+ other: "almost {{count}} years"
2383
+ }
2384
+ };
2385
+ var formatDistance = (token, count, options) => {
2386
+ let result;
2387
+ const tokenValue = formatDistanceLocale[token];
2388
+ if (typeof tokenValue === "string") result = tokenValue;
2389
+ else if (count === 1) result = tokenValue.one;
2390
+ else result = tokenValue.other.replace("{{count}}", count.toString());
2391
+ if (options?.addSuffix) if (options.comparison && options.comparison > 0) return "in " + result;
2392
+ else return result + " ago";
2393
+ return result;
2394
+ };
2395
+ function buildFormatLongFn(args) {
2396
+ return (options = {}) => {
2397
+ const width = options.width ? String(options.width) : args.defaultWidth;
2398
+ return args.formats[width] || args.formats[args.defaultWidth];
2399
+ };
2400
+ }
2401
+ var formatLong = {
2402
+ date: buildFormatLongFn({
2403
+ formats: {
2404
+ full: "EEEE, MMMM do, y",
2405
+ long: "MMMM do, y",
2406
+ medium: "MMM d, y",
2407
+ short: "MM/dd/yyyy"
2408
+ },
2409
+ defaultWidth: "full"
2410
+ }),
2411
+ time: buildFormatLongFn({
2412
+ formats: {
2413
+ full: "h:mm:ss a zzzz",
2414
+ long: "h:mm:ss a z",
2415
+ medium: "h:mm:ss a",
2416
+ short: "h:mm a"
2417
+ },
2418
+ defaultWidth: "full"
2419
+ }),
2420
+ dateTime: buildFormatLongFn({
2421
+ formats: {
2422
+ full: "{{date}} 'at' {{time}}",
2423
+ long: "{{date}} 'at' {{time}}",
2424
+ medium: "{{date}}, {{time}}",
2425
+ short: "{{date}}, {{time}}"
2426
+ },
2427
+ defaultWidth: "full"
2428
+ })
2429
+ };
2430
+ var formatRelativeLocale = {
2431
+ lastWeek: "'last' eeee 'at' p",
2432
+ yesterday: "'yesterday at' p",
2433
+ today: "'today at' p",
2434
+ tomorrow: "'tomorrow at' p",
2435
+ nextWeek: "eeee 'at' p",
2436
+ other: "P"
2437
+ };
2438
+ var formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale[token];
2439
+ function buildLocalizeFn(args) {
2440
+ return (value, options) => {
2441
+ const context = options?.context ? String(options.context) : "standalone";
2442
+ let valuesArray;
2443
+ if (context === "formatting" && args.formattingValues) {
2444
+ const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
2445
+ const width = options?.width ? String(options.width) : defaultWidth;
2446
+ valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
2447
+ } else {
2448
+ const defaultWidth = args.defaultWidth;
2449
+ const width = options?.width ? String(options.width) : args.defaultWidth;
2450
+ valuesArray = args.values[width] || args.values[defaultWidth];
2451
+ }
2452
+ const index = args.argumentCallback ? args.argumentCallback(value) : value;
2453
+ return valuesArray[index];
2454
+ };
2455
+ }
2456
+ var eraValues = {
2457
+ narrow: ["B", "A"],
2458
+ abbreviated: ["BC", "AD"],
2459
+ wide: ["Before Christ", "Anno Domini"]
2460
+ };
2461
+ var quarterValues = {
2462
+ narrow: [
2463
+ "1",
2464
+ "2",
2465
+ "3",
2466
+ "4"
2467
+ ],
2468
+ abbreviated: [
2469
+ "Q1",
2470
+ "Q2",
2471
+ "Q3",
2472
+ "Q4"
2473
+ ],
2474
+ wide: [
2475
+ "1st quarter",
2476
+ "2nd quarter",
2477
+ "3rd quarter",
2478
+ "4th quarter"
2479
+ ]
2480
+ };
2481
+ var monthValues = {
2482
+ narrow: [
2483
+ "J",
2484
+ "F",
2485
+ "M",
2486
+ "A",
2487
+ "M",
2488
+ "J",
2489
+ "J",
2490
+ "A",
2491
+ "S",
2492
+ "O",
2493
+ "N",
2494
+ "D"
2495
+ ],
2496
+ abbreviated: [
2497
+ "Jan",
2498
+ "Feb",
2499
+ "Mar",
2500
+ "Apr",
2501
+ "May",
2502
+ "Jun",
2503
+ "Jul",
2504
+ "Aug",
2505
+ "Sep",
2506
+ "Oct",
2507
+ "Nov",
2508
+ "Dec"
2509
+ ],
2510
+ wide: [
2511
+ "January",
2512
+ "February",
2513
+ "March",
2514
+ "April",
2515
+ "May",
2516
+ "June",
2517
+ "July",
2518
+ "August",
2519
+ "September",
2520
+ "October",
2521
+ "November",
2522
+ "December"
2523
+ ]
2524
+ };
2525
+ var dayValues = {
2526
+ narrow: [
2527
+ "S",
2528
+ "M",
2529
+ "T",
2530
+ "W",
2531
+ "T",
2532
+ "F",
2533
+ "S"
2534
+ ],
2535
+ short: [
2536
+ "Su",
2537
+ "Mo",
2538
+ "Tu",
2539
+ "We",
2540
+ "Th",
2541
+ "Fr",
2542
+ "Sa"
2543
+ ],
2544
+ abbreviated: [
2545
+ "Sun",
2546
+ "Mon",
2547
+ "Tue",
2548
+ "Wed",
2549
+ "Thu",
2550
+ "Fri",
2551
+ "Sat"
2552
+ ],
2553
+ wide: [
2554
+ "Sunday",
2555
+ "Monday",
2556
+ "Tuesday",
2557
+ "Wednesday",
2558
+ "Thursday",
2559
+ "Friday",
2560
+ "Saturday"
2561
+ ]
2562
+ };
2563
+ var dayPeriodValues = {
2564
+ narrow: {
2565
+ am: "a",
2566
+ pm: "p",
2567
+ midnight: "mi",
2568
+ noon: "n",
2569
+ morning: "morning",
2570
+ afternoon: "afternoon",
2571
+ evening: "evening",
2572
+ night: "night"
2573
+ },
2574
+ abbreviated: {
2575
+ am: "AM",
2576
+ pm: "PM",
2577
+ midnight: "midnight",
2578
+ noon: "noon",
2579
+ morning: "morning",
2580
+ afternoon: "afternoon",
2581
+ evening: "evening",
2582
+ night: "night"
2583
+ },
2584
+ wide: {
2585
+ am: "a.m.",
2586
+ pm: "p.m.",
2587
+ midnight: "midnight",
2588
+ noon: "noon",
2589
+ morning: "morning",
2590
+ afternoon: "afternoon",
2591
+ evening: "evening",
2592
+ night: "night"
2593
+ }
2594
+ };
2595
+ var formattingDayPeriodValues = {
2596
+ narrow: {
2597
+ am: "a",
2598
+ pm: "p",
2599
+ midnight: "mi",
2600
+ noon: "n",
2601
+ morning: "in the morning",
2602
+ afternoon: "in the afternoon",
2603
+ evening: "in the evening",
2604
+ night: "at night"
2605
+ },
2606
+ abbreviated: {
2607
+ am: "AM",
2608
+ pm: "PM",
2609
+ midnight: "midnight",
2610
+ noon: "noon",
2611
+ morning: "in the morning",
2612
+ afternoon: "in the afternoon",
2613
+ evening: "in the evening",
2614
+ night: "at night"
2615
+ },
2616
+ wide: {
2617
+ am: "a.m.",
2618
+ pm: "p.m.",
2619
+ midnight: "midnight",
2620
+ noon: "noon",
2621
+ morning: "in the morning",
2622
+ afternoon: "in the afternoon",
2623
+ evening: "in the evening",
2624
+ night: "at night"
2625
+ }
2626
+ };
2627
+ var ordinalNumber = (dirtyNumber, _options) => {
2628
+ const number = Number(dirtyNumber);
2629
+ const rem100 = number % 100;
2630
+ if (rem100 > 20 || rem100 < 10) switch (rem100 % 10) {
2631
+ case 1: return number + "st";
2632
+ case 2: return number + "nd";
2633
+ case 3: return number + "rd";
2634
+ }
2635
+ return number + "th";
2636
+ };
2637
+ var localize = {
2638
+ ordinalNumber,
2639
+ era: buildLocalizeFn({
2640
+ values: eraValues,
2641
+ defaultWidth: "wide"
2642
+ }),
2643
+ quarter: buildLocalizeFn({
2644
+ values: quarterValues,
2645
+ defaultWidth: "wide",
2646
+ argumentCallback: (quarter) => quarter - 1
2647
+ }),
2648
+ month: buildLocalizeFn({
2649
+ values: monthValues,
2650
+ defaultWidth: "wide"
2651
+ }),
2652
+ day: buildLocalizeFn({
2653
+ values: dayValues,
2654
+ defaultWidth: "wide"
2655
+ }),
2656
+ dayPeriod: buildLocalizeFn({
2657
+ values: dayPeriodValues,
2658
+ defaultWidth: "wide",
2659
+ formattingValues: formattingDayPeriodValues,
2660
+ defaultFormattingWidth: "wide"
2661
+ })
2662
+ };
2663
+ function buildMatchFn(args) {
2664
+ return (string, options = {}) => {
2665
+ const width = options.width;
2666
+ const matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];
2667
+ const matchResult = string.match(matchPattern);
2668
+ if (!matchResult) return null;
2669
+ const matchedString = matchResult[0];
2670
+ const parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];
2671
+ const key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, (pattern) => pattern.test(matchedString)) : findKey(parsePatterns, (pattern) => pattern.test(matchedString));
2672
+ let value;
2673
+ value = args.valueCallback ? args.valueCallback(key) : key;
2674
+ value = options.valueCallback ? options.valueCallback(value) : value;
2675
+ const rest = string.slice(matchedString.length);
2676
+ return {
2677
+ value,
2678
+ rest
2679
+ };
2680
+ };
2681
+ }
2682
+ function findKey(object, predicate) {
2683
+ for (const key in object) if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) return key;
2684
+ }
2685
+ function findIndex(array, predicate) {
2686
+ for (let key = 0; key < array.length; key++) if (predicate(array[key])) return key;
2687
+ }
2688
+ function buildMatchPatternFn(args) {
2689
+ return (string, options = {}) => {
2690
+ const matchResult = string.match(args.matchPattern);
2691
+ if (!matchResult) return null;
2692
+ const matchedString = matchResult[0];
2693
+ const parseResult = string.match(args.parsePattern);
2694
+ if (!parseResult) return null;
2695
+ let value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];
2696
+ value = options.valueCallback ? options.valueCallback(value) : value;
2697
+ const rest = string.slice(matchedString.length);
2698
+ return {
2699
+ value,
2700
+ rest
2701
+ };
2702
+ };
2703
+ }
2704
+ var enUS = {
2705
+ code: "en-US",
2706
+ formatDistance,
2707
+ formatLong,
2708
+ formatRelative,
2709
+ localize,
2710
+ match: {
2711
+ ordinalNumber: buildMatchPatternFn({
2712
+ matchPattern: /^(\d+)(th|st|nd|rd)?/i,
2713
+ parsePattern: /\d+/i,
2714
+ valueCallback: (value) => parseInt(value, 10)
2715
+ }),
2716
+ era: buildMatchFn({
2717
+ matchPatterns: {
2718
+ narrow: /^(b|a)/i,
2719
+ abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
2720
+ wide: /^(before christ|before common era|anno domini|common era)/i
2721
+ },
2722
+ defaultMatchWidth: "wide",
2723
+ parsePatterns: { any: [/^b/i, /^(a|c)/i] },
2724
+ defaultParseWidth: "any"
2725
+ }),
2726
+ quarter: buildMatchFn({
2727
+ matchPatterns: {
2728
+ narrow: /^[1234]/i,
2729
+ abbreviated: /^q[1234]/i,
2730
+ wide: /^[1234](th|st|nd|rd)? quarter/i
2731
+ },
2732
+ defaultMatchWidth: "wide",
2733
+ parsePatterns: { any: [
2734
+ /1/i,
2735
+ /2/i,
2736
+ /3/i,
2737
+ /4/i
2738
+ ] },
2739
+ defaultParseWidth: "any",
2740
+ valueCallback: (index) => index + 1
2741
+ }),
2742
+ month: buildMatchFn({
2743
+ matchPatterns: {
2744
+ narrow: /^[jfmasond]/i,
2745
+ abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
2746
+ wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
2747
+ },
2748
+ defaultMatchWidth: "wide",
2749
+ parsePatterns: {
2750
+ narrow: [
2751
+ /^j/i,
2752
+ /^f/i,
2753
+ /^m/i,
2754
+ /^a/i,
2755
+ /^m/i,
2756
+ /^j/i,
2757
+ /^j/i,
2758
+ /^a/i,
2759
+ /^s/i,
2760
+ /^o/i,
2761
+ /^n/i,
2762
+ /^d/i
2763
+ ],
2764
+ any: [
2765
+ /^ja/i,
2766
+ /^f/i,
2767
+ /^mar/i,
2768
+ /^ap/i,
2769
+ /^may/i,
2770
+ /^jun/i,
2771
+ /^jul/i,
2772
+ /^au/i,
2773
+ /^s/i,
2774
+ /^o/i,
2775
+ /^n/i,
2776
+ /^d/i
2777
+ ]
2778
+ },
2779
+ defaultParseWidth: "any"
2780
+ }),
2781
+ day: buildMatchFn({
2782
+ matchPatterns: {
2783
+ narrow: /^[smtwf]/i,
2784
+ short: /^(su|mo|tu|we|th|fr|sa)/i,
2785
+ abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
2786
+ wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
2787
+ },
2788
+ defaultMatchWidth: "wide",
2789
+ parsePatterns: {
2790
+ narrow: [
2791
+ /^s/i,
2792
+ /^m/i,
2793
+ /^t/i,
2794
+ /^w/i,
2795
+ /^t/i,
2796
+ /^f/i,
2797
+ /^s/i
2798
+ ],
2799
+ any: [
2800
+ /^su/i,
2801
+ /^m/i,
2802
+ /^tu/i,
2803
+ /^w/i,
2804
+ /^th/i,
2805
+ /^f/i,
2806
+ /^sa/i
2807
+ ]
2808
+ },
2809
+ defaultParseWidth: "any"
2810
+ }),
2811
+ dayPeriod: buildMatchFn({
2812
+ matchPatterns: {
2813
+ narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
2814
+ any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
2815
+ },
2816
+ defaultMatchWidth: "any",
2817
+ parsePatterns: { any: {
2818
+ am: /^a/i,
2819
+ pm: /^p/i,
2820
+ midnight: /^mi/i,
2821
+ noon: /^no/i,
2822
+ morning: /morning/i,
2823
+ afternoon: /afternoon/i,
2824
+ evening: /evening/i,
2825
+ night: /night/i
2826
+ } },
2827
+ defaultParseWidth: "any"
2828
+ })
2829
+ },
2830
+ options: {
2831
+ weekStartsOn: 0,
2832
+ firstWeekContainsDate: 1
2833
+ }
2834
+ };
2316
2835
  var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
2317
2836
  const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
2318
2837
  const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
@@ -2454,4 +2973,4 @@ async function resolveOptions(options) {
2454
2973
 
2455
2974
  //#endregion
2456
2975
  export { writeWarning as n, resolveOptions as t };
2457
- //# sourceMappingURL=helpers-DdetET6R.mjs.map
2976
+ //# sourceMappingURL=helpers-DoFLy1C-.mjs.map