eslint-plugin-react-debug 2.5.6-next.4 → 2.5.7-beta.0

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -41,7 +41,7 @@ const settings = { "react-x": DEFAULT_ESLINT_REACT_SETTINGS };
41
41
  //#endregion
42
42
  //#region package.json
43
43
  var name = "eslint-plugin-react-debug";
44
- var version = "2.5.6-next.4";
44
+ var version = "2.5.7-beta.0";
45
45
 
46
46
  //#endregion
47
47
  //#region src/utils/create-rule.ts
@@ -229,7 +229,7 @@ function create(context) {
229
229
  messageId: "jsx",
230
230
  node,
231
231
  data: { json: stringify({
232
- kind: match(node).with({ type: AST_NODE_TYPES$1.JSXElement }, (n) => isJsxFragmentElement(context$1, n) ? "fragment" : "element").with({ type: AST_NODE_TYPES$1.JSXFragment }, () => "fragment").exhaustive(),
232
+ kind: match(node).with({ type: AST_NODE_TYPES$1.JSXElement }, (n) => isJsxFragmentElement(context$1, n, jsxConfig) ? "fragment" : "element").with({ type: AST_NODE_TYPES$1.JSXFragment }, () => "fragment").exhaustive(),
233
233
  type: getJsxElementType(context$1, node),
234
234
  jsx: match(jsxConfig.jsx).with(JsxEmit.None, () => "none").with(JsxEmit.ReactJSX, () => "react-jsx").with(JsxEmit.ReactJSXDev, () => "react-jsx-dev").with(JsxEmit.React, () => "react").with(JsxEmit.ReactNative, () => "react-native").with(JsxEmit.Preserve, () => "preserve").otherwise(() => "unknown"),
235
235
  jsxFactory: jsxConfig.jsxFactory,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-debug",
3
- "version": "2.5.6-next.4",
3
+ "version": "2.5.7-beta.0",
4
4
  "description": "ESLint React's ESLint plugin for debugging related rules.",
5
5
  "keywords": [
6
6
  "react",
@@ -44,11 +44,11 @@
44
44
  "@typescript-eslint/utils": "^8.53.0",
45
45
  "string-ts": "^2.3.1",
46
46
  "ts-pattern": "^5.9.0",
47
- "@eslint-react/ast": "2.5.6-next.4",
48
- "@eslint-react/core": "2.5.6-next.4",
49
- "@eslint-react/eff": "2.5.6-next.4",
50
- "@eslint-react/shared": "2.5.6-next.4",
51
- "@eslint-react/var": "2.5.6-next.4"
47
+ "@eslint-react/ast": "2.5.7-beta.0",
48
+ "@eslint-react/core": "2.5.7-beta.0",
49
+ "@eslint-react/eff": "2.5.7-beta.0",
50
+ "@eslint-react/shared": "2.5.7-beta.0",
51
+ "@eslint-react/var": "2.5.7-beta.0"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/react": "^19.2.8",