@storm-software/linting-tools 1.133.41 → 1.133.44

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-V6FXZLIA.cjs → chunk-3RPEXUFX.cjs} +5 -5
  2. package/bin/{chunk-NNAZF3I4.js → chunk-47WV45TG.js} +1 -1
  3. package/bin/{chunk-7EWG3IKR.cjs → chunk-5H4LWKH4.cjs} +14 -14
  4. package/bin/{chunk-NDTF4TTX.js → chunk-AFYCBDX6.js} +2 -2
  5. package/bin/{chunk-BG423WQ4.cjs → chunk-BAL4YR7J.cjs} +93 -93
  6. package/bin/{chunk-3WWZG6R5.cjs → chunk-BZFLOI5H.cjs} +2 -2
  7. package/bin/{chunk-LGN4RQTF.cjs → chunk-D6UJI7DP.cjs} +5 -5
  8. package/bin/{chunk-ZOWMS7RK.js → chunk-ILFBGIR3.js} +1 -1
  9. package/bin/{chunk-FZ36H7ZX.js → chunk-L5FQGZ6Z.js} +1 -1
  10. package/bin/{chunk-WSC7SC74.cjs → chunk-L5WTOL2D.cjs} +20 -20
  11. package/bin/{chunk-RVCD4C7W.js → chunk-NYPSIS2H.js} +2 -2
  12. package/bin/{chunk-JNA4FJLI.js → chunk-RBJRPZR3.js} +2 -2
  13. package/bin/{chunk-KO2ZNUJI.js → chunk-REVLN7O5.js} +2 -2
  14. package/bin/{chunk-QRXBPTMN.js → chunk-TLJEC7ED.js} +2 -2
  15. package/bin/{chunk-LM7W3DEK.cjs → chunk-TUT2UJME.cjs} +5 -5
  16. package/bin/{chunk-4ZW6IEKS.cjs → chunk-V6DMPCMH.cjs} +2 -2
  17. package/bin/{chunk-XP6RNOHF.js → chunk-VFM4D3AN.js} +2 -2
  18. package/bin/{chunk-7YD4OBLS.cjs → chunk-WAD5SGY3.cjs} +6 -6
  19. package/bin/{chunk-M3RJUCUX.cjs → chunk-XR6FLKA6.cjs} +2 -2
  20. package/bin/{chunk-H5CKE2Q3.js → chunk-YDLNZUQQ.js} +2 -2
  21. package/bin/{dist-CXCDPSVZ.js → dist-BYM6J25O.js} +2 -2
  22. package/bin/{dist-SXWKXAUN.cjs → dist-EYKW3DH5.cjs} +206 -206
  23. package/bin/{dist-TJKD7BFD.cjs → dist-M7DIZZLD.cjs} +6 -6
  24. package/bin/{dist-TA6D52DW.js → dist-PJ4KGJZQ.js} +8 -8
  25. package/bin/{esm-VBX6QHMB.cjs → esm-3GQBUEY5.cjs} +4 -4
  26. package/bin/{esm-XZUWQ2EO.js → esm-ADLQSXNQ.js} +1 -1
  27. package/bin/json5-AUMLNRGV.cjs +10 -0
  28. package/bin/json5-QCULZZNB.js +10 -0
  29. package/bin/{jsonc-RMBRJM5F.js → jsonc-6VU54LY4.js} +3 -3
  30. package/bin/jsonc-HY2YIICO.cjs +15 -0
  31. package/bin/lint.cjs +1917 -1908
  32. package/bin/lint.js +33 -24
  33. package/bin/{multipart-parser-3GRS47U4.js → multipart-parser-QVMZG2XL.js} +2 -2
  34. package/bin/{multipart-parser-EJGAATIG.cjs → multipart-parser-VPBA2QGX.cjs} +6 -6
  35. package/bin/{package-json-T3BVARAM.cjs → package-json-263LLBOQ.cjs} +94 -94
  36. package/bin/{package-json-X7B5MXNU.js → package-json-6LRIV6MY.js} +2 -2
  37. package/bin/toml-H6FCTZ54.cjs +10 -0
  38. package/bin/toml-UZJIHCNF.js +10 -0
  39. package/bin/{utils-MAZ7YBVL.cjs → utils-RNBJFYKU.cjs} +5 -5
  40. package/bin/{utils-VZJ3PRLJ.js → utils-VQM3WD2S.js} +2 -2
  41. package/bin/yaml-GHSQPK4L.cjs +10 -0
  42. package/bin/yaml-TDU5ONQQ.js +10 -0
  43. package/package.json +3 -3
  44. package/bin/json5-DQZXPJC5.cjs +0 -10
  45. package/bin/json5-OE4IW4K5.js +0 -10
  46. package/bin/jsonc-BFTEK7ST.cjs +0 -15
  47. package/bin/toml-MOABZMPU.cjs +0 -10
  48. package/bin/toml-NRTIWWXC.js +0 -10
  49. package/bin/yaml-CT5AT2QA.js +0 -10
  50. package/bin/yaml-JIMITEQL.cjs +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-FZ36H7ZX.js";
