@storm-software/eslint 0.117.7 → 0.117.9
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/README.md +1 -1
- package/dist/preset.cjs +8 -8
- package/dist/preset.js +8 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
package/dist/preset.cjs
CHANGED
|
@@ -546,55 +546,55 @@ var getLogFn = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, (logLevel =
|
|
|
546
546
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel) {
|
|
547
547
|
return (message) => {
|
|
548
548
|
console.error(`
|
|
549
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.fatal, () => ( "#7d1a1a")))(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal]`)}
|
|
549
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.fatal, () => ( "#7d1a1a")))(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
550
550
|
`);
|
|
551
551
|
};
|
|
552
552
|
}
|
|
553
553
|
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel) {
|
|
554
554
|
return (message) => {
|
|
555
555
|
console.error(`
|
|
556
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.danger, () => ( "#f85149")))(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error]`)}
|
|
556
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.danger, () => ( "#f85149")))(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
557
557
|
`);
|
|
558
558
|
};
|
|
559
559
|
}
|
|
560
560
|
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel) {
|
|
561
561
|
return (message) => {
|
|
562
562
|
console.warn(`
|
|
563
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.warning, () => ( "#e3b341")))(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn]`)}
|
|
563
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.warning, () => ( "#e3b341")))(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
564
564
|
`);
|
|
565
565
|
};
|
|
566
566
|
}
|
|
567
567
|
if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel) {
|
|
568
568
|
return (message) => {
|
|
569
569
|
console.info(`
|
|
570
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.success, () => ( "#56d364")))(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success]`)}
|
|
570
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.success, () => ( "#56d364")))(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
571
571
|
`);
|
|
572
572
|
};
|
|
573
573
|
}
|
|
574
574
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel) {
|
|
575
575
|
return (message) => {
|
|
576
576
|
console.info(`
|
|
577
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, () => ( "#58a6ff")))(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info]`)}
|
|
577
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, () => ( "#58a6ff")))(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
578
578
|
`);
|
|
579
579
|
};
|
|
580
580
|
}
|
|
581
581
|
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel) {
|
|
582
582
|
return (message) => {
|
|
583
583
|
console.debug(`
|
|
584
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug]`)}
|
|
584
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
585
585
|
`);
|
|
586
586
|
};
|
|
587
587
|
}
|
|
588
588
|
if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel) {
|
|
589
589
|
return (message) => {
|
|
590
590
|
console.debug(`
|
|
591
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace]`)}
|
|
591
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
592
592
|
`);
|
|
593
593
|
};
|
|
594
594
|
}
|
|
595
595
|
return (message) => {
|
|
596
596
|
console.log(`
|
|
597
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System]`)}
|
|
597
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
598
598
|
`);
|
|
599
599
|
};
|
|
600
600
|
}, "getLogFn");
|
package/dist/preset.js
CHANGED
|
@@ -546,55 +546,55 @@ var getLogFn = /* @__PURE__ */ __name((logLevel = LogLevel.INFO, config = {}, _c
|
|
|
546
546
|
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel) {
|
|
547
547
|
return (message) => {
|
|
548
548
|
console.error(`
|
|
549
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal]`)}
|
|
549
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
550
550
|
`);
|
|
551
551
|
};
|
|
552
552
|
}
|
|
553
553
|
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel) {
|
|
554
554
|
return (message) => {
|
|
555
555
|
console.error(`
|
|
556
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? "#f85149")(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error]`)}
|
|
556
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? "#f85149")(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
557
557
|
`);
|
|
558
558
|
};
|
|
559
559
|
}
|
|
560
560
|
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel) {
|
|
561
561
|
return (message) => {
|
|
562
562
|
console.warn(`
|
|
563
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? "#e3b341")(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn]`)}
|
|
563
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? "#e3b341")(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
564
564
|
`);
|
|
565
565
|
};
|
|
566
566
|
}
|
|
567
567
|
if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel) {
|
|
568
568
|
return (message) => {
|
|
569
569
|
console.info(`
|
|
570
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? "#56d364")(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success]`)}
|
|
570
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? "#56d364")(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
571
571
|
`);
|
|
572
572
|
};
|
|
573
573
|
}
|
|
574
574
|
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel) {
|
|
575
575
|
return (message) => {
|
|
576
576
|
console.info(`
|
|
577
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? "#58a6ff")(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info]`)}
|
|
577
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? "#58a6ff")(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
578
578
|
`);
|
|
579
579
|
};
|
|
580
580
|
}
|
|
581
581
|
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel) {
|
|
582
582
|
return (message) => {
|
|
583
583
|
console.debug(`
|
|
584
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug]`)}
|
|
584
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
585
585
|
`);
|
|
586
586
|
};
|
|
587
587
|
}
|
|
588
588
|
if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel) {
|
|
589
589
|
return (message) => {
|
|
590
590
|
console.debug(`
|
|
591
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace]`)}
|
|
591
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
592
592
|
`);
|
|
593
593
|
};
|
|
594
594
|
}
|
|
595
595
|
return (message) => {
|
|
596
596
|
console.log(`
|
|
597
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System]`)}
|
|
597
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
598
598
|
`);
|
|
599
599
|
};
|
|
600
600
|
}, "getLogFn");
|
package/package.json
CHANGED