@eslint-react/jsx 1.5.8 → 1.5.9-next.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.
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -38,9 +38,9 @@ declare function hasChildren(node: TSESTree.JSXElement | TSESTree.JSXFragment, p
|
|
|
38
38
|
* @param node The AST node to check
|
|
39
39
|
* @returns `true` if the node is a child of a `JSXElement`
|
|
40
40
|
*/
|
|
41
|
-
declare function isChildOfJSXElement(node: TSESTree.Node): node is
|
|
41
|
+
declare function isChildOfJSXElement(node: TSESTree.Node): node is {
|
|
42
42
|
parent: TSESTree.JSXElement;
|
|
43
|
-
};
|
|
43
|
+
} & TSESTree.JSXElement;
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
* Check if a node is a `JSXElement` of `User-Defined Component` type
|
package/dist/index.d.ts
CHANGED
|
@@ -38,9 +38,9 @@ declare function hasChildren(node: TSESTree.JSXElement | TSESTree.JSXFragment, p
|
|
|
38
38
|
* @param node The AST node to check
|
|
39
39
|
* @returns `true` if the node is a child of a `JSXElement`
|
|
40
40
|
*/
|
|
41
|
-
declare function isChildOfJSXElement(node: TSESTree.Node): node is
|
|
41
|
+
declare function isChildOfJSXElement(node: TSESTree.Node): node is {
|
|
42
42
|
parent: TSESTree.JSXElement;
|
|
43
|
-
};
|
|
43
|
+
} & TSESTree.JSXElement;
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
* Check if a node is a `JSXElement` of `User-Defined Component` type
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/jsx",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.9-next.0",
|
|
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": {
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"@typescript-eslint/types": "7.6.0",
|
|
40
40
|
"@typescript-eslint/utils": "7.6.0",
|
|
41
41
|
"micro-memoize": "4.1.2",
|
|
42
|
-
"@eslint-react/ast": "1.5.
|
|
43
|
-
"@eslint-react/tools": "1.5.
|
|
44
|
-
"@eslint-react/
|
|
45
|
-
"@eslint-react/
|
|
46
|
-
"@eslint-react/
|
|
42
|
+
"@eslint-react/ast": "1.5.9-next.0",
|
|
43
|
+
"@eslint-react/tools": "1.5.9-next.0",
|
|
44
|
+
"@eslint-react/shared": "1.5.9-next.0",
|
|
45
|
+
"@eslint-react/types": "1.5.9-next.0",
|
|
46
|
+
"@eslint-react/var": "1.5.9-next.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"effect": "2.4.18"
|