6
+ } from "./chunk-L5FQGZ6Z.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-RVCD4C7W.js";
19
- import "./chunk-JNA4FJLI.js";
20
- import "./chunk-KO2ZNUJI.js";
21
- import "./chunk-NDTF4TTX.js";
22
- import "./chunk-H5CKE2Q3.js";
23
- import "./chunk-NNAZF3I4.js";
18
+ } from "./chunk-NYPSIS2H.js";
19
+ import "./chunk-RBJRPZR3.js";
20
+ import "./chunk-REVLN7O5.js";
21
+ import "./chunk-AFYCBDX6.js";
22
+ import "./chunk-YDLNZUQQ.js";
23
+ import "./chunk-47WV45TG.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-QRXBPTMN.js";
34
+ } from "./chunk-TLJEC7ED.js";
35
35
 
36
36
  // ../../node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/package.json
37
37
  var package_exports = {};
@@ -283813,11 +283813,11 @@ function interpolate(target, source = {}, parse9 = (v2) => v2) {
283813
283813
  }
283814
283814
  var _normalize = (p) => p?.replace(/\\/g, "/");
283815
283815
  var ASYNC_LOADERS = {
283816
- ".yaml": () => import("./yaml-CT5AT2QA.js").then((r) => r.parseYAML),
283817
- ".yml": () => import("./yaml-CT5AT2QA.js").then((r) => r.parseYAML),
283818
- ".jsonc": () => import("./jsonc-RMBRJM5F.js").then((r) => r.parseJSONC),
283819
- ".json5": () => import("./json5-OE4IW4K5.js").then((r) => r.parseJSON5),
283820
- ".toml": () => import("./toml-NRTIWWXC.js").then((r) => r.parseTOML)
283816
+ ".yaml": () => import("./yaml-TDU5ONQQ.js").then((r) => r.parseYAML),
283817
+ ".yml": () => import("./yaml-TDU5ONQQ.js").then((r) => r.parseYAML),
283818
+ ".jsonc": () => import("./jsonc-6VU54LY4.js").then((r) => r.parseJSONC),
283819
+ ".json5": () => import("./json5-QCULZZNB.js").then((r) => r.parseJSON5),
283820
+ ".toml": () => import("./toml-UZJIHCNF.js").then((r) => r.parseTOML)
283821
283821
  };
