@depup/typescript-eslint__types 8.58.0-depup.0 → 8.65.0-depup.0
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/README.md +2 -2
- package/changes.json +1 -1
- package/dist/generated/ast-spec.d.ts +47 -6
- package/dist/parser-options.d.ts +13 -0
- package/package.json +13 -10
package/README.md
CHANGED
|
@@ -13,8 +13,8 @@ npm install @depup/typescript-eslint__types
|
|
|
13
13
|
|
|
14
14
|
| Field | Value |
|
|
15
15
|
|-------|-------|
|
|
16
|
-
| Original | [@typescript-eslint/types](https://www.npmjs.com/package/@typescript-eslint/types) @ 8.
|
|
17
|
-
| Processed | 2026-
|
|
16
|
+
| Original | [@typescript-eslint/types](https://www.npmjs.com/package/@typescript-eslint/types) @ 8.65.0 |
|
|
17
|
+
| Processed | 2026-07-21 |
|
|
18
18
|
| Smoke test | passed |
|
|
19
19
|
| Deps updated | 0 |
|
|
20
20
|
|
package/changes.json
CHANGED
|
@@ -30,7 +30,8 @@ export declare interface ArrayPattern extends BaseNode {
|
|
|
30
30
|
optional: boolean;
|
|
31
31
|
typeAnnotation: TSTypeAnnotation | undefined;
|
|
32
32
|
}
|
|
33
|
-
export declare
|
|
33
|
+
export declare type ArrowFunctionExpression = ArrowFunctionExpressionWithBlockBody | ArrowFunctionExpressionWithExpressionBody;
|
|
34
|
+
declare interface ArrowFunctionExpressionBase extends BaseNode {
|
|
34
35
|
type: AST_NODE_TYPES.ArrowFunctionExpression;
|
|
35
36
|
async: boolean;
|
|
36
37
|
body: BlockStatement | Expression;
|
|
@@ -41,6 +42,14 @@ export declare interface ArrowFunctionExpression extends BaseNode {
|
|
|
41
42
|
returnType: TSTypeAnnotation | undefined;
|
|
42
43
|
typeParameters: TSTypeParameterDeclaration | undefined;
|
|
43
44
|
}
|
|
45
|
+
export declare interface ArrowFunctionExpressionWithBlockBody extends ArrowFunctionExpressionBase {
|
|
46
|
+
body: BlockStatement;
|
|
47
|
+
expression: false;
|
|
48
|
+
}
|
|
49
|
+
export declare interface ArrowFunctionExpressionWithExpressionBody extends ArrowFunctionExpressionBase {
|
|
50
|
+
body: Expression;
|
|
51
|
+
expression: true;
|
|
52
|
+
}
|
|
44
53
|
export declare interface AssignmentExpression extends BaseNode {
|
|
45
54
|
type: AST_NODE_TYPES.AssignmentExpression;
|
|
46
55
|
left: Expression;
|
|
@@ -810,6 +819,16 @@ export declare interface ImportDeclaration extends BaseNode {
|
|
|
810
819
|
* The kind of the import.
|
|
811
820
|
*/
|
|
812
821
|
importKind: ImportKind;
|
|
822
|
+
/**
|
|
823
|
+
* The phase of the import.
|
|
824
|
+
* `'defer'` when the import defers evaluation of the module until it is
|
|
825
|
+
* first used:
|
|
826
|
+
* ```ts
|
|
827
|
+
* import defer * as mod from 'mod';
|
|
828
|
+
* ```
|
|
829
|
+
* Otherwise `null`.
|
|
830
|
+
*/
|
|
831
|
+
phase: 'defer' | null;
|
|
813
832
|
/**
|
|
814
833
|
* The source module being imported from.
|
|
815
834
|
*/
|
|
@@ -2004,12 +2023,20 @@ export declare interface TSTypeParameterInstantiation extends BaseNode {
|
|
|
2004
2023
|
type: AST_NODE_TYPES.TSTypeParameterInstantiation;
|
|
2005
2024
|
params: TypeNode[];
|
|
2006
2025
|
}
|
|
2007
|
-
export declare
|
|
2026
|
+
export declare type TSTypePredicate = TSTypePredicateNoAsserts | TSTypePredicateWithAsserts;
|
|
2027
|
+
declare interface TSTypePredicateBase extends BaseNode {
|
|
2008
2028
|
type: AST_NODE_TYPES.TSTypePredicate;
|
|
2009
2029
|
asserts: boolean;
|
|
2010
2030
|
parameterName: Identifier | TSThisType;
|
|
2011
2031
|
typeAnnotation: TSTypeAnnotation | null;
|
|
2012
2032
|
}
|
|
2033
|
+
export declare interface TSTypePredicateNoAsserts extends TSTypePredicateBase {
|
|
2034
|
+
asserts: false;
|
|
2035
|
+
typeAnnotation: TSTypeAnnotation;
|
|
2036
|
+
}
|
|
2037
|
+
export declare interface TSTypePredicateWithAsserts extends TSTypePredicateBase {
|
|
2038
|
+
asserts: true;
|
|
2039
|
+
}
|
|
2013
2040
|
export declare interface TSTypeQuery extends BaseNode {
|
|
2014
2041
|
type: AST_NODE_TYPES.TSTypeQuery;
|
|
2015
2042
|
exprName: EntityName | TSImportType;
|
|
@@ -2038,9 +2065,14 @@ export declare type TypeElement = TSCallSignatureDeclaration | TSConstructSignat
|
|
|
2038
2065
|
export declare type TypeNode = TSAbstractKeyword | TSAnyKeyword | TSArrayType | TSAsyncKeyword | TSBigIntKeyword | TSBooleanKeyword | TSConditionalType | TSConstructorType | TSDeclareKeyword | TSExportKeyword | TSFunctionType | TSImportType | TSIndexedAccessType | TSInferType | TSIntersectionType | TSIntrinsicKeyword | TSLiteralType | TSMappedType | TSNamedTupleMember | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSOptionalType | TSPrivateKeyword | TSProtectedKeyword | TSPublicKeyword | TSQualifiedName | TSReadonlyKeyword | TSRestType | TSStaticKeyword | TSStringKeyword | TSSymbolKeyword | TSTemplateLiteralType | TSThisType | TSTupleType | TSTypeLiteral | TSTypeOperator | TSTypePredicate | TSTypeQuery | TSTypeReference | TSUndefinedKeyword | TSUnionType | TSUnknownKeyword | TSVoidKeyword;
|
|
2039
2066
|
export declare type UnaryExpression = UnaryExpressionBitwiseNot | UnaryExpressionDelete | UnaryExpressionMinus | UnaryExpressionNot | UnaryExpressionPlus | UnaryExpressionTypeof | UnaryExpressionVoid;
|
|
2040
2067
|
declare interface UnaryExpressionBase extends BaseNode {
|
|
2068
|
+
type: AST_NODE_TYPES.UnaryExpression;
|
|
2041
2069
|
argument: Expression;
|
|
2042
2070
|
operator: string;
|
|
2043
|
-
|
|
2071
|
+
/**
|
|
2072
|
+
* @deprecated The `prefix` property is always `true` and is only present for historical reasons.
|
|
2073
|
+
* See https://github.com/estree/estree/pull/118.
|
|
2074
|
+
*/
|
|
2075
|
+
prefix: true;
|
|
2044
2076
|
}
|
|
2045
2077
|
export declare type UnaryExpressionBitwiseNot = UnaryExpressionSpecific<'~'>;
|
|
2046
2078
|
export declare type UnaryExpressionDelete = UnaryExpressionSpecific<'delete'>;
|
|
@@ -2048,14 +2080,15 @@ export declare type UnaryExpressionMinus = UnaryExpressionSpecific<'-'>;
|
|
|
2048
2080
|
export declare type UnaryExpressionNot = UnaryExpressionSpecific<'!'>;
|
|
2049
2081
|
export declare type UnaryExpressionPlus = UnaryExpressionSpecific<'+'>;
|
|
2050
2082
|
declare interface UnaryExpressionSpecific<T extends string> extends UnaryExpressionBase {
|
|
2051
|
-
type: AST_NODE_TYPES.UnaryExpression;
|
|
2052
2083
|
operator: T;
|
|
2053
2084
|
}
|
|
2054
2085
|
export declare type UnaryExpressionTypeof = UnaryExpressionSpecific<'typeof'>;
|
|
2055
2086
|
export declare type UnaryExpressionVoid = UnaryExpressionSpecific<'void'>;
|
|
2056
|
-
export declare interface UpdateExpression extends
|
|
2087
|
+
export declare interface UpdateExpression extends BaseNode {
|
|
2057
2088
|
type: AST_NODE_TYPES.UpdateExpression;
|
|
2089
|
+
argument: Expression;
|
|
2058
2090
|
operator: '++' | '--';
|
|
2091
|
+
prefix: boolean;
|
|
2059
2092
|
}
|
|
2060
2093
|
export declare type UsingDeclaration = UsingInForOfDeclaration | UsingInNormalContextDeclaration;
|
|
2061
2094
|
declare interface UsingDeclarationBase extends BaseNode {
|
|
@@ -2155,9 +2188,17 @@ export declare interface WithStatement extends BaseNode {
|
|
|
2155
2188
|
body: Statement;
|
|
2156
2189
|
object: Expression;
|
|
2157
2190
|
}
|
|
2158
|
-
export declare
|
|
2191
|
+
export declare type YieldExpression = YieldNoStarExpression | YieldStarExpression;
|
|
2192
|
+
declare interface YieldExpressionBase extends BaseNode {
|
|
2159
2193
|
type: AST_NODE_TYPES.YieldExpression;
|
|
2160
2194
|
argument: Expression | null;
|
|
2161
2195
|
delegate: boolean;
|
|
2162
2196
|
}
|
|
2197
|
+
export declare interface YieldNoStarExpression extends YieldExpressionBase {
|
|
2198
|
+
delegate: false;
|
|
2199
|
+
}
|
|
2200
|
+
export declare interface YieldStarExpression extends YieldExpressionBase {
|
|
2201
|
+
argument: Expression;
|
|
2202
|
+
delegate: true;
|
|
2203
|
+
}
|
|
2163
2204
|
export {};
|
package/dist/parser-options.d.ts
CHANGED
|
@@ -64,5 +64,18 @@ export interface ParserOptions {
|
|
|
64
64
|
sourceType?: SourceType | undefined;
|
|
65
65
|
tokens?: boolean;
|
|
66
66
|
tsconfigRootDir?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Controls how the parser reacts when run with a TypeScript version that is
|
|
69
|
+
* not officially supported by typescript-eslint.
|
|
70
|
+
* - `'warn'` (default): log a warning to the console.
|
|
71
|
+
* - `'error'`: throw, causing the lint run to fail. Useful in CI to prevent
|
|
72
|
+
* unsupported TypeScript versions from being merged unnoticed.
|
|
73
|
+
* - `'ignore'`: do nothing.
|
|
74
|
+
*/
|
|
75
|
+
onUnsupportedTypeScriptVersion?: 'error' | 'ignore' | 'warn';
|
|
76
|
+
/**
|
|
77
|
+
* @deprecated Use {@link onUnsupportedTypeScriptVersion} instead.
|
|
78
|
+
* `true` is equivalent to `'warn'` and `false` is equivalent to `'ignore'`.
|
|
79
|
+
*/
|
|
67
80
|
warnOnUnsupportedTypeScriptVersion?: boolean;
|
|
68
81
|
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depup/typescript-eslint__types",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.65.0-depup.0",
|
|
4
4
|
"description": "Types for the TypeScript-ESTree AST spec (with updated dependencies)",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"README.md"
|
|
10
|
-
"LICENSE",
|
|
11
|
-
"changes.json"
|
|
7
|
+
"!**/*.tsbuildinfo",
|
|
8
|
+
"changes.json",
|
|
9
|
+
"README.md"
|
|
12
10
|
],
|
|
13
11
|
"type": "commonjs",
|
|
14
12
|
"exports": {
|
|
@@ -44,6 +42,7 @@
|
|
|
44
42
|
"estree"
|
|
45
43
|
],
|
|
46
44
|
"devDependencies": {
|
|
45
|
+
"@typescript/native-preview": "7.0.0-dev.20260518.1",
|
|
47
46
|
"@vitest/coverage-v8": "^4.0.18",
|
|
48
47
|
"eslint": "^10.0.0",
|
|
49
48
|
"rimraf": "^5.0.10",
|
|
@@ -91,7 +90,9 @@
|
|
|
91
90
|
"typescript-eslint:build",
|
|
92
91
|
"eslint-plugin-internal:build"
|
|
93
92
|
]
|
|
94
|
-
}
|
|
93
|
+
},
|
|
94
|
+
"typecheck:tsgo": {},
|
|
95
|
+
"attw-check": {}
|
|
95
96
|
}
|
|
96
97
|
},
|
|
97
98
|
"scripts": {
|
|
@@ -102,14 +103,16 @@
|
|
|
102
103
|
"generate-lib": "pnpm -w exec nx run scope-manager:generate-lib",
|
|
103
104
|
"lint": "pnpm -w exec nx lint",
|
|
104
105
|
"test": "pnpm -w exec nx test",
|
|
105
|
-
"typecheck": "pnpm -w exec nx typecheck"
|
|
106
|
+
"typecheck": "pnpm -w exec nx typecheck",
|
|
107
|
+
"typecheck:tsgo": "pnpm -w exec nx typecheck:tsgo",
|
|
108
|
+
"attw-check": "pnpm -w exec nx attw-check"
|
|
106
109
|
},
|
|
107
110
|
"depup": {
|
|
108
111
|
"changes": {},
|
|
109
112
|
"depsUpdated": 0,
|
|
110
113
|
"originalPackage": "@typescript-eslint/types",
|
|
111
|
-
"originalVersion": "8.
|
|
112
|
-
"processedAt": "2026-
|
|
114
|
+
"originalVersion": "8.65.0",
|
|
115
|
+
"processedAt": "2026-07-21T16:09:04.646Z",
|
|
113
116
|
"smokeTest": "passed"
|
|
114
117
|
}
|
|
115
118
|
}
|