@storm-software/linting-tools 1.134.13 → 1.134.15

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 (51) hide show
  1. package/README.md +1 -1
  2. package/bin/{chunk-GH4CBGG7.cjs → chunk-3GT3NMHA.cjs} +2 -2
  3. package/bin/{chunk-GEQPWIVB.cjs → chunk-4PKB6WHB.cjs} +5 -5
  4. package/bin/{chunk-VA5TTMEL.cjs → chunk-5LPC5MQQ.cjs} +2 -2
  5. package/bin/{chunk-FU6A3HYN.cjs → chunk-6FCHL2BH.cjs} +93 -93
  6. package/bin/{chunk-SGQCORA2.js → chunk-C6RKFPCY.js} +2 -2
  7. package/bin/{chunk-JQYQJIXH.cjs → chunk-CB5L6VU5.cjs} +5 -5
  8. package/bin/{chunk-3O7WH4BA.js → chunk-ECKNXG7K.js} +2 -2
  9. package/bin/{chunk-C2K4L4BA.cjs → chunk-EJBGHVBS.cjs} +20 -20
  10. package/bin/{chunk-22H3AD4P.cjs → chunk-H4BBGEZ2.cjs} +2 -2
  11. package/bin/{chunk-IO6USSOR.js → chunk-ISGWVNWR.js} +2 -2
  12. package/bin/{chunk-45QG53QO.js → chunk-MYE77FRZ.js} +2 -2
  13. package/bin/{chunk-DDFE47GK.js → chunk-O7K63CIM.js} +1 -1
  14. package/bin/{chunk-RR3RINPD.cjs → chunk-PHAJO75G.cjs} +14 -14
  15. package/bin/{chunk-TZHPMTUB.js → chunk-POCIJ4KY.js} +2 -2
  16. package/bin/{chunk-O2XCR2HL.js → chunk-SGG3XNHC.js} +2 -2
  17. package/bin/{chunk-RYLUXPY7.js → chunk-TPTHHJ6E.js} +2 -2
  18. package/bin/{chunk-PPQ262LX.cjs → chunk-TWM2ZLIZ.cjs} +5 -5
  19. package/bin/{chunk-ACRBEJOZ.cjs → chunk-VHN4HT54.cjs} +6 -6
  20. package/bin/{chunk-3JTCY4FN.js → chunk-WGNEWG4H.js} +1 -1
  21. package/bin/{chunk-IOHBJMO4.js → chunk-YG2FGT2E.js} +1 -1
  22. package/bin/{dist-7F7YQGX6.js → dist-47O6DXU6.js} +8 -8
  23. package/bin/{dist-KIQSP5NG.cjs → dist-6KYQKXIO.cjs} +206 -206
  24. package/bin/{dist-LHPRELOS.js → dist-UAJTOMXX.js} +2 -2
  25. package/bin/{dist-6D2XRESA.cjs → dist-ZQ75KLT3.cjs} +6 -6
  26. package/bin/{esm-5XROMPCN.cjs → esm-TGUJFVNB.cjs} +4 -4
  27. package/bin/{esm-ABX5UKUR.js → esm-WJXZYYXA.js} +1 -1
  28. package/bin/json5-LZTZZSQ5.js +10 -0
  29. package/bin/json5-MCAKOCAU.cjs +10 -0
  30. package/bin/{jsonc-CU6ZLPLP.js → jsonc-D5ISR43U.js} +3 -3
  31. package/bin/jsonc-NUG6VOQP.cjs +15 -0
  32. package/bin/lint.cjs +1980 -1978
  33. package/bin/lint.js +42 -40
  34. package/bin/{multipart-parser-RBL56ZB3.js → multipart-parser-J3F5VJAM.js} +2 -2
  35. package/bin/{multipart-parser-CS7TNB3L.cjs → multipart-parser-OTWCM3JQ.cjs} +6 -6
  36. package/bin/{package-json-4GWQYSER.cjs → package-json-EMRH66OJ.cjs} +94 -94
  37. package/bin/{package-json-432BJ4AG.js → package-json-V6M4PZS4.js} +2 -2
  38. package/bin/toml-ETJOHQVX.cjs +10 -0
  39. package/bin/toml-ZJ3CQPIE.js +10 -0
  40. package/bin/{utils-LHRM2T5I.cjs → utils-3YTE5QNV.cjs} +5 -5
  41. package/bin/{utils-DNE3GTI4.js → utils-PXDN5IOQ.js} +2 -2
  42. package/bin/yaml-2H6ELRGG.js +10 -0
  43. package/bin/yaml-727JIKA2.cjs +10 -0
  44. package/package.json +2 -2
  45. package/bin/json5-ERGSBO2A.cjs +0 -10
  46. package/bin/json5-G3NTHIFK.js +0 -10
  47. package/bin/jsonc-EVXQKAHE.cjs +0 -15
  48. package/bin/toml-PZOGQF5D.js +0 -10
  49. package/bin/toml-TBSOGUCX.cjs +0 -10
  50. package/bin/yaml-MTDKO7MM.js +0 -10
  51. package/bin/yaml-ZBVMJBBO.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-DDFE47GK.js";