283822
283822
  var SUPPORTED_EXTENSIONS = [
283823
283823
  // with jiti
@@ -284017,8 +284017,8 @@ async function resolveConfig(source, options, sourceOptions = {}) {
284017
284017
  }
284018
284018
  const _merger = options.merger || defu;
284019
284019
  if (options.giget !== false && GIGET_PREFIXES.some((prefix) => source.startsWith(prefix))) {
284020
- const { downloadTemplate } = await import("./dist-TA6D52DW.js");
284021
- const { digest } = await import("./dist-CXCDPSVZ.js");
284020
+ const { downloadTemplate } = await import("./dist-PJ4KGJZQ.js");
284021
+ const { digest } = await import("./dist-BYM6J25O.js");
284022
284022
  const cloneName = source.replace(/\W+/g, "_").split("_").splice(0, 3).join("_") + "_" + digest(source).slice(0, 10).replace(/[-_]/g, "");
284023
284023
  let cloneDir;
284024
284024
  const localNodeModules = resolve(options.cwd, "node_modules");
@@ -284447,22 +284447,31 @@ var writeInfo = (message, config2) => getLogFn(LogLevel.INFO, config2)(message);
284447
284447
  var writeSuccess = (message, config2) => getLogFn(LogLevel.SUCCESS, config2)(message);
284448
284448
  var writeDebug = (message, config2) => getLogFn(LogLevel.DEBUG, config2)(message);
284449
284449
  var writeTrace = (message, config2) => getLogFn(LogLevel.TRACE, config2)(message);
284450
- var MAX_DEPTH = 6;
284450
+ var MAX_DEPTH = 10;
284451
284451
  var formatLogMessage = (message, options = {}, depth2 = 0) => {
284452
284452
  if (depth2 > MAX_DEPTH) {
284453
284453
  return "<max depth>";
284454
284454
  }
284455
- const prefix = options.prefix ?? "-";
284455
+ const prefix = options.prefix ?? "";
284456
284456
  const skip3 = options.skip ?? [];
284457
- return typeof message === "undefined" || message === null || !message && typeof message !== "boolean" ? "<none>" : typeof message === "string" ? message : Array.isArray(message) ? `
284458
- ${message.map((item, index2) => ` ${prefix}> #${index2} = ${formatLogMessage(item, { prefix: `${prefix}-`, skip: skip3 }, depth2 + 1)}`).join("\n")}` : typeof message === "object" ? `
284459
- ${Object.keys(message).filter((key) => !skip3.includes(key)).map(
284460
- (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? formatLogMessage(
284457
+ const sort = options.sort ?? true;
284458
+ return typeof message === "undefined" || message === null ? "<empty>" : typeof message === "string" ? !message ? "<empty string>" : message : Array.isArray(message) ? `
284459
+ ${message.map(
284460
+ (item, index2) => ` ${prefix}> #${index2} = ${formatLogMessage(
284461
+ item,
284462
+ { prefix: `${prefix}--`, skip: skip3, sort },
284463
+ depth2 + 1
284464
+ )}`
284465
+ ).join("\n")}` : typeof message === "object" ? `
284466
+ ${Object.keys(message).filter((key) => !skip3.includes(key)).sort(sort ? (a2, b) => a2.localeCompare(b) : void 0).map(
284467
+ (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? Object.keys(message[key]).filter(
284468
+ (key2) => !skip3.includes(key2)
284469
+ ).length === 0 ? "{}" : formatLogMessage(
284461
284470
  message[key],
284462
- { prefix: `${prefix}-`, skip: skip3 },
284471
+ { prefix: `${prefix}--`, skip: skip3, sort },
284463
284472
  depth2 + 1
284464
284473
  ) : message[key]}`
284465
- ).join("\n")}` : message;
284474
+ ).join("\n")}` : String(message);
284466
284475
  };
284467
284476
  var _isFunction = (value) => {
284468
284477
  try {
@@ -341464,7 +341473,7 @@ async function upgradeDependency([name3, tag = "latest"]) {
341464
341473
  var npmRequestLimit = (0, import_p_limit2.default)(40);
341465
341474
  function getPackageInfo(pkgName) {
341466
341475
  return npmRequestLimit(async () => {
341467
- const getPackageJson = (await import("./package-json-X7B5MXNU.js")).default;
341476
+ const getPackageJson = (await import("./package-json-6LRIV6MY.js")).default;
341468
341477
  return getPackageJson(pkgName, {
341469
341478
  allVersions: true
341470
341479
  });
@@ -3,11 +3,11 @@ import {
3
3
  init_node,
4
4
  init_node_fetch_native_DfbY2q_x,
5
5
  qn
6
- } from "./chunk-XP6RNOHF.js";
6
+ } from "./chunk-VFM4D3AN.js";
7
7
  import {
8
8
  __esm,
9
9
  init_esm_shims
10
- } from "./chunk-QRXBPTMN.js";
10
+ } from "./chunk-TLJEC7ED.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 _chunkWSC7SC74cjs = require('./chunk-WSC7SC74.cjs');
4
+ var _chunkL5WTOL2Dcjs = require('./chunk-L5WTOL2D.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunk3WWZG6R5cjs = require('./chunk-3WWZG6R5.cjs');
9
+ var _chunkBZFLOI5Hcjs = require('./chunk-BZFLOI5H.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 = _chunk3WWZG6R5cjs.__commonJS.call(void 0, {
12
+ var require_multipart_parser = _chunkBZFLOI5Hcjs.__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
- _chunk3WWZG6R5cjs.init_cjs_shims.call(void 0, );
14
+ _chunkBZFLOI5Hcjs.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 = _chunkWSC7SC74cjs.require_node.call(void 0, );
18
- _chunk3WWZG6R5cjs.__require.call(void 0, "http"), _chunk3WWZG6R5cjs.__require.call(void 0, "https"), _chunk3WWZG6R5cjs.__require.call(void 0, "zlib"), _chunk3WWZG6R5cjs.__require.call(void 0, "stream"), _chunk3WWZG6R5cjs.__require.call(void 0, "buffer"), _chunk3WWZG6R5cjs.__require.call(void 0, "util"), _chunkWSC7SC74cjs.require_node_fetch_native_DhEqb06g.call(void 0, ), _chunk3WWZG6R5cjs.__require.call(void 0, "url"), _chunk3WWZG6R5cjs.__require.call(void 0, "net"), _chunk3WWZG6R5cjs.__require.call(void 0, "fs"), _chunk3WWZG6R5cjs.__require.call(void 0, "path");
17
+ var node = _chunkL5WTOL2Dcjs.require_node.call(void 0, );
18
+ _chunkBZFLOI5Hcjs.__require.call(void 0, "http"), _chunkBZFLOI5Hcjs.__require.call(void 0, "https"), _chunkBZFLOI5Hcjs.__require.call(void 0, "zlib"), _chunkBZFLOI5Hcjs.__require.call(void 0, "stream"), _chunkBZFLOI5Hcjs.__require.call(void 0, "buffer"), _chunkBZFLOI5Hcjs.__require.call(void 0, "util"), _chunkL5WTOL2Dcjs.require_node_fetch_native_DhEqb06g.call(void 0, ), _chunkBZFLOI5Hcjs.__require.call(void 0, "url"), _chunkBZFLOI5Hcjs.__require.call(void 0, "net"), _chunkBZFLOI5Hcjs.__require.call(void 0, "fs"), _chunkBZFLOI5Hcjs.__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;