@storm-software/linting-tools 1.132.13 → 1.132.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/README.md +1 -1
- package/bin/lint.cjs +32 -18
- package/bin/lint.js +32 -18
- package/package.json +2 -2
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/bin/lint.cjs
CHANGED
|
@@ -367655,7 +367655,7 @@ var import_fs_extra = _chunkJVFVAT7Wcjs.__toESM.call(void 0, require_lib6(), 1);
|
|
|
367655
367655
|
// ../../node_modules/.pnpm/glob@11.0.3/node_modules/glob/dist/esm/index.js
|
|
367656
367656
|
_chunkJVFVAT7Wcjs.init_cjs_shims.call(void 0, );
|
|
367657
367657
|
|
|
367658
|
-
// ../../node_modules/.pnpm/minimatch@10.
|
|
367658
|
+
// ../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/esm/index.js
|
|
367659
367659
|
_chunkJVFVAT7Wcjs.init_cjs_shims.call(void 0, );
|
|
367660
367660
|
|
|
367661
367661
|
// ../../node_modules/.pnpm/@isaacs+brace-expansion@5.0.0/node_modules/@isaacs/brace-expansion/dist/esm/index.js
|
|
@@ -367873,7 +367873,7 @@ function expand_(str2, isTop) {
|
|
|
367873
367873
|
return expansions;
|
|
367874
367874
|
}
|
|
367875
367875
|
|
|
367876
|
-
// ../../node_modules/.pnpm/minimatch@10.
|
|
367876
|
+
// ../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/esm/assert-valid-pattern.js
|
|
367877
367877
|
_chunkJVFVAT7Wcjs.init_cjs_shims.call(void 0, );
|
|
367878
367878
|
var MAX_PATTERN_LENGTH2 = 1024 * 64;
|
|
367879
367879
|
var assertValidPattern2 = (pattern) => {
|
|
@@ -367885,10 +367885,10 @@ var assertValidPattern2 = (pattern) => {
|
|
|
367885
367885
|
}
|
|
367886
367886
|
};
|
|
367887
367887
|
|
|
367888
|
-
// ../../node_modules/.pnpm/minimatch@10.
|
|
367888
|
+
// ../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/esm/ast.js
|
|
367889
367889
|
_chunkJVFVAT7Wcjs.init_cjs_shims.call(void 0, );
|
|
367890
367890
|
|
|
367891
|
-
// ../../node_modules/.pnpm/minimatch@10.
|
|
367891
|
+
// ../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/esm/brace-expressions.js
|
|
367892
367892
|
_chunkJVFVAT7Wcjs.init_cjs_shims.call(void 0, );
|
|
367893
367893
|
var posixClasses2 = {
|
|
367894
367894
|
"[:alnum:]": ["\\p{L}\\p{Nl}\\p{Nd}", true],
|
|
@@ -367998,13 +367998,16 @@ var parseClass2 = (glob5, position3) => {
|
|
|
367998
367998
|
return [comb, uflag, endPos - pos, true];
|
|
367999
367999
|
};
|
|
368000
368000
|
|
|
368001
|
-
// ../../node_modules/.pnpm/minimatch@10.
|
|
368001
|
+
// ../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/esm/unescape.js
|
|
368002
368002
|
_chunkJVFVAT7Wcjs.init_cjs_shims.call(void 0, );
|
|
368003
|
-
var unescape4 = (s, { windowsPathsNoEscape = false } = {}) => {
|
|
368004
|
-
|
|
368003
|
+
var unescape4 = (s, { windowsPathsNoEscape = false, magicalBraces = true } = {}) => {
|
|
368004
|
+
if (magicalBraces) {
|
|
368005
|
+
return windowsPathsNoEscape ? s.replace(/\[([^\/\\])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^\/\\])\]/g, "$1$2").replace(/\\([^\/])/g, "$1");
|
|
368006
|
+
}
|
|
368007
|
+
return windowsPathsNoEscape ? s.replace(/\[([^\/\\{}])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^\/\\{}])\]/g, "$1$2").replace(/\\([^\/{}])/g, "$1");
|
|
368005
368008
|
};
|
|
368006
368009
|
|
|
368007
|
-
// ../../node_modules/.pnpm/minimatch@10.
|
|
368010
|
+
// ../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/esm/ast.js
|
|
368008
368011
|
var types2 = /* @__PURE__ */ new Set(["!", "?", "+", "*", "@"]);
|
|
368009
368012
|
var isExtglobType2 = (c) => types2.has(c);
|
|
368010
368013
|
var startNoTraversal2 = "(?!(?:^|/)\\.\\.?(?:$|/))";
|
|
@@ -368355,7 +368358,7 @@ var AST2 = class _AST {
|
|
|
368355
368358
|
if (this.#root === this)
|
|
368356
368359
|
this.#fillNegs();
|
|
368357
368360
|
if (!this.type) {
|
|
368358
|
-
const noEmpty = this.isStart() && this.isEnd();
|
|
368361
|
+
const noEmpty = this.isStart() && this.isEnd() && !this.#parts.some((s) => typeof s !== "string");
|
|
368359
368362
|
const src = this.#parts.map((p) => {
|
|
368360
368363
|
const [re, _, hasMagic3, uflag] = typeof p === "string" ? _AST.#parseGlob(p, this.#hasMagic, noEmpty) : p.toRegExpSource(allowDot);
|
|
368361
368364
|
this.#hasMagic = this.#hasMagic || hasMagic3;
|
|
@@ -368465,10 +368468,7 @@ var AST2 = class _AST {
|
|
|
368465
368468
|
}
|
|
368466
368469
|
}
|
|
368467
368470
|
if (c === "*") {
|
|
368468
|
-
|
|
368469
|
-
re += starNoEmpty2;
|
|
368470
|
-
else
|
|
368471
|
-
re += star3;
|
|
368471
|
+
re += noEmpty && glob5 === "*" ? starNoEmpty2 : star3;
|
|
368472
368472
|
hasMagic3 = true;
|
|
368473
368473
|
continue;
|
|
368474
368474
|
}
|
|
@@ -368483,13 +368483,16 @@ var AST2 = class _AST {
|
|
|
368483
368483
|
}
|
|
368484
368484
|
};
|
|
368485
368485
|
|
|
368486
|
-
// ../../node_modules/.pnpm/minimatch@10.
|
|
368486
|
+
// ../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/esm/escape.js
|
|
368487
368487
|
_chunkJVFVAT7Wcjs.init_cjs_shims.call(void 0, );
|
|
368488
|
-
var escape3 = (s, { windowsPathsNoEscape = false } = {}) => {
|
|
368488
|
+
var escape3 = (s, { windowsPathsNoEscape = false, magicalBraces = false } = {}) => {
|
|
368489
|
+
if (magicalBraces) {
|
|
368490
|
+
return windowsPathsNoEscape ? s.replace(/[?*()[\]{}]/g, "[$&]") : s.replace(/[?*()[\]\\{}]/g, "\\$&");
|
|
368491
|
+
}
|
|
368489
368492
|
return windowsPathsNoEscape ? s.replace(/[?*()[\]]/g, "[$&]") : s.replace(/[?*()[\]\\]/g, "\\$&");
|
|
368490
368493
|
};
|
|
368491
368494
|
|
|
368492
|
-
// ../../node_modules/.pnpm/minimatch@10.
|
|
368495
|
+
// ../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/esm/index.js
|
|
368493
368496
|
var minimatch2 = (p, pattern, options = {}) => {
|
|
368494
368497
|
assertValidPattern2(pattern);
|
|
368495
368498
|
if (!options.nocomment && pattern.charAt(0) === "#") {
|
|
@@ -369126,16 +369129,27 @@ var Minimatch2 = class {
|
|
|
369126
369129
|
pp[i] = twoStar;
|
|
369127
369130
|
}
|
|
369128
369131
|
} else if (next === void 0) {
|
|
369129
|
-
pp[i - 1] = prev + "(
|
|
369132
|
+
pp[i - 1] = prev + "(?:\\/|\\/" + twoStar + ")?";
|
|
369130
369133
|
} else if (next !== GLOBSTAR2) {
|
|
369131
369134
|
pp[i - 1] = prev + "(?:\\/|\\/" + twoStar + "\\/)" + next;
|
|
369132
369135
|
pp[i + 1] = GLOBSTAR2;
|
|
369133
369136
|
}
|
|
369134
369137
|
});
|
|
369135
|
-
|
|
369138
|
+
const filtered = pp.filter((p) => p !== GLOBSTAR2);
|
|
369139
|
+
if (this.partial && filtered.length >= 1) {
|
|
369140
|
+
const prefixes = [];
|
|
369141
|
+
for (let i = 1; i <= filtered.length; i++) {
|
|
369142
|
+
prefixes.push(filtered.slice(0, i).join("/"));
|
|
369143
|
+
}
|
|
369144
|
+
return "(?:" + prefixes.join("|") + ")";
|
|
369145
|
+
}
|
|
369146
|
+
return filtered.join("/");
|
|
369136
369147
|
}).join("|");
|
|
369137
369148
|
const [open2, close] = set4.length > 1 ? ["(?:", ")"] : ["", ""];
|
|
369138
369149
|
re = "^" + open2 + re + close + "$";
|
|
369150
|
+
if (this.partial) {
|
|
369151
|
+
re = "^(?:\\/|" + open2 + re.slice(1, -1) + close + ")$";
|
|
369152
|
+
}
|
|
369139
369153
|
if (this.negate)
|
|
369140
369154
|
re = "^(?!" + re + ").+$";
|
|
369141
369155
|
try {
|
package/bin/lint.js
CHANGED
|
@@ -359267,7 +359267,7 @@ var import_fs_extra = __toESM(require_lib6(), 1);
|
|
|
359267
359267
|
// ../../node_modules/.pnpm/glob@11.0.3/node_modules/glob/dist/esm/index.js
|
|
359268
359268
|
init_esm_shims();
|
|
359269
359269
|
|
|
359270
|
-
// ../../node_modules/.pnpm/minimatch@10.
|
|
359270
|
+
// ../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/esm/index.js
|
|
359271
359271
|
init_esm_shims();
|
|
359272
359272
|
|
|
359273
359273
|
// ../../node_modules/.pnpm/@isaacs+brace-expansion@5.0.0/node_modules/@isaacs/brace-expansion/dist/esm/index.js
|
|
@@ -359485,7 +359485,7 @@ function expand_(str2, isTop) {
|
|
|
359485
359485
|
return expansions;
|
|
359486
359486
|
}
|
|
359487
359487
|
|
|
359488
|
-
// ../../node_modules/.pnpm/minimatch@10.
|
|
359488
|
+
// ../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/esm/assert-valid-pattern.js
|
|
359489
359489
|
init_esm_shims();
|
|
359490
359490
|
var MAX_PATTERN_LENGTH2 = 1024 * 64;
|
|
359491
359491
|
var assertValidPattern2 = (pattern) => {
|
|
@@ -359497,10 +359497,10 @@ var assertValidPattern2 = (pattern) => {
|
|
|
359497
359497
|
}
|
|
359498
359498
|
};
|
|
359499
359499
|
|
|
359500
|
-
// ../../node_modules/.pnpm/minimatch@10.
|
|
359500
|
+
// ../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/esm/ast.js
|
|
359501
359501
|
init_esm_shims();
|
|
359502
359502
|
|
|
359503
|
-
// ../../node_modules/.pnpm/minimatch@10.
|
|
359503
|
+
// ../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/esm/brace-expressions.js
|
|
359504
359504
|
init_esm_shims();
|
|
359505
359505
|
var posixClasses2 = {
|
|
359506
359506
|
"[:alnum:]": ["\\p{L}\\p{Nl}\\p{Nd}", true],
|
|
@@ -359610,13 +359610,16 @@ var parseClass2 = (glob5, position3) => {
|
|
|
359610
359610
|
return [comb, uflag, endPos - pos, true];
|
|
359611
359611
|
};
|
|
359612
359612
|
|
|
359613
|
-
// ../../node_modules/.pnpm/minimatch@10.
|
|
359613
|
+
// ../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/esm/unescape.js
|
|
359614
359614
|
init_esm_shims();
|
|
359615
|
-
var unescape4 = (s, { windowsPathsNoEscape = false } = {}) => {
|
|
359616
|
-
|
|
359615
|
+
var unescape4 = (s, { windowsPathsNoEscape = false, magicalBraces = true } = {}) => {
|
|
359616
|
+
if (magicalBraces) {
|
|
359617
|
+
return windowsPathsNoEscape ? s.replace(/\[([^\/\\])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^\/\\])\]/g, "$1$2").replace(/\\([^\/])/g, "$1");
|
|
359618
|
+
}
|
|
359619
|
+
return windowsPathsNoEscape ? s.replace(/\[([^\/\\{}])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^\/\\{}])\]/g, "$1$2").replace(/\\([^\/{}])/g, "$1");
|
|
359617
359620
|
};
|
|
359618
359621
|
|
|
359619
|
-
// ../../node_modules/.pnpm/minimatch@10.
|
|
359622
|
+
// ../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/esm/ast.js
|
|
359620
359623
|
var types4 = /* @__PURE__ */ new Set(["!", "?", "+", "*", "@"]);
|
|
359621
359624
|
var isExtglobType2 = (c) => types4.has(c);
|
|
359622
359625
|
var startNoTraversal2 = "(?!(?:^|/)\\.\\.?(?:$|/))";
|
|
@@ -359967,7 +359970,7 @@ var AST2 = class _AST {
|
|
|
359967
359970
|
if (this.#root === this)
|
|
359968
359971
|
this.#fillNegs();
|
|
359969
359972
|
if (!this.type) {
|
|
359970
|
-
const noEmpty = this.isStart() && this.isEnd();
|
|
359973
|
+
const noEmpty = this.isStart() && this.isEnd() && !this.#parts.some((s) => typeof s !== "string");
|
|
359971
359974
|
const src = this.#parts.map((p) => {
|
|
359972
359975
|
const [re, _, hasMagic3, uflag] = typeof p === "string" ? _AST.#parseGlob(p, this.#hasMagic, noEmpty) : p.toRegExpSource(allowDot);
|
|
359973
359976
|
this.#hasMagic = this.#hasMagic || hasMagic3;
|
|
@@ -360077,10 +360080,7 @@ var AST2 = class _AST {
|
|
|
360077
360080
|
}
|
|
360078
360081
|
}
|
|
360079
360082
|
if (c === "*") {
|
|
360080
|
-
|
|
360081
|
-
re += starNoEmpty2;
|
|
360082
|
-
else
|
|
360083
|
-
re += star3;
|
|
360083
|
+
re += noEmpty && glob5 === "*" ? starNoEmpty2 : star3;
|
|
360084
360084
|
hasMagic3 = true;
|
|
360085
360085
|
continue;
|
|
360086
360086
|
}
|
|
@@ -360095,13 +360095,16 @@ var AST2 = class _AST {
|
|
|
360095
360095
|
}
|
|
360096
360096
|
};
|
|
360097
360097
|
|
|
360098
|
-
// ../../node_modules/.pnpm/minimatch@10.
|
|
360098
|
+
// ../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/esm/escape.js
|
|
360099
360099
|
init_esm_shims();
|
|
360100
|
-
var escape3 = (s, { windowsPathsNoEscape = false } = {}) => {
|
|
360100
|
+
var escape3 = (s, { windowsPathsNoEscape = false, magicalBraces = false } = {}) => {
|
|
360101
|
+
if (magicalBraces) {
|
|
360102
|
+
return windowsPathsNoEscape ? s.replace(/[?*()[\]{}]/g, "[$&]") : s.replace(/[?*()[\]\\{}]/g, "\\$&");
|
|
360103
|
+
}
|
|
360101
360104
|
return windowsPathsNoEscape ? s.replace(/[?*()[\]]/g, "[$&]") : s.replace(/[?*()[\]\\]/g, "\\$&");
|
|
360102
360105
|
};
|
|
360103
360106
|
|
|
360104
|
-
// ../../node_modules/.pnpm/minimatch@10.
|
|
360107
|
+
// ../../node_modules/.pnpm/minimatch@10.1.1/node_modules/minimatch/dist/esm/index.js
|
|
360105
360108
|
var minimatch2 = (p, pattern, options = {}) => {
|
|
360106
360109
|
assertValidPattern2(pattern);
|
|
360107
360110
|
if (!options.nocomment && pattern.charAt(0) === "#") {
|
|
@@ -360738,16 +360741,27 @@ var Minimatch2 = class {
|
|
|
360738
360741
|
pp[i] = twoStar;
|
|
360739
360742
|
}
|
|
360740
360743
|
} else if (next === void 0) {
|
|
360741
|
-
pp[i - 1] = prev + "(
|
|
360744
|
+
pp[i - 1] = prev + "(?:\\/|\\/" + twoStar + ")?";
|
|
360742
360745
|
} else if (next !== GLOBSTAR2) {
|
|
360743
360746
|
pp[i - 1] = prev + "(?:\\/|\\/" + twoStar + "\\/)" + next;
|
|
360744
360747
|
pp[i + 1] = GLOBSTAR2;
|
|
360745
360748
|
}
|
|
360746
360749
|
});
|
|
360747
|
-
|
|
360750
|
+
const filtered = pp.filter((p) => p !== GLOBSTAR2);
|
|
360751
|
+
if (this.partial && filtered.length >= 1) {
|
|
360752
|
+
const prefixes = [];
|
|
360753
|
+
for (let i = 1; i <= filtered.length; i++) {
|
|
360754
|
+
prefixes.push(filtered.slice(0, i).join("/"));
|
|
360755
|
+
}
|
|
360756
|
+
return "(?:" + prefixes.join("|") + ")";
|
|
360757
|
+
}
|
|
360758
|
+
return filtered.join("/");
|
|
360748
360759
|
}).join("|");
|
|
360749
360760
|
const [open2, close] = set5.length > 1 ? ["(?:", ")"] : ["", ""];
|
|
360750
360761
|
re = "^" + open2 + re + close + "$";
|
|
360762
|
+
if (this.partial) {
|
|
360763
|
+
re = "^(?:\\/|" + open2 + re.slice(1, -1) + close + ")$";
|
|
360764
|
+
}
|
|
360751
360765
|
if (this.negate)
|
|
360752
360766
|
re = "^(?!" + re + ").+$";
|
|
360753
360767
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/linting-tools",
|
|
3
|
-
"version": "1.132.
|
|
3
|
+
"version": "1.132.14",
|
|
4
4
|
"type": "module",
|
|
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
|
"repository": {
|
|
@@ -149,5 +149,5 @@
|
|
|
149
149
|
"vfile-reporter": "8.1.1"
|
|
150
150
|
},
|
|
151
151
|
"publishConfig": { "access": "public" },
|
|
152
|
-
"gitHead": "
|
|
152
|
+
"gitHead": "a51dd1ca06b750b49fb67496f39ae084f988ca4f"
|
|
153
153
|
}
|