eslint-plugin-react-web-api 5.9.2 → 5.9.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.js +3 -3
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -28,7 +28,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
28
28
|
//#endregion
|
|
29
29
|
//#region package.json
|
|
30
30
|
var name$1 = "eslint-plugin-react-web-api";
|
|
31
|
-
var version = "5.9.
|
|
31
|
+
var version = "5.9.4";
|
|
32
32
|
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/types/component-phase.ts
|
|
@@ -266,9 +266,9 @@ function getCallKind$4(node) {
|
|
|
266
266
|
const callee = Extract.unwrap(node.callee);
|
|
267
267
|
switch (true) {
|
|
268
268
|
case callee.type === AST_NODE_TYPES.Identifier && callee.name === "fetch": return "fetch";
|
|
269
|
-
case callee.type === AST_NODE_TYPES.MemberExpression &&
|
|
269
|
+
case callee.type === AST_NODE_TYPES.MemberExpression && Extract.getPropertyName(callee.property) === "fetch": return "fetch";
|
|
270
270
|
case callee.type === AST_NODE_TYPES.Identifier && callee.name === "abort": return "abort";
|
|
271
|
-
case callee.type === AST_NODE_TYPES.MemberExpression &&
|
|
271
|
+
case callee.type === AST_NODE_TYPES.MemberExpression && Extract.getPropertyName(callee.property) === "abort": return "abort";
|
|
272
272
|
default: return "other";
|
|
273
273
|
}
|
|
274
274
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-web-api",
|
|
3
|
-
"version": "5.9.
|
|
3
|
+
"version": "5.9.4",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for interacting with Web APIs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
"dist"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@typescript-eslint/types": "^8.
|
|
41
|
-
"@typescript-eslint/utils": "^8.
|
|
40
|
+
"@typescript-eslint/types": "^8.62.0",
|
|
41
|
+
"@typescript-eslint/utils": "^8.62.0",
|
|
42
42
|
"birecord": "^0.1.1",
|
|
43
43
|
"ts-pattern": "^5.9.0",
|
|
44
|
-
"@eslint-react/
|
|
45
|
-
"@eslint-react/
|
|
46
|
-
"@eslint-react/
|
|
47
|
-
"@eslint-react/shared": "5.9.
|
|
48
|
-
"@eslint-react/
|
|
44
|
+
"@eslint-react/ast": "5.9.4",
|
|
45
|
+
"@eslint-react/core": "5.9.4",
|
|
46
|
+
"@eslint-react/eslint": "5.9.4",
|
|
47
|
+
"@eslint-react/shared": "5.9.4",
|
|
48
|
+
"@eslint-react/var": "5.9.4"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/react": "^19.2.17",
|