6
+ } from "./chunk-O7K63CIM.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-SGQCORA2.js";
19
- import "./chunk-TZHPMTUB.js";
20
- import "./chunk-45QG53QO.js";
21
- import "./chunk-IO6USSOR.js";
22
- import "./chunk-O2XCR2HL.js";
23
- import "./chunk-IOHBJMO4.js";
18
+ } from "./chunk-C6RKFPCY.js";
19
+ import "./chunk-POCIJ4KY.js";
20
+ import "./chunk-MYE77FRZ.js";
21
+ import "./chunk-ISGWVNWR.js";
22
+ import "./chunk-SGG3XNHC.js";
23
+ import "./chunk-YG2FGT2E.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-RYLUXPY7.js";
34
+ } from "./chunk-TPTHHJ6E.js";
35
35
 
36
36
  // ../../node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/package.json
37
37
  var package_exports = {};
@@ -284219,11 +284219,11 @@ function interpolate(target, source = {}, parse9 = (v2) => v2) {
284219
284219
  }
284220
284220
  var _normalize = (p2) => p2?.replace(/\\/g, "/");
284221
284221
  var ASYNC_LOADERS = {
284222
- ".yaml": () => import("./yaml-MTDKO7MM.js").then((r8) => r8.parseYAML),
284223
- ".yml": () => import("./yaml-MTDKO7MM.js").then((r8) => r8.parseYAML),
284224
- ".jsonc": () => import("./jsonc-CU6ZLPLP.js").then((r8) => r8.parseJSONC),
284225
- ".json5": () => import("./json5-G3NTHIFK.js").then((r8) => r8.parseJSON5),
284226
- ".toml": () => import("./toml-PZOGQF5D.js").then((r8) => r8.parseTOML)
284222
+ ".yaml": () => import("./yaml-2H6ELRGG.js").then((r8) => r8.parseYAML),
284223
+ ".yml": () => import("./yaml-2H6ELRGG.js").then((r8) => r8.parseYAML),
284224
+ ".jsonc": () => import("./jsonc-D5ISR43U.js").then((r8) => r8.parseJSONC),
284225
+ ".json5": () => import("./json5-LZTZZSQ5.js").then((r8) => r8.parseJSON5),
284226
+ ".toml": () => import("./toml-ZJ3CQPIE.js").then((r8) => r8.parseTOML)
284227
284227
  };
