@storm-software/linting-tools 1.133.29 → 1.133.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 (50) hide show
  1. package/bin/{chunk-YVKFXUAB.js → chunk-3AXVBDEI.js} +1 -1
  2. package/bin/{chunk-BYUJEBYE.js → chunk-B4QOR43S.js} +2 -2
  3. package/bin/{chunk-JXR2CMYV.js → chunk-C2NBZSA4.js} +2 -2
  4. package/bin/{chunk-JGBHLMZW.cjs → chunk-CH6N5YAM.cjs} +5 -5
  5. package/bin/{chunk-45NAH565.cjs → chunk-CZV4DJGC.cjs} +2 -2
  6. package/bin/{chunk-VW2LC62V.js → chunk-FD6ZXH5D.js} +2 -2
  7. package/bin/{chunk-ZXZERTMQ.cjs → chunk-FMAV7TAS.cjs} +5 -5
  8. package/bin/{chunk-COCBQGLD.cjs → chunk-GWAKVDN7.cjs} +20 -20
  9. package/bin/{chunk-KLVXWRKV.cjs → chunk-HJVZ4KHO.cjs} +91 -91
  10. package/bin/{chunk-4LTKRFSO.cjs → chunk-IKC2YVBZ.cjs} +6 -6
  11. package/bin/{chunk-MWKNRSNK.js → chunk-JHSGKUIR.js} +1 -1
  12. package/bin/{chunk-V4UPOO7W.js → chunk-M3YQKUSO.js} +2 -2
  13. package/bin/{chunk-J6DYJB7S.cjs → chunk-RF2VZK4H.cjs} +2 -2
  14. package/bin/{chunk-6EEBJNMP.cjs → chunk-T6JV777T.cjs} +14 -14
  15. package/bin/{chunk-K6PERAPH.js → chunk-T6VQBFUC.js} +2 -2
  16. package/bin/{chunk-M4LMREII.js → chunk-UCKKTOG6.js} +2 -2
  17. package/bin/{chunk-QTE2W4SX.cjs → chunk-WXSGB2W5.cjs} +5 -5
  18. package/bin/{chunk-QGIYY4KT.cjs → chunk-XDATOU2S.cjs} +2 -2
  19. package/bin/{chunk-UG3L7MJ4.js → chunk-Y6B2DY2O.js} +2 -2
  20. package/bin/{chunk-WZPSSXT2.js → chunk-YH6I4Y2R.js} +1 -1
  21. package/bin/{dist-JX57Q7QO.js → dist-DES3UUMF.js} +2 -2
  22. package/bin/{dist-KG3H3MA6.cjs → dist-IPNAY6NK.cjs} +6 -6
  23. package/bin/{dist-44RVEQ7C.js → dist-RWDY5X6T.js} +8 -8
  24. package/bin/{dist-PQHM2YI7.cjs → dist-Z5LQ3WIL.cjs} +206 -206
  25. package/bin/{esm-PDPVKG4J.js → esm-JTAPYBSL.js} +1 -1
  26. package/bin/{esm-ETXIPJ3Q.cjs → esm-QQ7X3SUA.cjs} +4 -4
  27. package/bin/json5-FXSXGUI2.cjs +10 -0
  28. package/bin/json5-NUE7JYB3.js +10 -0
  29. package/bin/{jsonc-6PA4YZCM.js → jsonc-HVMK6C2X.js} +3 -3
  30. package/bin/jsonc-RFY5QXXO.cjs +15 -0
  31. package/bin/lint.cjs +1976 -1987
  32. package/bin/lint.js +33 -44
  33. package/bin/{multipart-parser-3YZHW64S.js → multipart-parser-CKVZL7C6.js} +2 -2
  34. package/bin/{multipart-parser-Q2PJG6XW.cjs → multipart-parser-PNSCQN5Y.cjs} +6 -6
  35. package/bin/{package-json-ELB4HLIV.js → package-json-LTZUJK6G.js} +2 -2
  36. package/bin/{package-json-GZQY3SQA.cjs → package-json-NYASHKRH.cjs} +94 -94
  37. package/bin/toml-4EOEPMT5.js +10 -0
  38. package/bin/toml-XZPZV4NK.cjs +10 -0
  39. package/bin/{utils-FOPX4O6W.cjs → utils-BK6OBBQU.cjs} +5 -5
  40. package/bin/{utils-SBDEVW4Z.js → utils-SY6USBC4.js} +2 -2
  41. package/bin/yaml-62XESL5F.cjs +10 -0
  42. package/bin/yaml-GYX2CYX4.js +10 -0
  43. package/package.json +2 -2
  44. package/bin/json5-633QQ7A7.cjs +0 -10
  45. package/bin/json5-6ITBPBI3.js +0 -10
  46. package/bin/jsonc-2XADZL7X.cjs +0 -15
  47. package/bin/toml-4BKE7Y5R.js +0 -10
  48. package/bin/toml-ELDXS373.cjs +0 -10
  49. package/bin/yaml-7X4XRZ5U.cjs +0 -10
  50. package/bin/yaml-PDLEYE6F.js +0 -10
