@eslint-react/var 1.52.3-beta.9 → 1.52.3-next.1
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 +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +18 -18
- package/dist/index.mjs +19 -19
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Scope, Variable } from '@typescript-eslint/scope-manager';
|
|
2
2
|
import { TSESTree } from '@typescript-eslint/types';
|
|
3
|
-
import {
|
|
3
|
+
import { _ } from '@eslint-react/eff';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Get all variables from the given scope up to the global scope
|
|
@@ -9,10 +9,10 @@ import { unit } from '@eslint-react/eff';
|
|
|
9
9
|
*/
|
|
10
10
|
declare function getVariables(initialScope: Scope): Variable[];
|
|
11
11
|
declare const findVariable: {
|
|
12
|
-
(initialScope: Scope): (nameOrNode: string | TSESTree.Identifier |
|
|
13
|
-
(nameOrNode: string | TSESTree.Identifier |
|
|
12
|
+
(initialScope: Scope): (nameOrNode: string | TSESTree.Identifier | _) => Variable | _;
|
|
13
|
+
(nameOrNode: string | TSESTree.Identifier | _, initialScope: Scope): Variable | _;
|
|
14
14
|
};
|
|
15
|
-
declare function findPropertyInProperties(name: string, properties: (TSESTree.Property | TSESTree.RestElement | TSESTree.SpreadElement)[], initialScope: Scope, seen?: Set<string>): (typeof properties)[number] |
|
|
15
|
+
declare function findPropertyInProperties(name: string, properties: (TSESTree.Property | TSESTree.RestElement | TSESTree.SpreadElement)[], initialScope: Scope, seen?: Set<string>): (typeof properties)[number] | _;
|
|
16
16
|
|
|
17
17
|
declare const ConstructionDetectionHint: {
|
|
18
18
|
None: bigint;
|
|
@@ -53,27 +53,27 @@ type Construction = {
|
|
|
53
53
|
* @param hint Optional hint to control the detection behavior.
|
|
54
54
|
* @returns The construction type of the node, or `_` if not found.
|
|
55
55
|
*/
|
|
56
|
-
declare function getConstruction(node: TSESTree.Node |
|
|
56
|
+
declare function getConstruction(node: TSESTree.Node | _, initialScope: Scope, hint?: bigint): Construction | _;
|
|
57
57
|
|
|
58
|
-
declare function getVariableDeclaratorId(node: TSESTree.Node |
|
|
58
|
+
declare function getVariableDeclaratorId(node: TSESTree.Node | _, prev?: TSESTree.Node): TSESTree.BindingName | TSESTree.Expression | _;
|
|
59
59
|
|
|
60
|
-
declare function getVariableInitNode(variable: Variable |
|
|
60
|
+
declare function getVariableInitNode(variable: Variable | _, at: number): _ | TSESTree.ClassDeclaration | TSESTree.ClassDeclarationWithName | TSESTree.ClassDeclarationWithOptionalName | TSESTree.Expression | TSESTree.FunctionDeclaration | TSESTree.FunctionDeclarationWithName | TSESTree.FunctionDeclarationWithOptionalName;
|
|
61
61
|
|
|
62
62
|
declare function getChidScopes(scope: Scope): readonly Scope[];
|
|
63
63
|
|
|
64
64
|
type LazyValue = {
|
|
65
65
|
kind: "lazy";
|
|
66
66
|
node: TSESTree.Node;
|
|
67
|
-
initialScope: Scope |
|
|
67
|
+
initialScope: Scope | _;
|
|
68
68
|
} | {
|
|
69
69
|
kind: "none";
|
|
70
70
|
node: TSESTree.Node;
|
|
71
|
-
initialScope: Scope |
|
|
71
|
+
initialScope: Scope | _;
|
|
72
72
|
} | {
|
|
73
73
|
kind: "some";
|
|
74
74
|
node: TSESTree.Node;
|
|
75
75
|
value: unknown;
|
|
76
|
-
initialScope: Scope |
|
|
76
|
+
initialScope: Scope | _;
|
|
77
77
|
};
|
|
78
78
|
declare function toStaticValue(lazyValue: LazyValue): {
|
|
79
79
|
readonly kind: "none";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Scope, Variable } from '@typescript-eslint/scope-manager';
|
|
2
2
|
import { TSESTree } from '@typescript-eslint/types';
|
|
3
|
-
import {
|
|
3
|
+
import { _ } from '@eslint-react/eff';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Get all variables from the given scope up to the global scope
|
|
@@ -9,10 +9,10 @@ import { unit } from '@eslint-react/eff';
|
|
|
9
9
|
*/
|
|
10
10
|
declare function getVariables(initialScope: Scope): Variable[];
|
|
11
11
|
declare const findVariable: {
|
|
12
|
-
(initialScope: Scope): (nameOrNode: string | TSESTree.Identifier |
|
|
13
|
-
(nameOrNode: string | TSESTree.Identifier |
|
|
12
|
+
(initialScope: Scope): (nameOrNode: string | TSESTree.Identifier | _) => Variable | _;
|
|
13
|
+
(nameOrNode: string | TSESTree.Identifier | _, initialScope: Scope): Variable | _;
|
|
14
14
|
};
|
|
15
|
-
declare function findPropertyInProperties(name: string, properties: (TSESTree.Property | TSESTree.RestElement | TSESTree.SpreadElement)[], initialScope: Scope, seen?: Set<string>): (typeof properties)[number] |
|
|
15
|
+
declare function findPropertyInProperties(name: string, properties: (TSESTree.Property | TSESTree.RestElement | TSESTree.SpreadElement)[], initialScope: Scope, seen?: Set<string>): (typeof properties)[number] | _;
|
|
16
16
|
|
|
17
17
|
declare const ConstructionDetectionHint: {
|
|
18
18
|
None: bigint;
|
|
@@ -53,27 +53,27 @@ type Construction = {
|
|
|
53
53
|
* @param hint Optional hint to control the detection behavior.
|
|
54
54
|
* @returns The construction type of the node, or `_` if not found.
|
|
55
55
|
*/
|
|
56
|
-
declare function getConstruction(node: TSESTree.Node |
|
|
56
|
+
declare function getConstruction(node: TSESTree.Node | _, initialScope: Scope, hint?: bigint): Construction | _;
|
|
57
57
|
|
|
58
|
-
declare function getVariableDeclaratorId(node: TSESTree.Node |
|
|
58
|
+
declare function getVariableDeclaratorId(node: TSESTree.Node | _, prev?: TSESTree.Node): TSESTree.BindingName | TSESTree.Expression | _;
|
|
59
59
|
|
|
60
|
-
declare function getVariableInitNode(variable: Variable |
|
|
60
|
+
declare function getVariableInitNode(variable: Variable | _, at: number): _ | TSESTree.ClassDeclaration | TSESTree.ClassDeclarationWithName | TSESTree.ClassDeclarationWithOptionalName | TSESTree.Expression | TSESTree.FunctionDeclaration | TSESTree.FunctionDeclarationWithName | TSESTree.FunctionDeclarationWithOptionalName;
|
|
61
61
|
|
|
62
62
|
declare function getChidScopes(scope: Scope): readonly Scope[];
|
|
63
63
|
|
|
64
64
|
type LazyValue = {
|
|
65
65
|
kind: "lazy";
|
|
66
66
|
node: TSESTree.Node;
|
|
67
|
-
initialScope: Scope |
|
|
67
|
+
initialScope: Scope | _;
|
|
68
68
|
} | {
|
|
69
69
|
kind: "none";
|
|
70
70
|
node: TSESTree.Node;
|
|
71
|
-
initialScope: Scope |
|
|
71
|
+
initialScope: Scope | _;
|
|
72
72
|
} | {
|
|
73
73
|
kind: "some";
|
|
74
74
|
node: TSESTree.Node;
|
|
75
75
|
value: unknown;
|
|
76
|
-
initialScope: Scope |
|
|
76
|
+
initialScope: Scope | _;
|
|
77
77
|
};
|
|
78
78
|
declare function toStaticValue(lazyValue: LazyValue): {
|
|
79
79
|
readonly kind: "none";
|
package/dist/index.js
CHANGED
|
@@ -29,9 +29,9 @@ var AST__namespace = /*#__PURE__*/_interopNamespace(AST);
|
|
|
29
29
|
|
|
30
30
|
// src/var-collect.ts
|
|
31
31
|
function getVariableInitNode(variable, at) {
|
|
32
|
-
if (variable == null) return eff.
|
|
32
|
+
if (variable == null) return eff._;
|
|
33
33
|
const def = variable.defs.at(at);
|
|
34
|
-
if (def == null) return eff.
|
|
34
|
+
if (def == null) return eff._;
|
|
35
35
|
switch (true) {
|
|
36
36
|
case (def.type === scopeManager.DefinitionType.FunctionName && def.node.type === types.AST_NODE_TYPES.FunctionDeclaration):
|
|
37
37
|
return def.node;
|
|
@@ -40,7 +40,7 @@ function getVariableInitNode(variable, at) {
|
|
|
40
40
|
case ("init" in def.node && def.node.init != null && !("declarations" in def.node.init)):
|
|
41
41
|
return def.node.init;
|
|
42
42
|
default:
|
|
43
|
-
return eff.
|
|
43
|
+
return eff._;
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -55,8 +55,8 @@ function getVariables(initialScope) {
|
|
|
55
55
|
return variables.reverse();
|
|
56
56
|
}
|
|
57
57
|
var findVariable2 = eff.dual(2, (nameOrNode, initialScope) => {
|
|
58
|
-
if (nameOrNode == null) return eff.
|
|
59
|
-
return ASTUtils__namespace.findVariable(initialScope, nameOrNode) ?? eff.
|
|
58
|
+
if (nameOrNode == null) return eff._;
|
|
59
|
+
return ASTUtils__namespace.findVariable(initialScope, nameOrNode) ?? eff._;
|
|
60
60
|
});
|
|
61
61
|
function findPropertyInProperties(name, properties, initialScope, seen = /* @__PURE__ */ new Set()) {
|
|
62
62
|
return properties.findLast((prop) => {
|
|
@@ -100,7 +100,7 @@ var ConstructionDetectionHint = {
|
|
|
100
100
|
StrictCallExpression: 1n << 0n
|
|
101
101
|
};
|
|
102
102
|
function getConstruction(node, initialScope, hint = ConstructionDetectionHint.None) {
|
|
103
|
-
if (node == null) return eff.
|
|
103
|
+
if (node == null) return eff._;
|
|
104
104
|
switch (node.type) {
|
|
105
105
|
case types.AST_NODE_TYPES.JSXElement:
|
|
106
106
|
case types.AST_NODE_TYPES.JSXFragment:
|
|
@@ -120,30 +120,30 @@ function getConstruction(node, initialScope, hint = ConstructionDetectionHint.No
|
|
|
120
120
|
if (hint & ConstructionDetectionHint.StrictCallExpression) {
|
|
121
121
|
return { kind: "CallExpression", node };
|
|
122
122
|
}
|
|
123
|
-
return eff.
|
|
123
|
+
return eff._;
|
|
124
124
|
}
|
|
125
125
|
case types.AST_NODE_TYPES.MemberExpression: {
|
|
126
|
-
if (!("object" in node)) return eff.
|
|
126
|
+
if (!("object" in node)) return eff._;
|
|
127
127
|
return getConstruction(node.object, initialScope, hint);
|
|
128
128
|
}
|
|
129
129
|
case types.AST_NODE_TYPES.AssignmentExpression:
|
|
130
130
|
case types.AST_NODE_TYPES.AssignmentPattern: {
|
|
131
|
-
if (!("right" in node)) return eff.
|
|
131
|
+
if (!("right" in node)) return eff._;
|
|
132
132
|
return getConstruction(node.right, initialScope, hint);
|
|
133
133
|
}
|
|
134
134
|
case types.AST_NODE_TYPES.LogicalExpression: {
|
|
135
135
|
const lvc = getConstruction(node.left, initialScope, hint);
|
|
136
|
-
if (lvc == null) return eff.
|
|
136
|
+
if (lvc == null) return eff._;
|
|
137
137
|
return getConstruction(node.right, initialScope, hint);
|
|
138
138
|
}
|
|
139
139
|
case types.AST_NODE_TYPES.ConditionalExpression: {
|
|
140
140
|
const cvc = getConstruction(node.consequent, initialScope, hint);
|
|
141
|
-
if (cvc == null) return eff.
|
|
141
|
+
if (cvc == null) return eff._;
|
|
142
142
|
return getConstruction(node.alternate, initialScope, hint);
|
|
143
143
|
}
|
|
144
144
|
case types.AST_NODE_TYPES.Identifier: {
|
|
145
145
|
if (!("name" in node) || typeof node.name !== "string") {
|
|
146
|
-
return eff.
|
|
146
|
+
return eff._;
|
|
147
147
|
}
|
|
148
148
|
const variable = initialScope.set.get(node.name);
|
|
149
149
|
const variableNode = getVariableInitNode(variable, -1);
|
|
@@ -153,25 +153,25 @@ function getConstruction(node, initialScope, hint = ConstructionDetectionHint.No
|
|
|
153
153
|
if ("regex" in node) {
|
|
154
154
|
return { kind: "RegExpLiteral", node };
|
|
155
155
|
}
|
|
156
|
-
return eff.
|
|
156
|
+
return eff._;
|
|
157
157
|
}
|
|
158
158
|
default: {
|
|
159
159
|
if (!("expression" in node) || typeof node.expression !== "object") {
|
|
160
|
-
return eff.
|
|
160
|
+
return eff._;
|
|
161
161
|
}
|
|
162
162
|
return getConstruction(node.expression, initialScope, hint);
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
function getVariableDeclaratorId(node, prev) {
|
|
167
|
-
if (node == null) return eff.
|
|
167
|
+
if (node == null) return eff._;
|
|
168
168
|
switch (true) {
|
|
169
169
|
case (node.type === types.AST_NODE_TYPES.VariableDeclarator && node.init === prev):
|
|
170
170
|
return node.id;
|
|
171
171
|
case (node.type === types.AST_NODE_TYPES.AssignmentExpression && node.right === prev):
|
|
172
172
|
return node.left;
|
|
173
173
|
case (node.type === types.AST_NODE_TYPES.BlockStatement || node.type === types.AST_NODE_TYPES.Program || node.parent === node):
|
|
174
|
-
return eff.
|
|
174
|
+
return eff._;
|
|
175
175
|
default:
|
|
176
176
|
return getVariableDeclaratorId(node.parent, node);
|
|
177
177
|
}
|
|
@@ -267,12 +267,12 @@ function isNodeValueEqual(a, b, initialScopes) {
|
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
269
|
function getVariableInitNodeLoose(variable, at) {
|
|
270
|
-
if (variable == null) return eff.
|
|
270
|
+
if (variable == null) return eff._;
|
|
271
271
|
const node = getVariableInitNode(variable, at);
|
|
272
272
|
if (node != null) return node;
|
|
273
273
|
const def = variable.defs.at(at);
|
|
274
274
|
if (def?.type === scopeManager.DefinitionType.Parameter && AST__namespace.isFunction(def.node)) return def.node;
|
|
275
|
-
return eff.
|
|
275
|
+
return eff._;
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
exports.ConstructionDetectionHint = ConstructionDetectionHint;
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dual,
|
|
1
|
+
import { dual, _ } from '@eslint-react/eff';
|
|
2
2
|
import { DefinitionType, ScopeType } from '@typescript-eslint/scope-manager';
|
|
3
3
|
import { AST_NODE_TYPES } from '@typescript-eslint/types';
|
|
4
4
|
import * as ASTUtils from '@typescript-eslint/utils/ast-utils';
|
|
@@ -7,9 +7,9 @@ import * as AST from '@eslint-react/ast';
|
|
|
7
7
|
|
|
8
8
|
// src/var-collect.ts
|
|
9
9
|
function getVariableInitNode(variable, at) {
|
|
10
|
-
if (variable == null) return
|
|
10
|
+
if (variable == null) return _;
|
|
11
11
|
const def = variable.defs.at(at);
|
|
12
|
-
if (def == null) return
|
|
12
|
+
if (def == null) return _;
|
|
13
13
|
switch (true) {
|
|
14
14
|
case (def.type === DefinitionType.FunctionName && def.node.type === AST_NODE_TYPES.FunctionDeclaration):
|
|
15
15
|
return def.node;
|
|
@@ -18,7 +18,7 @@ function getVariableInitNode(variable, at) {
|
|
|
18
18
|
case ("init" in def.node && def.node.init != null && !("declarations" in def.node.init)):
|
|
19
19
|
return def.node.init;
|
|
20
20
|
default:
|
|
21
|
-
return
|
|
21
|
+
return _;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -33,8 +33,8 @@ function getVariables(initialScope) {
|
|
|
33
33
|
return variables.reverse();
|
|
34
34
|
}
|
|
35
35
|
var findVariable2 = dual(2, (nameOrNode, initialScope) => {
|
|
36
|
-
if (nameOrNode == null) return
|
|
37
|
-
return ASTUtils.findVariable(initialScope, nameOrNode) ??
|
|
36
|
+
if (nameOrNode == null) return _;
|
|
37
|
+
return ASTUtils.findVariable(initialScope, nameOrNode) ?? _;
|
|
38
38
|
});
|
|
39
39
|
function findPropertyInProperties(name, properties, initialScope, seen = /* @__PURE__ */ new Set()) {
|
|
40
40
|
return properties.findLast((prop) => {
|
|
@@ -78,7 +78,7 @@ var ConstructionDetectionHint = {
|
|
|
78
78
|
StrictCallExpression: 1n << 0n
|
|
79
79
|
};
|
|
80
80
|
function getConstruction(node, initialScope, hint = ConstructionDetectionHint.None) {
|
|
81
|
-
if (node == null) return
|
|
81
|
+
if (node == null) return _;
|
|
82
82
|
switch (node.type) {
|
|
83
83
|
case AST_NODE_TYPES.JSXElement:
|
|
84
84
|
case AST_NODE_TYPES.JSXFragment:
|
|
@@ -98,30 +98,30 @@ function getConstruction(node, initialScope, hint = ConstructionDetectionHint.No
|
|
|
98
98
|
if (hint & ConstructionDetectionHint.StrictCallExpression) {
|
|
99
99
|
return { kind: "CallExpression", node };
|
|
100
100
|
}
|
|
101
|
-
return
|
|
101
|
+
return _;
|
|
102
102
|
}
|
|
103
103
|
case AST_NODE_TYPES.MemberExpression: {
|
|
104
|
-
if (!("object" in node)) return
|
|
104
|
+
if (!("object" in node)) return _;
|
|
105
105
|
return getConstruction(node.object, initialScope, hint);
|
|
106
106
|
}
|
|
107
107
|
case AST_NODE_TYPES.AssignmentExpression:
|
|
108
108
|
case AST_NODE_TYPES.AssignmentPattern: {
|
|
109
|
-
if (!("right" in node)) return
|
|
109
|
+
if (!("right" in node)) return _;
|
|
110
110
|
return getConstruction(node.right, initialScope, hint);
|
|
111
111
|
}
|
|
112
112
|
case AST_NODE_TYPES.LogicalExpression: {
|
|
113
113
|
const lvc = getConstruction(node.left, initialScope, hint);
|
|
114
|
-
if (lvc == null) return
|
|
114
|
+
if (lvc == null) return _;
|
|
115
115
|
return getConstruction(node.right, initialScope, hint);
|
|
116
116
|
}
|
|
117
117
|
case AST_NODE_TYPES.ConditionalExpression: {
|
|
118
118
|
const cvc = getConstruction(node.consequent, initialScope, hint);
|
|
119
|
-
if (cvc == null) return
|
|
119
|
+
if (cvc == null) return _;
|
|
120
120
|
return getConstruction(node.alternate, initialScope, hint);
|
|
121
121
|
}
|
|
122
122
|
case AST_NODE_TYPES.Identifier: {
|
|
123
123
|
if (!("name" in node) || typeof node.name !== "string") {
|
|
124
|
-
return
|
|
124
|
+
return _;
|
|
125
125
|
}
|
|
126
126
|
const variable = initialScope.set.get(node.name);
|
|
127
127
|
const variableNode = getVariableInitNode(variable, -1);
|
|
@@ -131,25 +131,25 @@ function getConstruction(node, initialScope, hint = ConstructionDetectionHint.No
|
|
|
131
131
|
if ("regex" in node) {
|
|
132
132
|
return { kind: "RegExpLiteral", node };
|
|
133
133
|
}
|
|
134
|
-
return
|
|
134
|
+
return _;
|
|
135
135
|
}
|
|
136
136
|
default: {
|
|
137
137
|
if (!("expression" in node) || typeof node.expression !== "object") {
|
|
138
|
-
return
|
|
138
|
+
return _;
|
|
139
139
|
}
|
|
140
140
|
return getConstruction(node.expression, initialScope, hint);
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
function getVariableDeclaratorId(node, prev) {
|
|
145
|
-
if (node == null) return
|
|
145
|
+
if (node == null) return _;
|
|
146
146
|
switch (true) {
|
|
147
147
|
case (node.type === AST_NODE_TYPES.VariableDeclarator && node.init === prev):
|
|
148
148
|
return node.id;
|
|
149
149
|
case (node.type === AST_NODE_TYPES.AssignmentExpression && node.right === prev):
|
|
150
150
|
return node.left;
|
|
151
151
|
case (node.type === AST_NODE_TYPES.BlockStatement || node.type === AST_NODE_TYPES.Program || node.parent === node):
|
|
152
|
-
return
|
|
152
|
+
return _;
|
|
153
153
|
default:
|
|
154
154
|
return getVariableDeclaratorId(node.parent, node);
|
|
155
155
|
}
|
|
@@ -245,12 +245,12 @@ function isNodeValueEqual(a, b, initialScopes) {
|
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
247
|
function getVariableInitNodeLoose(variable, at) {
|
|
248
|
-
if (variable == null) return
|
|
248
|
+
if (variable == null) return _;
|
|
249
249
|
const node = getVariableInitNode(variable, at);
|
|
250
250
|
if (node != null) return node;
|
|
251
251
|
const def = variable.defs.at(at);
|
|
252
252
|
if (def?.type === DefinitionType.Parameter && AST.isFunction(def.node)) return def.node;
|
|
253
|
-
return
|
|
253
|
+
return _;
|
|
254
254
|
}
|
|
255
255
|
|
|
256
256
|
export { ConstructionDetectionHint, findPropertyInProperties, findVariable2 as findVariable, getChidScopes, getConstruction, getVariableDeclaratorId, getVariableInitNode, getVariables, isNodeValueEqual, toStaticValue };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/var",
|
|
3
|
-
"version": "1.52.3-
|
|
3
|
+
"version": "1.52.3-next.1",
|
|
4
4
|
"description": "ESLint React's TSESTree AST utility module for static analysis of variables.",
|
|
5
5
|
"homepage": "https://github.com/Rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"./package.json"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@typescript-eslint/scope-manager": "^8.
|
|
39
|
-
"@typescript-eslint/types": "^8.
|
|
40
|
-
"@typescript-eslint/utils": "^8.
|
|
38
|
+
"@typescript-eslint/scope-manager": "^8.34.0",
|
|
39
|
+
"@typescript-eslint/types": "^8.34.0",
|
|
40
|
+
"@typescript-eslint/utils": "^8.34.0",
|
|
41
41
|
"string-ts": "^2.2.1",
|
|
42
42
|
"ts-pattern": "^5.7.1",
|
|
43
|
-
"@eslint-react/
|
|
44
|
-
"@eslint-react/
|
|
43
|
+
"@eslint-react/ast": "1.52.3-next.1",
|
|
44
|
+
"@eslint-react/eff": "1.52.3-next.1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"tsup": "^8.5.0",
|