eslint-plugin-react-web-api 5.8.12 → 5.8.13
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 +12 -12
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import birecord from "birecord";
|
|
|
4
4
|
import { P, isMatching, match } from "ts-pattern";
|
|
5
5
|
import { ESLintUtils } from "@typescript-eslint/utils";
|
|
6
6
|
import { Check, Compare, Extract, Traverse, isOneOf } from "@eslint-react/ast";
|
|
7
|
-
import
|
|
7
|
+
import "@eslint-react/eslint";
|
|
8
8
|
import { isAssignmentTargetEqual, isValueEqual, resolve, resolveEnclosingAssignmentTarget } from "@eslint-react/var";
|
|
9
9
|
import { AST_NODE_TYPES } from "@typescript-eslint/types";
|
|
10
10
|
import { getStaticValue } from "@typescript-eslint/utils/ast-utils";
|
|
@@ -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.8.
|
|
31
|
+
var version = "5.8.13";
|
|
32
32
|
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/types/component-phase.ts
|
|
@@ -163,7 +163,7 @@ function create$4(context) {
|
|
|
163
163
|
node: listener
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
|
-
return
|
|
166
|
+
return {
|
|
167
167
|
[":function"](node) {
|
|
168
168
|
const kind = getFunctionKind$1(node);
|
|
169
169
|
fEntries.push({
|
|
@@ -230,7 +230,7 @@ function create$4(context) {
|
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
|
-
}
|
|
233
|
+
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
//#endregion
|
|
@@ -344,7 +344,7 @@ function create$3(context) {
|
|
|
344
344
|
const fEntries = [];
|
|
345
345
|
const fetchEntries = [];
|
|
346
346
|
const abortEntries = [];
|
|
347
|
-
return
|
|
347
|
+
return {
|
|
348
348
|
[":function"](node) {
|
|
349
349
|
const kind = getPhaseKindOfFunction(node) ?? "other";
|
|
350
350
|
fEntries.push({
|
|
@@ -400,7 +400,7 @@ function create$3(context) {
|
|
|
400
400
|
});
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
}
|
|
403
|
+
};
|
|
404
404
|
}
|
|
405
405
|
|
|
406
406
|
//#endregion
|
|
@@ -436,7 +436,7 @@ function create$2(context) {
|
|
|
436
436
|
function isInverseEntry(a, b) {
|
|
437
437
|
return isAssignmentTargetEqual(context, a.timerId, b.timerId);
|
|
438
438
|
}
|
|
439
|
-
return
|
|
439
|
+
return {
|
|
440
440
|
[":function"](node) {
|
|
441
441
|
const kind = getPhaseKindOfFunction(node) ?? "other";
|
|
442
442
|
fEntries.push({
|
|
@@ -502,7 +502,7 @@ function create$2(context) {
|
|
|
502
502
|
}
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
|
-
}
|
|
505
|
+
};
|
|
506
506
|
}
|
|
507
507
|
|
|
508
508
|
//#endregion
|
|
@@ -708,7 +708,7 @@ function create$1(context) {
|
|
|
708
708
|
const oEntries = [];
|
|
709
709
|
const uEntries = [];
|
|
710
710
|
const dEntries = [];
|
|
711
|
-
return
|
|
711
|
+
return {
|
|
712
712
|
[":function"](node) {
|
|
713
713
|
const kind = getFunctionKind(node);
|
|
714
714
|
fEntries.push({
|
|
@@ -803,7 +803,7 @@ function create$1(context) {
|
|
|
803
803
|
}
|
|
804
804
|
}
|
|
805
805
|
}
|
|
806
|
-
}
|
|
806
|
+
};
|
|
807
807
|
}
|
|
808
808
|
|
|
809
809
|
//#endregion
|
|
@@ -839,7 +839,7 @@ function create(context) {
|
|
|
839
839
|
function isInverseEntry(a, b) {
|
|
840
840
|
return isAssignmentTargetEqual(context, a.timerId, b.timerId);
|
|
841
841
|
}
|
|
842
|
-
return
|
|
842
|
+
return {
|
|
843
843
|
[":function"](node) {
|
|
844
844
|
const kind = getPhaseKindOfFunction(node) ?? "other";
|
|
845
845
|
fEntries.push({
|
|
@@ -901,7 +901,7 @@ function create(context) {
|
|
|
901
901
|
}
|
|
902
902
|
}
|
|
903
903
|
}
|
|
904
|
-
}
|
|
904
|
+
};
|
|
905
905
|
}
|
|
906
906
|
|
|
907
907
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-web-api",
|
|
3
|
-
"version": "5.8.
|
|
3
|
+
"version": "5.8.13",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for interacting with Web APIs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -41,18 +41,18 @@
|
|
|
41
41
|
"@typescript-eslint/utils": "^8.60.1",
|
|
42
42
|
"birecord": "^0.1.1",
|
|
43
43
|
"ts-pattern": "^5.9.0",
|
|
44
|
-
"@eslint-react/ast": "5.8.
|
|
45
|
-
"@eslint-react/core": "5.8.
|
|
46
|
-
"@eslint-react/
|
|
47
|
-
"@eslint-react/
|
|
48
|
-
"@eslint-react/eslint": "5.8.
|
|
44
|
+
"@eslint-react/ast": "5.8.13",
|
|
45
|
+
"@eslint-react/core": "5.8.13",
|
|
46
|
+
"@eslint-react/var": "5.8.13",
|
|
47
|
+
"@eslint-react/shared": "5.8.13",
|
|
48
|
+
"@eslint-react/eslint": "5.8.13"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/react": "^19.2.16",
|
|
52
52
|
"@types/react-dom": "^19.2.3",
|
|
53
53
|
"dedent": "^1.7.2",
|
|
54
54
|
"eslint": "^10.4.1",
|
|
55
|
-
"tsdown": "^0.22.
|
|
55
|
+
"tsdown": "^0.22.2",
|
|
56
56
|
"typescript": "6.0.3",
|
|
57
57
|
"@local/configs": "0.0.0",
|
|
58
58
|
"@local/eff": "0.0.0"
|