@storm-software/config-tools 1.190.20 → 1.190.22
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/bin/config.cjs +8 -6
- package/bin/config.js +8 -6
- package/dist/{chunk-RT5536G5.js → chunk-2JA3KDUW.js} +1 -1
- package/dist/{chunk-EBVZQPBC.js → chunk-3SX4SLEU.js} +1 -1
- package/dist/{chunk-U4N3RX22.js → chunk-4IHL3E5M.js} +36 -34
- package/dist/{chunk-VUFYY3YZ.cjs → chunk-BEFNWKPD.cjs} +3 -3
- package/dist/{chunk-NYO7XHLW.cjs → chunk-BF4MDUTR.cjs} +36 -34
- package/dist/{chunk-7RS3LXLS.js → chunk-C47DWQVX.js} +1 -1
- package/dist/{chunk-N344QHFB.cjs → chunk-EYNQLRTA.cjs} +10 -10
- package/dist/{chunk-K2ESWZ47.js → chunk-FZ2ZJFWB.js} +2 -2
- package/dist/{chunk-UKSAAYLN.cjs → chunk-GXRAHLKT.cjs} +9 -9
- package/dist/{chunk-OSIUQTFQ.cjs → chunk-H7J7UFAV.cjs} +2 -2
- package/dist/{chunk-4NI5G6NW.cjs → chunk-IMRWBPKB.cjs} +10 -10
- package/dist/{chunk-KSIRSZH7.js → chunk-MNUSVN5B.js} +1 -1
- package/dist/{chunk-RY5XPR3I.cjs → chunk-NFL55S75.cjs} +3 -3
- package/dist/{chunk-CXXYVRLX.js → chunk-TLZTD7WU.js} +1 -1
- package/dist/config-file/get-config-file.cjs +6 -6
- package/dist/config-file/get-config-file.js +5 -5
- package/dist/config-file/index.cjs +6 -6
- package/dist/config-file/index.js +5 -5
- package/dist/create-storm-config.cjs +7 -7
- package/dist/create-storm-config.js +6 -6
- package/dist/get-config.cjs +8 -8
- package/dist/get-config.js +7 -7
- package/dist/index.cjs +8 -8
- package/dist/index.js +7 -7
- package/dist/logger/console.cjs +2 -2
- package/dist/logger/console.js +1 -1
- package/dist/logger/create-logger.cjs +3 -3
- package/dist/logger/create-logger.js +2 -2
- package/dist/logger/index.cjs +3 -3
- package/dist/logger/index.js +2 -2
- package/dist/utilities/index.cjs +5 -5
- package/dist/utilities/index.js +4 -4
- package/dist/utilities/process-handler.cjs +3 -3
- package/dist/utilities/process-handler.js +2 -2
- package/dist/utilities/toml.cjs +4 -4
- package/dist/utilities/toml.js +3 -3
- package/package.json +5 -5
package/bin/config.cjs
CHANGED
|
@@ -386,7 +386,9 @@ var formatLogMessage = (message, options = {}, depth2 = 0) => {
|
|
|
386
386
|
const skip = options.skip ?? [];
|
|
387
387
|
const sort = options.sort ?? true;
|
|
388
388
|
return typeof message === "undefined" || message === null ? "<empty>" : typeof message === "string" ? !message ? "<empty string>" : message : Array.isArray(message) ? `
|
|
389
|
-
${message.
|
|
389
|
+
${message.sort(
|
|
390
|
+
sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
|
|
391
|
+
).map(
|
|
390
392
|
(item, index) => ` ${prefix}> #${index} = ${formatLogMessage(
|
|
391
393
|
item,
|
|
392
394
|
{ prefix: `${prefix}--`, skip, sort },
|
|
@@ -394,12 +396,12 @@ ${message.map(
|
|
|
394
396
|
)}`
|
|
395
397
|
).join("\n")}` : typeof message === "object" ? `
|
|
396
398
|
${Object.keys(message).filter(
|
|
397
|
-
(key) => !skip.map((k) => k.toLowerCase()).includes(
|
|
398
|
-
).sort(
|
|
399
|
+
(key) => typeof key !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key.toLowerCase().trim())
|
|
400
|
+
).sort(
|
|
401
|
+
sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
|
|
402
|
+
).map(
|
|
399
403
|
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
|
|
400
|
-
(key2) => !skip.map((k) => k.toLowerCase()).includes(
|
|
401
|
-
typeof key2 === "string" ? key2.toLowerCase() : key2
|
|
402
|
-
)
|
|
404
|
+
(key2) => typeof key2 !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key2.toLowerCase().trim())
|
|
403
405
|
).length === 0 ? "{}" : formatLogMessage(
|
|
404
406
|
message[key],
|
|
405
407
|
{ prefix: `${prefix}--`, skip, sort },
|
package/bin/config.js
CHANGED
|
@@ -353,7 +353,9 @@ var formatLogMessage = (message, options = {}, depth2 = 0) => {
|
|
|
353
353
|
const skip = options.skip ?? [];
|
|
354
354
|
const sort = options.sort ?? true;
|
|
355
355
|
return typeof message === "undefined" || message === null ? "<empty>" : typeof message === "string" ? !message ? "<empty string>" : message : Array.isArray(message) ? `
|
|
356
|
-
${message.
|
|
356
|
+
${message.sort(
|
|
357
|
+
sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
|
|
358
|
+
).map(
|
|
357
359
|
(item, index) => ` ${prefix}> #${index} = ${formatLogMessage(
|
|
358
360
|
item,
|
|
359
361
|
{ prefix: `${prefix}--`, skip, sort },
|
|
@@ -361,12 +363,12 @@ ${message.map(
|
|
|
361
363
|
)}`
|
|
362
364
|
).join("\n")}` : typeof message === "object" ? `
|
|
363
365
|
${Object.keys(message).filter(
|
|
364
|
-
(key) => !skip.map((k) => k.toLowerCase()).includes(
|
|
365
|
-
).sort(
|
|
366
|
+
(key) => typeof key !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key.toLowerCase().trim())
|
|
367
|
+
).sort(
|
|
368
|
+
sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
|
|
369
|
+
).map(
|
|
366
370
|
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
|
|
367
|
-
(key2) => !skip.map((k) => k.toLowerCase()).includes(
|
|
368
|
-
typeof key2 === "string" ? key2.toLowerCase() : key2
|
|
369
|
-
)
|
|
371
|
+
(key2) => typeof key2 !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key2.toLowerCase().trim())
|
|
370
372
|
).length === 0 ? "{}" : formatLogMessage(
|
|
371
373
|
message[key],
|
|
372
374
|
{ prefix: `${prefix}--`, skip, sort },
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
LogLevelLabel
|
|
20
20
|
} from "./chunk-RALMUN5C.js";
|
|
21
21
|
|
|
22
|
-
// ../../node_modules/.pnpm/date-fns@4.1
|
|
22
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
36
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
45
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
50
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
134
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
143
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
177
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
188
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
207
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
369
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
411
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
426
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
545
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
559
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
565
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
570
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
588
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
597
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
605
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
617
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
624
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
633
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
639
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
663
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
672
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
677
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
683
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
757
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/formatDistanceToNow.js
|
|
758
758
|
function formatDistanceToNow(date, options) {
|
|
759
759
|
return formatDistance2(date, constructNow(date), options);
|
|
760
760
|
}
|
|
@@ -898,7 +898,9 @@ var formatLogMessage = (message, options = {}, depth = 0) => {
|
|
|
898
898
|
const skip = options.skip ?? [];
|
|
899
899
|
const sort = options.sort ?? true;
|
|
900
900
|
return typeof message === "undefined" || message === null ? "<empty>" : typeof message === "string" ? !message ? "<empty string>" : message : Array.isArray(message) ? `
|
|
901
|
-
${message.
|
|
901
|
+
${message.sort(
|
|
902
|
+
sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
|
|
903
|
+
).map(
|
|
902
904
|
(item, index) => ` ${prefix}> #${index} = ${formatLogMessage(
|
|
903
905
|
item,
|
|
904
906
|
{ prefix: `${prefix}--`, skip, sort },
|
|
@@ -906,12 +908,12 @@ ${message.map(
|
|
|
906
908
|
)}`
|
|
907
909
|
).join("\n")}` : typeof message === "object" ? `
|
|
908
910
|
${Object.keys(message).filter(
|
|
909
|
-
(key) => !skip.map((k) => k.toLowerCase()).includes(
|
|
910
|
-
).sort(
|
|
911
|
+
(key) => typeof key !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key.toLowerCase().trim())
|
|
912
|
+
).sort(
|
|
913
|
+
sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
|
|
914
|
+
).map(
|
|
911
915
|
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
|
|
912
|
-
(key2) => !skip.map((k) => k.toLowerCase()).includes(
|
|
913
|
-
typeof key2 === "string" ? key2.toLowerCase() : key2
|
|
914
|
-
)
|
|
916
|
+
(key2) => typeof key2 !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key2.toLowerCase().trim())
|
|
915
917
|
).length === 0 ? "{}" : formatLogMessage(
|
|
916
918
|
message[key],
|
|
917
919
|
{ prefix: `${prefix}--`, skip, sort },
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunk3CNCDDWZcjs = require('./chunk-3CNCDDWZ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkBF4MDUTRcjs = require('./chunk-BF4MDUTR.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkBDATZ3UBcjs = require('./chunk-BDATZ3UB.cjs');
|
|
@@ -52,7 +52,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
52
52
|
let config = result.config;
|
|
53
53
|
const configFile = result.configFile;
|
|
54
54
|
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
55
|
-
|
|
55
|
+
_chunkBF4MDUTRcjs.writeTrace.call(void 0,
|
|
56
56
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
57
57
|
{
|
|
58
58
|
logLevel: "all"
|
|
@@ -68,7 +68,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
68
68
|
for (const result2 of results) {
|
|
69
69
|
if (_optionalChain([result2, 'optionalAccess', _5 => _5.config]) && _optionalChain([result2, 'optionalAccess', _6 => _6.configFile]) && Object.keys(result2.config).length > 0) {
|
|
70
70
|
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
71
|
-
|
|
71
|
+
_chunkBF4MDUTRcjs.writeTrace.call(void 0,
|
|
72
72
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
73
73
|
{
|
|
74
74
|
logLevel: "all"
|
|
@@ -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.1
|
|
22
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
36
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
45
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
50
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
134
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
143
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
177
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
188
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
207
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
369
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
411
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
426
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
545
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
559
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
565
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
570
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
588
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
597
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
605
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
617
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
624
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
633
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
639
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
663
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
672
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
677
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
683
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/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.1
|
|
757
|
+
// ../../node_modules/.pnpm/date-fns@4.2.1/node_modules/date-fns/formatDistanceToNow.js
|
|
758
758
|
function formatDistanceToNow(date, options) {
|
|
759
759
|
return formatDistance2(date, constructNow(date), options);
|
|
760
760
|
}
|
|
@@ -898,7 +898,9 @@ var formatLogMessage = (message, options = {}, depth = 0) => {
|
|
|
898
898
|
const skip = _nullishCoalesce(options.skip, () => ( []));
|
|
899
899
|
const sort = _nullishCoalesce(options.sort, () => ( true));
|
|
900
900
|
return typeof message === "undefined" || message === null ? "<empty>" : typeof message === "string" ? !message ? "<empty string>" : message : Array.isArray(message) ? `
|
|
901
|
-
${message.
|
|
901
|
+
${message.sort(
|
|
902
|
+
sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
|
|
903
|
+
).map(
|
|
902
904
|
(item, index) => ` ${prefix}> #${index} = ${formatLogMessage(
|
|
903
905
|
item,
|
|
904
906
|
{ prefix: `${prefix}--`, skip, sort },
|
|
@@ -906,12 +908,12 @@ ${message.map(
|
|
|
906
908
|
)}`
|
|
907
909
|
).join("\n")}` : typeof message === "object" ? `
|
|
908
910
|
${Object.keys(message).filter(
|
|
909
|
-
(key) => !skip.map((k) => k.toLowerCase()).includes(
|
|
910
|
-
).sort(
|
|
911
|
+
(key) => typeof key !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key.toLowerCase().trim())
|
|
912
|
+
).sort(
|
|
913
|
+
sort ? (a, b) => !a && !b ? 0 : !a ? 1 : !b ? -1 : String(a).localeCompare(String(b)) : void 0
|
|
914
|
+
).map(
|
|
911
915
|
(key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
|
|
912
|
-
(key2) => !skip.map((k) => k.toLowerCase()).includes(
|
|
913
|
-
typeof key2 === "string" ? key2.toLowerCase() : key2
|
|
914
|
-
)
|
|
916
|
+
(key2) => typeof key2 !== "string" || !skip.map((k) => k.toLowerCase().trim()).includes(key2.toLowerCase().trim())
|
|
915
917
|
).length === 0 ? "{}" : formatLogMessage(
|
|
916
918
|
message[key],
|
|
917
919
|
{ prefix: `${prefix}--`, skip, sort },
|