@sprucelabs/spruce-cli 17.1.48 → 17.1.50
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/CHANGELOG.md +2524 -8160
- package/build/features/onboard/OnboardFeature.js +2 -2
- package/build/features/onboard/OnboardFeature.js.map +1 -1
- package/build/features/onboard/templates/{ManagingTodos.test.ts.hbs → RootViewController.test.ts.hbs} +2 -2
- package/build/features/skill/actions/RegisterAction.js +1 -1
- package/build/features/skill/actions/RegisterAction.js.map +1 -1
- package/node_modules/@typescript-eslint/parser/_ts3.4/dist/index.d.ts +4 -0
- package/node_modules/@typescript-eslint/parser/_ts3.4/dist/parser.d.ts +22 -0
- package/node_modules/@typescript-eslint/parser/package.json +5 -5
- package/node_modules/@typescript-eslint/scope-manager/package.json +5 -5
- package/node_modules/@typescript-eslint/types/_ts3.4/dist/generated/ast-spec.d.ts +1732 -0
- package/node_modules/@typescript-eslint/types/_ts3.4/dist/index.d.ts +5 -0
- package/node_modules/@typescript-eslint/types/_ts3.4/dist/lib.d.ts +3 -0
- package/node_modules/@typescript-eslint/types/_ts3.4/dist/parser-options.d.ts +36 -0
- package/node_modules/@typescript-eslint/types/_ts3.4/dist/ts-estree.d.ts +9 -0
- package/node_modules/@typescript-eslint/types/package.json +2 -2
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ast-converter.d.ts +9 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/convert-comments.d.ts +11 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/convert.d.ts +159 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/WatchCompilerHostOfConfigFile.d.ts +13 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createDefaultProgram.d.ts +12 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createIsolatedProgram.d.ts +9 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createProjectProgram.d.ts +11 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createSourceFile.d.ts +5 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createWatchProgram.d.ts +19 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/getScriptKind.d.ts +5 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/shared.d.ts +22 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/useProvidedPrograms.d.ts +13 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/getModifiers.d.ts +4 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/index.d.ts +12 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/jsx/xhtml-entities.d.ts +2 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/node-utils.d.ts +231 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parser-options.d.ts +188 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parser.d.ts +25 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/semantic-or-syntactic-errors.d.ts +13 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/simple-traverse.d.ts +9 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/estree-to-ts-node-types.d.ts +175 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/index.d.ts +4 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/ts-nodes.d.ts +18 -0
- package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/version-check.d.ts +3 -0
- package/node_modules/@typescript-eslint/typescript-estree/package.json +5 -5
- package/node_modules/@typescript-eslint/visitor-keys/_ts3.4/dist/get-keys.d.ts +4 -0
- package/node_modules/@typescript-eslint/visitor-keys/_ts3.4/dist/index.d.ts +3 -0
- package/node_modules/@typescript-eslint/visitor-keys/_ts3.4/dist/visitor-keys.d.ts +6 -0
- package/node_modules/@typescript-eslint/visitor-keys/package.json +3 -3
- package/package.json +30 -30
- package/src/features/onboard/OnboardFeature.ts +2 -2
- package/src/features/onboard/templates/{ManagingTodos.test.ts.hbs → RootViewController.test.ts.hbs} +2 -2
- package/src/features/skill/actions/RegisterAction.ts +1 -1
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { DebugLevel } from '@typescript-eslint/types';
|
|
2
|
+
import * as ts from 'typescript';
|
|
3
|
+
import { CanonicalPath } from './create-program/shared';
|
|
4
|
+
import { TSESTree, TSESTreeToTSNode, TSNode, TSToken } from './ts-estree';
|
|
5
|
+
declare type DebugModule = 'typescript-eslint' | 'eslint' | 'typescript';
|
|
6
|
+
export interface Extra {
|
|
7
|
+
code: string;
|
|
8
|
+
comment: boolean;
|
|
9
|
+
comments: TSESTree.Comment[];
|
|
10
|
+
createDefaultProgram: boolean;
|
|
11
|
+
debugLevel: Set<DebugModule>;
|
|
12
|
+
errorOnTypeScriptSyntacticAndSemanticIssues: boolean;
|
|
13
|
+
errorOnUnknownASTType: boolean;
|
|
14
|
+
EXPERIMENTAL_useSourceOfProjectReferenceRedirect: boolean;
|
|
15
|
+
extraFileExtensions: string[];
|
|
16
|
+
filePath: string;
|
|
17
|
+
jsx: boolean;
|
|
18
|
+
loc: boolean;
|
|
19
|
+
singleRun: boolean;
|
|
20
|
+
log: (message: string) => void;
|
|
21
|
+
preserveNodeMaps?: boolean;
|
|
22
|
+
programs: null | Iterable<ts.Program>;
|
|
23
|
+
projects: CanonicalPath[];
|
|
24
|
+
range: boolean;
|
|
25
|
+
strict: boolean;
|
|
26
|
+
tokens: null | TSESTree.Token[];
|
|
27
|
+
tsconfigRootDir: string;
|
|
28
|
+
moduleResolver: string;
|
|
29
|
+
}
|
|
30
|
+
interface ParseOptions {
|
|
31
|
+
/**
|
|
32
|
+
* create a top-level comments array containing all comments
|
|
33
|
+
*/
|
|
34
|
+
comment?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* An array of modules to turn explicit debugging on for.
|
|
37
|
+
* - 'typescript-eslint' is the same as setting the env var `DEBUG=typescript-eslint:*`
|
|
38
|
+
* - 'eslint' is the same as setting the env var `DEBUG=eslint:*`
|
|
39
|
+
* - 'typescript' is the same as setting `extendedDiagnostics: true` in your tsconfig compilerOptions
|
|
40
|
+
*
|
|
41
|
+
* For convenience, also supports a boolean:
|
|
42
|
+
* - true === ['typescript-eslint']
|
|
43
|
+
* - false === []
|
|
44
|
+
*/
|
|
45
|
+
debugLevel?: DebugLevel;
|
|
46
|
+
/**
|
|
47
|
+
* Cause the parser to error if it encounters an unknown AST node type (useful for testing).
|
|
48
|
+
* This case only usually occurs when TypeScript releases new features.
|
|
49
|
+
*/
|
|
50
|
+
errorOnUnknownASTType?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Absolute (or relative to `cwd`) path to the file being parsed.
|
|
53
|
+
*/
|
|
54
|
+
filePath?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Enable parsing of JSX.
|
|
57
|
+
* For more details, see https://www.typescriptlang.org/docs/handbook/jsx.html
|
|
58
|
+
*
|
|
59
|
+
* NOTE: this setting does not effect known file types (.js, .cjs, .mjs, .jsx, .ts, .mts, .cts, .tsx, .json) because the
|
|
60
|
+
* TypeScript compiler has its own internal handling for known file extensions.
|
|
61
|
+
*
|
|
62
|
+
* For the exact behavior, see https://github.com/typescript-eslint/typescript-eslint/tree/main/packages/parser#parseroptionsecmafeaturesjsx
|
|
63
|
+
*/
|
|
64
|
+
jsx?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Controls whether the `loc` information to each node.
|
|
67
|
+
* The `loc` property is an object which contains the exact line/column the node starts/ends on.
|
|
68
|
+
* This is similar to the `range` property, except it is line/column relative.
|
|
69
|
+
*/
|
|
70
|
+
loc?: boolean;
|
|
71
|
+
loggerFn?: ((message: string) => void) | false;
|
|
72
|
+
/**
|
|
73
|
+
* Controls whether the `range` property is included on AST nodes.
|
|
74
|
+
* The `range` property is a [number, number] which indicates the start/end index of the node in the file contents.
|
|
75
|
+
* This is similar to the `loc` property, except this is the absolute index.
|
|
76
|
+
*/
|
|
77
|
+
range?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Set to true to create a top-level array containing all tokens from the file.
|
|
80
|
+
*/
|
|
81
|
+
tokens?: boolean;
|
|
82
|
+
}
|
|
83
|
+
interface ParseAndGenerateServicesOptions extends ParseOptions {
|
|
84
|
+
/**
|
|
85
|
+
* Causes the parser to error if the TypeScript compiler returns any unexpected syntax/semantic errors.
|
|
86
|
+
*/
|
|
87
|
+
errorOnTypeScriptSyntacticAndSemanticIssues?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* ***EXPERIMENTAL FLAG*** - Use this at your own risk.
|
|
90
|
+
*
|
|
91
|
+
* Causes TS to use the source files for referenced projects instead of the compiled .d.ts files.
|
|
92
|
+
* This feature is not yet optimized, and is likely to cause OOMs for medium to large projects.
|
|
93
|
+
*
|
|
94
|
+
* This flag REQUIRES at least TS v3.9, otherwise it does nothing.
|
|
95
|
+
*
|
|
96
|
+
* See: https://github.com/typescript-eslint/typescript-eslint/issues/2094
|
|
97
|
+
*/
|
|
98
|
+
EXPERIMENTAL_useSourceOfProjectReferenceRedirect?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* When `project` is provided, this controls the non-standard file extensions which will be parsed.
|
|
101
|
+
* It accepts an array of file extensions, each preceded by a `.`.
|
|
102
|
+
*/
|
|
103
|
+
extraFileExtensions?: string[];
|
|
104
|
+
/**
|
|
105
|
+
* Absolute (or relative to `tsconfigRootDir`) path to the file being parsed.
|
|
106
|
+
* When `project` is provided, this is required, as it is used to fetch the file from the TypeScript compiler's cache.
|
|
107
|
+
*/
|
|
108
|
+
filePath?: string;
|
|
109
|
+
/**
|
|
110
|
+
* Allows the user to control whether or not two-way AST node maps are preserved
|
|
111
|
+
* during the AST conversion process.
|
|
112
|
+
*
|
|
113
|
+
* By default: the AST node maps are NOT preserved, unless `project` has been specified,
|
|
114
|
+
* in which case the maps are made available on the returned `parserServices`.
|
|
115
|
+
*
|
|
116
|
+
* NOTE: If `preserveNodeMaps` is explicitly set by the user, it will be respected,
|
|
117
|
+
* regardless of whether or not `project` is in use.
|
|
118
|
+
*/
|
|
119
|
+
preserveNodeMaps?: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* Absolute (or relative to `tsconfigRootDir`) paths to the tsconfig(s).
|
|
122
|
+
* If this is provided, type information will be returned.
|
|
123
|
+
*/
|
|
124
|
+
project?: string | string[];
|
|
125
|
+
/**
|
|
126
|
+
* If you provide a glob (or globs) to the project option, you can use this option to ignore certain folders from
|
|
127
|
+
* being matched by the globs.
|
|
128
|
+
* This accepts an array of globs to ignore.
|
|
129
|
+
*
|
|
130
|
+
* By default, this is set to ["**\/node_modules/**"]
|
|
131
|
+
*/
|
|
132
|
+
projectFolderIgnoreList?: string[];
|
|
133
|
+
/**
|
|
134
|
+
* The absolute path to the root directory for all provided `project`s.
|
|
135
|
+
*/
|
|
136
|
+
tsconfigRootDir?: string;
|
|
137
|
+
/**
|
|
138
|
+
* An array of one or more instances of TypeScript Program objects to be used for type information.
|
|
139
|
+
* This overrides any program or programs that would have been computed from the `project` option.
|
|
140
|
+
* All linted files must be part of the provided program(s).
|
|
141
|
+
*/
|
|
142
|
+
programs?: ts.Program[];
|
|
143
|
+
/**
|
|
144
|
+
***************************************************************************************
|
|
145
|
+
* IT IS RECOMMENDED THAT YOU DO NOT USE THIS OPTION, AS IT CAUSES PERFORMANCE ISSUES. *
|
|
146
|
+
***************************************************************************************
|
|
147
|
+
*
|
|
148
|
+
* When passed with `project`, this allows the parser to create a catch-all, default program.
|
|
149
|
+
* This means that if the parser encounters a file not included in any of the provided `project`s,
|
|
150
|
+
* it will not error, but will instead parse the file and its dependencies in a new program.
|
|
151
|
+
*/
|
|
152
|
+
createDefaultProgram?: boolean;
|
|
153
|
+
/**
|
|
154
|
+
* ESLint (and therefore typescript-eslint) is used in both "single run"/one-time contexts,
|
|
155
|
+
* such as an ESLint CLI invocation, and long-running sessions (such as continuous feedback
|
|
156
|
+
* on a file in an IDE).
|
|
157
|
+
*
|
|
158
|
+
* When typescript-eslint handles TypeScript Program management behind the scenes, this distinction
|
|
159
|
+
* is important because there is significant overhead to managing the so called Watch Programs
|
|
160
|
+
* needed for the long-running use-case.
|
|
161
|
+
*
|
|
162
|
+
* When allowAutomaticSingleRunInference is enabled, we will use common heuristics to infer
|
|
163
|
+
* whether or not ESLint is being used as part of a single run.
|
|
164
|
+
*/
|
|
165
|
+
allowAutomaticSingleRunInference?: boolean;
|
|
166
|
+
moduleResolver?: string;
|
|
167
|
+
}
|
|
168
|
+
export declare type TSESTreeOptions = ParseAndGenerateServicesOptions;
|
|
169
|
+
export interface ParserWeakMap<TKey, TValueBase> {
|
|
170
|
+
get<TValue extends TValueBase>(key: TKey): TValue;
|
|
171
|
+
has(key: unknown): boolean;
|
|
172
|
+
}
|
|
173
|
+
export interface ParserWeakMapESTreeToTSNode<TKey extends TSESTree.Node = TSESTree.Node> {
|
|
174
|
+
get<TKeyBase extends TKey>(key: TKeyBase): TSESTreeToTSNode<TKeyBase>;
|
|
175
|
+
has(key: unknown): boolean;
|
|
176
|
+
}
|
|
177
|
+
export interface ParserServices {
|
|
178
|
+
program: ts.Program;
|
|
179
|
+
esTreeNodeToTSNodeMap: ParserWeakMapESTreeToTSNode;
|
|
180
|
+
tsNodeToESTreeNodeMap: ParserWeakMap<TSNode | TSToken, TSESTree.Node>;
|
|
181
|
+
hasFullTypeInformation: boolean;
|
|
182
|
+
}
|
|
183
|
+
export interface ModuleResolver {
|
|
184
|
+
version: 1;
|
|
185
|
+
resolveModuleNames(moduleNames: string[], containingFile: string, reusedNames: string[] | undefined, redirectedReference: ts.ResolvedProjectReference | undefined, options: ts.CompilerOptions): (ts.ResolvedModule | undefined)[];
|
|
186
|
+
}
|
|
187
|
+
export {};
|
|
188
|
+
//# sourceMappingURL=parser-options.d.ts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ParserServices, TSESTreeOptions } from './parser-options';
|
|
2
|
+
import { TSESTree } from './ts-estree';
|
|
3
|
+
declare function clearProgramCache(): void;
|
|
4
|
+
interface EmptyObject {
|
|
5
|
+
}
|
|
6
|
+
declare type AST<T extends TSESTreeOptions> = TSESTree.Program & (T['tokens'] extends true ? {
|
|
7
|
+
tokens: TSESTree.Token[];
|
|
8
|
+
} : EmptyObject) & (T['comment'] extends true ? {
|
|
9
|
+
comments: TSESTree.Comment[];
|
|
10
|
+
} : EmptyObject);
|
|
11
|
+
interface ParseAndGenerateServicesResult<T extends TSESTreeOptions> {
|
|
12
|
+
ast: AST<T>;
|
|
13
|
+
services: ParserServices;
|
|
14
|
+
}
|
|
15
|
+
interface ParseWithNodeMapsResult<T extends TSESTreeOptions> {
|
|
16
|
+
ast: AST<T>;
|
|
17
|
+
esTreeNodeToTSNodeMap: ParserServices['esTreeNodeToTSNodeMap'];
|
|
18
|
+
tsNodeToESTreeNodeMap: ParserServices['tsNodeToESTreeNodeMap'];
|
|
19
|
+
}
|
|
20
|
+
declare function parse<T extends TSESTreeOptions = TSESTreeOptions>(code: string, options?: T): AST<T>;
|
|
21
|
+
declare function parseWithNodeMaps<T extends TSESTreeOptions = TSESTreeOptions>(code: string, options?: T): ParseWithNodeMapsResult<T>;
|
|
22
|
+
declare function clearParseAndGenerateServicesCalls(): void;
|
|
23
|
+
declare function parseAndGenerateServices<T extends TSESTreeOptions = TSESTreeOptions>(code: string, options: T): ParseAndGenerateServicesResult<T>;
|
|
24
|
+
export { AST, parse, parseAndGenerateServices, parseWithNodeMaps, ParseAndGenerateServicesResult, ParseWithNodeMapsResult, clearProgramCache, clearParseAndGenerateServicesCalls, };
|
|
25
|
+
//# sourceMappingURL=parser.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Diagnostic, Program, SourceFile } from 'typescript';
|
|
2
|
+
export interface SemanticOrSyntacticError extends Diagnostic {
|
|
3
|
+
message: string;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* By default, diagnostics from the TypeScript compiler contain all errors - regardless of whether
|
|
7
|
+
* they are related to generic ECMAScript standards, or TypeScript-specific constructs.
|
|
8
|
+
*
|
|
9
|
+
* Therefore, we filter out all diagnostics, except for the ones we explicitly want to consider when
|
|
10
|
+
* the user opts in to throwing errors on semantic issues.
|
|
11
|
+
*/
|
|
12
|
+
export declare function getFirstSemanticOrSyntacticError(program: Program, ast: SourceFile): SemanticOrSyntacticError | undefined;
|
|
13
|
+
//# sourceMappingURL=semantic-or-syntactic-errors.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TSESTree } from './ts-estree';
|
|
2
|
+
declare type SimpleTraverseOptions = {
|
|
3
|
+
enter: (node: TSESTree.Node, parent: TSESTree.Node | undefined) => void;
|
|
4
|
+
} | {
|
|
5
|
+
[key: string]: (node: TSESTree.Node, parent: TSESTree.Node | undefined) => void;
|
|
6
|
+
};
|
|
7
|
+
export declare function simpleTraverse(startingNode: TSESTree.Node, options: SimpleTraverseOptions, setParentPointers?: boolean): void;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=simple-traverse.d.ts.map
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/types';
|
|
2
|
+
import * as ts from 'typescript';
|
|
3
|
+
import { TSNode } from './ts-nodes';
|
|
4
|
+
export interface EstreeToTsNodeTypes {
|
|
5
|
+
[AST_NODE_TYPES.ArrayExpression]: ts.ArrayLiteralExpression;
|
|
6
|
+
[AST_NODE_TYPES.ArrayPattern]: ts.ArrayLiteralExpression | ts.ArrayBindingPattern;
|
|
7
|
+
[AST_NODE_TYPES.ArrowFunctionExpression]: ts.ArrowFunction;
|
|
8
|
+
[AST_NODE_TYPES.AssignmentExpression]: ts.BinaryExpression;
|
|
9
|
+
[AST_NODE_TYPES.AssignmentPattern]: ts.ShorthandPropertyAssignment | ts.BindingElement | ts.BinaryExpression | ts.ParameterDeclaration;
|
|
10
|
+
[AST_NODE_TYPES.AwaitExpression]: ts.AwaitExpression;
|
|
11
|
+
[AST_NODE_TYPES.BinaryExpression]: ts.BinaryExpression;
|
|
12
|
+
[AST_NODE_TYPES.BlockStatement]: ts.Block;
|
|
13
|
+
[AST_NODE_TYPES.BreakStatement]: ts.BreakStatement;
|
|
14
|
+
[AST_NODE_TYPES.CallExpression]: ts.CallExpression;
|
|
15
|
+
[AST_NODE_TYPES.CatchClause]: ts.CatchClause;
|
|
16
|
+
[AST_NODE_TYPES.ChainExpression]: ts.CallExpression | ts.PropertyAccessExpression | ts.ElementAccessExpression | ts.NonNullExpression;
|
|
17
|
+
[AST_NODE_TYPES.ClassBody]: ts.ClassDeclaration | ts.ClassExpression;
|
|
18
|
+
[AST_NODE_TYPES.ClassDeclaration]: ts.ClassDeclaration;
|
|
19
|
+
[AST_NODE_TYPES.ClassExpression]: ts.ClassExpression;
|
|
20
|
+
[AST_NODE_TYPES.PropertyDefinition]: ts.PropertyDeclaration;
|
|
21
|
+
[AST_NODE_TYPES.ConditionalExpression]: ts.ConditionalExpression;
|
|
22
|
+
[AST_NODE_TYPES.ContinueStatement]: ts.ContinueStatement;
|
|
23
|
+
[AST_NODE_TYPES.DebuggerStatement]: ts.DebuggerStatement;
|
|
24
|
+
[AST_NODE_TYPES.Decorator]: ts.Decorator;
|
|
25
|
+
[AST_NODE_TYPES.DoWhileStatement]: ts.DoStatement;
|
|
26
|
+
[AST_NODE_TYPES.EmptyStatement]: ts.EmptyStatement;
|
|
27
|
+
[AST_NODE_TYPES.ExportAllDeclaration]: ts.ExportDeclaration;
|
|
28
|
+
[AST_NODE_TYPES.ExportDefaultDeclaration]: ts.ExportAssignment | ts.FunctionDeclaration | ts.VariableStatement | ts.ClassDeclaration | ts.ClassExpression | ts.TypeAliasDeclaration | ts.InterfaceDeclaration | ts.EnumDeclaration | ts.ModuleDeclaration;
|
|
29
|
+
[AST_NODE_TYPES.ExportNamedDeclaration]: ts.ExportDeclaration | ts.FunctionDeclaration | ts.VariableStatement | ts.ClassDeclaration | ts.ClassExpression | ts.TypeAliasDeclaration | ts.InterfaceDeclaration | ts.EnumDeclaration | ts.ModuleDeclaration;
|
|
30
|
+
[AST_NODE_TYPES.ExportSpecifier]: ts.ExportSpecifier;
|
|
31
|
+
[AST_NODE_TYPES.ExpressionStatement]: ts.ExpressionStatement;
|
|
32
|
+
[AST_NODE_TYPES.ForInStatement]: ts.ForInStatement;
|
|
33
|
+
[AST_NODE_TYPES.ForOfStatement]: ts.ForOfStatement;
|
|
34
|
+
[AST_NODE_TYPES.ForStatement]: ts.ForStatement;
|
|
35
|
+
[AST_NODE_TYPES.FunctionDeclaration]: ts.FunctionDeclaration;
|
|
36
|
+
[AST_NODE_TYPES.FunctionExpression]: ts.FunctionExpression | ts.ConstructorDeclaration | ts.GetAccessorDeclaration | ts.SetAccessorDeclaration | ts.MethodDeclaration;
|
|
37
|
+
[AST_NODE_TYPES.Identifier]: ts.Identifier | ts.ConstructorDeclaration | ts.Token<ts.SyntaxKind.NewKeyword | ts.SyntaxKind.ImportKeyword>;
|
|
38
|
+
[AST_NODE_TYPES.PrivateIdentifier]: ts.PrivateIdentifier;
|
|
39
|
+
[AST_NODE_TYPES.IfStatement]: ts.IfStatement;
|
|
40
|
+
[AST_NODE_TYPES.ImportAttribute]: ts.AssertEntry;
|
|
41
|
+
[AST_NODE_TYPES.ImportDeclaration]: ts.ImportDeclaration;
|
|
42
|
+
[AST_NODE_TYPES.ImportDefaultSpecifier]: ts.ImportClause;
|
|
43
|
+
[AST_NODE_TYPES.ImportExpression]: ts.CallExpression;
|
|
44
|
+
[AST_NODE_TYPES.ImportNamespaceSpecifier]: ts.NamespaceImport;
|
|
45
|
+
[AST_NODE_TYPES.ImportSpecifier]: ts.ImportSpecifier;
|
|
46
|
+
[AST_NODE_TYPES.JSXAttribute]: ts.JsxAttribute;
|
|
47
|
+
[AST_NODE_TYPES.JSXClosingElement]: ts.JsxClosingElement;
|
|
48
|
+
[AST_NODE_TYPES.JSXClosingFragment]: ts.JsxClosingFragment;
|
|
49
|
+
[AST_NODE_TYPES.JSXElement]: ts.JsxElement | ts.JsxSelfClosingElement;
|
|
50
|
+
[AST_NODE_TYPES.JSXEmptyExpression]: ts.JsxExpression;
|
|
51
|
+
[AST_NODE_TYPES.JSXExpressionContainer]: ts.JsxExpression;
|
|
52
|
+
[AST_NODE_TYPES.JSXFragment]: ts.JsxFragment;
|
|
53
|
+
[AST_NODE_TYPES.JSXIdentifier]: ts.Identifier | ts.ThisExpression;
|
|
54
|
+
[AST_NODE_TYPES.JSXOpeningElement]: ts.JsxOpeningElement | ts.JsxSelfClosingElement;
|
|
55
|
+
[AST_NODE_TYPES.JSXOpeningFragment]: ts.JsxOpeningFragment;
|
|
56
|
+
[AST_NODE_TYPES.JSXSpreadAttribute]: ts.JsxSpreadAttribute;
|
|
57
|
+
[AST_NODE_TYPES.JSXSpreadChild]: ts.JsxExpression;
|
|
58
|
+
[AST_NODE_TYPES.JSXMemberExpression]: ts.PropertyAccessExpression;
|
|
59
|
+
[AST_NODE_TYPES.JSXNamespacedName]: ts.Identifier | ts.ThisExpression;
|
|
60
|
+
[AST_NODE_TYPES.JSXText]: ts.JsxText;
|
|
61
|
+
[AST_NODE_TYPES.LabeledStatement]: ts.LabeledStatement;
|
|
62
|
+
[AST_NODE_TYPES.Literal]: ts.StringLiteral | ts.NumericLiteral | ts.RegularExpressionLiteral | ts.NullLiteral | ts.BooleanLiteral | ts.BigIntLiteral;
|
|
63
|
+
[AST_NODE_TYPES.LogicalExpression]: ts.BinaryExpression;
|
|
64
|
+
[AST_NODE_TYPES.MemberExpression]: ts.PropertyAccessExpression | ts.ElementAccessExpression;
|
|
65
|
+
[AST_NODE_TYPES.MetaProperty]: ts.MetaProperty;
|
|
66
|
+
[AST_NODE_TYPES.MethodDefinition]: ts.GetAccessorDeclaration | ts.SetAccessorDeclaration | ts.MethodDeclaration | ts.ConstructorDeclaration;
|
|
67
|
+
[AST_NODE_TYPES.NewExpression]: ts.NewExpression;
|
|
68
|
+
[AST_NODE_TYPES.ObjectExpression]: ts.ObjectLiteralExpression;
|
|
69
|
+
[AST_NODE_TYPES.ObjectPattern]: ts.ObjectLiteralExpression | ts.ObjectBindingPattern;
|
|
70
|
+
[AST_NODE_TYPES.Program]: ts.SourceFile;
|
|
71
|
+
[AST_NODE_TYPES.Property]: ts.PropertyAssignment | ts.ShorthandPropertyAssignment | ts.GetAccessorDeclaration | ts.SetAccessorDeclaration | ts.MethodDeclaration | ts.BindingElement;
|
|
72
|
+
[AST_NODE_TYPES.RestElement]: ts.BindingElement | ts.SpreadAssignment | ts.SpreadElement | ts.ParameterDeclaration;
|
|
73
|
+
[AST_NODE_TYPES.ReturnStatement]: ts.ReturnStatement;
|
|
74
|
+
[AST_NODE_TYPES.SequenceExpression]: ts.BinaryExpression;
|
|
75
|
+
[AST_NODE_TYPES.SpreadElement]: ts.SpreadElement | ts.SpreadAssignment;
|
|
76
|
+
[AST_NODE_TYPES.StaticBlock]: ts.ClassStaticBlockDeclaration;
|
|
77
|
+
[AST_NODE_TYPES.Super]: ts.SuperExpression;
|
|
78
|
+
[AST_NODE_TYPES.SwitchCase]: ts.CaseClause | ts.DefaultClause;
|
|
79
|
+
[AST_NODE_TYPES.SwitchStatement]: ts.SwitchStatement;
|
|
80
|
+
[AST_NODE_TYPES.TaggedTemplateExpression]: ts.TaggedTemplateExpression;
|
|
81
|
+
[AST_NODE_TYPES.TemplateElement]: ts.NoSubstitutionTemplateLiteral | ts.TemplateHead | ts.TemplateMiddle | ts.TemplateTail;
|
|
82
|
+
[AST_NODE_TYPES.TemplateLiteral]: ts.NoSubstitutionTemplateLiteral | ts.TemplateExpression;
|
|
83
|
+
[AST_NODE_TYPES.ThisExpression]: ts.ThisExpression | ts.KeywordTypeNode | ts.Identifier;
|
|
84
|
+
[AST_NODE_TYPES.ThrowStatement]: ts.ThrowStatement;
|
|
85
|
+
[AST_NODE_TYPES.TryStatement]: ts.TryStatement;
|
|
86
|
+
[AST_NODE_TYPES.TSAbstractPropertyDefinition]: ts.PropertyDeclaration;
|
|
87
|
+
[AST_NODE_TYPES.TSAbstractMethodDefinition]: ts.GetAccessorDeclaration | ts.SetAccessorDeclaration | ts.MethodDeclaration | ts.ConstructorDeclaration;
|
|
88
|
+
[AST_NODE_TYPES.TSArrayType]: ts.ArrayTypeNode;
|
|
89
|
+
[AST_NODE_TYPES.TSAsExpression]: ts.AsExpression;
|
|
90
|
+
[AST_NODE_TYPES.TSCallSignatureDeclaration]: ts.CallSignatureDeclaration;
|
|
91
|
+
[AST_NODE_TYPES.TSClassImplements]: ts.ExpressionWithTypeArguments;
|
|
92
|
+
[AST_NODE_TYPES.TSConditionalType]: ts.ConditionalTypeNode;
|
|
93
|
+
[AST_NODE_TYPES.TSConstructorType]: ts.ConstructorTypeNode;
|
|
94
|
+
[AST_NODE_TYPES.TSConstructSignatureDeclaration]: ts.ConstructSignatureDeclaration;
|
|
95
|
+
[AST_NODE_TYPES.TSDeclareFunction]: ts.FunctionDeclaration;
|
|
96
|
+
[AST_NODE_TYPES.TSEnumDeclaration]: ts.EnumDeclaration;
|
|
97
|
+
[AST_NODE_TYPES.TSEnumMember]: ts.EnumMember;
|
|
98
|
+
[AST_NODE_TYPES.TSExportAssignment]: ts.ExportAssignment;
|
|
99
|
+
[AST_NODE_TYPES.TSExternalModuleReference]: ts.ExternalModuleReference;
|
|
100
|
+
[AST_NODE_TYPES.TSFunctionType]: ts.FunctionTypeNode;
|
|
101
|
+
[AST_NODE_TYPES.TSImportEqualsDeclaration]: ts.ImportEqualsDeclaration;
|
|
102
|
+
[AST_NODE_TYPES.TSImportType]: ts.ImportTypeNode;
|
|
103
|
+
[AST_NODE_TYPES.TSIndexedAccessType]: ts.IndexedAccessTypeNode;
|
|
104
|
+
[AST_NODE_TYPES.TSIndexSignature]: ts.IndexSignatureDeclaration;
|
|
105
|
+
[AST_NODE_TYPES.TSInferType]: ts.InferTypeNode;
|
|
106
|
+
[AST_NODE_TYPES.TSInterfaceDeclaration]: ts.InterfaceDeclaration;
|
|
107
|
+
[AST_NODE_TYPES.TSInterfaceBody]: ts.InterfaceDeclaration;
|
|
108
|
+
[AST_NODE_TYPES.TSInterfaceHeritage]: ts.ExpressionWithTypeArguments;
|
|
109
|
+
[AST_NODE_TYPES.TSIntersectionType]: ts.IntersectionTypeNode;
|
|
110
|
+
[AST_NODE_TYPES.TSInstantiationExpression]: ts.ExpressionWithTypeArguments;
|
|
111
|
+
[AST_NODE_TYPES.TSLiteralType]: ts.LiteralTypeNode;
|
|
112
|
+
[AST_NODE_TYPES.TSMappedType]: ts.MappedTypeNode;
|
|
113
|
+
[AST_NODE_TYPES.TSMethodSignature]: ts.MethodSignature | ts.GetAccessorDeclaration | ts.SetAccessorDeclaration;
|
|
114
|
+
[AST_NODE_TYPES.TSModuleBlock]: ts.ModuleBlock;
|
|
115
|
+
[AST_NODE_TYPES.TSModuleDeclaration]: ts.ModuleDeclaration;
|
|
116
|
+
[AST_NODE_TYPES.TSNamedTupleMember]: ts.NamedTupleMember;
|
|
117
|
+
[AST_NODE_TYPES.TSNamespaceExportDeclaration]: ts.NamespaceExportDeclaration;
|
|
118
|
+
[AST_NODE_TYPES.TSNonNullExpression]: ts.NonNullExpression;
|
|
119
|
+
[AST_NODE_TYPES.TSOptionalType]: ts.OptionalTypeNode;
|
|
120
|
+
[AST_NODE_TYPES.TSParameterProperty]: ts.ParameterDeclaration;
|
|
121
|
+
[AST_NODE_TYPES.TSPropertySignature]: ts.PropertySignature;
|
|
122
|
+
[AST_NODE_TYPES.TSQualifiedName]: ts.QualifiedName;
|
|
123
|
+
[AST_NODE_TYPES.TSRestType]: ts.RestTypeNode | ts.NamedTupleMember;
|
|
124
|
+
[AST_NODE_TYPES.TSThisType]: ts.ThisTypeNode;
|
|
125
|
+
[AST_NODE_TYPES.TSTupleType]: ts.TupleTypeNode;
|
|
126
|
+
[AST_NODE_TYPES.TSTemplateLiteralType]: ts.TemplateLiteralTypeNode;
|
|
127
|
+
[AST_NODE_TYPES.TSTypeAliasDeclaration]: ts.TypeAliasDeclaration;
|
|
128
|
+
[AST_NODE_TYPES.TSTypeAnnotation]: undefined;
|
|
129
|
+
[AST_NODE_TYPES.TSTypeAssertion]: ts.TypeAssertion;
|
|
130
|
+
[AST_NODE_TYPES.TSTypeLiteral]: ts.TypeLiteralNode;
|
|
131
|
+
[AST_NODE_TYPES.TSTypeOperator]: ts.TypeOperatorNode;
|
|
132
|
+
[AST_NODE_TYPES.TSTypeParameter]: ts.TypeParameterDeclaration;
|
|
133
|
+
[AST_NODE_TYPES.TSTypeParameterDeclaration]: undefined;
|
|
134
|
+
[AST_NODE_TYPES.TSTypeParameterInstantiation]: ts.TaggedTemplateExpression | ts.ImportTypeNode | ts.ExpressionWithTypeArguments | ts.TypeReferenceNode | ts.JsxOpeningElement | ts.JsxSelfClosingElement | ts.NewExpression | ts.CallExpression | ts.TypeQueryNode;
|
|
135
|
+
[AST_NODE_TYPES.TSTypePredicate]: ts.TypePredicateNode;
|
|
136
|
+
[AST_NODE_TYPES.TSTypeQuery]: ts.TypeQueryNode;
|
|
137
|
+
[AST_NODE_TYPES.TSTypeReference]: ts.TypeReferenceNode;
|
|
138
|
+
[AST_NODE_TYPES.TSUnionType]: ts.UnionTypeNode;
|
|
139
|
+
[AST_NODE_TYPES.UpdateExpression]: ts.PrefixUnaryExpression | ts.PostfixUnaryExpression;
|
|
140
|
+
[AST_NODE_TYPES.UnaryExpression]: ts.PrefixUnaryExpression | ts.PostfixUnaryExpression | ts.DeleteExpression | ts.VoidExpression | ts.TypeOfExpression;
|
|
141
|
+
[AST_NODE_TYPES.VariableDeclaration]: ts.VariableDeclarationList | ts.VariableStatement;
|
|
142
|
+
[AST_NODE_TYPES.VariableDeclarator]: ts.VariableDeclaration;
|
|
143
|
+
[AST_NODE_TYPES.WhileStatement]: ts.WhileStatement;
|
|
144
|
+
[AST_NODE_TYPES.WithStatement]: ts.WithStatement;
|
|
145
|
+
[AST_NODE_TYPES.YieldExpression]: ts.YieldExpression;
|
|
146
|
+
[AST_NODE_TYPES.TSEmptyBodyFunctionExpression]: ts.FunctionExpression | ts.ConstructorDeclaration | ts.GetAccessorDeclaration | ts.SetAccessorDeclaration | ts.MethodDeclaration;
|
|
147
|
+
[AST_NODE_TYPES.TSAbstractKeyword]: ts.Token<ts.SyntaxKind.AbstractKeyword>;
|
|
148
|
+
[AST_NODE_TYPES.TSNullKeyword]: ts.NullLiteral | ts.KeywordTypeNode;
|
|
149
|
+
[AST_NODE_TYPES.TSAnyKeyword]: ts.KeywordTypeNode;
|
|
150
|
+
[AST_NODE_TYPES.TSBigIntKeyword]: ts.KeywordTypeNode;
|
|
151
|
+
[AST_NODE_TYPES.TSBooleanKeyword]: ts.KeywordTypeNode;
|
|
152
|
+
[AST_NODE_TYPES.TSIntrinsicKeyword]: ts.KeywordTypeNode;
|
|
153
|
+
[AST_NODE_TYPES.TSNeverKeyword]: ts.KeywordTypeNode;
|
|
154
|
+
[AST_NODE_TYPES.TSNumberKeyword]: ts.KeywordTypeNode;
|
|
155
|
+
[AST_NODE_TYPES.TSObjectKeyword]: ts.KeywordTypeNode;
|
|
156
|
+
[AST_NODE_TYPES.TSStringKeyword]: ts.KeywordTypeNode;
|
|
157
|
+
[AST_NODE_TYPES.TSSymbolKeyword]: ts.KeywordTypeNode;
|
|
158
|
+
[AST_NODE_TYPES.TSUnknownKeyword]: ts.KeywordTypeNode;
|
|
159
|
+
[AST_NODE_TYPES.TSVoidKeyword]: ts.KeywordTypeNode;
|
|
160
|
+
[AST_NODE_TYPES.TSUndefinedKeyword]: ts.KeywordTypeNode;
|
|
161
|
+
[AST_NODE_TYPES.TSAsyncKeyword]: ts.Token<ts.SyntaxKind.AsyncKeyword>;
|
|
162
|
+
[AST_NODE_TYPES.TSDeclareKeyword]: ts.Token<ts.SyntaxKind.DeclareKeyword>;
|
|
163
|
+
[AST_NODE_TYPES.TSExportKeyword]: ts.Token<ts.SyntaxKind.ExportKeyword>;
|
|
164
|
+
[AST_NODE_TYPES.TSStaticKeyword]: ts.Token<ts.SyntaxKind.StaticKeyword>;
|
|
165
|
+
[AST_NODE_TYPES.TSPublicKeyword]: ts.Token<ts.SyntaxKind.PublicKeyword>;
|
|
166
|
+
[AST_NODE_TYPES.TSPrivateKeyword]: ts.Token<ts.SyntaxKind.PrivateKeyword>;
|
|
167
|
+
[AST_NODE_TYPES.TSProtectedKeyword]: ts.Token<ts.SyntaxKind.ProtectedKeyword>;
|
|
168
|
+
[AST_NODE_TYPES.TSReadonlyKeyword]: ts.Token<ts.SyntaxKind.ReadonlyKeyword>;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Maps TSESTree AST Node type to the expected TypeScript AST Node type(s).
|
|
172
|
+
* This mapping is based on the internal logic of the parser.
|
|
173
|
+
*/
|
|
174
|
+
export declare type TSESTreeToTSNode<T extends TSESTree.Node = TSESTree.Node> = Extract<TSNode | ts.Token<ts.SyntaxKind.NewKeyword | ts.SyntaxKind.ImportKeyword>, EstreeToTsNodeTypes[T['type']]>;
|
|
175
|
+
//# sourceMappingURL=estree-to-ts-node-types.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as ts from 'typescript';
|
|
2
|
+
declare module 'typescript' {
|
|
3
|
+
interface NamedTupleMember extends ts.Node {
|
|
4
|
+
}
|
|
5
|
+
interface TemplateLiteralTypeNode extends ts.Node {
|
|
6
|
+
}
|
|
7
|
+
interface PrivateIdentifier extends ts.Node {
|
|
8
|
+
}
|
|
9
|
+
interface ClassStaticBlockDeclaration extends ts.Node {
|
|
10
|
+
}
|
|
11
|
+
interface AssertClause extends ts.Node {
|
|
12
|
+
}
|
|
13
|
+
interface AssertEntry extends ts.Node {
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export declare type TSToken = ts.Token<ts.SyntaxKind>;
|
|
17
|
+
export declare type TSNode = ts.AssertClause | ts.AssertEntry | ts.Modifier | ts.Identifier | ts.PrivateIdentifier | ts.QualifiedName | ts.ComputedPropertyName | ts.Decorator | ts.TypeParameterDeclaration | ts.CallSignatureDeclaration | ts.ConstructSignatureDeclaration | ts.VariableDeclaration | ts.VariableDeclarationList | ts.ParameterDeclaration | ts.BindingElement | ts.PropertySignature | ts.PropertyDeclaration | ts.PropertyAssignment | ts.ShorthandPropertyAssignment | ts.SpreadAssignment | ts.ObjectBindingPattern | ts.ArrayBindingPattern | ts.FunctionDeclaration | ts.MethodSignature | ts.MethodDeclaration | ts.ConstructorDeclaration | ts.SemicolonClassElement | ts.GetAccessorDeclaration | ts.SetAccessorDeclaration | ts.IndexSignatureDeclaration | ts.KeywordTypeNode | ts.ImportTypeNode | ts.ThisTypeNode | ts.ClassStaticBlockDeclaration | ts.ConstructorTypeNode | ts.FunctionTypeNode | ts.TypeReferenceNode | ts.TypePredicateNode | ts.TypeQueryNode | ts.TypeLiteralNode | ts.ArrayTypeNode | ts.NamedTupleMember | ts.TupleTypeNode | ts.OptionalTypeNode | ts.RestTypeNode | ts.UnionTypeNode | ts.IntersectionTypeNode | ts.ConditionalTypeNode | ts.InferTypeNode | ts.ParenthesizedTypeNode | ts.TypeOperatorNode | ts.IndexedAccessTypeNode | ts.MappedTypeNode | ts.LiteralTypeNode | ts.StringLiteral | ts.OmittedExpression | ts.PartiallyEmittedExpression | ts.PrefixUnaryExpression | ts.PostfixUnaryExpression | ts.NullLiteral | ts.BooleanLiteral | ts.ThisExpression | ts.SuperExpression | ts.ImportExpression | ts.DeleteExpression | ts.TypeOfExpression | ts.VoidExpression | ts.AwaitExpression | ts.YieldExpression | ts.SyntheticExpression | ts.BinaryExpression | ts.ConditionalExpression | ts.FunctionExpression | ts.ArrowFunction | ts.RegularExpressionLiteral | ts.NoSubstitutionTemplateLiteral | ts.NumericLiteral | ts.BigIntLiteral | ts.TemplateHead | ts.TemplateMiddle | ts.TemplateTail | ts.TemplateExpression | ts.TemplateSpan | ts.ParenthesizedExpression | ts.ArrayLiteralExpression | ts.SpreadElement | ts.ObjectLiteralExpression | ts.PropertyAccessExpression | ts.ElementAccessExpression | ts.CallExpression | ts.ExpressionWithTypeArguments | ts.NewExpression | ts.TaggedTemplateExpression | ts.AsExpression | ts.TypeAssertion | ts.NonNullExpression | ts.MetaProperty | ts.JsxElement | ts.JsxOpeningElement | ts.JsxSelfClosingElement | ts.JsxFragment | ts.JsxOpeningFragment | ts.JsxClosingFragment | ts.JsxAttribute | ts.JsxSpreadAttribute | ts.JsxClosingElement | ts.JsxExpression | ts.JsxText | ts.NotEmittedStatement | ts.CommaListExpression | ts.EmptyStatement | ts.DebuggerStatement | ts.MissingDeclaration | ts.Block | ts.VariableStatement | ts.ExpressionStatement | ts.IfStatement | ts.DoStatement | ts.WhileStatement | ts.ForStatement | ts.ForInStatement | ts.ForOfStatement | ts.BreakStatement | ts.ContinueStatement | ts.ReturnStatement | ts.WithStatement | ts.SwitchStatement | ts.CaseBlock | ts.CaseClause | ts.DefaultClause | ts.LabeledStatement | ts.ThrowStatement | ts.TryStatement | ts.CatchClause | ts.ClassDeclaration | ts.ClassExpression | ts.InterfaceDeclaration | ts.HeritageClause | ts.TypeAliasDeclaration | ts.EnumMember | ts.EnumDeclaration | ts.ModuleDeclaration | ts.ModuleBlock | ts.ImportEqualsDeclaration | ts.ExternalModuleReference | ts.ImportDeclaration | ts.ImportClause | ts.NamespaceImport | ts.NamespaceExportDeclaration | ts.ExportDeclaration | ts.NamedImports | ts.NamedExports | ts.ImportSpecifier | ts.ExportSpecifier | ts.ExportAssignment | ts.SourceFile | ts.Bundle | ts.InputFiles | ts.UnparsedSource | ts.JsonMinusNumericLiteral | ts.TemplateLiteralTypeNode | ts.JSDoc | ts.JSDocTypeExpression | ts.JSDocUnknownTag | ts.JSDocAugmentsTag | ts.JSDocClassTag | ts.JSDocEnumTag | ts.JSDocThisTag | ts.JSDocTemplateTag | ts.JSDocReturnTag | ts.JSDocTypeTag | ts.JSDocTypedefTag | ts.JSDocCallbackTag | ts.JSDocSignature | ts.JSDocPropertyTag | ts.JSDocParameterTag | ts.JSDocTypeLiteral | ts.JSDocFunctionType | ts.JSDocAllType | ts.JSDocUnknownType | ts.JSDocNullableType | ts.JSDocNonNullableType | ts.JSDocOptionalType | ts.JSDocVariadicType | ts.JSDocAuthorTag;
|
|
18
|
+
//# sourceMappingURL=ts-nodes.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typescript-eslint/typescript-estree",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.39.0",
|
|
4
4
|
"description": "A parser that converts TypeScript source code into an ESTree compatible form",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@typescript-eslint/types": "5.
|
|
46
|
-
"@typescript-eslint/visitor-keys": "5.
|
|
45
|
+
"@typescript-eslint/types": "5.39.0",
|
|
46
|
+
"@typescript-eslint/visitor-keys": "5.39.0",
|
|
47
47
|
"debug": "^4.3.4",
|
|
48
48
|
"globby": "^11.1.0",
|
|
49
49
|
"is-glob": "^4.0.3",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@types/is-glob": "*",
|
|
60
60
|
"@types/semver": "*",
|
|
61
61
|
"@types/tmp": "*",
|
|
62
|
-
"@typescript-eslint/shared-fixtures": "5.
|
|
62
|
+
"@typescript-eslint/shared-fixtures": "5.39.0",
|
|
63
63
|
"glob": "*",
|
|
64
64
|
"jest-specific-snapshot": "*",
|
|
65
65
|
"make-dir": "*",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
]
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "556b71f3b77f85bdb3d5f454e922c26f2ed1b6a8"
|
|
86
86
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typescript-eslint/visitor-keys",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.39.0",
|
|
4
4
|
"description": "Visitor keys used to help traverse the TypeScript-ESTree AST",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@typescript-eslint/types": "5.
|
|
42
|
+
"@typescript-eslint/types": "5.39.0",
|
|
43
43
|
"eslint-visitor-keys": "^3.3.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
]
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "556b71f3b77f85bdb3d5f454e922c26f2ed1b6a8"
|
|
60
60
|
}
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
]
|
|
19
19
|
},
|
|
20
20
|
"license": "MIT",
|
|
21
|
-
"version": "17.1.
|
|
21
|
+
"version": "17.1.50",
|
|
22
22
|
"bin": {
|
|
23
23
|
"spruce": "./build/index.js"
|
|
24
24
|
},
|
|
@@ -75,18 +75,18 @@
|
|
|
75
75
|
"@babel/cli": "^7.19.3",
|
|
76
76
|
"@babel/plugin-proposal-decorators": "^7.19.3",
|
|
77
77
|
"@babel/runtime": "^7.19.0",
|
|
78
|
-
"@jest/reporters": "^29.1.
|
|
79
|
-
"@sprucelabs/error": "^5.0.
|
|
80
|
-
"@sprucelabs/heartwood-view-controllers": "^
|
|
81
|
-
"@sprucelabs/jest-json-reporter": "^6.0.
|
|
82
|
-
"@sprucelabs/mercury-client": "^31.0.
|
|
83
|
-
"@sprucelabs/mercury-event-emitter": "^31.0.
|
|
84
|
-
"@sprucelabs/mercury-types": "^35.0.
|
|
85
|
-
"@sprucelabs/schema": "^28.5.
|
|
86
|
-
"@sprucelabs/spruce-core-schemas": "^34.2.
|
|
87
|
-
"@sprucelabs/spruce-event-utils": "^27.0.
|
|
88
|
-
"@sprucelabs/spruce-skill-utils": "^26.4.
|
|
89
|
-
"@sprucelabs/spruce-templates": "^17.1.
|
|
78
|
+
"@jest/reporters": "^29.1.2",
|
|
79
|
+
"@sprucelabs/error": "^5.0.521",
|
|
80
|
+
"@sprucelabs/heartwood-view-controllers": "^91.0.9",
|
|
81
|
+
"@sprucelabs/jest-json-reporter": "^6.0.487",
|
|
82
|
+
"@sprucelabs/mercury-client": "^31.0.238",
|
|
83
|
+
"@sprucelabs/mercury-event-emitter": "^31.0.238",
|
|
84
|
+
"@sprucelabs/mercury-types": "^35.0.181",
|
|
85
|
+
"@sprucelabs/schema": "^28.5.29",
|
|
86
|
+
"@sprucelabs/spruce-core-schemas": "^34.2.138",
|
|
87
|
+
"@sprucelabs/spruce-event-utils": "^27.0.215",
|
|
88
|
+
"@sprucelabs/spruce-skill-utils": "^26.4.117",
|
|
89
|
+
"@sprucelabs/spruce-templates": "^17.1.50",
|
|
90
90
|
"@typescript-eslint/eslint-plugin": "^5.27.1",
|
|
91
91
|
"@typescript-eslint/parser": "^5.27.1",
|
|
92
92
|
"cfonts": "^3.1.1",
|
|
@@ -114,24 +114,24 @@
|
|
|
114
114
|
"uuid": "^9.0.0"
|
|
115
115
|
},
|
|
116
116
|
"devDependencies": {
|
|
117
|
-
"@sprucelabs/data-stores": "^18.1.
|
|
118
|
-
"@sprucelabs/jest-sheets-reporter": "^1.3.
|
|
119
|
-
"@sprucelabs/mercury-core-events": "^12.2.
|
|
120
|
-
"@sprucelabs/resolve-path-aliases": "^1.1.
|
|
121
|
-
"@sprucelabs/spruce-conversation-plugin": "^
|
|
122
|
-
"@sprucelabs/spruce-deploy-plugin": "^
|
|
123
|
-
"@sprucelabs/spruce-store-plugin": "^
|
|
124
|
-
"@sprucelabs/spruce-test-fixtures": "^
|
|
125
|
-
"@sprucelabs/test": "^7.7.
|
|
126
|
-
"@sprucelabs/test-utils": "^3.2.
|
|
117
|
+
"@sprucelabs/data-stores": "^18.1.87",
|
|
118
|
+
"@sprucelabs/jest-sheets-reporter": "^1.3.117",
|
|
119
|
+
"@sprucelabs/mercury-core-events": "^12.2.55",
|
|
120
|
+
"@sprucelabs/resolve-path-aliases": "^1.1.109",
|
|
121
|
+
"@sprucelabs/spruce-conversation-plugin": "^50.0.7",
|
|
122
|
+
"@sprucelabs/spruce-deploy-plugin": "^50.0.7",
|
|
123
|
+
"@sprucelabs/spruce-store-plugin": "^50.0.7",
|
|
124
|
+
"@sprucelabs/spruce-test-fixtures": "^50.0.7",
|
|
125
|
+
"@sprucelabs/test": "^7.7.369",
|
|
126
|
+
"@sprucelabs/test-utils": "^3.2.18",
|
|
127
127
|
"@types/blessed": "^0.1.19",
|
|
128
128
|
"@types/eslint": "^8.4.6",
|
|
129
129
|
"@types/fs-extra": "^9.0.13",
|
|
130
130
|
"@types/inquirer": "^8.2.1",
|
|
131
|
-
"@types/lodash": "^4.14.
|
|
131
|
+
"@types/lodash": "^4.14.186",
|
|
132
132
|
"@types/md5": "^2.3.2",
|
|
133
133
|
"@types/mkdirp": "^1.0.2",
|
|
134
|
-
"@types/node": "^18.
|
|
134
|
+
"@types/node": "^18.8.0",
|
|
135
135
|
"@types/promise.allsettled": "^1.0.3",
|
|
136
136
|
"@types/ps-node": "^0.1.1",
|
|
137
137
|
"@types/rimraf": "^3.0.2",
|
|
@@ -144,18 +144,18 @@
|
|
|
144
144
|
"chokidar-cli": "^3.0.0",
|
|
145
145
|
"concurrently": "^7.4.0",
|
|
146
146
|
"conventional-changelog-sprucelabs": "^1.1.2",
|
|
147
|
-
"dotenv": "^16.0.
|
|
147
|
+
"dotenv": "^16.0.3",
|
|
148
148
|
"eslint": "^8.24.0",
|
|
149
149
|
"eslint-config-spruce": "^10.11.4",
|
|
150
150
|
"find-process": "^1.4.7",
|
|
151
|
-
"jest": "^29.1.
|
|
152
|
-
"jest-circus": "^29.1.
|
|
151
|
+
"jest": "^29.1.2",
|
|
152
|
+
"jest-circus": "^29.1.2",
|
|
153
153
|
"jest-junit": "^14.0.1",
|
|
154
154
|
"jest-reporters": "^0.0.2",
|
|
155
155
|
"prettier": "^2.7.1",
|
|
156
156
|
"ps-node": "^0.1.6",
|
|
157
157
|
"rimraf": "^3.0.2",
|
|
158
|
-
"ts-jest": "^29.0.
|
|
158
|
+
"ts-jest": "^29.0.3",
|
|
159
159
|
"ts-node": "^10.9.1",
|
|
160
160
|
"tsc-watch": "^5.0.3",
|
|
161
161
|
"tsconfig-paths": "^4.1.0"
|
|
@@ -619,5 +619,5 @@
|
|
|
619
619
|
"terminal-kit"
|
|
620
620
|
]
|
|
621
621
|
},
|
|
622
|
-
"gitHead": "
|
|
622
|
+
"gitHead": "1785f3336ef61c50bf4e0c55fe80648e1bdb07c9"
|
|
623
623
|
}
|