@eslint-react/jsx 1.24.0-next.1 → 1.24.0-next.3
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ function findParentProp(node, test = eff.returnTrue) {
|
|
|
31
31
|
const guard = (node2) => {
|
|
32
32
|
return node2.type === types.AST_NODE_TYPES.JSXAttribute && test(node2);
|
|
33
33
|
};
|
|
34
|
-
return AST3__namespace.
|
|
34
|
+
return AST3__namespace.findParentNode(node, guard);
|
|
35
35
|
}
|
|
36
36
|
function resolveJSXMemberExpressions(object, property) {
|
|
37
37
|
if (object.type === types.AST_NODE_TYPES.JSXMemberExpression) {
|
package/dist/index.mjs
CHANGED
|
@@ -8,7 +8,7 @@ function findParentProp(node, test = returnTrue) {
|
|
|
8
8
|
const guard = (node2) => {
|
|
9
9
|
return node2.type === AST_NODE_TYPES.JSXAttribute && test(node2);
|
|
10
10
|
};
|
|
11
|
-
return AST3.
|
|
11
|
+
return AST3.findParentNode(node, guard);
|
|
12
12
|
}
|
|
13
13
|
function resolveJSXMemberExpressions(object, property) {
|
|
14
14
|
if (object.type === AST_NODE_TYPES.JSXMemberExpression) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/jsx",
|
|
3
|
-
"version": "1.24.0-next.
|
|
3
|
+
"version": "1.24.0-next.3",
|
|
4
4
|
"description": "ESLint React's TSESTree AST utility module for static analysis of JSX.",
|
|
5
5
|
"homepage": "https://github.com/Rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"@typescript-eslint/types": "^8.19.1",
|
|
38
38
|
"@typescript-eslint/utils": "^8.19.1",
|
|
39
39
|
"ts-pattern": "^5.6.0",
|
|
40
|
-
"@eslint-react/ast": "1.24.0-next.
|
|
41
|
-
"@eslint-react/
|
|
42
|
-
"@eslint-react/var": "1.24.0-next.
|
|
43
|
-
"@eslint-react/
|
|
40
|
+
"@eslint-react/ast": "1.24.0-next.3",
|
|
41
|
+
"@eslint-react/eff": "1.24.0-next.3",
|
|
42
|
+
"@eslint-react/var": "1.24.0-next.3",
|
|
43
|
+
"@eslint-react/types": "1.24.0-next.3"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"tsup": "^8.3.5",
|