@storm-software/linting-tools 1.134.13 → 1.134.14
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/lint.cjs +26 -24
- package/bin/lint.js +26 -24
- package/package.json +2 -2
package/bin/lint.cjs
CHANGED
|
@@ -349342,16 +349342,19 @@ async function githubAppJwt({
|
|
|
349342
349342
|
};
|
|
349343
349343
|
}
|
|
349344
349344
|
|
|
349345
|
-
// ../../node_modules/.pnpm/toad-cache@3.7.
|
|
349345
|
+
// ../../node_modules/.pnpm/toad-cache@3.7.4/node_modules/toad-cache/dist/toad-cache.mjs
|
|
349346
349346
|
_chunkGH4CBGG7cjs.init_cjs_shims.call(void 0, );
|
|
349347
|
+
function validateCacheParams(max4, ttlInMsecs) {
|
|
349348
|
+
if (typeof max4 !== "number" || !Number.isInteger(max4) || max4 < 0) {
|
|
349349
|
+
throw new Error("Invalid max value");
|
|
349350
|
+
}
|
|
349351
|
+
if (typeof ttlInMsecs !== "number" || !Number.isInteger(ttlInMsecs) || ttlInMsecs < 0) {
|
|
349352
|
+
throw new Error("Invalid ttl value");
|
|
349353
|
+
}
|
|
349354
|
+
}
|
|
349347
349355
|
var LruObject = class {
|
|
349348
349356
|
constructor(max4 = 1e3, ttlInMsecs = 0) {
|
|
349349
|
-
|
|
349350
|
-
throw new Error("Invalid max value");
|
|
349351
|
-
}
|
|
349352
|
-
if (isNaN(ttlInMsecs) || ttlInMsecs < 0) {
|
|
349353
|
-
throw new Error("Invalid ttl value");
|
|
349354
|
-
}
|
|
349357
|
+
validateCacheParams(max4, ttlInMsecs);
|
|
349355
349358
|
this.first = null;
|
|
349356
349359
|
this.items = /* @__PURE__ */ Object.create(null);
|
|
349357
349360
|
this.last = null;
|
|
@@ -349387,8 +349390,8 @@ var LruObject = class {
|
|
|
349387
349390
|
this.size = 0;
|
|
349388
349391
|
}
|
|
349389
349392
|
delete(key) {
|
|
349390
|
-
|
|
349391
|
-
|
|
349393
|
+
const item = this.items[key];
|
|
349394
|
+
if (item !== void 0) {
|
|
349392
349395
|
delete this.items[key];
|
|
349393
349396
|
this.size--;
|
|
349394
349397
|
if (item.prev !== null) {
|
|
@@ -349424,13 +349427,14 @@ var LruObject = class {
|
|
|
349424
349427
|
}
|
|
349425
349428
|
}
|
|
349426
349429
|
expiresAt(key) {
|
|
349427
|
-
|
|
349428
|
-
|
|
349430
|
+
const item = this.items[key];
|
|
349431
|
+
if (item !== void 0) {
|
|
349432
|
+
return item.expiry;
|
|
349429
349433
|
}
|
|
349430
349434
|
}
|
|
349431
349435
|
get(key) {
|
|
349432
|
-
|
|
349433
|
-
|
|
349436
|
+
const item = this.items[key];
|
|
349437
|
+
if (item !== void 0) {
|
|
349434
349438
|
if (this.ttl > 0 && item.expiry <= Date.now()) {
|
|
349435
349439
|
this.delete(key);
|
|
349436
349440
|
return;
|
|
@@ -349440,9 +349444,9 @@ var LruObject = class {
|
|
|
349440
349444
|
}
|
|
349441
349445
|
}
|
|
349442
349446
|
getMany(keys3) {
|
|
349443
|
-
const result =
|
|
349447
|
+
const result = new Array(keys3.length);
|
|
349444
349448
|
for (var i4 = 0; i4 < keys3.length; i4++) {
|
|
349445
|
-
result
|
|
349449
|
+
result[i4] = this.get(keys3[i4]);
|
|
349446
349450
|
}
|
|
349447
349451
|
return result;
|
|
349448
349452
|
}
|
|
@@ -349450,16 +349454,14 @@ var LruObject = class {
|
|
|
349450
349454
|
return Object.keys(this.items);
|
|
349451
349455
|
}
|
|
349452
349456
|
set(key, value) {
|
|
349453
|
-
|
|
349454
|
-
|
|
349455
|
-
|
|
349456
|
-
|
|
349457
|
-
|
|
349458
|
-
this.bumpLru(item2);
|
|
349459
|
-
}
|
|
349457
|
+
const existing = this.items[key];
|
|
349458
|
+
if (existing !== void 0) {
|
|
349459
|
+
existing.value = value;
|
|
349460
|
+
existing.expiry = this.ttl > 0 ? Date.now() + this.ttl : this.ttl;
|
|
349461
|
+
this.bumpLru(existing);
|
|
349460
349462
|
return;
|
|
349461
349463
|
}
|
|
349462
|
-
if (this.max > 0 && this.size
|
|
349464
|
+
if (this.max > 0 && this.size >= this.max) {
|
|
349463
349465
|
this.evict();
|
|
349464
349466
|
}
|
|
349465
349467
|
const item = {
|
|
@@ -353256,6 +353258,6 @@ toad-cache/dist/toad-cache.mjs:
|
|
|
353256
353258
|
*
|
|
353257
353259
|
* @copyright 2026 Igor Savin <kibertoad@gmail.com>
|
|
353258
353260
|
* @license MIT
|
|
353259
|
-
* @version 3.7.
|
|
353261
|
+
* @version 3.7.3
|
|
353260
353262
|
*)
|
|
353261
353263
|
*/
|
package/bin/lint.js
CHANGED
|
@@ -340350,16 +340350,19 @@ async function githubAppJwt({
|
|
|
340350
340350
|
};
|
|
340351
340351
|
}
|
|
340352
340352
|
|
|
340353
|
-
// ../../node_modules/.pnpm/toad-cache@3.7.
|
|
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
|
-
|
|
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
|
-
|
|
340399
|
-
|
|
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
|
-
|
|
340436
|
-
|
|
340438
|
+
const item = this.items[key];
|
|
340439
|
+
if (item !== void 0) {
|
|
340440
|
+
return item.expiry;
|
|
340437
340441
|
}
|
|
340438
340442
|
}
|
|
340439
340443
|
get(key) {
|
|
340440
|
-
|
|
340441
|
-
|
|
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
|
|
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
|
-
|
|
340462
|
-
|
|
340463
|
-
|
|
340464
|
-
|
|
340465
|
-
|
|
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
|
|
340472
|
+
if (this.max > 0 && this.size >= this.max) {
|
|
340471
340473
|
this.evict();
|
|
340472
340474
|
}
|
|
340473
340475
|
const item = {
|
|
@@ -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.
|
|
344269
|
+
* @version 3.7.3
|
|
344268
344270
|
*)
|
|
344269
344271
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/linting-tools",
|
|
3
|
-
"version": "1.134.
|
|
3
|
+
"version": "1.134.14",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "⚡ A package containing various linting tools used to validate syntax, enforce design standards, and format code in a Storm workspace.",
|
|
6
6
|
"keywords": [
|
|
@@ -158,5 +158,5 @@
|
|
|
158
158
|
"vfile-reporter": "8.1.1"
|
|
159
159
|
},
|
|
160
160
|
"publishConfig": { "access": "public" },
|
|
161
|
-
"gitHead": "
|
|
161
|
+
"gitHead": "aea7e733397ea93170417b096bb3b424dacd487a"
|
|
162
162
|
}
|