@optique/core 1.0.0-dev.1703 → 1.0.0-dev.1705
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constructs.cjs +10 -4
- package/dist/constructs.js +10 -4
- package/package.json +1 -1
package/dist/constructs.cjs
CHANGED
|
@@ -4030,10 +4030,13 @@ function conditional(discriminator, branches, defaultBranch, options) {
|
|
|
4030
4030
|
const deferredValue = deferredDiscriminatorResult.value;
|
|
4031
4031
|
const deferredBranch = syncBranches[deferredValue];
|
|
4032
4032
|
if (deferredBranch) {
|
|
4033
|
+
const branchExec = withChildExecPath(exec, "_branch");
|
|
4033
4034
|
const emptyCtx = {
|
|
4034
4035
|
buffer: [],
|
|
4035
4036
|
optionsTerminated: false,
|
|
4036
|
-
usage: []
|
|
4037
|
+
usage: [],
|
|
4038
|
+
exec: branchExec,
|
|
4039
|
+
dependencyRegistry: exec?.dependencyRegistry
|
|
4037
4040
|
};
|
|
4038
4041
|
const annotatedInitial = getAnnotatedChildState(state, deferredBranch.initialState, deferredBranch);
|
|
4039
4042
|
const replayResult = deferredBranch.parse({
|
|
@@ -4042,7 +4045,7 @@ function conditional(discriminator, branches, defaultBranch, options) {
|
|
|
4042
4045
|
});
|
|
4043
4046
|
const branchState = replayResult.success ? replayResult.next.state : annotatedInitial;
|
|
4044
4047
|
const annotatedBranchState = getAnnotatedChildState(state, branchState, deferredBranch);
|
|
4045
|
-
const branchResult$1 = unwrapCompleteResult(deferredBranch.complete(annotatedBranchState,
|
|
4048
|
+
const branchResult$1 = unwrapCompleteResult(deferredBranch.complete(annotatedBranchState, branchExec));
|
|
4046
4049
|
if (branchResult$1.success) return {
|
|
4047
4050
|
success: true,
|
|
4048
4051
|
value: [deferredValue, branchResult$1.value],
|
|
@@ -4136,10 +4139,13 @@ function conditional(discriminator, branches, defaultBranch, options) {
|
|
|
4136
4139
|
const deferredValue = deferredDiscriminatorResult.value;
|
|
4137
4140
|
const deferredBranch = branches[deferredValue];
|
|
4138
4141
|
if (deferredBranch) {
|
|
4142
|
+
const branchExec = withChildExecPath(exec, "_branch");
|
|
4139
4143
|
const emptyCtx = {
|
|
4140
4144
|
buffer: [],
|
|
4141
4145
|
optionsTerminated: false,
|
|
4142
|
-
usage: []
|
|
4146
|
+
usage: [],
|
|
4147
|
+
exec: branchExec,
|
|
4148
|
+
dependencyRegistry: exec?.dependencyRegistry
|
|
4143
4149
|
};
|
|
4144
4150
|
const annotatedInitial = getAnnotatedChildState(state, deferredBranch.initialState, deferredBranch);
|
|
4145
4151
|
const replayResult = await deferredBranch.parse({
|
|
@@ -4148,7 +4154,7 @@ function conditional(discriminator, branches, defaultBranch, options) {
|
|
|
4148
4154
|
});
|
|
4149
4155
|
const branchState = replayResult.success ? replayResult.next.state : annotatedInitial;
|
|
4150
4156
|
const annotatedBranchState = getAnnotatedChildState(state, branchState, deferredBranch);
|
|
4151
|
-
const branchResult$1 = unwrapCompleteResult(await deferredBranch.complete(annotatedBranchState,
|
|
4157
|
+
const branchResult$1 = unwrapCompleteResult(await deferredBranch.complete(annotatedBranchState, branchExec));
|
|
4152
4158
|
if (branchResult$1.success) return {
|
|
4153
4159
|
success: true,
|
|
4154
4160
|
value: [deferredValue, branchResult$1.value],
|
package/dist/constructs.js
CHANGED
|
@@ -4030,10 +4030,13 @@ function conditional(discriminator, branches, defaultBranch, options) {
|
|
|
4030
4030
|
const deferredValue = deferredDiscriminatorResult.value;
|
|
4031
4031
|
const deferredBranch = syncBranches[deferredValue];
|
|
4032
4032
|
if (deferredBranch) {
|
|
4033
|
+
const branchExec = withChildExecPath(exec, "_branch");
|
|
4033
4034
|
const emptyCtx = {
|
|
4034
4035
|
buffer: [],
|
|
4035
4036
|
optionsTerminated: false,
|
|
4036
|
-
usage: []
|
|
4037
|
+
usage: [],
|
|
4038
|
+
exec: branchExec,
|
|
4039
|
+
dependencyRegistry: exec?.dependencyRegistry
|
|
4037
4040
|
};
|
|
4038
4041
|
const annotatedInitial = getAnnotatedChildState(state, deferredBranch.initialState, deferredBranch);
|
|
4039
4042
|
const replayResult = deferredBranch.parse({
|
|
@@ -4042,7 +4045,7 @@ function conditional(discriminator, branches, defaultBranch, options) {
|
|
|
4042
4045
|
});
|
|
4043
4046
|
const branchState = replayResult.success ? replayResult.next.state : annotatedInitial;
|
|
4044
4047
|
const annotatedBranchState = getAnnotatedChildState(state, branchState, deferredBranch);
|
|
4045
|
-
const branchResult$1 = unwrapCompleteResult(deferredBranch.complete(annotatedBranchState,
|
|
4048
|
+
const branchResult$1 = unwrapCompleteResult(deferredBranch.complete(annotatedBranchState, branchExec));
|
|
4046
4049
|
if (branchResult$1.success) return {
|
|
4047
4050
|
success: true,
|
|
4048
4051
|
value: [deferredValue, branchResult$1.value],
|
|
@@ -4136,10 +4139,13 @@ function conditional(discriminator, branches, defaultBranch, options) {
|
|
|
4136
4139
|
const deferredValue = deferredDiscriminatorResult.value;
|
|
4137
4140
|
const deferredBranch = branches[deferredValue];
|
|
4138
4141
|
if (deferredBranch) {
|
|
4142
|
+
const branchExec = withChildExecPath(exec, "_branch");
|
|
4139
4143
|
const emptyCtx = {
|
|
4140
4144
|
buffer: [],
|
|
4141
4145
|
optionsTerminated: false,
|
|
4142
|
-
usage: []
|
|
4146
|
+
usage: [],
|
|
4147
|
+
exec: branchExec,
|
|
4148
|
+
dependencyRegistry: exec?.dependencyRegistry
|
|
4143
4149
|
};
|
|
4144
4150
|
const annotatedInitial = getAnnotatedChildState(state, deferredBranch.initialState, deferredBranch);
|
|
4145
4151
|
const replayResult = await deferredBranch.parse({
|
|
@@ -4148,7 +4154,7 @@ function conditional(discriminator, branches, defaultBranch, options) {
|
|
|
4148
4154
|
});
|
|
4149
4155
|
const branchState = replayResult.success ? replayResult.next.state : annotatedInitial;
|
|
4150
4156
|
const annotatedBranchState = getAnnotatedChildState(state, branchState, deferredBranch);
|
|
4151
|
-
const branchResult$1 = unwrapCompleteResult(await deferredBranch.complete(annotatedBranchState,
|
|
4157
|
+
const branchResult$1 = unwrapCompleteResult(await deferredBranch.complete(annotatedBranchState, branchExec));
|
|
4152
4158
|
if (branchResult$1.success) return {
|
|
4153
4159
|
success: true,
|
|
4154
4160
|
value: [deferredValue, branchResult$1.value],
|