eslint-plugin-react-debug 1.45.4-next.1 → 1.45.4-next.2

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
@@ -2,6 +2,8 @@
2
2
 
3
3
  Debugging rules.
4
4
 
5
+ These rules are useful for static analysis, code transformation, or when building custom tooling that needs to identify specific React patterns.
6
+
5
7
  ## Install
6
8
 
7
9
  ```sh
package/dist/index.js CHANGED
@@ -58,7 +58,7 @@ var settings = {
58
58
 
59
59
  // package.json
60
60
  var name2 = "eslint-plugin-react-debug";
61
- var version = "1.45.4-next.1";
61
+ var version = "1.45.4-next.2";
62
62
  var createRule = utils.ESLintUtils.RuleCreator(shared.getDocsUrl("debug"));
63
63
 
64
64
  // src/rules/class-component.ts
@@ -284,7 +284,7 @@ function create5(context) {
284
284
  };
285
285
  }
286
286
  return {
287
- "JSXElement, JSXFragment": eff.flow(getReportDescriptor, kit.createReport(context))
287
+ "JSXElement, JSXFragment": eff.flow(getReportDescriptor, kit.Report.make(context).send)
288
288
  };
289
289
  }
290
290
 
package/dist/index.mjs CHANGED
@@ -3,7 +3,7 @@ import * as ER2 from '@eslint-react/core';
3
3
  import { ESLintUtils, AST_NODE_TYPES } from '@typescript-eslint/utils';
4
4
  import { flow } from '@eslint-react/eff';
5
5
  import * as JSX from '@eslint-react/jsx';
6
- import { JsxConfig, createReport } from '@eslint-react/kit';
6
+ import { JsxConfig, Report } from '@eslint-react/kit';
7
7
  import { AST_NODE_TYPES as AST_NODE_TYPES$1 } from '@typescript-eslint/types';
8
8
  import { match, P } from 'ts-pattern';
9
9
  import { JsxEmit } from 'typescript';
@@ -35,7 +35,7 @@ var settings = {
35
35
 
36
36
  // package.json
37
37
  var name2 = "eslint-plugin-react-debug";
38
- var version = "1.45.4-next.1";
38
+ var version = "1.45.4-next.2";
39
39
  var createRule = ESLintUtils.RuleCreator(getDocsUrl("debug"));
40
40
 
41
41
  // src/rules/class-component.ts
@@ -261,7 +261,7 @@ function create5(context) {
261
261
  };
262
262
  }
263
263
  return {
264
- "JSXElement, JSXFragment": flow(getReportDescriptor, createReport(context))
264
+ "JSXElement, JSXFragment": flow(getReportDescriptor, Report.make(context).send)
265
265
  };
266
266
  }
267
267
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-debug",
3
- "version": "1.45.4-next.1",
3
+ "version": "1.45.4-next.2",
4
4
  "description": "ESLint React's ESLint plugin for debugging related rules.",
5
5
  "keywords": [
6
6
  "react",
@@ -49,13 +49,13 @@
49
49
  "@typescript-eslint/utils": "^8.29.1",
50
50
  "string-ts": "^2.2.1",
51
51
  "ts-pattern": "^5.7.0",
52
- "@eslint-react/ast": "1.45.4-next.1",
53
- "@eslint-react/core": "1.45.4-next.1",
54
- "@eslint-react/eff": "1.45.4-next.1",
55
- "@eslint-react/jsx": "1.45.4-next.1",
56
- "@eslint-react/kit": "1.45.4-next.1",
57
- "@eslint-react/var": "1.45.4-next.1",
58
- "@eslint-react/shared": "1.45.4-next.1"
52
+ "@eslint-react/ast": "1.45.4-next.2",
53
+ "@eslint-react/core": "1.45.4-next.2",
54
+ "@eslint-react/eff": "1.45.4-next.2",
55
+ "@eslint-react/kit": "1.45.4-next.2",
56
+ "@eslint-react/shared": "1.45.4-next.2",
57
+ "@eslint-react/jsx": "1.45.4-next.2",
58
+ "@eslint-react/var": "1.45.4-next.2"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@types/react": "^19.1.1",