@eslint-react/core 5.28.1 → 5.28.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -4
  2. package/package.json +8 -8
package/dist/index.d.ts CHANGED
@@ -13,12 +13,12 @@ export declare namespace isAPI {
13
13
  };
14
14
  }
15
15
  /**
16
- * Check if the node is a React API identifier or member expression.
16
+ * Check if the node is an API identifier or member expression.
17
17
  * @remarks
18
18
  * Matching is namespace-agnostic by design: the fully qualified name of the node is compared
19
19
  * against the API name by exact match or by suffix (`.${api}`), so `foo.bar.useState` matches
20
20
  * `"useState"` just as `React.useState` does.
21
- * @param api The React API name to check against (ex: "useState", "React.memo").
21
+ * @param api The API name to check against (ex: "useState", "React.memo").
22
22
  * @returns A dual-signature predicate: call it as `(context, node)` to check a node directly,
23
23
  * or as `(context)` to get a `(node) => boolean` predicate (ex: for use in array filters).
24
24
  */
@@ -31,8 +31,8 @@ export declare namespace isAPICall {
31
31
  };
32
32
  }
33
33
  /**
34
- * Check if the node is a call expression to a specific React API.
35
- * @param api The React API name to check against.
34
+ * Check if the node is a call expression to a specific API.
35
+ * @param api The API name to check against.
36
36
  * @returns A dual-signature predicate: call it as `(context, node)` to check a node directly,
37
37
  * or as `(context)` to get a `(node) => node is TSESTree.CallExpression` predicate (ex: for use in array filters).
38
38
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/core",
3
- "version": "5.28.1",
3
+ "version": "5.28.3",
4
4
  "description": "ESLint React's ESLint utility module for static analysis of React core APIs and patterns.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -29,12 +29,12 @@
29
29
  "dist"
30
30
  ],
31
31
  "dependencies": {
32
- "@eslint-react/ast": "5.28.1",
33
- "@eslint-react/eslint": "5.28.1",
34
- "@eslint-react/shared": "5.28.1",
35
- "@eslint-react/var": "5.28.1",
36
- "@typescript-eslint/types": "^8.71.2",
37
- "@typescript-eslint/utils": "^8.71.2",
32
+ "@eslint-react/ast": "5.28.3",
33
+ "@eslint-react/eslint": "5.28.3",
34
+ "@eslint-react/shared": "5.28.3",
35
+ "@eslint-react/var": "5.28.3",
36
+ "@typescript-eslint/types": "^8.72.0",
37
+ "@typescript-eslint/utils": "^8.72.0",
38
38
  "ts-pattern": "^5.9.2"
39
39
  },
40
40
  "devDependencies": {
@@ -43,7 +43,7 @@
43
43
  "@local/testkit": "0.0.0",
44
44
  "@tsconfig/node20": "^20.1.10",
45
45
  "@types/node": "^20.19.43",
46
- "@typescript-eslint/typescript-estree": "^8.71.2",
46
+ "@typescript-eslint/typescript-estree": "^8.72.0",
47
47
  "dedent": "^1.7.2",
48
48
  "eslint": "^10.13.0",
49
49
  "tsdown": "^0.23.1",