@eslint-react/ast 5.30.2 → 5.30.4
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.ts +3 -3
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -223,11 +223,11 @@ declare function getJSXName(node: TSESTree.JSXIdentifier | TSESTree.JSXNamespace
|
|
|
223
223
|
*/
|
|
224
224
|
declare function getFullyQualifiedName(node: TSESTree.Node, getText: (node: TSESTree.Node) => string): string;
|
|
225
225
|
/**
|
|
226
|
-
* Get the name of the callee of a call expression.
|
|
227
|
-
* @param node The call expression to inspect.
|
|
226
|
+
* Get the name of the callee of a call or new expression.
|
|
227
|
+
* @param node The call or new expression to inspect.
|
|
228
228
|
* @returns The callee name (ex: `"useState"`), or `null` for computed member expressions and other unsupported callee forms.
|
|
229
229
|
*/
|
|
230
|
-
declare function getCalleeName(node: TSESTree.CallExpression): string | null;
|
|
230
|
+
declare function getCalleeName(node: TSESTree.CallExpression | TSESTree.NewExpression): string | null;
|
|
231
231
|
declare namespace analyze_d_exports {
|
|
232
232
|
export { isTerminatingStatement, isUnconditionallyTerminating };
|
|
233
233
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/ast",
|
|
3
|
-
"version": "5.30.
|
|
3
|
+
"version": "5.30.4",
|
|
4
4
|
"description": "ESLint React's TSESTree AST utility module.",
|
|
5
5
|
"homepage": "https://github.com/Rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"@local/configs": "0.0.0",
|
|
38
38
|
"@local/eff": "0.0.0",
|
|
39
39
|
"@local/testkit": "0.0.0",
|
|
40
|
-
"@tsconfig/node20": "^20.1.
|
|
40
|
+
"@tsconfig/node20": "^20.1.11",
|
|
41
41
|
"@types/node": "^20.19.43",
|
|
42
|
-
"eslint": "^10.
|
|
42
|
+
"eslint": "^10.15.0",
|
|
43
43
|
"tsdown": "^0.23.7",
|
|
44
44
|
"typescript": "6.0.3",
|
|
45
45
|
"vitest": "^5.1.0"
|