284228
284228
  var SUPPORTED_EXTENSIONS = [
284229
284229
  // with jiti
@@ -284423,8 +284423,8 @@ async function resolveConfig(source, options, sourceOptions = {}) {
284423
284423
  }
284424
284424
  const _merger = options.merger || defu;
284425
284425
  if (options.giget !== false && GIGET_PREFIXES.some((prefix) => source.startsWith(prefix))) {
284426
- const { downloadTemplate } = await import("./dist-7F7YQGX6.js");
284427
- const { digest } = await import("./dist-LHPRELOS.js");
284426
+ const { downloadTemplate } = await import("./dist-47O6DXU6.js");
284427
+ const { digest } = await import("./dist-UAJTOMXX.js");
284428
284428
  const cloneName = source.replace(/\W+/g, "_").split("_").splice(0, 3).join("_") + "_" + digest(source).slice(0, 10).replace(/[-_]/g, "");
284429
284429
  let cloneDir;
284430
284430
  const localNodeModules = resolve(options.cwd, "node_modules");
@@ -340350,16 +340350,19 @@ async function githubAppJwt({
340350
340350
  };
340351
340351
  }
340352
340352
 
340353
- // ../../node_modules/.pnpm/toad-cache@3.7.1/node_modules/toad-cache/dist/toad-cache.mjs
340353
+ // ../../node_modules/.pnpm/toad-cache@3.7.4/node_modules/toad-cache/dist/toad-cache.mjs
340354
340354
  init_esm_shims();
340355
+ function validateCacheParams(max4, ttlInMsecs) {
340356
+ if (typeof max4 !== "number" || !Number.isInteger(max4) || max4 < 0) {
340357
+ throw new Error("Invalid max value");
340358
+ }
340359
+ if (typeof ttlInMsecs !== "number" || !Number.isInteger(ttlInMsecs) || ttlInMsecs < 0) {
340360
+ throw new Error("Invalid ttl value");
340361
+ }
340362
+ }
340355
340363
  var LruObject = class {
340356
340364
  constructor(max4 = 1e3, ttlInMsecs = 0) {
340357
- if (isNaN(max4) || max4 < 0) {
340358
- throw new Error("Invalid max value");
340359
- }
340360
- if (isNaN(ttlInMsecs) || ttlInMsecs < 0) {
340361
- throw new Error("Invalid ttl value");
340362
- }
340365
+ validateCacheParams(max4, ttlInMsecs);
340363
340366
  this.first = null;
340364
340367
  this.items = /* @__PURE__ */ Object.create(null);
340365
340368
  this.last = null;
@@ -340395,8 +340398,8 @@ var LruObject = class {
340395
340398
  this.size = 0;
340396
340399
  }
340397
340400
  delete(key) {
340398
- if (Object.prototype.hasOwnProperty.call(this.items, key)) {
340399
- const item = this.items[key];
340401
+ const item = this.items[key];
340402
+ if (item !== void 0) {
340400
340403
  delete this.items[key];
340401
340404
  this.size--;
340402
340405
  if (item.prev !== null) {
@@ -340432,13 +340435,14 @@ var LruObject = class {
340432
340435
  }
340433
340436
  }
340434
340437
  expiresAt(key) {
340435
- if (Object.prototype.hasOwnProperty.call(this.items, key)) {
340436
- return this.items[key].expiry;
340438
+ const item = this.items[key];
340439
+ if (item !== void 0) {
340440
+ return item.expiry;
340437
340441
  }
340438
340442
  }
340439
340443
  get(key) {
340440
- if (Object.prototype.hasOwnProperty.call(this.items, key)) {
340441
- const item = this.items[key];
340444
+ const item = this.items[key];
340445
+ if (item !== void 0) {
340442
340446
  if (this.ttl > 0 && item.expiry <= Date.now()) {
340443
340447
  this.delete(key);
340444
340448
  return;
@@ -340448,9 +340452,9 @@ var LruObject = class {
340448
340452
  }
340449
340453
  }
340450
340454
  getMany(keys4) {
340451
- const result = [];
340455
+ const result = new Array(keys4.length);
340452
340456
  for (var i5 = 0; i5 < keys4.length; i5++) {
340453
- result.push(this.get(keys4[i5]));
340457
+ result[i5] = this.get(keys4[i5]);
340454
340458
  }
340455
340459
  return result;
340456
340460
  }
@@ -340458,16 +340462,14 @@ var LruObject = class {
340458
340462
  return Object.keys(this.items);
340459
340463
  }
340460
340464
  set(key, value) {
340461
- if (Object.prototype.hasOwnProperty.call(this.items, key)) {
340462
- const item2 = this.items[key];
340463
- item2.value = value;
340464
- item2.expiry = this.ttl > 0 ? Date.now() + this.ttl : this.ttl;
340465
- if (this.last !== item2) {
340466
- this.bumpLru(item2);
340467
- }
340465
+ const existing = this.items[key];
340466
+ if (existing !== void 0) {
340467
+ existing.value = value;
340468
+ existing.expiry = this.ttl > 0 ? Date.now() + this.ttl : this.ttl;
340469
+ this.bumpLru(existing);
340468
340470
  return;
340469
340471
  }
340470
- if (this.max > 0 && this.size === this.max) {
340472
+ if (this.max > 0 && this.size >= this.max) {
340471
340473
  this.evict();
340472
340474
  }
340473
340475
  const item = {
@@ -343371,7 +343373,7 @@ async function upgradeDependency([name3, tag = "latest"]) {
343371
343373
  var npmRequestLimit = (0, import_p_limit2.default)(40);
343372
343374
  function getPackageInfo(pkgName) {
343373
343375
  return npmRequestLimit(async () => {
343374
- const getPackageJson = (await import("./package-json-432BJ4AG.js")).default;
343376
+ const getPackageJson = (await import("./package-json-V6M4PZS4.js")).default;
343375
343377
  return getPackageJson(pkgName, {
343376
343378
  allVersions: true
343377
343379
  });
@@ -344264,6 +344266,6 @@ toad-cache/dist/toad-cache.mjs:
344264
344266
  *
344265
344267
  * @copyright 2026 Igor Savin <kibertoad@gmail.com>
344266
344268
  * @license MIT
344267
- * @version 3.7.0
344269
+ * @version 3.7.3
344268
344270
  *)
344269
344271
  */
@@ -3,11 +3,11 @@ import {
3
3
  init_node,
4
4
  init_node_fetch_native_DfbY2q_x,
5
5
  qn
6
- } from "./chunk-3O7WH4BA.js";
6
+ } from "./chunk-ECKNXG7K.js";
7
7
  import {
8
8
  __esm,
9
9
  init_esm_shims
10
- } from "./chunk-RYLUXPY7.js";
10
+ } from "./chunk-TPTHHJ6E.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 _chunkC2K4L4BAcjs = require('./chunk-C2K4L4BA.cjs');
4
+ var _chunkEJBGHVBScjs = require('./chunk-EJBGHVBS.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunkGH4CBGG7cjs = require('./chunk-GH4CBGG7.cjs');
9
+ var _chunk3GT3NMHAcjs = require('./chunk-3GT3NMHA.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 = _chunkGH4CBGG7cjs.__commonJS.call(void 0, {
12
+ var require_multipart_parser = _chunk3GT3NMHAcjs.__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
- _chunkGH4CBGG7cjs.init_cjs_shims.call(void 0, );
14
+ _chunk3GT3NMHAcjs.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 = _chunkC2K4L4BAcjs.require_node.call(void 0, );
18
- _chunkGH4CBGG7cjs.__require.call(void 0, "http"), _chunkGH4CBGG7cjs.__require.call(void 0, "https"), _chunkGH4CBGG7cjs.__require.call(void 0, "zlib"), _chunkGH4CBGG7cjs.__require.call(void 0, "stream"), _chunkGH4CBGG7cjs.__require.call(void 0, "buffer"), _chunkGH4CBGG7cjs.__require.call(void 0, "util"), _chunkC2K4L4BAcjs.require_node_fetch_native_DhEqb06g.call(void 0, ), _chunkGH4CBGG7cjs.__require.call(void 0, "url"), _chunkGH4CBGG7cjs.__require.call(void 0, "net"), _chunkGH4CBGG7cjs.__require.call(void 0, "fs"), _chunkGH4CBGG7cjs.__require.call(void 0, "path");
17
+ var node = _chunkEJBGHVBScjs.require_node.call(void 0, );
18
+ _chunk3GT3NMHAcjs.__require.call(void 0, "http"), _chunk3GT3NMHAcjs.__require.call(void 0, "https"), _chunk3GT3NMHAcjs.__require.call(void 0, "zlib"), _chunk3GT3NMHAcjs.__require.call(void 0, "stream"), _chunk3GT3NMHAcjs.__require.call(void 0, "buffer"), _chunk3GT3NMHAcjs.__require.call(void 0, "util"), _chunkEJBGHVBScjs.require_node_fetch_native_DhEqb06g.call(void 0, ), _chunk3GT3NMHAcjs.__require.call(void 0, "url"), _chunk3GT3NMHAcjs.__require.call(void 0, "net"), _chunk3GT3NMHAcjs.__require.call(void 0, "fs"), _chunk3GT3NMHAcjs.__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;