@storm-software/linting-tools 1.133.26 → 1.133.28

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 CHANGED
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-1.133.24-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
30
+ [![Version](https://img.shields.io/badge/version-1.133.26-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
package/bin/lint.cjs CHANGED
@@ -37786,9 +37786,9 @@ var require_balanced_match = _chunkCHYMQC2Dcjs.__commonJS.call(void 0, {
37786
37786
  }
37787
37787
  });
37788
37788
 
37789
- // ../../node_modules/.pnpm/brace-expansion@2.0.3/node_modules/brace-expansion/index.js
37789
+ // ../../node_modules/.pnpm/brace-expansion@2.1.0/node_modules/brace-expansion/index.js
37790
37790
  var require_brace_expansion = _chunkCHYMQC2Dcjs.__commonJS.call(void 0, {
37791
- "../../node_modules/.pnpm/brace-expansion@2.0.3/node_modules/brace-expansion/index.js"(exports, module) {
37791
+ "../../node_modules/.pnpm/brace-expansion@2.1.0/node_modules/brace-expansion/index.js"(exports, module) {
37792
37792
  _chunkCHYMQC2Dcjs.init_cjs_shims.call(void 0, );
37793
37793
  var balanced2 = require_balanced_match();
37794
37794
  module.exports = expandTop;
@@ -37826,13 +37826,15 @@ var require_brace_expansion = _chunkCHYMQC2Dcjs.__commonJS.call(void 0, {
37826
37826
  parts.push.apply(parts, p);
37827
37827
  return parts;
37828
37828
  }
37829
- function expandTop(str2) {
37829
+ function expandTop(str2, options) {
37830
37830
  if (!str2)
37831
37831
  return [];
37832
+ options = options || {};
37833
+ var max4 = options.max == null ? Infinity : options.max;
37832
37834
  if (str2.substr(0, 2) === "{}") {
37833
37835
  str2 = "\\{\\}" + str2.substr(2);
37834
37836
  }
37835
- return expand5(escapeBraces2(str2), true).map(unescapeBraces2);
37837
+ return expand5(escapeBraces2(str2), max4, true).map(unescapeBraces2);
37836
37838
  }
37837
37839
  function embrace2(str2) {
37838
37840
  return "{" + str2 + "}";
@@ -37846,14 +37848,14 @@ var require_brace_expansion = _chunkCHYMQC2Dcjs.__commonJS.call(void 0, {
37846
37848
  function gte2(i, y) {
37847
37849
  return i >= y;
37848
37850
  }
37849
- function expand5(str2, isTop) {
37851
+ function expand5(str2, max4, isTop) {
37850
37852
  var expansions = [];
37851
37853
  var m = balanced2("{", "}", str2);
37852
37854
  if (!m) return [str2];
37853
37855
  var pre = m.pre;
37854
- var post = m.post.length ? expand5(m.post, false) : [""];
37856
+ var post = m.post.length ? expand5(m.post, max4, false) : [""];
37855
37857
  if (/\$$/.test(m.pre)) {
37856
- for (var k = 0; k < post.length; k++) {
37858
+ for (var k = 0; k < post.length && k < max4; k++) {
37857
37859
  var expansion = pre + "{" + m.body + "}" + post[k];
37858
37860
  expansions.push(expansion);
37859
37861
  }
@@ -37865,7 +37867,7 @@ var require_brace_expansion = _chunkCHYMQC2Dcjs.__commonJS.call(void 0, {
37865
37867
  if (!isSequence && !isOptions) {
37866
37868
  if (m.post.match(/,(?!,).*\}/)) {
37867
37869
  str2 = m.pre + "{" + m.body + escClose2 + m.post;
37868
- return expand5(str2);
37870
+ return expand5(str2, max4, true);
37869
37871
  }
37870
37872
  return [str2];
37871
37873
  }
@@ -37875,7 +37877,7 @@ var require_brace_expansion = _chunkCHYMQC2Dcjs.__commonJS.call(void 0, {
37875
37877
  } else {
37876
37878
  n = parseCommaParts2(m.body);
37877
37879
  if (n.length === 1) {
37878
- n = expand5(n[0], false).map(embrace2);
37880
+ n = expand5(n[0], max4, false).map(embrace2);
37879
37881
  if (n.length === 1) {
37880
37882
  return post.map(function(p) {
37881
37883
  return m.pre + n[0] + p;
@@ -37921,11 +37923,11 @@ var require_brace_expansion = _chunkCHYMQC2Dcjs.__commonJS.call(void 0, {
37921
37923
  } else {
37922
37924
  N = [];
37923
37925
  for (var j2 = 0; j2 < n.length; j2++) {
37924
- N.push.apply(N, expand5(n[j2], false));
37926
+ N.push.apply(N, expand5(n[j2], max4, false));
37925
37927
  }
37926
37928
  }
37927
37929
  for (var j2 = 0; j2 < N.length; j2++) {
37928
- for (var k = 0; k < post.length; k++) {
37930
+ for (var k = 0; k < post.length && expansions.length < max4; k++) {
37929
37931
  var expansion = pre + N[j2] + post[k];
37930
37932
  if (!isTop || isSequence || expansion)
37931
37933
  expansions.push(expansion);
@@ -338990,7 +338992,7 @@ _chunkCHYMQC2Dcjs.init_cjs_shims.call(void 0, );
338990
338992
  // ../../node_modules/.pnpm/path-scurry@2.0.2/node_modules/path-scurry/dist/esm/index.js
338991
338993
  _chunkCHYMQC2Dcjs.init_cjs_shims.call(void 0, );
338992
338994
 
338993
- // ../../node_modules/.pnpm/lru-cache@11.3.3/node_modules/lru-cache/dist/esm/node/index.min.js
338995
+ // ../../node_modules/.pnpm/lru-cache@11.3.5/node_modules/lru-cache/dist/esm/node/index.min.js
338994
338996
  _chunkCHYMQC2Dcjs.init_cjs_shims.call(void 0, );
338995
338997
  var _diagnostics_channel = require('diagnostics_channel');
338996
338998
  var S = _diagnostics_channel.channel.call(void 0, "lru-cache:metrics");
package/bin/lint.js CHANGED
@@ -40896,9 +40896,9 @@ var require_balanced_match = __commonJS({
40896
40896
  }
40897
40897
  });
40898
40898
 
40899
- // ../../node_modules/.pnpm/brace-expansion@2.0.3/node_modules/brace-expansion/index.js
40899
+ // ../../node_modules/.pnpm/brace-expansion@2.1.0/node_modules/brace-expansion/index.js
40900
40900
  var require_brace_expansion = __commonJS({
40901
- "../../node_modules/.pnpm/brace-expansion@2.0.3/node_modules/brace-expansion/index.js"(exports2, module) {
40901
+ "../../node_modules/.pnpm/brace-expansion@2.1.0/node_modules/brace-expansion/index.js"(exports2, module) {
40902
40902
  init_esm_shims();
40903
40903
  var __import_balancedMatch = __toESM(require_balanced_match());
40904
40904
  var balanced2 = __import_balancedMatch;
@@ -40937,13 +40937,15 @@ var require_brace_expansion = __commonJS({
40937
40937
  parts.push.apply(parts, p);
40938
40938
  return parts;
40939
40939
  }
40940
- function expandTop(str2) {
40940
+ function expandTop(str2, options) {
40941
40941
  if (!str2)
40942
40942
  return [];
40943
+ options = options || {};
40944
+ var max4 = options.max == null ? Infinity : options.max;
40943
40945
  if (str2.substr(0, 2) === "{}") {
40944
40946
  str2 = "\\{\\}" + str2.substr(2);
40945
40947
  }
40946
- return expand5(escapeBraces2(str2), true).map(unescapeBraces2);
40948
+ return expand5(escapeBraces2(str2), max4, true).map(unescapeBraces2);
40947
40949
  }
40948
40950
  function embrace2(str2) {
40949
40951
  return "{" + str2 + "}";
@@ -40957,14 +40959,14 @@ var require_brace_expansion = __commonJS({
40957
40959
  function gte2(i2, y2) {
40958
40960
  return i2 >= y2;
40959
40961
  }
40960
- function expand5(str2, isTop) {
40962
+ function expand5(str2, max4, isTop) {
40961
40963
  var expansions = [];
40962
40964
  var m2 = balanced2("{", "}", str2);
40963
40965
  if (!m2) return [str2];
40964
40966
  var pre = m2.pre;
40965
- var post = m2.post.length ? expand5(m2.post, false) : [""];
40967
+ var post = m2.post.length ? expand5(m2.post, max4, false) : [""];
40966
40968
  if (/\$$/.test(m2.pre)) {
40967
- for (var k2 = 0; k2 < post.length; k2++) {
40969
+ for (var k2 = 0; k2 < post.length && k2 < max4; k2++) {
40968
40970
  var expansion = pre + "{" + m2.body + "}" + post[k2];
40969
40971
  expansions.push(expansion);
40970
40972
  }
@@ -40976,7 +40978,7 @@ var require_brace_expansion = __commonJS({
40976
40978
  if (!isSequence && !isOptions) {
40977
40979
  if (m2.post.match(/,(?!,).*\}/)) {
40978
40980
  str2 = m2.pre + "{" + m2.body + escClose2 + m2.post;
40979
- return expand5(str2);
40981
+ return expand5(str2, max4, true);
40980
40982
  }
40981
40983
  return [str2];
40982
40984
  }
@@ -40986,7 +40988,7 @@ var require_brace_expansion = __commonJS({
40986
40988
  } else {
40987
40989
  n = parseCommaParts2(m2.body);
40988
40990
  if (n.length === 1) {
40989
- n = expand5(n[0], false).map(embrace2);
40991
+ n = expand5(n[0], max4, false).map(embrace2);
40990
40992
  if (n.length === 1) {
40991
40993
  return post.map(function(p) {
40992
40994
  return m2.pre + n[0] + p;
@@ -41032,11 +41034,11 @@ var require_brace_expansion = __commonJS({
41032
41034
  } else {
41033
41035
  N = [];
41034
41036
  for (var j2 = 0; j2 < n.length; j2++) {
41035
- N.push.apply(N, expand5(n[j2], false));
41037
+ N.push.apply(N, expand5(n[j2], max4, false));
41036
41038
  }
41037
41039
  }
41038
41040
  for (var j2 = 0; j2 < N.length; j2++) {
41039
- for (var k2 = 0; k2 < post.length; k2++) {
41041
+ for (var k2 = 0; k2 < post.length && expansions.length < max4; k2++) {
41040
41042
  var expansion = pre + N[j2] + post[k2];
41041
41043
  if (!isTop || isSequence || expansion)
41042
41044
  expansions.push(expansion);
@@ -330327,7 +330329,7 @@ import { fileURLToPath as fileURLToPath26 } from "node:url";
330327
330329
  // ../../node_modules/.pnpm/path-scurry@2.0.2/node_modules/path-scurry/dist/esm/index.js
330328
330330
  init_esm_shims();
330329
330331
 
330330
- // ../../node_modules/.pnpm/lru-cache@11.3.3/node_modules/lru-cache/dist/esm/node/index.min.js
330332
+ // ../../node_modules/.pnpm/lru-cache@11.3.5/node_modules/lru-cache/dist/esm/node/index.min.js
330331
330333
  init_esm_shims();
330332
330334
  import { tracingChannel as j, channel as I2 } from "node:diagnostics_channel";
330333
330335
  var S2 = I2("lru-cache:metrics");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/linting-tools",
3
- "version": "1.133.26",
3
+ "version": "1.133.28",
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": [
@@ -159,5 +159,5 @@
159
159
  "packageManager": "pnpm@10.3.0",
160
160
  "engines": { "node": ">=22.4.0", "pnpm": ">=10.3.0" },
161
161
  "publishConfig": { "access": "public" },
162
- "gitHead": "9007c2c789d195cf25efea8782b60a05cbebafb9"
162
+ "gitHead": "d25e09ad5d06260f5a506bf367b21d579fee1616"
163
163
  }