@storm-software/linting-tools 1.133.32 → 1.133.36

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.31-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.32-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
@@ -34043,9 +34043,9 @@ var require_parent_module = _chunkBIQR7SL7cjs.__commonJS.call(void 0, {
34043
34043
  }
34044
34044
  });
34045
34045
 
34046
- // ../../node_modules/.pnpm/clear-module@4.1.2/node_modules/clear-module/index.js
34046
+ // ../../node_modules/.pnpm/clear-module@4.1.3/node_modules/clear-module/index.js
34047
34047
  var require_clear_module = _chunkBIQR7SL7cjs.__commonJS.call(void 0, {
34048
- "../../node_modules/.pnpm/clear-module@4.1.2/node_modules/clear-module/index.js"(exports, module) {
34048
+ "../../node_modules/.pnpm/clear-module@4.1.3/node_modules/clear-module/index.js"(exports, module) {
34049
34049
  "use strict";
34050
34050
  _chunkBIQR7SL7cjs.init_cjs_shims.call(void 0, );
34051
34051
  var path31 = _chunkBIQR7SL7cjs.__require.call(void 0, "path");
@@ -34057,6 +34057,7 @@ var require_clear_module = _chunkBIQR7SL7cjs.__commonJS.call(void 0, {
34057
34057
  } catch (_) {
34058
34058
  }
34059
34059
  };
34060
+ var isNativeModule = (filePath2) => path31.extname(filePath2) === ".node";
34060
34061
  var clear = (moduleId) => {
34061
34062
  if (typeof moduleId !== "string") {
34062
34063
  throw new TypeError(`Expected a \`string\`, got \`${typeof moduleId}\``);
@@ -34065,6 +34066,9 @@ var require_clear_module = _chunkBIQR7SL7cjs.__commonJS.call(void 0, {
34065
34066
  if (!filePath2) {
34066
34067
  return;
34067
34068
  }
34069
+ if (isNativeModule(filePath2)) {
34070
+ return;
34071
+ }
34068
34072
  if (_chunkBIQR7SL7cjs.__require.cache[filePath2] && _chunkBIQR7SL7cjs.__require.cache[filePath2].parent) {
34069
34073
  let i = _chunkBIQR7SL7cjs.__require.cache[filePath2].parent.children.length;
34070
34074
  while (i--) {
@@ -34082,9 +34086,10 @@ var require_clear_module = _chunkBIQR7SL7cjs.__commonJS.call(void 0, {
34082
34086
  }
34083
34087
  };
34084
34088
  clear.all = () => {
34085
- const directory = path31.dirname(parentModule(__filename));
34086
- for (const moduleId of Object.keys(_chunkBIQR7SL7cjs.__require.cache)) {
34087
- delete _chunkBIQR7SL7cjs.__require.cache[resolveFrom2(directory, moduleId)];
34089
+ for (const filePath2 of Object.keys(_chunkBIQR7SL7cjs.__require.cache)) {
34090
+ if (!isNativeModule(filePath2)) {
34091
+ delete _chunkBIQR7SL7cjs.__require.cache[filePath2];
34092
+ }
34088
34093
  }
34089
34094
  };
34090
34095
  clear.match = (regex3) => {
@@ -34098,7 +34103,11 @@ var require_clear_module = _chunkBIQR7SL7cjs.__commonJS.call(void 0, {
34098
34103
  if (typeof moduleId !== "string") {
34099
34104
  throw new TypeError(`Expected a \`string\`, got \`${typeof moduleId}\``);
34100
34105
  }
34101
- delete _chunkBIQR7SL7cjs.__require.cache[resolve12(moduleId)];
34106
+ const filePath2 = resolve12(moduleId);
34107
+ if (!filePath2 || isNativeModule(filePath2)) {
34108
+ return;
34109
+ }
34110
+ delete _chunkBIQR7SL7cjs.__require.cache[filePath2];
34102
34111
  };
34103
34112
  module.exports = clear;
34104
34113
  }
package/bin/lint.js CHANGED
@@ -37043,10 +37043,10 @@ var require_parent_module = __commonJS({
37043
37043
  }
37044
37044
  });
37045
37045
 
37046
- // ../../node_modules/.pnpm/clear-module@4.1.2/node_modules/clear-module/index.js
37046
+ // ../../node_modules/.pnpm/clear-module@4.1.3/node_modules/clear-module/index.js
37047
37047
  import * as __import_path14 from "path";
37048
37048
  var require_clear_module = __commonJS({
37049
- "../../node_modules/.pnpm/clear-module@4.1.2/node_modules/clear-module/index.js"(exports2, module) {
37049
+ "../../node_modules/.pnpm/clear-module@4.1.3/node_modules/clear-module/index.js"(exports2, module) {
37050
37050
  init_esm_shims();
37051
37051
  var __import_resolveFrom = __toESM(require_resolve_from());
37052
37052
  var __import_parentModule = __toESM(require_parent_module());
@@ -37059,6 +37059,7 @@ var require_clear_module = __commonJS({
37059
37059
  } catch (_2) {
37060
37060
  }
37061
37061
  };
37062
+ var isNativeModule = (filePath2) => path31.extname(filePath2) === ".node";
37062
37063
  var clear = (moduleId) => {
37063
37064
  if (typeof moduleId !== "string") {
37064
37065
  throw new TypeError(`Expected a \`string\`, got \`${typeof moduleId}\``);
@@ -37067,6 +37068,9 @@ var require_clear_module = __commonJS({
37067
37068
  if (!filePath2) {
37068
37069
  return;
37069
37070
  }
37071
+ if (isNativeModule(filePath2)) {
37072
+ return;
37073
+ }
37070
37074
  if (__require.cache[filePath2] && __require.cache[filePath2].parent) {
37071
37075
  let i2 = __require.cache[filePath2].parent.children.length;
37072
37076
  while (i2--) {
@@ -37084,9 +37088,10 @@ var require_clear_module = __commonJS({
37084
37088
  }
37085
37089
  };
37086
37090
  clear.all = () => {
37087
- const directory = path31.dirname(parentModule(__filename));
37088
- for (const moduleId of Object.keys(__require.cache)) {
37089
- delete __require.cache[resolveFrom2(directory, moduleId)];
37091
+ for (const filePath2 of Object.keys(__require.cache)) {
37092
+ if (!isNativeModule(filePath2)) {
37093
+ delete __require.cache[filePath2];
37094
+ }
37090
37095
  }
37091
37096
  };
37092
37097
  clear.match = (regex3) => {
@@ -37100,7 +37105,11 @@ var require_clear_module = __commonJS({
37100
37105
  if (typeof moduleId !== "string") {
37101
37106
  throw new TypeError(`Expected a \`string\`, got \`${typeof moduleId}\``);
37102
37107
  }
37103
- delete __require.cache[resolve13(moduleId)];
37108
+ const filePath2 = resolve13(moduleId);
37109
+ if (!filePath2 || isNativeModule(filePath2)) {
37110
+ return;
37111
+ }
37112
+ delete __require.cache[filePath2];
37104
37113
  };
37105
37114
  module.exports = clear;
37106
37115
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/linting-tools",
3
- "version": "1.133.32",
3
+ "version": "1.133.36",
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": "0ee786bb6e727df540f3879591f8b4e7724ab615"
162
+ "gitHead": "0156312b2f7b27223734e49a41834c30314ae10a"
163
163
  }