package/bin/lint.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  require_clean,
4
4
  require_semver,
5
5
  require_valid
6
- } from "./chunk-YVKFXUAB.js";
6
+ } from "./chunk-3AXVBDEI.js";
7
7
  import {
8
8
  basename,
9
9
  be,
@@ -15,12 +15,12 @@ import {
15
15
  join,
16
16
  readPackageJSON,
17
17
  resolve
18
- } from "./chunk-JXR2CMYV.js";
19
- import "./chunk-UG3L7MJ4.js";
20
- import "./chunk-VW2LC62V.js";
21
- import "./chunk-BYUJEBYE.js";
22
- import "./chunk-M4LMREII.js";
23
- import "./chunk-WZPSSXT2.js";
18
+ } from "./chunk-C2NBZSA4.js";
19
+ import "./chunk-Y6B2DY2O.js";
20
+ import "./chunk-FD6ZXH5D.js";
21
+ import "./chunk-B4QOR43S.js";
22
+ import "./chunk-UCKKTOG6.js";
23
+ import "./chunk-YH6I4Y2R.js";
24
24
  import {
25
25
  __commonJS,
26
26
  __dirname,
@@ -31,7 +31,7 @@ import {
31
31
  __require,
32
32
  __toESM,
33
33
  init_esm_shims
34
- } from "./chunk-K6PERAPH.js";
34
+ } from "./chunk-T6VQBFUC.js";
35
35
 
36
36
  // ../../node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/package.json
37
37
  var package_exports = {};
@@ -283779,11 +283779,11 @@ function interpolate(target, source = {}, parse9 = (v2) => v2) {
283779
283779
  }
283780
283780
  var _normalize = (p) => p?.replace(/\\/g, "/");
283781
283781
  var ASYNC_LOADERS = {
283782
- ".yaml": () => import("./yaml-PDLEYE6F.js").then((r) => r.parseYAML),
283783
- ".yml": () => import("./yaml-PDLEYE6F.js").then((r) => r.parseYAML),
283784
- ".jsonc": () => import("./jsonc-6PA4YZCM.js").then((r) => r.parseJSONC),
283785
- ".json5": () => import("./json5-6ITBPBI3.js").then((r) => r.parseJSON5),
283786
- ".toml": () => import("./toml-4BKE7Y5R.js").then((r) => r.parseTOML)
283782
+ ".yaml": () => import("./yaml-GYX2CYX4.js").then((r) => r.parseYAML),
283783
+ ".yml": () => import("./yaml-GYX2CYX4.js").then((r) => r.parseYAML),
283784
+ ".jsonc": () => import("./jsonc-HVMK6C2X.js").then((r) => r.parseJSONC),
283785
+ ".json5": () => import("./json5-NUE7JYB3.js").then((r) => r.parseJSON5),
283786
+ ".toml": () => import("./toml-4EOEPMT5.js").then((r) => r.parseTOML)
283787
283787
  };
