@eslint-react/ast 1.15.1 → 1.15.2-beta.2
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 +3 -3
- package/dist/index.d.ts +3 -3
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -1131,7 +1131,7 @@ declare type Literal = BigIntLiteral | BooleanLiteral | NullLiteral | NumberLite
|
|
|
1131
1131
|
declare interface LiteralBase extends BaseNode {
|
|
1132
1132
|
type: AST_NODE_TYPES.Literal;
|
|
1133
1133
|
raw: string;
|
|
1134
|
-
value:
|
|
1134
|
+
value: bigint | boolean | number | string | RegExp | null;
|
|
1135
1135
|
}
|
|
1136
1136
|
declare type LiteralExpression = Literal | TemplateLiteral;
|
|
1137
1137
|
declare interface LogicalExpression extends BaseNode {
|
|
@@ -1803,8 +1803,8 @@ declare interface TSMappedType extends BaseNode {
|
|
|
1803
1803
|
constraint: TypeNode;
|
|
1804
1804
|
key: Identifier;
|
|
1805
1805
|
nameType: TypeNode | null;
|
|
1806
|
-
optional: '+' | '-' |
|
|
1807
|
-
readonly: '+' | '-' |
|
|
1806
|
+
optional: boolean | '+' | '-' | undefined;
|
|
1807
|
+
readonly: boolean | '+' | '-' | undefined;
|
|
1808
1808
|
typeAnnotation: TypeNode | undefined;
|
|
1809
1809
|
/** @deprecated Use {@link `constraint`} and {@link `key`} instead. */
|
|
1810
1810
|
typeParameter: TSTypeParameter;
|
package/dist/index.d.ts
CHANGED
|
@@ -1131,7 +1131,7 @@ declare type Literal = BigIntLiteral | BooleanLiteral | NullLiteral | NumberLite
|
|
|
1131
1131
|
declare interface LiteralBase extends BaseNode {
|
|
1132
1132
|
type: AST_NODE_TYPES.Literal;
|
|
1133
1133
|
raw: string;
|
|
1134
|
-
value:
|
|
1134
|
+
value: bigint | boolean | number | string | RegExp | null;
|
|
1135
1135
|
}
|
|
1136
1136
|
declare type LiteralExpression = Literal | TemplateLiteral;
|
|
1137
1137
|
declare interface LogicalExpression extends BaseNode {
|
|
@@ -1803,8 +1803,8 @@ declare interface TSMappedType extends BaseNode {
|
|
|
1803
1803
|
constraint: TypeNode;
|
|
1804
1804
|
key: Identifier;
|
|
1805
1805
|
nameType: TypeNode | null;
|
|
1806
|
-
optional: '+' | '-' |
|
|
1807
|
-
readonly: '+' | '-' |
|
|
1806
|
+
optional: boolean | '+' | '-' | undefined;
|
|
1807
|
+
readonly: boolean | '+' | '-' | undefined;
|
|
1808
1808
|
typeAnnotation: TypeNode | undefined;
|
|
1809
1809
|
/** @deprecated Use {@link `constraint`} and {@link `key`} instead. */
|
|
1810
1810
|
typeParameter: TSTypeParameter;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/ast",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.2-beta.2",
|
|
4
4
|
"description": "ESLint React's TSESTree AST utility module.",
|
|
5
5
|
"homepage": "https://github.com/rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
"./package.json"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@typescript-eslint/types": "^8.
|
|
39
|
-
"@typescript-eslint/typescript-estree": "^8.
|
|
40
|
-
"@typescript-eslint/utils": "^8.
|
|
38
|
+
"@typescript-eslint/types": "^8.12.1",
|
|
39
|
+
"@typescript-eslint/typescript-estree": "^8.12.1",
|
|
40
|
+
"@typescript-eslint/utils": "^8.12.1",
|
|
41
41
|
"birecord": "^0.1.1",
|
|
42
42
|
"string-ts": "^2.2.0",
|
|
43
43
|
"ts-pattern": "^5.5.0",
|
|
44
|
-
"@eslint-react/
|
|
45
|
-
"@eslint-react/
|
|
44
|
+
"@eslint-react/tools": "1.15.2-beta.2",
|
|
45
|
+
"@eslint-react/types": "1.15.2-beta.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"tsup": "^8.3.5"
|