eslint-plugin-react-debug 1.53.1-beta.0 → 1.53.1-beta.1

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/dist/index.js CHANGED
@@ -27,13 +27,20 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
27
27
  }) : target, mod));
28
28
 
29
29
  //#endregion
30
- const __eslint_react_shared = __toESM(require("@eslint-react/shared"));
31
- const __eslint_react_core = __toESM(require("@eslint-react/core"));
32
- const __typescript_eslint_utils = __toESM(require("@typescript-eslint/utils"));
33
- const __eslint_react_eff = __toESM(require("@eslint-react/eff"));
34
- const __eslint_react_kit = __toESM(require("@eslint-react/kit"));
35
- const __typescript_eslint_types = __toESM(require("@typescript-eslint/types"));
36
- const ts_pattern = __toESM(require("ts-pattern"));
30
+ let __eslint_react_shared = require("@eslint-react/shared");
31
+ __eslint_react_shared = __toESM(__eslint_react_shared);
32
+ let __eslint_react_core = require("@eslint-react/core");
33
+ __eslint_react_core = __toESM(__eslint_react_core);
34
+ let __typescript_eslint_utils = require("@typescript-eslint/utils");
35
+ __typescript_eslint_utils = __toESM(__typescript_eslint_utils);
36
+ let __eslint_react_eff = require("@eslint-react/eff");
37
+ __eslint_react_eff = __toESM(__eslint_react_eff);
38
+ let __eslint_react_kit = require("@eslint-react/kit");
39
+ __eslint_react_kit = __toESM(__eslint_react_kit);
40
+ let __typescript_eslint_types = require("@typescript-eslint/types");
41
+ __typescript_eslint_types = __toESM(__typescript_eslint_types);
42
+ let ts_pattern = require("ts-pattern");
43
+ ts_pattern = __toESM(ts_pattern);
37
44
 
38
45
  //#region src/configs/all.ts
39
46
  var all_exports = {};
@@ -55,7 +62,7 @@ const settings = { "react-x": __eslint_react_shared.DEFAULT_ESLINT_REACT_SETTING
55
62
  //#endregion
56
63
  //#region package.json
57
64
  var name = "eslint-plugin-react-debug";
58
- var version = "1.53.1-beta.0";
65
+ var version = "1.53.1-beta.1";
59
66
 
60
67
  //#endregion
61
68
  //#region src/utils/create-rule.ts
@@ -200,8 +207,7 @@ var is_from_react_default = createRule({
200
207
  function create$1(context) {
201
208
  const { importSource = "react" } = (0, __eslint_react_shared.getSettingsFromContext)(context);
202
209
  function visitorFunction(node) {
203
- const shouldSkipDuplicate = node.parent.type === __typescript_eslint_utils.AST_NODE_TYPES.ImportSpecifier && node.parent.imported === node && node.parent.imported.name === node.parent.local.name;
204
- if (shouldSkipDuplicate) return;
210
+ if (node.parent.type === __typescript_eslint_utils.AST_NODE_TYPES.ImportSpecifier && node.parent.imported === node && node.parent.imported.name === node.parent.local.name) return;
205
211
  const name$2 = node.name;
206
212
  const initialScope = context.sourceCode.getScope(node);
207
213
  if (!isFromReact(node, importSource, initialScope)) return;
package/dist/index.mjs CHANGED
@@ -36,7 +36,7 @@ const settings = { "react-x": DEFAULT_ESLINT_REACT_SETTINGS };
36
36
  //#endregion
37
37
  //#region package.json
38
38
  var name = "eslint-plugin-react-debug";
39
- var version = "1.53.1-beta.0";
39
+ var version = "1.53.1-beta.1";
40
40
 
41
41
  //#endregion
42
42
  //#region src/utils/create-rule.ts
@@ -181,8 +181,7 @@ var is_from_react_default = createRule({
181
181
  function create$1(context) {
182
182
  const { importSource = "react" } = getSettingsFromContext(context);
183
183
  function visitorFunction(node) {
184
- const shouldSkipDuplicate = node.parent.type === AST_NODE_TYPES.ImportSpecifier && node.parent.imported === node && node.parent.imported.name === node.parent.local.name;
185
- if (shouldSkipDuplicate) return;
184
+ if (node.parent.type === AST_NODE_TYPES.ImportSpecifier && node.parent.imported === node && node.parent.imported.name === node.parent.local.name) return;
186
185
  const name$2 = node.name;
187
186
  const initialScope = context.sourceCode.getScope(node);
188
187
  if (!isFromReact(node, importSource, initialScope)) return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-debug",
3
- "version": "1.53.1-beta.0",
3
+ "version": "1.53.1-beta.1",
4
4
  "description": "ESLint React's ESLint plugin for debugging related rules.",
5
5
  "keywords": [
6
6
  "react",
@@ -43,23 +43,23 @@
43
43
  "./package.json"
44
44
  ],
45
45
  "dependencies": {
46
- "@typescript-eslint/scope-manager": "^8.42.0",
47
- "@typescript-eslint/type-utils": "^8.42.0",
48
- "@typescript-eslint/types": "^8.42.0",
49
- "@typescript-eslint/utils": "^8.42.0",
46
+ "@typescript-eslint/scope-manager": "^8.43.0",
47
+ "@typescript-eslint/type-utils": "^8.43.0",
48
+ "@typescript-eslint/types": "^8.43.0",
49
+ "@typescript-eslint/utils": "^8.43.0",
50
50
  "string-ts": "^2.2.1",
51
51
  "ts-pattern": "^5.8.0",
52
- "@eslint-react/kit": "1.53.1-beta.0",
53
- "@eslint-react/ast": "1.53.1-beta.0",
54
- "@eslint-react/var": "1.53.1-beta.0",
55
- "@eslint-react/core": "1.53.1-beta.0",
56
- "@eslint-react/eff": "1.53.1-beta.0",
57
- "@eslint-react/shared": "1.53.1-beta.0"
52
+ "@eslint-react/ast": "1.53.1-beta.1",
53
+ "@eslint-react/kit": "1.53.1-beta.1",
54
+ "@eslint-react/shared": "1.53.1-beta.1",
55
+ "@eslint-react/core": "1.53.1-beta.1",
56
+ "@eslint-react/var": "1.53.1-beta.1",
57
+ "@eslint-react/eff": "1.53.1-beta.1"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@types/react": "^19.1.12",
61
61
  "@types/react-dom": "^19.1.9",
62
- "tsdown": "^0.14.2",
62
+ "tsdown": "^0.15.0",
63
63
  "@local/configs": "0.0.0"
64
64
  },
65
65
  "peerDependencies": {