@storm-software/config-tools 1.190.29 → 1.190.31

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 (40) hide show
  1. package/README.md +1 -1
  2. package/bin/config.cjs +2 -2
  3. package/bin/config.js +2 -2
  4. package/dist/{chunk-H7J7UFAV.cjs → chunk-7BV3TN4A.cjs} +2 -2
  5. package/dist/{chunk-4IHL3E5M.js → chunk-H3L23WJP.js} +30 -30
  6. package/dist/{chunk-MNUSVN5B.js → chunk-IYJ6U24W.js} +1 -1
  7. package/dist/{chunk-FZ2ZJFWB.js → chunk-JEXHEXUL.js} +2 -2
  8. package/dist/{chunk-BF4MDUTR.cjs → chunk-KNTFBCSC.cjs} +30 -30
  9. package/dist/{chunk-2JA3KDUW.js → chunk-KU5A6DL7.js} +1 -1
  10. package/dist/{chunk-NFL55S75.cjs → chunk-KVDFCWQO.cjs} +3 -3
  11. package/dist/{chunk-BEFNWKPD.cjs → chunk-LIMDNHMS.cjs} +3 -3
  12. package/dist/{chunk-TLZTD7WU.js → chunk-OF7EYF6B.js} +1 -1
  13. package/dist/{chunk-IMRWBPKB.cjs → chunk-PVXLZGIP.cjs} +10 -10
  14. package/dist/{chunk-C47DWQVX.js → chunk-RHW4Y2PU.js} +1 -1
  15. package/dist/{chunk-3SX4SLEU.js → chunk-RQCCSNVL.js} +1 -1
  16. package/dist/{chunk-EYNQLRTA.cjs → chunk-WPMG4JLN.cjs} +10 -10
  17. package/dist/{chunk-GXRAHLKT.cjs → chunk-ZGMADORE.cjs} +9 -9
  18. package/dist/config-file/get-config-file.cjs +6 -6
  19. package/dist/config-file/get-config-file.js +5 -5
  20. package/dist/config-file/index.cjs +6 -6
  21. package/dist/config-file/index.js +5 -5
  22. package/dist/create-storm-config.cjs +7 -7
  23. package/dist/create-storm-config.js +6 -6
  24. package/dist/get-config.cjs +8 -8
  25. package/dist/get-config.js +7 -7
  26. package/dist/index.cjs +8 -8
  27. package/dist/index.js +7 -7
  28. package/dist/logger/console.cjs +2 -2
  29. package/dist/logger/console.js +1 -1
  30. package/dist/logger/create-logger.cjs +3 -3
  31. package/dist/logger/create-logger.js +2 -2
  32. package/dist/logger/index.cjs +3 -3
  33. package/dist/logger/index.js +2 -2
  34. package/dist/utilities/index.cjs +5 -5
  35. package/dist/utilities/index.js +4 -4
  36. package/dist/utilities/process-handler.cjs +3 -3
  37. package/dist/utilities/process-handler.js +2 -2
  38. package/dist/utilities/toml.cjs +4 -4
  39. package/dist/utilities/toml.js +3 -3
  40. package/package.json +4 -4
