@cplieger/deadset-ts 7.0.0-dev.3 → 7.0.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 +1 -1
- package/dist/src/alias-chain.js +2 -2
- package/dist/src/calls.js +2 -2
- package/dist/src/class-members.js +1 -1
- package/dist/src/configuration-files.js +1 -1
- package/dist/src/configured-declarations.js +2 -2
- package/dist/src/contextual-uses.js +2 -2
- package/dist/src/conventions.js +1 -1
- package/dist/src/dependencies.js +1 -1
- package/dist/src/deprecation.js +1 -1
- package/dist/src/destructuring.js +2 -2
- package/dist/src/discover.js +1 -1
- package/dist/src/element-access.js +1 -1
- package/dist/src/entry-points.js +2 -2
- package/dist/src/enum-group.js +2 -2
- package/dist/src/erased-stores.js +2 -2
- package/dist/src/framework-lifecycle.js +1 -1
- package/dist/src/html-entries.js +1 -1
- package/dist/src/implementations.js +2 -2
- package/dist/src/in-operands.js +1 -1
- package/dist/src/indexed-access.js +2 -2
- package/dist/src/injection-container.js +1 -1
- package/dist/src/interface-satisfaction.js +2 -2
- package/dist/src/intra-function-parts.js +1 -1
- package/dist/src/inventory.js +1 -1
- package/dist/src/keyof-comparisons.js +2 -2
- package/dist/src/member-names.js +1 -1
- package/dist/src/module-declarations.js +1 -1
- package/dist/src/namespace-objects.js +1 -1
- package/dist/src/outside-tests.js +1 -1
- package/dist/src/overrides.js +2 -2
- package/dist/src/query.js +1 -1
- package/dist/src/references.js +1 -1
- package/dist/src/reflective-lookup.js +2 -2
- package/dist/src/roots.js +1 -1
- package/dist/src/serialization-contract.js +2 -2
- package/dist/src/session.js +3 -1
- package/dist/src/signatures.js +1 -1
- package/dist/src/stores.js +1 -1
- package/dist/src/suppress-inline.js +1 -1
- package/dist/src/symbol-keys.js +1 -1
- package/dist/src/type-errors.js +1 -1
- package/dist/src/type-query-alias.js +1 -1
- package/dist/src/unimplemented-callees.js +2 -2
- package/dist/src/value-flow.js +1 -1
- package/dist/src/value-reach.js +1 -1
- package/dist/src/workspace-programs.js +2 -2
- package/jsr.json +1 -1
- package/package.json +2 -2
- package/src/alias-chain.ts +2 -2
- package/src/calls.ts +2 -2
- package/src/class-members.ts +2 -2
- package/src/component-layer.ts +1 -1
- package/src/configuration-files.ts +1 -1
- package/src/configured-declarations.ts +2 -6
- package/src/contextual-uses.ts +2 -2
- package/src/conventions.ts +1 -1
- package/src/decorator.ts +1 -1
- package/src/dependencies.ts +1 -1
- package/src/deprecation.ts +1 -1
- package/src/destructuring.ts +2 -2
- package/src/discover.ts +2 -2
- package/src/element-access.ts +2 -2
- package/src/entry-points.ts +2 -2
- package/src/enum-group.ts +2 -2
- package/src/erased-stores.ts +2 -2
- package/src/file-facts.ts +1 -1
- package/src/framework-lifecycle.ts +2 -2
- package/src/html-entries.ts +1 -1
- package/src/implementations.ts +2 -2
- package/src/in-operands.ts +1 -1
- package/src/indexed-access.ts +2 -2
- package/src/injection-container.ts +1 -1
- package/src/interface-satisfaction.ts +2 -2
- package/src/intra-function-parts.ts +1 -1
- package/src/inventory.ts +2 -2
- package/src/keyof-comparisons.ts +2 -2
- package/src/member-names.ts +1 -1
- package/src/module-declarations.ts +1 -1
- package/src/namespace-objects.ts +1 -1
- package/src/outside-tests.ts +1 -1
- package/src/overrides.ts +2 -2
- package/src/position.ts +1 -1
- package/src/query.ts +2 -2
- package/src/references.ts +2 -2
- package/src/reflective-lookup.ts +2 -2
- package/src/roots.ts +2 -2
- package/src/serialization-contract.ts +2 -2
- package/src/session.ts +5 -3
- package/src/signatures.ts +1 -1
- package/src/source-files.ts +1 -1
- package/src/stores.ts +1 -1
- package/src/suppress-inline.ts +1 -1
- package/src/symbol-keys.ts +2 -2
- package/src/type-errors.ts +2 -2
- package/src/type-query-alias.ts +1 -1
- package/src/unimplemented-callees.ts +2 -2
- package/src/value-flow.ts +1 -1
- package/src/value-reach.ts +1 -1
- package/src/workflow-steps.ts +1 -1
- package/src/workspace-programs.ts +4 -4
package/src/calls.ts
CHANGED
|
@@ -22,8 +22,8 @@ import {
|
|
|
22
22
|
type Decorator,
|
|
23
23
|
type Expression,
|
|
24
24
|
type Node,
|
|
25
|
-
} from "@typescript/native/
|
|
26
|
-
import { SymbolFlags, type Symbol as TSSymbol } from "@typescript/native/
|
|
25
|
+
} from "@typescript/native/ast";
|
|
26
|
+
import { SymbolFlags, type Symbol as TSSymbol } from "@typescript/native/sync";
|
|
27
27
|
import type { AliasChains } from "./alias-chain.ts";
|
|
28
28
|
import { nodeKey, type Inventory } from "./inventory.ts";
|
|
29
29
|
import { must } from "./query.ts";
|
package/src/class-members.ts
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* that extends it and a member a subclass overrides is the subclass's own.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { isClassDeclaration, isClassExpression, type Node } from "@typescript/native/
|
|
8
|
-
import type { Symbol as TSSymbol, SymbolFlags, Type } from "@typescript/native/
|
|
7
|
+
import { isClassDeclaration, isClassExpression, type Node } from "@typescript/native/ast";
|
|
8
|
+
import type { Symbol as TSSymbol, SymbolFlags, Type } from "@typescript/native/sync";
|
|
9
9
|
import { nodeKey, type Inventory, type InventorySymbol } from "./inventory.ts";
|
|
10
10
|
import { must } from "./query.ts";
|
|
11
11
|
import type { ProjectView } from "./session.ts";
|
package/src/component-layer.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* `node_modules` beside each configuration, to a directory holding only its manifest.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import type { CreateSnapshotParams } from "@typescript/native/
|
|
9
|
+
import type { CreateSnapshotParams } from "@typescript/native/sync";
|
|
10
10
|
import type { Host } from "./host.ts";
|
|
11
11
|
import { dirnamePath, joinPath } from "./paths.ts";
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
isStringLiteral,
|
|
15
15
|
type Node,
|
|
16
16
|
type SourceFile,
|
|
17
|
-
} from "@typescript/native/
|
|
17
|
+
} from "@typescript/native/ast";
|
|
18
18
|
import type { Host } from "./host.ts";
|
|
19
19
|
import { dirnamePath, joinPath, relativePath, resolvePath } from "./paths.ts";
|
|
20
20
|
import type { SourceFiles } from "./source-files.ts";
|
|
@@ -15,12 +15,8 @@ import {
|
|
|
15
15
|
isStringLiteral,
|
|
16
16
|
SyntaxKind,
|
|
17
17
|
type Node,
|
|
18
|
-
} from "@typescript/native/
|
|
19
|
-
import {
|
|
20
|
-
SymbolFlags,
|
|
21
|
-
type NodeHandle,
|
|
22
|
-
type Symbol as TSSymbol,
|
|
23
|
-
} from "@typescript/native/unstable/sync";
|
|
18
|
+
} from "@typescript/native/ast";
|
|
19
|
+
import { SymbolFlags, type NodeHandle, type Symbol as TSSymbol } from "@typescript/native/sync";
|
|
24
20
|
import type { AliasChains } from "./alias-chain.ts";
|
|
25
21
|
import { resolvedTargets } from "./calls.ts";
|
|
26
22
|
import type { Config, DeclarationEntry } from "./config.ts";
|
package/src/contextual-uses.ts
CHANGED
|
@@ -26,8 +26,8 @@ import {
|
|
|
26
26
|
type Expression,
|
|
27
27
|
type Node,
|
|
28
28
|
type ObjectLiteralExpression,
|
|
29
|
-
} from "@typescript/native/
|
|
30
|
-
import { SignatureKind, type NodeHandle, type Type } from "@typescript/native/
|
|
29
|
+
} from "@typescript/native/ast";
|
|
30
|
+
import { SignatureKind, type NodeHandle, type Type } from "@typescript/native/sync";
|
|
31
31
|
import type { AliasChains } from "./alias-chain.ts";
|
|
32
32
|
import type { Inventory, SymbolKind } from "./inventory.ts";
|
|
33
33
|
import { isAnswered, type PropertyTables } from "./query.ts";
|
package/src/conventions.ts
CHANGED
package/src/decorator.ts
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* the inventory holds for the class, static members included.
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
-
import type { Node } from "@typescript/native/
|
|
14
|
+
import type { Node } from "@typescript/native/ast";
|
|
15
15
|
import { decoratorsOf, spelledDecorator } from "./calls.ts";
|
|
16
16
|
import type { DetectorInput, Evidence } from "./exempt.ts";
|
|
17
17
|
import { nodeKey, type InventorySymbol, type SymbolKind } from "./inventory.ts";
|
package/src/dependencies.ts
CHANGED
package/src/deprecation.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* the list's own tags from the tree.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
import { isVariableStatement, SyntaxKind, type Node } from "@typescript/native/
|
|
10
|
+
import { isVariableStatement, SyntaxKind, type Node } from "@typescript/native/ast";
|
|
11
11
|
import { nodeKey, type Inventory } from "./inventory.ts";
|
|
12
12
|
import { isAnswered, UNANSWERED } from "./query.ts";
|
|
13
13
|
import type { Handle, ProjectView } from "./session.ts";
|
package/src/destructuring.ts
CHANGED
|
@@ -23,8 +23,8 @@ import {
|
|
|
23
23
|
SyntaxKind,
|
|
24
24
|
type BinaryExpression,
|
|
25
25
|
type Node,
|
|
26
|
-
} from "@typescript/native/
|
|
27
|
-
import { TypeFlags, type Symbol as TSSymbol, type Type } from "@typescript/native/
|
|
26
|
+
} from "@typescript/native/ast";
|
|
27
|
+
import { TypeFlags, type Symbol as TSSymbol, type Type } from "@typescript/native/sync";
|
|
28
28
|
import {
|
|
29
29
|
isAnswered,
|
|
30
30
|
propertyTables,
|
package/src/discover.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DiagnosticCategory } from "@typescript/native/
|
|
2
|
-
import type { Diagnostic } from "@typescript/native/
|
|
1
|
+
import { DiagnosticCategory } from "@typescript/native/sync";
|
|
2
|
+
import type { Diagnostic } from "@typescript/native/sync";
|
|
3
3
|
import type { BuildConfiguration, ProjectConfiguration } from "./config.ts";
|
|
4
4
|
import type { Host } from "./host.ts";
|
|
5
5
|
import { dirnamePath, isAbsolutePath, joinPath, relativePath, resolvePath } from "./paths.ts";
|
package/src/element-access.ts
CHANGED
|
@@ -39,8 +39,8 @@ import {
|
|
|
39
39
|
type Node,
|
|
40
40
|
type ParameterDeclaration,
|
|
41
41
|
type SourceFile,
|
|
42
|
-
} from "@typescript/native/
|
|
43
|
-
import type { Type } from "@typescript/native/
|
|
42
|
+
} from "@typescript/native/ast";
|
|
43
|
+
import type { Type } from "@typescript/native/sync";
|
|
44
44
|
import type { AliasChains } from "./alias-chain.ts";
|
|
45
45
|
import { nodeKey, type Inventory } from "./inventory.ts";
|
|
46
46
|
import { renderPosition } from "./position.ts";
|
package/src/entry-points.ts
CHANGED
|
@@ -28,8 +28,8 @@ import {
|
|
|
28
28
|
isStringLiteral,
|
|
29
29
|
type Node,
|
|
30
30
|
type SourceFile,
|
|
31
|
-
} from "@typescript/native/
|
|
32
|
-
import { SymbolFlags } from "@typescript/native/
|
|
31
|
+
} from "@typescript/native/ast";
|
|
32
|
+
import { SymbolFlags } from "@typescript/native/sync";
|
|
33
33
|
import {
|
|
34
34
|
configurationFiles,
|
|
35
35
|
filesNamedBy,
|
package/src/enum-group.ts
CHANGED
|
@@ -27,8 +27,8 @@ import {
|
|
|
27
27
|
SyntaxKind,
|
|
28
28
|
type Node,
|
|
29
29
|
type SourceFile,
|
|
30
|
-
} from "@typescript/native/
|
|
31
|
-
import { TypeFlags, type Type } from "@typescript/native/
|
|
30
|
+
} from "@typescript/native/ast";
|
|
31
|
+
import { TypeFlags, type Type } from "@typescript/native/sync";
|
|
32
32
|
import { aliasChains } from "./alias-chain.ts";
|
|
33
33
|
import type { DetectorInput, Evidence } from "./exempt.ts";
|
|
34
34
|
import { nodeKey } from "./inventory.ts";
|
package/src/erased-stores.ts
CHANGED
|
@@ -27,8 +27,8 @@ import {
|
|
|
27
27
|
SyntaxKind,
|
|
28
28
|
type Expression,
|
|
29
29
|
type Node,
|
|
30
|
-
} from "@typescript/native/
|
|
31
|
-
import { SymbolFlags, TypeFlags, type Type } from "@typescript/native/
|
|
30
|
+
} from "@typescript/native/ast";
|
|
31
|
+
import { SymbolFlags, TypeFlags, type Type } from "@typescript/native/sync";
|
|
32
32
|
import { must } from "./query.ts";
|
|
33
33
|
import type { ProjectView } from "./session.ts";
|
|
34
34
|
|
package/src/file-facts.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* program holds by inclusion rather than by an import.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import type { SourceFile } from "@typescript/native/
|
|
7
|
+
import type { SourceFile } from "@typescript/native/ast";
|
|
8
8
|
import { IGNORED_DIRECTORIES } from "./discover.ts";
|
|
9
9
|
import type { Host } from "./host.ts";
|
|
10
10
|
import { packageScope } from "./inventory.ts";
|
|
@@ -13,8 +13,8 @@ import {
|
|
|
13
13
|
SyntaxKind,
|
|
14
14
|
type CallExpression,
|
|
15
15
|
type Node,
|
|
16
|
-
} from "@typescript/native/
|
|
17
|
-
import type { Type } from "@typescript/native/
|
|
16
|
+
} from "@typescript/native/ast";
|
|
17
|
+
import type { Type } from "@typescript/native/sync";
|
|
18
18
|
import { aliasChains, type AliasChains } from "./alias-chain.ts";
|
|
19
19
|
import { calleeName, callsOf, classesPassed, decoratedClasses, decoratorCallee } from "./calls.ts";
|
|
20
20
|
import { classMembers, memberComponent, typesAt, type ClassSide } from "./class-members.ts";
|
package/src/html-entries.ts
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
isImportDeclaration,
|
|
10
10
|
isStringLiteral,
|
|
11
11
|
type SourceFile,
|
|
12
|
-
} from "@typescript/native/
|
|
12
|
+
} from "@typescript/native/ast";
|
|
13
13
|
import { resolveRelativeSpecifier, type ParseFile } from "./configuration-files.ts";
|
|
14
14
|
import type { Host } from "./host.ts";
|
|
15
15
|
import { dirnamePath, joinPath, relativePath, resolvePath } from "./paths.ts";
|
package/src/implementations.ts
CHANGED
|
@@ -13,8 +13,8 @@ import {
|
|
|
13
13
|
isMethodDeclaration,
|
|
14
14
|
SyntaxKind,
|
|
15
15
|
type Node,
|
|
16
|
-
} from "@typescript/native/
|
|
17
|
-
import { SymbolFlags, type Symbol as TSSymbol, type Type } from "@typescript/native/
|
|
16
|
+
} from "@typescript/native/ast";
|
|
17
|
+
import { SymbolFlags, type Symbol as TSSymbol, type Type } from "@typescript/native/sync";
|
|
18
18
|
import { aliasChains } from "./alias-chain.ts";
|
|
19
19
|
import { nodeKey, type Inventory } from "./inventory.ts";
|
|
20
20
|
import { must, Unanswerable } from "./query.ts";
|
package/src/in-operands.ts
CHANGED
package/src/indexed-access.ts
CHANGED
|
@@ -42,13 +42,13 @@ import {
|
|
|
42
42
|
type SourceFile,
|
|
43
43
|
type TypeNode,
|
|
44
44
|
type TypeReferenceNode,
|
|
45
|
-
} from "@typescript/native/
|
|
45
|
+
} from "@typescript/native/ast";
|
|
46
46
|
import {
|
|
47
47
|
SignatureKind,
|
|
48
48
|
SymbolFlags,
|
|
49
49
|
type Symbol as TSSymbol,
|
|
50
50
|
type Type,
|
|
51
|
-
} from "@typescript/native/
|
|
51
|
+
} from "@typescript/native/sync";
|
|
52
52
|
import type { AliasChains } from "./alias-chain.ts";
|
|
53
53
|
import { nodeKey, type Inventory } from "./inventory.ts";
|
|
54
54
|
import { renderPosition } from "./position.ts";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
isSetAccessorDeclaration,
|
|
16
16
|
type CallExpression,
|
|
17
17
|
type Node,
|
|
18
|
-
} from "@typescript/native/
|
|
18
|
+
} from "@typescript/native/ast";
|
|
19
19
|
import { aliasChains } from "./alias-chain.ts";
|
|
20
20
|
import { calleeName, callsOf, classesPassed, decoratorsOf, spelledDecorator } from "./calls.ts";
|
|
21
21
|
import { classMembers, type ClassMember } from "./class-members.ts";
|
|
@@ -25,8 +25,8 @@ import {
|
|
|
25
25
|
type Expression,
|
|
26
26
|
type Node,
|
|
27
27
|
type SourceFile,
|
|
28
|
-
} from "@typescript/native/
|
|
29
|
-
import { SymbolFlags, type Type } from "@typescript/native/
|
|
28
|
+
} from "@typescript/native/ast";
|
|
29
|
+
import { SymbolFlags, type Type } from "@typescript/native/sync";
|
|
30
30
|
import { aliasChains } from "./alias-chain.ts";
|
|
31
31
|
import { emptyImplementation } from "./implementations.ts";
|
|
32
32
|
import type { DetectorInput, Evidence } from "./exempt.ts";
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
type Node,
|
|
67
67
|
type SourceFile,
|
|
68
68
|
type Statement,
|
|
69
|
-
} from "@typescript/native/
|
|
69
|
+
} from "@typescript/native/ast";
|
|
70
70
|
import type { FindingPosition } from "./finding.ts";
|
|
71
71
|
import { nodeKey, type Inventory } from "./inventory.ts";
|
|
72
72
|
import { positionKey, renderPosition } from "./position.ts";
|
package/src/inventory.ts
CHANGED
|
@@ -28,8 +28,8 @@ import {
|
|
|
28
28
|
ModifierFlags,
|
|
29
29
|
type Node,
|
|
30
30
|
type SourceFile,
|
|
31
|
-
} from "@typescript/native/
|
|
32
|
-
import type { Symbol as TSSymbol } from "@typescript/native/
|
|
31
|
+
} from "@typescript/native/ast";
|
|
32
|
+
import type { Symbol as TSSymbol } from "@typescript/native/sync";
|
|
33
33
|
import type { Host } from "./host.ts";
|
|
34
34
|
import { dirnamePath, joinPath, relativePath } from "./paths.ts";
|
|
35
35
|
import {
|
package/src/keyof-comparisons.ts
CHANGED
|
@@ -19,8 +19,8 @@ import {
|
|
|
19
19
|
type Node,
|
|
20
20
|
type SourceFile,
|
|
21
21
|
type TypeNode,
|
|
22
|
-
} from "@typescript/native/
|
|
23
|
-
import { SymbolFlags, type Type } from "@typescript/native/
|
|
22
|
+
} from "@typescript/native/ast";
|
|
23
|
+
import { SymbolFlags, type Type } from "@typescript/native/sync";
|
|
24
24
|
import type { AliasChains } from "./alias-chain.ts";
|
|
25
25
|
import { nodeKey, type Inventory } from "./inventory.ts";
|
|
26
26
|
import { renderPosition } from "./position.ts";
|
package/src/member-names.ts
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
isStringLiteral,
|
|
13
13
|
type Node,
|
|
14
14
|
type SourceFile,
|
|
15
|
-
} from "@typescript/native/
|
|
15
|
+
} from "@typescript/native/ast";
|
|
16
16
|
import { nodeKey, type Inventory, type InventorySymbol, type SymbolKind } from "./inventory.ts";
|
|
17
17
|
|
|
18
18
|
/** The kinds of declaration a member name can name. */
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
SyntaxKind,
|
|
23
23
|
type Node,
|
|
24
24
|
type SourceFile,
|
|
25
|
-
} from "@typescript/native/
|
|
25
|
+
} from "@typescript/native/ast";
|
|
26
26
|
import { nodeKey, type Inventory, type InventorySymbol } from "./inventory.ts";
|
|
27
27
|
import { renderPosition } from "./position.ts";
|
|
28
28
|
import { UNANSWERED } from "./query.ts";
|
package/src/namespace-objects.ts
CHANGED
package/src/outside-tests.ts
CHANGED
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
SyntaxKind,
|
|
19
19
|
type Node,
|
|
20
20
|
type SourceFile,
|
|
21
|
-
} from "@typescript/native/
|
|
21
|
+
} from "@typescript/native/ast";
|
|
22
22
|
import { RESOLVED_EXTENSIONS, type ParseFile } from "./configuration-files.ts";
|
|
23
23
|
import { emittedFrom } from "./emit-map.ts";
|
|
24
24
|
import type { Host } from "./host.ts";
|
package/src/overrides.ts
CHANGED
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
SyntaxKind,
|
|
17
17
|
type HeritageClauseElement,
|
|
18
18
|
type Node,
|
|
19
|
-
} from "@typescript/native/
|
|
19
|
+
} from "@typescript/native/ast";
|
|
20
20
|
import type { AliasChains } from "./alias-chain.ts";
|
|
21
21
|
import { memberComponent } from "./class-members.ts";
|
|
22
22
|
import { nodeKey, type Inventory, type InventorySymbol } from "./inventory.ts";
|
|
23
|
-
import { SymbolFlags, type Symbol as TSSymbol, type Type } from "@typescript/native/
|
|
23
|
+
import { SymbolFlags, type Symbol as TSSymbol, type Type } from "@typescript/native/sync";
|
|
24
24
|
import { UNANSWERED } from "./query.ts";
|
|
25
25
|
import { nameComponent } from "./ref.ts";
|
|
26
26
|
import type { Reference } from "./references.ts";
|
package/src/position.ts
CHANGED
package/src/query.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* form where it has one and otherwise as one batch, one round trip per capped run.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
import { isIdentifier, type Expression, type Node } from "@typescript/native/
|
|
10
|
+
import { isIdentifier, type Expression, type Node } from "@typescript/native/ast";
|
|
11
11
|
import type {
|
|
12
12
|
APIRequestGenerator,
|
|
13
13
|
Checker,
|
|
@@ -18,7 +18,7 @@ import type {
|
|
|
18
18
|
SymbolFlags,
|
|
19
19
|
Symbol as TSSymbol,
|
|
20
20
|
Type,
|
|
21
|
-
} from "@typescript/native/
|
|
21
|
+
} from "@typescript/native/sync";
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* The greatest number of locations one batched request asks about. A batch is
|
package/src/references.ts
CHANGED
|
@@ -33,8 +33,8 @@ import {
|
|
|
33
33
|
SyntaxKind,
|
|
34
34
|
type Node,
|
|
35
35
|
type SourceFile,
|
|
36
|
-
} from "@typescript/native/
|
|
37
|
-
import type { Symbol as TSSymbol } from "@typescript/native/
|
|
36
|
+
} from "@typescript/native/ast";
|
|
37
|
+
import type { Symbol as TSSymbol } from "@typescript/native/sync";
|
|
38
38
|
import { aliasChains, type ChainTarget } from "./alias-chain.ts";
|
|
39
39
|
import { contextualUses, type FlowAt, type LiteralAt } from "./contextual-uses.ts";
|
|
40
40
|
import { destructuring, propertyReadsOf, type PropertyRead } from "./destructuring.ts";
|
package/src/reflective-lookup.ts
CHANGED
|
@@ -22,8 +22,8 @@ import {
|
|
|
22
22
|
isStringLiteral,
|
|
23
23
|
type Node,
|
|
24
24
|
type SourceFile,
|
|
25
|
-
} from "@typescript/native/
|
|
26
|
-
import { TypeFlags, type Type } from "@typescript/native/
|
|
25
|
+
} from "@typescript/native/ast";
|
|
26
|
+
import { TypeFlags, type Type } from "@typescript/native/sync";
|
|
27
27
|
import type { DetectorInput, Evidence } from "./exempt.ts";
|
|
28
28
|
import { memberNames } from "./member-names.ts";
|
|
29
29
|
import { renderPosition } from "./position.ts";
|
package/src/roots.ts
CHANGED
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
isVariableStatement,
|
|
21
21
|
type Node,
|
|
22
22
|
type SourceFile,
|
|
23
|
-
} from "@typescript/native/
|
|
23
|
+
} from "@typescript/native/ast";
|
|
24
24
|
import { aliasChains } from "./alias-chain.ts";
|
|
25
25
|
import type { ParseFile } from "./configuration-files.ts";
|
|
26
26
|
import { conventionEntries, type Conventions } from "./conventions.ts";
|
|
@@ -33,7 +33,7 @@ import { relativePath, resolvePath } from "./paths.ts";
|
|
|
33
33
|
import { byPosition } from "./position.ts";
|
|
34
34
|
import { UNANSWERED } from "./query.ts";
|
|
35
35
|
import type { ProjectView } from "./session.ts";
|
|
36
|
-
import type { Symbol as TSSymbol, Type } from "@typescript/native/
|
|
36
|
+
import type { Symbol as TSSymbol, Type } from "@typescript/native/sync";
|
|
37
37
|
import { sourceFilesOf } from "./source-files.ts";
|
|
38
38
|
import { typeQueryAliases } from "./type-query-alias.ts";
|
|
39
39
|
|
|
@@ -34,14 +34,14 @@ import {
|
|
|
34
34
|
type Expression,
|
|
35
35
|
type Node,
|
|
36
36
|
type ParameterDeclaration,
|
|
37
|
-
} from "@typescript/native/
|
|
37
|
+
} from "@typescript/native/ast";
|
|
38
38
|
import {
|
|
39
39
|
SignatureKind,
|
|
40
40
|
SymbolFlags,
|
|
41
41
|
TypeFlags,
|
|
42
42
|
type Symbol as TSSymbol,
|
|
43
43
|
type Type,
|
|
44
|
-
} from "@typescript/native/
|
|
44
|
+
} from "@typescript/native/sync";
|
|
45
45
|
import { aliasChains, type AliasChains } from "./alias-chain.ts";
|
|
46
46
|
import { calleeName, resolvedTargets, valuesPassed } from "./calls.ts";
|
|
47
47
|
import { classMembers, memberComponent, typesAt } from "./class-members.ts";
|
package/src/session.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { API, SymbolFlags } from "@typescript/native/
|
|
1
|
+
import { API, SymbolFlags } from "@typescript/native/sync";
|
|
2
2
|
import type {
|
|
3
3
|
APIRequestGenerator,
|
|
4
4
|
CreateSnapshotProgramParams,
|
|
@@ -12,8 +12,8 @@ import type {
|
|
|
12
12
|
Snapshot,
|
|
13
13
|
Symbol as TSSymbol,
|
|
14
14
|
TimingInfo,
|
|
15
|
-
} from "@typescript/native/
|
|
16
|
-
import type { Node, SourceFile } from "@typescript/native/
|
|
15
|
+
} from "@typescript/native/sync";
|
|
16
|
+
import type { Node, SourceFile } from "@typescript/native/ast";
|
|
17
17
|
import { componentLayer, mapperManifest } from "./component-layer.ts";
|
|
18
18
|
import { DiscoveryError } from "./discover.ts";
|
|
19
19
|
import type { Host, TemporaryDirectory } from "./host.ts";
|
|
@@ -153,6 +153,8 @@ export function openEngine(options: EngineOptions): Engine {
|
|
|
153
153
|
}),
|
|
154
154
|
}),
|
|
155
155
|
readsComponents: mapper !== undefined,
|
|
156
|
+
// Entries, not a resolveModuleName callback: this fallback resolves with the importing
|
|
157
|
+
// file's project-reference options, which the compiler never passes to a callback.
|
|
156
158
|
createModuleResolver: (options, entries) =>
|
|
157
159
|
api.createModuleResolver(options, {
|
|
158
160
|
moduleResolutions: { fallback: "resolve", entries: [...entries] },
|
package/src/signatures.ts
CHANGED
package/src/source-files.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* compiler emits from it.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import type { SourceFile } from "@typescript/native/
|
|
7
|
+
import type { SourceFile } from "@typescript/native/ast";
|
|
8
8
|
import { commonDirectory, emittedFrom } from "./emit-map.ts";
|
|
9
9
|
import { dirnamePath, relativePath, resolvePath } from "./paths.ts";
|
|
10
10
|
import type { ProjectView } from "./session.ts";
|
package/src/stores.ts
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
isGetAccessorDeclaration,
|
|
9
9
|
isSetAccessorDeclaration,
|
|
10
10
|
type Node,
|
|
11
|
-
} from "@typescript/native/
|
|
11
|
+
} from "@typescript/native/ast";
|
|
12
12
|
import { nodeKey, type Inventory } from "./inventory.ts";
|
|
13
13
|
import type { Reference } from "./references.ts";
|
|
14
14
|
import type { ProjectView } from "./session.ts";
|
package/src/suppress-inline.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* below it, or on its own line where it trails a token there.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { SyntaxKind, type Node, type SourceFile } from "@typescript/native/
|
|
7
|
+
import { SyntaxKind, type Node, type SourceFile } from "@typescript/native/ast";
|
|
8
8
|
import { nodeKey, type Inventory } from "./inventory.ts";
|
|
9
9
|
import { byPosition, positionKey, renderPosition, type Position } from "./position.ts";
|
|
10
10
|
import type { ProjectView } from "./session.ts";
|
package/src/symbol-keys.ts
CHANGED
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
isStringLiteral,
|
|
16
16
|
type ElementAccessExpression,
|
|
17
17
|
type Node,
|
|
18
|
-
} from "@typescript/native/
|
|
19
|
-
import type { Symbol as TSSymbol, Type } from "@typescript/native/
|
|
18
|
+
} from "@typescript/native/ast";
|
|
19
|
+
import type { Symbol as TSSymbol, Type } from "@typescript/native/sync";
|
|
20
20
|
import type { AliasChains } from "./alias-chain.ts";
|
|
21
21
|
import type { InventorySymbol } from "./inventory.ts";
|
|
22
22
|
import { isAnswered, type PropertyTables } from "./query.ts";
|
package/src/type-errors.ts
CHANGED
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
type Node,
|
|
15
15
|
type PropertyAccessExpression,
|
|
16
16
|
type SourceFile,
|
|
17
|
-
} from "@typescript/native/
|
|
18
|
-
import type { Symbol as TSSymbol, Type } from "@typescript/native/
|
|
17
|
+
} from "@typescript/native/ast";
|
|
18
|
+
import type { Symbol as TSSymbol, Type } from "@typescript/native/sync";
|
|
19
19
|
import { packageOfSpecifier } from "./dependencies.ts";
|
|
20
20
|
import type { LocatedDiagnostic } from "./discover.ts";
|
|
21
21
|
import type { Host } from "./host.ts";
|
package/src/type-query-alias.ts
CHANGED
|
@@ -35,8 +35,8 @@ import {
|
|
|
35
35
|
type ObjectLiteralExpression,
|
|
36
36
|
type ParameterDeclaration,
|
|
37
37
|
type SourceFile,
|
|
38
|
-
} from "@typescript/native/
|
|
39
|
-
import { SymbolFlags, type Symbol as TSSymbol, type Type } from "@typescript/native/
|
|
38
|
+
} from "@typescript/native/ast";
|
|
39
|
+
import { SymbolFlags, type Symbol as TSSymbol, type Type } from "@typescript/native/sync";
|
|
40
40
|
import type { AliasChains } from "./alias-chain.ts";
|
|
41
41
|
import { nodeKey, type Inventory } from "./inventory.ts";
|
|
42
42
|
import { renderPosition } from "./position.ts";
|
package/src/value-flow.ts
CHANGED
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
SyntaxKind,
|
|
27
27
|
type Expression,
|
|
28
28
|
type Node,
|
|
29
|
-
} from "@typescript/native/
|
|
29
|
+
} from "@typescript/native/ast";
|
|
30
30
|
|
|
31
31
|
/** The operators of an assignment whose right side is stored into the left side's type. */
|
|
32
32
|
const STORES: ReadonlySet<SyntaxKind> = new Set([
|
package/src/value-reach.ts
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
type ObjectType,
|
|
14
14
|
type Symbol as TSSymbol,
|
|
15
15
|
type Type,
|
|
16
|
-
} from "@typescript/native/
|
|
16
|
+
} from "@typescript/native/sync";
|
|
17
17
|
import { classNames, typesAt } from "./class-members.ts";
|
|
18
18
|
import type { Inventory } from "./inventory.ts";
|
|
19
19
|
import { must } from "./query.ts";
|
package/src/workflow-steps.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* A workflow file is read as text, line by line, with no YAML parsed.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import type { SourceFile } from "@typescript/native/
|
|
6
|
+
import type { SourceFile } from "@typescript/native/ast";
|
|
7
7
|
import type { Host } from "./host.ts";
|
|
8
8
|
import { scriptTokens } from "./manifest.ts";
|
|
9
9
|
import { joinPath, resolvePath } from "./paths.ts";
|
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
* member import keeps the project the compiler opens for it.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { ModuleKind, ModuleResolutionKind } from "@typescript/native/
|
|
9
|
+
import { ModuleKind, ModuleResolutionKind } from "@typescript/native/sync";
|
|
10
10
|
import type {
|
|
11
11
|
CreateSnapshotProgramParams,
|
|
12
12
|
ModuleResolutionEntry,
|
|
13
13
|
ModuleResolver,
|
|
14
14
|
Program,
|
|
15
15
|
ResolutionMode,
|
|
16
|
-
} from "@typescript/native/
|
|
17
|
-
import { isStringLiteralLikeNode } from "@typescript/native/
|
|
18
|
-
import type { StringLiteralLikeNode } from "@typescript/native/
|
|
16
|
+
} from "@typescript/native/sync";
|
|
17
|
+
import { isStringLiteralLikeNode } from "@typescript/native/ast";
|
|
18
|
+
import type { StringLiteralLikeNode } from "@typescript/native/ast";
|
|
19
19
|
import type { Host } from "./host.ts";
|
|
20
20
|
import { dirnamePath, resolvePath } from "./paths.ts";
|
|
21
21
|
import type { Engine } from "./session.ts";
|