283788
283788
  var SUPPORTED_EXTENSIONS = [
283789
283789
  // with jiti
@@ -283983,8 +283983,8 @@ async function resolveConfig(source, options, sourceOptions = {}) {
283983
283983
  }
283984
283984
  const _merger = options.merger || defu;
283985
283985
  if (options.giget !== false && GIGET_PREFIXES.some((prefix) => source.startsWith(prefix))) {
283986
- const { downloadTemplate } = await import("./dist-44RVEQ7C.js");
283987
- const { digest } = await import("./dist-JX57Q7QO.js");
283986
+ const { downloadTemplate } = await import("./dist-RWDY5X6T.js");
283987
+ const { digest } = await import("./dist-DES3UUMF.js");
283988
283988
  const cloneName = source.replace(/\W+/g, "_").split("_").splice(0, 3).join("_") + "_" + digest(source).slice(0, 10).replace(/[-_]/g, "");
283989
283989
  let cloneDir;
283990
283990
  const localNodeModules = resolve(options.cwd, "node_modules");
@@ -284234,8 +284234,8 @@ var CONSOLE_ICONS = {
284234
284234
 
284235
284235
  // ../config-tools/src/logger/format-timestamp.ts
284236
284236
  init_esm_shims();
284237
- var formatTimestamp = (date2 = /* @__PURE__ */ new Date()) => {
284238
- return `${date2.toLocaleDateString()} ${date2.toLocaleTimeString()}`;
284237
+ var formatTimestamp = (fullDateTime = false, date2 = /* @__PURE__ */ new Date()) => {
284238
+ return fullDateTime ? `${date2.toLocaleDateString()} ${date2.toLocaleTimeString()}` : `${date2.toLocaleTimeString()}`;
284239
284239
  };
284240
284240
 
284241
284241
  // ../config-tools/src/logger/get-log-level.ts
@@ -284296,7 +284296,12 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
284296
284296
  };
284297
284297
 
284298
284298
  // ../config-tools/src/logger/console.ts
284299
- var getLogFn = (logLevel = LogLevel.INFO, config2 = {}, _chalk = getChalk()) => {
284299
+ var getLogFn = (logLevel = LogLevel.INFO, config2 = {}, options = {}) => {
284300
+ const {
284301
+ chalk: _chalk = getChalk(),
284302
+ fullDateTime = false,
284303
+ hideDateTime = false
284304
+ } = options;
284300
284305
  const colors = !config2.colors?.dark && !config2.colors?.["base"] && !config2.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config2.colors?.dark && typeof config2.colors.dark === "string" ? config2.colors : config2.colors?.["base"]?.dark && typeof config2.colors["base"].dark === "string" ? config2.colors["base"].dark : config2.colors?.["base"] ? config2.colors?.["base"] : DEFAULT_COLOR_CONFIG;
284301
284306
  const configLogLevel = config2.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
284302
284307
  if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
@@ -284307,9 +284312,7 @@ var getLogFn = (logLevel = LogLevel.INFO, config2 = {}, _chalk = getChalk()) =>
284307
284312
  return (message) => {
284308
284313
  console.error(
284309
284314
  `
284310
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
284311
- colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal
284312
- )(
284315
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal)(
284313
284316
  `[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `
284314
284317
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
284315
284318
  `
@@ -284320,9 +284323,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
284320
284323
  return (message) => {
284321
284324
  console.error(
284322
284325
  `
284323
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
284324
- colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger
284325
- )(
284326
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger)(
284326
284327
  `[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `
284327
284328
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
284328
284329
  `
@@ -284333,9 +284334,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
284333
284334
  return (message) => {
284334
284335
  console.warn(
284335
284336
  `
284336
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
284337
- colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning
284338
- )(
284337
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning)(
284339
284338
  `[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `
284340
284339
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
284341
284340
  `
@@ -284346,9 +284345,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
284346
284345
  return (message) => {
284347
284346
  console.info(
284348
284347
  `
284349
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
284350
- colors.success ?? DEFAULT_COLOR_CONFIG.dark.success
284351
- )(
284348
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.success ?? DEFAULT_COLOR_CONFIG.dark.success)(
284352
284349
  `[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `
284353
284350
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
284354
284351
  `
@@ -284359,9 +284356,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
284359
284356
  return (message) => {
284360
284357
  console.info(
284361
284358
  `
284362
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
284363
- colors.info ?? DEFAULT_COLOR_CONFIG.dark.info
284364
- )(
284359
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(
284365
284360
  `[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
284366
284361
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
284367
284362
  `
@@ -284372,9 +284367,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
284372
284367
  return (message) => {
284373
284368
  console.debug(
284374
284369
  `
284375
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
284376
- colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance
284377
- )(
284370
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance)(
284378
284371
  `[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `
284379
284372
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
284380
284373
  `
@@ -284385,9 +284378,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
284385
284378
  return (message) => {
284386
284379
  console.debug(
284387
284380
  `
284388
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
284389
- colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug
284390
- )(
284381
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(
284391
284382
  `[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `
284392
284383
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
284393
284384
  `
@@ -284398,7 +284389,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
284398
284389
  return (message) => {
284399
284390
  console.debug(
284400
284391
  `
284401
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
284392
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex("#bbbbbb")(
284402
284393
  `[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `
284403
284394
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
284404
284395
  `
@@ -284408,9 +284399,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
284408
284399
  return (message) => {
284409
284400
  console.log(
284410
284401
  `
284411
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
284412
- colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand
284413
- )(
284402
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand)(
284414
284403
  `[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `
284415
284404
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
284416
284405
  `
@@ -341560,7 +341549,7 @@ async function upgradeDependency([name3, tag = "latest"]) {
341560
341549
  var npmRequestLimit = (0, import_p_limit2.default)(40);
341561
341550
  function getPackageInfo(pkgName) {
341562
341551
  return npmRequestLimit(async () => {
341563
- const getPackageJson = (await import("./package-json-ELB4HLIV.js")).default;
341552
+ const getPackageJson = (await import("./package-json-LTZUJK6G.js")).default;
341564
341553
  return getPackageJson(pkgName, {
341565
341554
  allVersions: true
341566
341555
  });
@@ -3,11 +3,11 @@ import {
3
3
  init_node,
4
4
  init_node_fetch_native_DfbY2q_x,
5
5
  qn
6
- } from "./chunk-V4UPOO7W.js";
6
+ } from "./chunk-M3YQKUSO.js";
7
7
  import {
8
8
  __esm,
9
9
  init_esm_shims
10
- } from "./chunk-K6PERAPH.js";
10
+ } from "./chunk-T6VQBFUC.js";
11
11
 
12
12
  // ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs
13
13
  function v(u) {
@@ -1,21 +1,21 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkCOCBQGLDcjs = require('./chunk-COCBQGLD.cjs');
4
+ var _chunkGWAKVDN7cjs = require('./chunk-GWAKVDN7.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunkQGIYY4KTcjs = require('./chunk-QGIYY4KT.cjs');
9
+ var _chunkXDATOU2Scjs = require('./chunk-XDATOU2S.cjs');
10
10
 
11
11
  // ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs
12
- var require_multipart_parser = _chunkQGIYY4KTcjs.__commonJS.call(void 0, {
12
+ var require_multipart_parser = _chunkXDATOU2Scjs.__commonJS.call(void 0, {
13
13
  "../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs"(exports) {
14
- _chunkQGIYY4KTcjs.init_cjs_shims.call(void 0, );
14
+ _chunkXDATOU2Scjs.init_cjs_shims.call(void 0, );
15
15
  var y = Object.defineProperty;
16
16
  var c = (R, o) => y(R, "name", { value: o, configurable: true });
17
- var node = _chunkCOCBQGLDcjs.require_node.call(void 0, );
18
- _chunkQGIYY4KTcjs.__require.call(void 0, "http"), _chunkQGIYY4KTcjs.__require.call(void 0, "https"), _chunkQGIYY4KTcjs.__require.call(void 0, "zlib"), _chunkQGIYY4KTcjs.__require.call(void 0, "stream"), _chunkQGIYY4KTcjs.__require.call(void 0, "buffer"), _chunkQGIYY4KTcjs.__require.call(void 0, "util"), _chunkCOCBQGLDcjs.require_node_fetch_native_DhEqb06g.call(void 0, ), _chunkQGIYY4KTcjs.__require.call(void 0, "url"), _chunkQGIYY4KTcjs.__require.call(void 0, "net"), _chunkQGIYY4KTcjs.__require.call(void 0, "fs"), _chunkQGIYY4KTcjs.__require.call(void 0, "path");
17
+ var node = _chunkGWAKVDN7cjs.require_node.call(void 0, );
18
+ _chunkXDATOU2Scjs.__require.call(void 0, "http"), _chunkXDATOU2Scjs.__require.call(void 0, "https"), _chunkXDATOU2Scjs.__require.call(void 0, "zlib"), _chunkXDATOU2Scjs.__require.call(void 0, "stream"), _chunkXDATOU2Scjs.__require.call(void 0, "buffer"), _chunkXDATOU2Scjs.__require.call(void 0, "util"), _chunkGWAKVDN7cjs.require_node_fetch_native_DhEqb06g.call(void 0, ), _chunkXDATOU2Scjs.__require.call(void 0, "url"), _chunkXDATOU2Scjs.__require.call(void 0, "net"), _chunkXDATOU2Scjs.__require.call(void 0, "fs"), _chunkXDATOU2Scjs.__require.call(void 0, "path");
19
19
  var s = 0;
20
20
  var S = { START_BOUNDARY: s++, HEADER_FIELD_START: s++, HEADER_FIELD: s++, HEADER_VALUE_START: s++, HEADER_VALUE: s++, HEADER_VALUE_ALMOST_DONE: s++, HEADERS_ALMOST_DONE: s++, PART_DATA_START: s++, PART_DATA: s++, END: s++ };
21
21
  var f = 1;
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  require_semver
3
- } from "./chunk-YVKFXUAB.js";
3
+ } from "./chunk-3AXVBDEI.js";
4
4
  import {
5
5
  __commonJS,
6
6
  __dirname,
7
7
  __require,
8
8
  __toESM,
9
9
  init_esm_shims
10
- } from "./chunk-K6PERAPH.js";
10
+ } from "./chunk-T6VQBFUC.js";
11
11
 
12
12
  // ../../node_modules/.pnpm/ini@1.3.8/node_modules/ini/ini.js
13
13
  var require_ini = __commonJS({