@workglow/task-graph 0.0.71 → 0.0.72
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/browser.js +3 -4
- package/dist/browser.js.map +4 -4
- package/dist/bun.js +3 -4
- package/dist/bun.js.map +4 -4
- package/dist/node.js +3 -4
- package/dist/node.js.map +4 -4
- package/dist/task/ArrayTask.d.ts.map +1 -1
- package/dist/task/GraphAsTaskRunner.d.ts.map +1 -1
- package/package.json +7 -7
package/dist/node.js
CHANGED
|
@@ -1457,7 +1457,7 @@ class GraphAsTaskRunner extends TaskRunner {
|
|
|
1457
1457
|
const runExecuteOutputData = await this.executeTaskChildren(input);
|
|
1458
1458
|
this.task.runOutputData = this.task.subGraph.mergeExecuteOutputsToRunOutput(runExecuteOutputData, this.task.compoundMerge);
|
|
1459
1459
|
} else {
|
|
1460
|
-
const result = await super.executeTask(
|
|
1460
|
+
const result = await super.executeTask(input);
|
|
1461
1461
|
this.task.runOutputData = result ?? {};
|
|
1462
1462
|
}
|
|
1463
1463
|
return this.task.runOutputData;
|
|
@@ -1467,7 +1467,7 @@ class GraphAsTaskRunner extends TaskRunner {
|
|
|
1467
1467
|
const reactiveResults = await this.executeTaskChildrenReactive();
|
|
1468
1468
|
this.task.runOutputData = this.task.subGraph.mergeExecuteOutputsToRunOutput(reactiveResults, this.task.compoundMerge);
|
|
1469
1469
|
} else {
|
|
1470
|
-
const reactiveResults = await super.executeTaskReactive(
|
|
1470
|
+
const reactiveResults = await super.executeTaskReactive(input, output);
|
|
1471
1471
|
this.task.runOutputData = reactiveResults ?? output ?? {};
|
|
1472
1472
|
}
|
|
1473
1473
|
return this.task.runOutputData;
|
|
@@ -2363,7 +2363,6 @@ class ArrayTask extends GraphAsTask {
|
|
|
2363
2363
|
super.regenerateGraph();
|
|
2364
2364
|
return;
|
|
2365
2365
|
}
|
|
2366
|
-
this.subGraph = new TaskGraph;
|
|
2367
2366
|
const inputIds = Array.from(arrayInputs.keys());
|
|
2368
2367
|
const inputObject = Object.fromEntries(arrayInputs);
|
|
2369
2368
|
const combinations = this.generateCombinations(inputObject, inputIds);
|
|
@@ -2967,4 +2966,4 @@ export {
|
|
|
2967
2966
|
ArrayTask
|
|
2968
2967
|
};
|
|
2969
2968
|
|
|
2970
|
-
//# debugId=
|
|
2969
|
+
//# debugId=CFA1D2AC46D3D1B364756E2164756E21
|