@codefast/di 0.10.1 → 0.12.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/CHANGELOG.md +376 -0
- package/README.md +94 -17
- package/dist/{ambient/active-container.d.ts → ambient-container.d.ts} +7 -2
- package/dist/{ambient/active-container.js → ambient-container.js} +6 -1
- package/dist/container/{binding-builders.d.ts → binding-chain.d.ts} +27 -16
- package/dist/container/binding-chain.js +254 -0
- package/dist/container/container.d.ts +11 -2
- package/dist/container/container.js +293 -73
- package/dist/core/binding-builders.d.ts +114 -0
- package/dist/core/binding-declaration.d.ts +127 -0
- package/dist/core/binding-declaration.js +187 -0
- package/dist/core/binding.d.ts +62 -138
- package/dist/core/binding.js +54 -17
- package/dist/core/module.d.ts +8 -5
- package/dist/core/module.js +17 -3
- package/dist/core/registry.d.ts +17 -28
- package/dist/core/registry.js +92 -133
- package/dist/core/state-epoch.d.ts +18 -1
- package/dist/core/state-epoch.js +17 -0
- package/dist/core/tag.js +1 -1
- package/dist/decorators/inject.js +6 -5
- package/dist/decorators/injectable.js +4 -2
- package/dist/decorators/{lifecycle-decorators.js → lifecycle.js} +9 -3
- package/dist/decorators/metadata-record.d.ts +9 -0
- package/dist/decorators/metadata-record.js +20 -0
- package/dist/{errors/errors.d.ts → errors.d.ts} +84 -9
- package/dist/{errors/errors.js → errors.js} +101 -17
- package/dist/index.d.ts +14 -10
- package/dist/index.js +7 -6
- package/dist/injection/{resolve-options.js → dependency-slot.js} +6 -4
- package/dist/injection/descriptor.d.ts +1 -1
- package/dist/injection/descriptor.js +3 -7
- package/dist/introspection/dependency-graph.d.ts +8 -3
- package/dist/introspection/dependency-graph.js +48 -26
- package/dist/introspection/explanation.d.ts +101 -0
- package/dist/introspection/explanation.js +151 -0
- package/dist/introspection/graph-adapters/reactflow.js +6 -4
- package/dist/introspection/inspector.d.ts +9 -2
- package/dist/introspection/inspector.js +30 -28
- package/dist/lifecycle/{lifecycle-manager.d.ts → hooks.d.ts} +9 -2
- package/dist/lifecycle/{lifecycle-manager.js → hooks.js} +59 -30
- package/dist/lifecycle/{scope-manager.d.ts → scopes.d.ts} +3 -5
- package/dist/lifecycle/{scope-manager.js → scopes.js} +36 -29
- package/dist/metadata/{metadata-reader-token.d.ts → reader-token.d.ts} +1 -1
- package/dist/metadata/{symbol-metadata-reader.d.ts → symbol-reader.d.ts} +1 -1
- package/dist/metadata/{symbol-metadata-reader.js → symbol-reader.js} +1 -1
- package/dist/metadata/{metadata-types.d.ts → types.d.ts} +1 -1
- package/dist/metadata/types.js +1 -0
- package/dist/metadata/verify.d.ts +43 -0
- package/dist/metadata/verify.js +133 -0
- package/dist/metadata/{verifying-metadata-reader.d.ts → verifying-reader.d.ts} +5 -4
- package/dist/metadata/verifying-reader.js +53 -0
- package/dist/resolution/async-fan-out.d.ts +12 -0
- package/dist/resolution/async-fan-out.js +26 -0
- package/dist/resolution/cache/activation-need.d.ts +1 -2
- package/dist/resolution/cache/activation-need.js +16 -19
- package/dist/resolution/cache/class-introspector.d.ts +38 -36
- package/dist/resolution/cache/class-introspector.js +79 -159
- package/dist/resolution/cache/{binding-lookup-cache.d.ts → lookup.d.ts} +7 -9
- package/dist/resolution/cache/{binding-lookup-cache.js → lookup.js} +70 -25
- package/dist/resolution/context.d.ts +16 -24
- package/dist/resolution/context.js +47 -56
- package/dist/resolution/path.d.ts +128 -0
- package/dist/resolution/path.js +167 -0
- package/dist/resolution/plan/{plan-codegen.d.ts → codegen.d.ts} +5 -4
- package/dist/resolution/plan/{plan-codegen.js → codegen.js} +58 -32
- package/dist/resolution/plan/{instantiation-plan.d.ts → compiler.d.ts} +1 -1
- package/dist/resolution/plan/{instantiation-plan.js → compiler.js} +64 -24
- package/dist/resolution/resolver.d.ts +11 -12
- package/dist/resolution/resolver.js +573 -356
- package/dist/resolution/select/{binding-select.d.ts → candidates.d.ts} +30 -0
- package/dist/resolution/select/{binding-select.js → candidates.js} +51 -10
- package/dist/resolution/select/constraints.js +1 -1
- package/package.json +87 -67
- package/dist/container/binding-builders.js +0 -305
- package/dist/core/binding-scope.d.ts +0 -12
- package/dist/core/binding-scope.js +0 -12
- package/dist/metadata/verifying-metadata-reader.js +0 -31
- package/dist/resolution/path/resolution-path.d.ts +0 -93
- package/dist/resolution/path/resolution-path.js +0 -116
- /package/dist/{metadata/metadata-types.js → core/binding-builders.js} +0 -0
- /package/dist/decorators/{lifecycle-decorators.d.ts → lifecycle.d.ts} +0 -0
- /package/dist/injection/{resolve-options.d.ts → dependency-slot.d.ts} +0 -0
- /package/dist/{errors → introspection}/diagnostics.d.ts +0 -0
- /package/dist/{errors → introspection}/diagnostics.js +0 -0
- /package/dist/metadata/{metadata-keys.d.ts → keys.d.ts} +0 -0
- /package/dist/metadata/{metadata-keys.js → keys.js} +0 -0
- /package/dist/metadata/{metadata-reader-token.js → reader-token.js} +0 -0
|
@@ -9,6 +9,36 @@ import type { ConstraintContext, ResolveOptions } from "#core/types";
|
|
|
9
9
|
* @since 0.3.16-canary.0
|
|
10
10
|
*/
|
|
11
11
|
export declare function selectBinding(bindings: ReadonlyArray<Binding>, options: ResolveOptions | undefined, ctx: ConstraintContext, tokenDisplayName: string): Binding | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* The rule that settles a request's eligible candidates, in the order selection applies them.
|
|
14
|
+
*
|
|
15
|
+
* @remarks `sole-candidate`: one candidate is eligible. `sole-predicate`: the only candidate carrying a `when()`
|
|
16
|
+
* predicate beats those without. `most-criteria`: the slot declaring more criteria than every other wins.
|
|
17
|
+
* `ambiguous`: a tie, which `resolve` reports as `AmbiguousBindingError`.
|
|
18
|
+
*
|
|
19
|
+
* @since 0.12.0
|
|
20
|
+
*/
|
|
21
|
+
export type CandidateRule = "sole-candidate" | "sole-predicate" | "most-criteria" | "ambiguous";
|
|
22
|
+
/**
|
|
23
|
+
* The candidate a non-empty eligible list settles on, or `undefined` for a tie — the one decision `resolve` and
|
|
24
|
+
* `explain()` share.
|
|
25
|
+
*
|
|
26
|
+
* @remarks Most specific wins, predicate before criterion count: a lone predicate-carrying candidate
|
|
27
|
+
* is a deliberate specialization of the default, and a slot declaring more of what the request
|
|
28
|
+
* carries is the more specific match, so an over-specified request resolves instead of tying.
|
|
29
|
+
*
|
|
30
|
+
* @since 0.12.0
|
|
31
|
+
*/
|
|
32
|
+
export declare function chooseCandidate(candidates: ReadonlyArray<Binding>): Binding | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* The rule behind what {@link chooseCandidate} returned for the same list, read off its answer.
|
|
35
|
+
*
|
|
36
|
+
* @remarks Kept beside the decision and derived from it, so the order lives in one function and resolve
|
|
37
|
+
* pays nothing for the label.
|
|
38
|
+
*
|
|
39
|
+
* @since 0.12.0
|
|
40
|
+
*/
|
|
41
|
+
export declare function candidateRuleOf(candidates: ReadonlyArray<Binding>, chosen: Binding | undefined): CandidateRule;
|
|
12
42
|
/**
|
|
13
43
|
* Selects all candidates matching options + predicates.
|
|
14
44
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { coversTagKeys, NO_TAG_KEYS, slotName, slotNameCriterionOf } from "#core/tag";
|
|
2
|
-
import { AmbiguousBindingError } from "#errors
|
|
2
|
+
import { AmbiguousBindingError } from "#errors";
|
|
3
3
|
/**
|
|
4
4
|
* The single candidate a request selects from a list, by slot match then predicate.
|
|
5
5
|
*
|
|
@@ -15,9 +15,26 @@ export function selectBinding(bindings, options, ctx, tokenDisplayName) {
|
|
|
15
15
|
if (candidates.length === 1) {
|
|
16
16
|
return candidates[0];
|
|
17
17
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
const chosen = chooseCandidate(candidates);
|
|
19
|
+
if (chosen !== undefined) {
|
|
20
|
+
return chosen;
|
|
21
|
+
}
|
|
22
|
+
throw new AmbiguousBindingError(tokenDisplayName, candidates.map((c) => c.identifier));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* The candidate a non-empty eligible list settles on, or `undefined` for a tie — the one decision `resolve` and
|
|
26
|
+
* `explain()` share.
|
|
27
|
+
*
|
|
28
|
+
* @remarks Most specific wins, predicate before criterion count: a lone predicate-carrying candidate
|
|
29
|
+
* is a deliberate specialization of the default, and a slot declaring more of what the request
|
|
30
|
+
* carries is the more specific match, so an over-specified request resolves instead of tying.
|
|
31
|
+
*
|
|
32
|
+
* @since 0.12.0
|
|
33
|
+
*/
|
|
34
|
+
export function chooseCandidate(candidates) {
|
|
35
|
+
if (candidates.length === 1) {
|
|
36
|
+
return candidates[0];
|
|
37
|
+
}
|
|
21
38
|
let predicatedCandidate;
|
|
22
39
|
for (const candidate of candidates) {
|
|
23
40
|
if (candidate.predicate !== undefined) {
|
|
@@ -31,13 +48,37 @@ export function selectBinding(bindings, options, ctx, tokenDisplayName) {
|
|
|
31
48
|
if (predicatedCandidate !== undefined) {
|
|
32
49
|
return predicatedCandidate;
|
|
33
50
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
51
|
+
return mostSpecificByCriterionCount(candidates);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The rule behind what {@link chooseCandidate} returned for the same list, read off its answer.
|
|
55
|
+
*
|
|
56
|
+
* @remarks Kept beside the decision and derived from it, so the order lives in one function and resolve
|
|
57
|
+
* pays nothing for the label.
|
|
58
|
+
*
|
|
59
|
+
* @since 0.12.0
|
|
60
|
+
*/
|
|
61
|
+
export function candidateRuleOf(candidates, chosen) {
|
|
62
|
+
if (chosen === undefined) {
|
|
63
|
+
return "ambiguous";
|
|
39
64
|
}
|
|
40
|
-
|
|
65
|
+
if (candidates.length === 1) {
|
|
66
|
+
return "sole-candidate";
|
|
67
|
+
}
|
|
68
|
+
return solePredicatedCandidate(candidates) === chosen ? "sole-predicate" : "most-criteria";
|
|
69
|
+
}
|
|
70
|
+
/** The one candidate carrying a predicate, or `undefined` when none or several do. */
|
|
71
|
+
function solePredicatedCandidate(candidates) {
|
|
72
|
+
let predicatedCandidate;
|
|
73
|
+
for (const candidate of candidates) {
|
|
74
|
+
if (candidate.predicate !== undefined) {
|
|
75
|
+
if (predicatedCandidate !== undefined) {
|
|
76
|
+
return undefined;
|
|
77
|
+
}
|
|
78
|
+
predicatedCandidate = candidate;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
return predicatedCandidate;
|
|
41
82
|
}
|
|
42
83
|
/** The lone candidate declaring more criteria than every other, or `undefined` when that is a tie. */
|
|
43
84
|
function mostSpecificByCriterionCount(candidates) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { requiringAncestorSlotName, requiringAncestorSlotNames } from "#core/constraint-requirement";
|
|
2
2
|
import { coversTagKeys, slotName, tagKeyMaskOf } from "#core/tag";
|
|
3
3
|
import { tokenName } from "#core/token";
|
|
4
|
-
import { EmptyTagCriteriaError } from "#errors
|
|
4
|
+
import { EmptyTagCriteriaError } from "#errors";
|
|
5
5
|
/**
|
|
6
6
|
* Matches when the direct parent frame resolves the given token.
|
|
7
7
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codefast/di",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "Lightweight dependency injection primitives for Codefast",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"codefast",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"types": "./dist/index.d.ts",
|
|
43
43
|
"import": "./dist/index.js"
|
|
44
44
|
},
|
|
45
|
-
"./ambient
|
|
46
|
-
"types": "./dist/ambient
|
|
47
|
-
"import": "./dist/ambient
|
|
45
|
+
"./ambient-container": {
|
|
46
|
+
"types": "./dist/ambient-container.d.ts",
|
|
47
|
+
"import": "./dist/ambient-container.js"
|
|
48
48
|
},
|
|
49
|
-
"./container/binding-
|
|
50
|
-
"types": "./dist/container/binding-
|
|
51
|
-
"import": "./dist/container/binding-
|
|
49
|
+
"./container/binding-chain": {
|
|
50
|
+
"types": "./dist/container/binding-chain.d.ts",
|
|
51
|
+
"import": "./dist/container/binding-chain.js"
|
|
52
52
|
},
|
|
53
53
|
"./container/container": {
|
|
54
54
|
"types": "./dist/container/container.d.ts",
|
|
@@ -58,9 +58,13 @@
|
|
|
58
58
|
"types": "./dist/core/binding.d.ts",
|
|
59
59
|
"import": "./dist/core/binding.js"
|
|
60
60
|
},
|
|
61
|
-
"./core/binding-
|
|
62
|
-
"types": "./dist/core/binding-
|
|
63
|
-
"import": "./dist/core/binding-
|
|
61
|
+
"./core/binding-builders": {
|
|
62
|
+
"types": "./dist/core/binding-builders.d.ts",
|
|
63
|
+
"import": "./dist/core/binding-builders.js"
|
|
64
|
+
},
|
|
65
|
+
"./core/binding-declaration": {
|
|
66
|
+
"types": "./dist/core/binding-declaration.d.ts",
|
|
67
|
+
"import": "./dist/core/binding-declaration.js"
|
|
64
68
|
},
|
|
65
69
|
"./core/constraint-requirement": {
|
|
66
70
|
"types": "./dist/core/constraint-requirement.d.ts",
|
|
@@ -106,113 +110,129 @@
|
|
|
106
110
|
"types": "./dist/decorators/injectable.d.ts",
|
|
107
111
|
"import": "./dist/decorators/injectable.js"
|
|
108
112
|
},
|
|
109
|
-
"./decorators/lifecycle
|
|
110
|
-
"types": "./dist/decorators/lifecycle
|
|
111
|
-
"import": "./dist/decorators/lifecycle
|
|
113
|
+
"./decorators/lifecycle": {
|
|
114
|
+
"types": "./dist/decorators/lifecycle.d.ts",
|
|
115
|
+
"import": "./dist/decorators/lifecycle.js"
|
|
116
|
+
},
|
|
117
|
+
"./decorators/metadata-record": {
|
|
118
|
+
"types": "./dist/decorators/metadata-record.d.ts",
|
|
119
|
+
"import": "./dist/decorators/metadata-record.js"
|
|
112
120
|
},
|
|
113
|
-
"./errors
|
|
114
|
-
"types": "./dist/errors
|
|
115
|
-
"import": "./dist/errors
|
|
121
|
+
"./errors": {
|
|
122
|
+
"types": "./dist/errors.d.ts",
|
|
123
|
+
"import": "./dist/errors.js"
|
|
116
124
|
},
|
|
117
|
-
"./
|
|
118
|
-
"types": "./dist/
|
|
119
|
-
"import": "./dist/
|
|
125
|
+
"./injection/dependency-slot": {
|
|
126
|
+
"types": "./dist/injection/dependency-slot.d.ts",
|
|
127
|
+
"import": "./dist/injection/dependency-slot.js"
|
|
120
128
|
},
|
|
121
129
|
"./injection/descriptor": {
|
|
122
130
|
"types": "./dist/injection/descriptor.d.ts",
|
|
123
131
|
"import": "./dist/injection/descriptor.js"
|
|
124
132
|
},
|
|
125
|
-
"./
|
|
126
|
-
"types": "./dist/injection/resolve-options.d.ts",
|
|
127
|
-
"import": "./dist/injection/resolve-options.js"
|
|
128
|
-
},
|
|
129
|
-
"./dependency-graph": {
|
|
133
|
+
"./introspection/dependency-graph": {
|
|
130
134
|
"types": "./dist/introspection/dependency-graph.d.ts",
|
|
131
135
|
"import": "./dist/introspection/dependency-graph.js"
|
|
132
136
|
},
|
|
133
|
-
"./
|
|
137
|
+
"./introspection/diagnostics": {
|
|
138
|
+
"types": "./dist/introspection/diagnostics.d.ts",
|
|
139
|
+
"import": "./dist/introspection/diagnostics.js"
|
|
140
|
+
},
|
|
141
|
+
"./introspection/explanation": {
|
|
142
|
+
"types": "./dist/introspection/explanation.d.ts",
|
|
143
|
+
"import": "./dist/introspection/explanation.js"
|
|
144
|
+
},
|
|
145
|
+
"./introspection/graph-adapters/cytoscape": {
|
|
134
146
|
"types": "./dist/introspection/graph-adapters/cytoscape.d.ts",
|
|
135
147
|
"import": "./dist/introspection/graph-adapters/cytoscape.js"
|
|
136
148
|
},
|
|
137
|
-
"./graph-adapters/dot": {
|
|
149
|
+
"./introspection/graph-adapters/dot": {
|
|
138
150
|
"types": "./dist/introspection/graph-adapters/dot.d.ts",
|
|
139
151
|
"import": "./dist/introspection/graph-adapters/dot.js"
|
|
140
152
|
},
|
|
141
|
-
"./graph-adapters/mermaid": {
|
|
153
|
+
"./introspection/graph-adapters/mermaid": {
|
|
142
154
|
"types": "./dist/introspection/graph-adapters/mermaid.d.ts",
|
|
143
155
|
"import": "./dist/introspection/graph-adapters/mermaid.js"
|
|
144
156
|
},
|
|
145
|
-
"./graph-adapters/reactflow": {
|
|
157
|
+
"./introspection/graph-adapters/reactflow": {
|
|
146
158
|
"types": "./dist/introspection/graph-adapters/reactflow.d.ts",
|
|
147
159
|
"import": "./dist/introspection/graph-adapters/reactflow.js"
|
|
148
160
|
},
|
|
149
|
-
"./inspector": {
|
|
161
|
+
"./introspection/inspector": {
|
|
150
162
|
"types": "./dist/introspection/inspector.d.ts",
|
|
151
163
|
"import": "./dist/introspection/inspector.js"
|
|
152
164
|
},
|
|
153
|
-
"./lifecycle/
|
|
154
|
-
"types": "./dist/lifecycle/
|
|
155
|
-
"import": "./dist/lifecycle/
|
|
165
|
+
"./lifecycle/hooks": {
|
|
166
|
+
"types": "./dist/lifecycle/hooks.d.ts",
|
|
167
|
+
"import": "./dist/lifecycle/hooks.js"
|
|
156
168
|
},
|
|
157
|
-
"./lifecycle/
|
|
158
|
-
"types": "./dist/lifecycle/
|
|
159
|
-
"import": "./dist/lifecycle/
|
|
169
|
+
"./lifecycle/scopes": {
|
|
170
|
+
"types": "./dist/lifecycle/scopes.d.ts",
|
|
171
|
+
"import": "./dist/lifecycle/scopes.js"
|
|
160
172
|
},
|
|
161
|
-
"./metadata/
|
|
162
|
-
"types": "./dist/metadata/
|
|
163
|
-
"import": "./dist/metadata/
|
|
173
|
+
"./metadata/keys": {
|
|
174
|
+
"types": "./dist/metadata/keys.d.ts",
|
|
175
|
+
"import": "./dist/metadata/keys.js"
|
|
164
176
|
},
|
|
165
|
-
"./metadata/
|
|
166
|
-
"types": "./dist/metadata/
|
|
167
|
-
"import": "./dist/metadata/
|
|
177
|
+
"./metadata/reader-token": {
|
|
178
|
+
"types": "./dist/metadata/reader-token.d.ts",
|
|
179
|
+
"import": "./dist/metadata/reader-token.js"
|
|
168
180
|
},
|
|
169
|
-
"./metadata/
|
|
170
|
-
"types": "./dist/metadata/
|
|
171
|
-
"import": "./dist/metadata/
|
|
181
|
+
"./metadata/symbol-reader": {
|
|
182
|
+
"types": "./dist/metadata/symbol-reader.d.ts",
|
|
183
|
+
"import": "./dist/metadata/symbol-reader.js"
|
|
172
184
|
},
|
|
173
|
-
"./metadata/
|
|
174
|
-
"types": "./dist/metadata/
|
|
175
|
-
"import": "./dist/metadata/
|
|
185
|
+
"./metadata/types": {
|
|
186
|
+
"types": "./dist/metadata/types.d.ts",
|
|
187
|
+
"import": "./dist/metadata/types.js"
|
|
176
188
|
},
|
|
177
|
-
"./metadata/
|
|
178
|
-
"types": "./dist/metadata/
|
|
179
|
-
"import": "./dist/metadata/
|
|
189
|
+
"./metadata/verify": {
|
|
190
|
+
"types": "./dist/metadata/verify.d.ts",
|
|
191
|
+
"import": "./dist/metadata/verify.js"
|
|
192
|
+
},
|
|
193
|
+
"./metadata/verifying-reader": {
|
|
194
|
+
"types": "./dist/metadata/verifying-reader.d.ts",
|
|
195
|
+
"import": "./dist/metadata/verifying-reader.js"
|
|
196
|
+
},
|
|
197
|
+
"./resolution/async-fan-out": {
|
|
198
|
+
"types": "./dist/resolution/async-fan-out.d.ts",
|
|
199
|
+
"import": "./dist/resolution/async-fan-out.js"
|
|
180
200
|
},
|
|
181
201
|
"./resolution/cache/activation-need": {
|
|
182
202
|
"types": "./dist/resolution/cache/activation-need.d.ts",
|
|
183
203
|
"import": "./dist/resolution/cache/activation-need.js"
|
|
184
204
|
},
|
|
185
|
-
"./resolution/cache/binding-lookup-cache": {
|
|
186
|
-
"types": "./dist/resolution/cache/binding-lookup-cache.d.ts",
|
|
187
|
-
"import": "./dist/resolution/cache/binding-lookup-cache.js"
|
|
188
|
-
},
|
|
189
205
|
"./resolution/cache/class-introspector": {
|
|
190
206
|
"types": "./dist/resolution/cache/class-introspector.d.ts",
|
|
191
207
|
"import": "./dist/resolution/cache/class-introspector.js"
|
|
192
208
|
},
|
|
209
|
+
"./resolution/cache/lookup": {
|
|
210
|
+
"types": "./dist/resolution/cache/lookup.d.ts",
|
|
211
|
+
"import": "./dist/resolution/cache/lookup.js"
|
|
212
|
+
},
|
|
193
213
|
"./resolution/context": {
|
|
194
214
|
"types": "./dist/resolution/context.d.ts",
|
|
195
215
|
"import": "./dist/resolution/context.js"
|
|
196
216
|
},
|
|
197
|
-
"./resolution/path
|
|
198
|
-
"types": "./dist/resolution/path
|
|
199
|
-
"import": "./dist/resolution/path
|
|
217
|
+
"./resolution/path": {
|
|
218
|
+
"types": "./dist/resolution/path.d.ts",
|
|
219
|
+
"import": "./dist/resolution/path.js"
|
|
200
220
|
},
|
|
201
|
-
"./resolution/plan/
|
|
202
|
-
"types": "./dist/resolution/plan/
|
|
203
|
-
"import": "./dist/resolution/plan/
|
|
221
|
+
"./resolution/plan/codegen": {
|
|
222
|
+
"types": "./dist/resolution/plan/codegen.d.ts",
|
|
223
|
+
"import": "./dist/resolution/plan/codegen.js"
|
|
204
224
|
},
|
|
205
|
-
"./resolution/plan/
|
|
206
|
-
"types": "./dist/resolution/plan/
|
|
207
|
-
"import": "./dist/resolution/plan/
|
|
225
|
+
"./resolution/plan/compiler": {
|
|
226
|
+
"types": "./dist/resolution/plan/compiler.d.ts",
|
|
227
|
+
"import": "./dist/resolution/plan/compiler.js"
|
|
208
228
|
},
|
|
209
229
|
"./resolution/resolver": {
|
|
210
230
|
"types": "./dist/resolution/resolver.d.ts",
|
|
211
231
|
"import": "./dist/resolution/resolver.js"
|
|
212
232
|
},
|
|
213
|
-
"./resolution/select/
|
|
214
|
-
"types": "./dist/resolution/select/
|
|
215
|
-
"import": "./dist/resolution/select/
|
|
233
|
+
"./resolution/select/candidates": {
|
|
234
|
+
"types": "./dist/resolution/select/candidates.d.ts",
|
|
235
|
+
"import": "./dist/resolution/select/candidates.js"
|
|
216
236
|
},
|
|
217
237
|
"./resolution/select/constraints": {
|
|
218
238
|
"types": "./dist/resolution/select/constraints.d.ts",
|
|
@@ -224,6 +244,6 @@
|
|
|
224
244
|
"access": "public"
|
|
225
245
|
},
|
|
226
246
|
"engines": {
|
|
227
|
-
"node": ">=
|
|
247
|
+
"node": ">=24.0.0"
|
|
228
248
|
}
|
|
229
249
|
}
|