package/README.md CHANGED
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-1.190.25-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
30
+ [![Version](https://img.shields.io/badge/version-1.190.29-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
package/bin/config.cjs CHANGED
@@ -394,13 +394,13 @@ ${message.sort(
394
394
  { prefix: `${prefix}--`, skip, sort },
395
395
  depth2 + 1
396
396
  )}`
397
- ).join("\n")}` : typeof message === "object" ? `
397
+ ).join("\n")}` : typeof message === "object" && message ? `
398
398
  ${Object.keys(message).filter(
399
399
  (key) => typeof key !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key.toLowerCase().trim())
400
400
  ).sort(
401
401
  sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
402
402
  ).map(
403
- (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
403
+ (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" && message[key] ? Object.keys(message[key]).filter(
404
404
  (key2) => typeof key2 !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key2.toLowerCase().trim())
405
405
  ).length === 0 ? "{}" : formatLogMessage(
406
406
  message[key],
package/bin/config.js CHANGED
@@ -361,13 +361,13 @@ ${message.sort(
361
361
  { prefix: `${prefix}--`, skip, sort },
362
362
  depth2 + 1
363
363
  )}`
364
- ).join("\n")}` : typeof message === "object" ? `
364
+ ).join("\n")}` : typeof message === "object" && message ? `
365
365
  ${Object.keys(message).filter(
366
366
  (key) => typeof key !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key.toLowerCase().trim())
367
367
  ).sort(
368
368
  sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
369
369
  ).map(
370
- (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
370
+ (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" && message[key] ? Object.keys(message[key]).filter(
371
371
  (key2) => typeof key2 !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key2.toLowerCase().trim())
372
372
  ).length === 0 ? "{}" : formatLogMessage(
373
373
  message[key],
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkBF4MDUTRcjs = require('./chunk-BF4MDUTR.cjs');
3
+ var _chunkKNTFBCSCcjs = require('./chunk-KNTFBCSC.cjs');
4
4
 
5
5
  // src/utilities/toml.ts
6
6
  var _jtoml = require('@ltd/j-toml'); var _jtoml2 = _interopRequireDefault(_jtoml);
7
7
  function parseCargoTomlWithTree(tree, projectRoot, projectName) {
8
8
  const cargoTomlString = _optionalChain([tree, 'access', _ => _.read, 'call', _2 => _2(`${projectRoot}/Cargo.toml`), 'optionalAccess', _3 => _3.toString, 'call', _4 => _4()]);
9
9
  if (!cargoTomlString) {
10
- _chunkBF4MDUTRcjs.writeError.call(void 0, `Cannot find a Cargo.toml file in the ${projectName}`);
10
+ _chunkKNTFBCSCcjs.writeError.call(void 0, `Cannot find a Cargo.toml file in the ${projectName}`);
11
11
  throw new Error();
12
12
  }
13
13
  return parseCargoToml(cargoTomlString);
@@ -19,7 +19,7 @@ import {
19
19
  LogLevelLabel
20
20
  } from "./chunk-RALMUN5C.js";
21
21
 
22
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/constants.js
22
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/constants.js
23
23
  var daysInYear = 365.2425;
24
24
  var maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1e3;
25
25
  var minTime = -maxTime;
@@ -33,7 +33,7 @@ var secondsInMonth = secondsInYear / 12;
33
33
  var secondsInQuarter = secondsInMonth * 3;
34
34
  var constructFromSymbol = Symbol.for("constructDateFrom");
35
35
 
36
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/constructFrom.js
36
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/constructFrom.js
37
37
  function constructFrom(date, value) {
38
38
  if (typeof date === "function") return date(value);
39
39
  if (date && typeof date === "object" && constructFromSymbol in date)
@@ -42,12 +42,12 @@ function constructFrom(date, value) {
42
42
  return new Date(value);
43
43
  }
44
44
 
45
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/constructNow.js
45
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/constructNow.js
46
46
  function constructNow(date) {
47
47
  return constructFrom(date, Date.now());
48
48
  }
49
49
 
50
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/locale/en-US/_lib/formatDistance.js
50
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js
51
51
  var formatDistanceLocale = {
52
52
  lessThanXSeconds: {
53
53
  one: "less than a second",
@@ -131,7 +131,7 @@ var formatDistance = (token, count, options) => {
131
131
  return result;
132
132
  };
133
133
 
134
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/locale/_lib/buildFormatLongFn.js
134
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js
135
135
  function buildFormatLongFn(args) {
136
136
  return (options = {}) => {
137
137
  const width = options.width ? String(options.width) : args.defaultWidth;
@@ -140,7 +140,7 @@ function buildFormatLongFn(args) {
140
140
  };
141
141
  }
142
142
 
143
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/locale/en-US/_lib/formatLong.js
143
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js
144
144
  var dateFormats = {
145
145
  full: "EEEE, MMMM do, y",
146
146
  long: "MMMM do, y",
@@ -174,7 +174,7 @@ var formatLong = {
174
174
  })
175
175
  };
176
176
 
177
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/locale/en-US/_lib/formatRelative.js
177
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js
178
178
  var formatRelativeLocale = {
179
179
  lastWeek: "'last' eeee 'at' p",
180
180
  yesterday: "'yesterday at' p",
@@ -185,7 +185,7 @@ var formatRelativeLocale = {
185
185
  };
186
186
  var formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale[token];
187
187
 
188
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/locale/_lib/buildLocalizeFn.js
188
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js
189
189
  function buildLocalizeFn(args) {
190
190
  return (value, options) => {
191
191
  const context = options?.context ? String(options.context) : "standalone";
@@ -204,7 +204,7 @@ function buildLocalizeFn(args) {
204
204
  };
205
205
  }
206
206
 
207
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/locale/en-US/_lib/localize.js
207
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/localize.js
208
208
  var eraValues = {
209
209
  narrow: ["B", "A"],
210
210
  abbreviated: ["BC", "AD"],
@@ -366,7 +366,7 @@ var localize = {
366
366
  })
367
367
  };
368
368
 
369
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/locale/_lib/buildMatchFn.js
369
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildMatchFn.js
370
370
  function buildMatchFn(args) {
371
371
  return (string, options = {}) => {
372
372
  const width = options.width;
@@ -408,7 +408,7 @@ function findIndex(array, predicate) {
408
408
  return void 0;
409
409
  }
410
410
 
411
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js
411
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js
412
412
  function buildMatchPatternFn(args) {
413
413
  return (string, options = {}) => {
414
414
  const matchResult = string.match(args.matchPattern);
@@ -423,7 +423,7 @@ function buildMatchPatternFn(args) {
423
423
  };
424
424
  }
425
425
 
426
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/locale/en-US/_lib/match.js
426
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/match.js
427
427
  var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i;
428
428
  var parseOrdinalNumberPattern = /\d+/i;
429
429
  var matchEraPatterns = {
@@ -542,7 +542,7 @@ var match = {
542
542
  })
543
543
  };
544
544
 
545
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/locale/en-US.js
545
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US.js
546
546
  var enUS = {
547
547
  code: "en-US",
548
548
  formatDistance,
@@ -556,18 +556,18 @@ var enUS = {
556
556
  }
557
557
  };
558
558
 
559
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/_lib/defaultOptions.js
559
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/defaultOptions.js
560
560
  var defaultOptions = {};
561
561
  function getDefaultOptions() {
562
562
  return defaultOptions;
563
563
  }
564
564
 
565
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/toDate.js
565
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/toDate.js
566
566
  function toDate(argument, context) {
567
567
  return constructFrom(context || argument, argument);
568
568
  }
569
569
 
570
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js
570
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js
571
571
  function getTimezoneOffsetInMilliseconds(date) {
572
572
  const _date = toDate(date);
573
573
  const utcDate = new Date(
@@ -585,7 +585,7 @@ function getTimezoneOffsetInMilliseconds(date) {
585
585
  return +date - +utcDate;
586
586
  }
587
587
 
588
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/_lib/normalizeDates.js
588
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/normalizeDates.js
589
589
  function normalizeDates(context, ...dates) {
590
590
  const normalize = constructFrom.bind(
591
591
  null,
@@ -594,7 +594,7 @@ function normalizeDates(context, ...dates) {
594
594
  return dates.map(normalize);
595
595
  }
596
596
 
597
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/compareAsc.js
597
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/compareAsc.js
598
598
  function compareAsc(dateLeft, dateRight) {
599
599
  const diff = +toDate(dateLeft) - +toDate(dateRight);
600
600
  if (diff < 0) return -1;
@@ -602,7 +602,7 @@ function compareAsc(dateLeft, dateRight) {
602
602
  return diff;
603
603
  }
604
604
 
605
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/differenceInCalendarMonths.js
605
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/differenceInCalendarMonths.js
606
606
  function differenceInCalendarMonths(laterDate, earlierDate, options) {
607
607
  const [laterDate_, earlierDate_] = normalizeDates(
608
608
  options?.in,
@@ -614,14 +614,14 @@ function differenceInCalendarMonths(laterDate, earlierDate, options) {
614
614
  return yearsDiff * 12 + monthsDiff;
615
615
  }
616
616
 
617
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/endOfDay.js
617
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfDay.js
618
618
  function endOfDay(date, options) {
619
619
  const _date = toDate(date, options?.in);
620
620
  _date.setHours(23, 59, 59, 999);
621
621
  return _date;
622
622
  }
623
623
 
624
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/endOfMonth.js
624
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfMonth.js
625
625
  function endOfMonth(date, options) {
626
626
  const _date = toDate(date, options?.in);
627
627
  const month = _date.getMonth();
@@ -630,13 +630,13 @@ function endOfMonth(date, options) {
630
630
  return _date;
631
631
  }
632
632
 
633
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/isLastDayOfMonth.js
633
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isLastDayOfMonth.js
634
634
  function isLastDayOfMonth(date, options) {
635
635
  const _date = toDate(date, options?.in);
636
636
  return +endOfDay(_date, options) === +endOfMonth(_date, options);
637
637
  }
638
638
 
639
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/differenceInMonths.js
639
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/differenceInMonths.js
640
640
  function differenceInMonths(laterDate, earlierDate, options) {
641
641
  const [laterDate_, workingLaterDate, earlierDate_] = normalizeDates(
642
642
  options?.in,
@@ -660,7 +660,7 @@ function differenceInMonths(laterDate, earlierDate, options) {
660
660
  return result === 0 ? 0 : result;
661
661
  }
662
662
 
663
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/_lib/getRoundingMethod.js
663
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/getRoundingMethod.js
664
664
  function getRoundingMethod(method) {
665
665
  return (number) => {
666
666
  const round = method ? Math[method] : Math.trunc;
@@ -669,18 +669,18 @@ function getRoundingMethod(method) {
669
669
  };
670
670
  }
671
671
 
672
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/differenceInMilliseconds.js
672
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/differenceInMilliseconds.js
673
673
  function differenceInMilliseconds(laterDate, earlierDate) {
674
674
  return +toDate(laterDate) - +toDate(earlierDate);
675
675
  }
676
676
 
677
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/differenceInSeconds.js
677
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/differenceInSeconds.js
678
678
  function differenceInSeconds(laterDate, earlierDate, options) {
679
679
  const diff = differenceInMilliseconds(laterDate, earlierDate) / 1e3;
680
680
  return getRoundingMethod(options?.roundingMethod)(diff);
681
681
  }
682
682
 
683
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/formatDistance.js
683
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/formatDistance.js
684
684
  function formatDistance2(laterDate, earlierDate, options) {
685
685
  const defaultOptions2 = getDefaultOptions();
686
686
  const locale = options?.locale ?? defaultOptions2.locale ?? enUS;
@@ -754,7 +754,7 @@ function formatDistance2(laterDate, earlierDate, options) {
754
754
  }
755
755
  }
756
756
 
757
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/formatDistanceToNow.js
757
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/formatDistanceToNow.js
758
758
  function formatDistanceToNow(date, options) {
759
759
  return formatDistance2(date, constructNow(date), options);
760
760
  }
@@ -906,13 +906,13 @@ ${message.sort(
906
906
  { prefix: `${prefix}--`, skip, sort },
907
907
  depth + 1
908
908
  )}`
909
- ).join("\n")}` : typeof message === "object" ? `
909
+ ).join("\n")}` : typeof message === "object" && message ? `
910
910
  ${Object.keys(message).filter(
911
911
  (key) => typeof key !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key.toLowerCase().trim())
912
912
  ).sort(
913
913
  sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
914
914
  ).map(
915
- (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
915
+ (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" && message[key] ? Object.keys(message[key]).filter(
916
916
  (key2) => typeof key2 !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key2.toLowerCase().trim())
917
917
  ).length === 0 ? "{}" : formatLogMessage(
918
918
  message[key],
@@ -3,7 +3,7 @@ import {
3
3
  writeFatal,
4
4
  writeSuccess,
5
5
  writeTrace
6
- } from "./chunk-4IHL3E5M.js";
6
+ } from "./chunk-H3L23WJP.js";
7
7
 
8
8
  // src/utilities/process-handler.ts
9
9
  var exitWithError = (config) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getConfigFile
3
- } from "./chunk-2JA3KDUW.js";
3
+ } from "./chunk-KU5A6DL7.js";
4
4
  import {
5
5
  applyDefaultConfig,
6
6
  getPackageJsonConfig
@@ -12,7 +12,7 @@ import {
12
12
  formatLogMessage,
13
13
  writeTrace,
14
14
  writeWarning
15
- } from "./chunk-4IHL3E5M.js";
15
+ } from "./chunk-H3L23WJP.js";
16
16
  import {
17
17
  setConfigEnv
18
18
  } from "./chunk-SDSQ2HHF.js";
@@ -19,7 +19,7 @@ var _chunkJWLDCEBZcjs = require('./chunk-JWLDCEBZ.cjs');
19
19
 
20
20
  var _chunk7QBTVNMRcjs = require('./chunk-7QBTVNMR.cjs');
21
21
 
22
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/constants.js
22
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/constants.js
23
23
  var daysInYear = 365.2425;
24
24
  var maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1e3;
25
25
  var minTime = -maxTime;
@@ -33,7 +33,7 @@ var secondsInMonth = secondsInYear / 12;
33
33
  var secondsInQuarter = secondsInMonth * 3;
34
34
  var constructFromSymbol = Symbol.for("constructDateFrom");
35
35
 
36
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/constructFrom.js
36
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/constructFrom.js
37
37
  function constructFrom(date, value) {
38
38
  if (typeof date === "function") return date(value);
39
39
  if (date && typeof date === "object" && constructFromSymbol in date)
@@ -42,12 +42,12 @@ function constructFrom(date, value) {
42
42
  return new Date(value);
43
43
  }
44
44
 
45
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/constructNow.js
45
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/constructNow.js
46
46
  function constructNow(date) {
47
47
  return constructFrom(date, Date.now());
48
48
  }
49
49
 
50
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/locale/en-US/_lib/formatDistance.js
50
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js
51
51
  var formatDistanceLocale = {
52
52
  lessThanXSeconds: {
53
53
  one: "less than a second",
@@ -131,7 +131,7 @@ var formatDistance = (token, count, options) => {
131
131
  return result;
132
132
  };
133
133
 
134
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/locale/_lib/buildFormatLongFn.js
134
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js
135
135
  function buildFormatLongFn(args) {
136
136
  return (options = {}) => {
137
137
  const width = options.width ? String(options.width) : args.defaultWidth;
@@ -140,7 +140,7 @@ function buildFormatLongFn(args) {
140
140
  };
141
141
  }
142
142
 
143
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/locale/en-US/_lib/formatLong.js
143
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js
144
144
  var dateFormats = {
145
145
  full: "EEEE, MMMM do, y",
146
146
  long: "MMMM do, y",
@@ -174,7 +174,7 @@ var formatLong = {
174
174
  })
175
175
  };
176
176
 
177
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/locale/en-US/_lib/formatRelative.js
177
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js
178
178
  var formatRelativeLocale = {
179
179
  lastWeek: "'last' eeee 'at' p",
180
180
  yesterday: "'yesterday at' p",
@@ -185,7 +185,7 @@ var formatRelativeLocale = {
185
185
  };
186
186
  var formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale[token];
187
187
 
188
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/locale/_lib/buildLocalizeFn.js
188
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js
189
189
  function buildLocalizeFn(args) {
190
190
  return (value, options) => {
191
191
  const context = _optionalChain([options, 'optionalAccess', _3 => _3.context]) ? String(options.context) : "standalone";
@@ -204,7 +204,7 @@ function buildLocalizeFn(args) {
204
204
  };
205
205
  }
206
206
 
207
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/locale/en-US/_lib/localize.js
207
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/localize.js
208
208
  var eraValues = {
209
209
  narrow: ["B", "A"],
210
210
  abbreviated: ["BC", "AD"],
@@ -366,7 +366,7 @@ var localize = {
366
366
  })
367
367
  };
368
368
 
369
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/locale/_lib/buildMatchFn.js
369
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildMatchFn.js
370
370
  function buildMatchFn(args) {
371
371
  return (string, options = {}) => {
372
372
  const width = options.width;
@@ -408,7 +408,7 @@ function findIndex(array, predicate) {
408
408
  return void 0;
409
409
  }
410
410
 
411
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js
411
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js
412
412
  function buildMatchPatternFn(args) {
413
413
  return (string, options = {}) => {
414
414
  const matchResult = string.match(args.matchPattern);
@@ -423,7 +423,7 @@ function buildMatchPatternFn(args) {
423
423
  };
424
424
  }
425
425
 
426
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/locale/en-US/_lib/match.js
426
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US/_lib/match.js
427
427
  var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i;
428
428
  var parseOrdinalNumberPattern = /\d+/i;
429
429
  var matchEraPatterns = {
@@ -542,7 +542,7 @@ var match = {
542
542
  })
543
543
  };
544
544
 
545
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/locale/en-US.js
545
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/locale/en-US.js
546
546
  var enUS = {
547
547
  code: "en-US",
548
548
  formatDistance,
@@ -556,18 +556,18 @@ var enUS = {
556
556
  }
557
557
  };
558
558
 
559
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/_lib/defaultOptions.js
559
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/defaultOptions.js
560
560
  var defaultOptions = {};
561
561
  function getDefaultOptions() {
562
562
  return defaultOptions;
563
563
  }
564
564
 
565
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/toDate.js
565
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/toDate.js
566
566
  function toDate(argument, context) {
567
567
  return constructFrom(context || argument, argument);
568
568
  }
569
569
 
570
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js
570
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js
571
571
  function getTimezoneOffsetInMilliseconds(date) {
572
572
  const _date = toDate(date);
573
573
  const utcDate = new Date(
@@ -585,7 +585,7 @@ function getTimezoneOffsetInMilliseconds(date) {
585
585
  return +date - +utcDate;
586
586
  }
587
587
 
588
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/_lib/normalizeDates.js
588
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/normalizeDates.js
589
589
  function normalizeDates(context, ...dates) {
590
590
  const normalize = constructFrom.bind(
591
591
  null,
@@ -594,7 +594,7 @@ function normalizeDates(context, ...dates) {
594
594
  return dates.map(normalize);
595
595
  }
596
596
 
597
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/compareAsc.js
597
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/compareAsc.js
598
598
  function compareAsc(dateLeft, dateRight) {
599
599
  const diff = +toDate(dateLeft) - +toDate(dateRight);
600
600
  if (diff < 0) return -1;
@@ -602,7 +602,7 @@ function compareAsc(dateLeft, dateRight) {
602
602
  return diff;
603
603
  }
604
604
 
605
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/differenceInCalendarMonths.js
605
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/differenceInCalendarMonths.js
606
606
  function differenceInCalendarMonths(laterDate, earlierDate, options) {
607
607
  const [laterDate_, earlierDate_] = normalizeDates(
608
608
  _optionalChain([options, 'optionalAccess', _6 => _6.in]),
@@ -614,14 +614,14 @@ function differenceInCalendarMonths(laterDate, earlierDate, options) {
614
614
  return yearsDiff * 12 + monthsDiff;
615
615
  }
616
616
 
617
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/endOfDay.js
617
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfDay.js
618
618
  function endOfDay(date, options) {
619
619
  const _date = toDate(date, _optionalChain([options, 'optionalAccess', _7 => _7.in]));
620
620
  _date.setHours(23, 59, 59, 999);
621
621
  return _date;
622
622
  }
623
623
 
624
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/endOfMonth.js
624
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/endOfMonth.js
625
625
  function endOfMonth(date, options) {
626
626
  const _date = toDate(date, _optionalChain([options, 'optionalAccess', _8 => _8.in]));
627
627
  const month = _date.getMonth();
@@ -630,13 +630,13 @@ function endOfMonth(date, options) {
630
630
  return _date;
631
631
  }
632
632
 
633
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/isLastDayOfMonth.js
633
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/isLastDayOfMonth.js
634
634
  function isLastDayOfMonth(date, options) {
635
635
  const _date = toDate(date, _optionalChain([options, 'optionalAccess', _9 => _9.in]));
636
636
  return +endOfDay(_date, options) === +endOfMonth(_date, options);
637
637
  }
638
638
 
639
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/differenceInMonths.js
639
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/differenceInMonths.js
640
640
  function differenceInMonths(laterDate, earlierDate, options) {
641
641
  const [laterDate_, workingLaterDate, earlierDate_] = normalizeDates(
642
642
  _optionalChain([options, 'optionalAccess', _10 => _10.in]),
@@ -660,7 +660,7 @@ function differenceInMonths(laterDate, earlierDate, options) {
660
660
  return result === 0 ? 0 : result;
661
661
  }
662
662
 
663
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/_lib/getRoundingMethod.js
663
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/_lib/getRoundingMethod.js
664
664
  function getRoundingMethod(method) {
665
665
  return (number) => {
666
666
  const round = method ? Math[method] : Math.trunc;
@@ -669,18 +669,18 @@ function getRoundingMethod(method) {
669
669
  };
670
670
  }
671
671
 
672
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/differenceInMilliseconds.js
672
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/differenceInMilliseconds.js
673
673
  function differenceInMilliseconds(laterDate, earlierDate) {
674
674
  return +toDate(laterDate) - +toDate(earlierDate);
675
675
  }
676
676
 
677
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/differenceInSeconds.js
677
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/differenceInSeconds.js
678
678
  function differenceInSeconds(laterDate, earlierDate, options) {
679
679
  const diff = differenceInMilliseconds(laterDate, earlierDate) / 1e3;
680
680
  return getRoundingMethod(_optionalChain([options, 'optionalAccess', _11 => _11.roundingMethod]))(diff);
681
681
  }
682
682
 
683
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/formatDistance.js
683
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/formatDistance.js
684
684
  function formatDistance2(laterDate, earlierDate, options) {
685
685
  const defaultOptions2 = getDefaultOptions();
686
686
  const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _12 => _12.locale]), () => ( defaultOptions2.locale)), () => ( enUS));
@@ -754,7 +754,7 @@ function formatDistance2(laterDate, earlierDate, options) {
754
754
  }
755
755
  }
756
756
 
757
- // ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/formatDistanceToNow.js
757
+ // ../../node_modules/.pnpm/date-fns@4.3.0/node_modules/date-fns/formatDistanceToNow.js
758
758
  function formatDistanceToNow(date, options) {
759
759
  return formatDistance2(date, constructNow(date), options);
760
760
  }
@@ -906,13 +906,13 @@ ${message.sort(
906
906
  { prefix: `${prefix}--`, skip, sort },
907
907
  depth + 1
908
908
  )}`
909
- ).join("\n")}` : typeof message === "object" ? `
909
+ ).join("\n")}` : typeof message === "object" && message ? `
910
910
  ${Object.keys(message).filter(
911
911
  (key) => typeof key !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key.toLowerCase().trim())
912
912
  ).sort(
913
913
  sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
914
914
  ).map(
915
- (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
915
+ (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" && message[key] ? Object.keys(message[key]).filter(
916
916
  (key2) => typeof key2 !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key2.toLowerCase().trim())
917
917
  ).length === 0 ? "{}" : formatLogMessage(
918
918
  message[key],
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-LF3SAK2O.js";
4
4
  import {
5
5
  writeTrace
6
- } from "./chunk-4IHL3E5M.js";
6
+ } from "./chunk-H3L23WJP.js";
7
7
  import {
8
8
  joinPaths
9
9
  } from "./chunk-V3GMJ4TX.js";
@@ -1,14 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkEYNQLRTAcjs = require('./chunk-EYNQLRTA.cjs');
4
+ var _chunkWPMG4JLNcjs = require('./chunk-WPMG4JLN.cjs');
5
5
 
6
6
 
7
7
  var _chunk3CNCDDWZcjs = require('./chunk-3CNCDDWZ.cjs');
8
8
 
9
9
  // src/get-config.ts
10
10
  function getConfig(workspaceRoot, skipLogs = false) {
11
- return _chunkEYNQLRTAcjs.loadStormWorkspaceConfig.call(void 0, workspaceRoot, skipLogs);
11
+ return _chunkWPMG4JLNcjs.loadStormWorkspaceConfig.call(void 0, workspaceRoot, skipLogs);
12
12
  }
13
13
  function getWorkspaceConfig(skipLogs = true, options = {}) {
14
14
  let workspaceRoot = options.workspaceRoot;
@@ -23,7 +23,7 @@ async function tryGetWorkspaceConfig(skipLogs = true, options = {}) {
23
23
  if (!workspaceRoot) {
24
24
  workspaceRoot = _chunk3CNCDDWZcjs.findWorkspaceRoot.call(void 0, options.cwd);
25
25
  }
26
- return _chunkEYNQLRTAcjs.tryLoadStormWorkspaceConfig.call(void 0,
26
+ return _chunkWPMG4JLNcjs.tryLoadStormWorkspaceConfig.call(void 0,
27
27
  workspaceRoot,
28
28
  skipLogs,
29
29
  options.useDefault