@cadenza.io/core 3.0.22 → 3.0.24
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/index.js +13 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -48,7 +48,10 @@ function deepCloneFilter(input, filterOut = () => false) {
|
|
|
48
48
|
while (stack.length) {
|
|
49
49
|
const { source, target, key } = stack.pop();
|
|
50
50
|
const currentTarget = key !== void 0 ? target[key] : target;
|
|
51
|
-
if (
|
|
51
|
+
if (
|
|
52
|
+
// TODO Should probably not be done like this...
|
|
53
|
+
key === "__taskInstance" || key === "__routineInstance" || key === "__task" || key === "__routine" || key === "__httpServer" || key === "__httpsServer" || key === "__socketServer"
|
|
54
|
+
) {
|
|
52
55
|
target[key] = source;
|
|
53
56
|
continue;
|
|
54
57
|
}
|
|
@@ -1352,11 +1355,15 @@ var GraphNode = class _GraphNode extends SignalEmitter {
|
|
|
1352
1355
|
};
|
|
1353
1356
|
}
|
|
1354
1357
|
log() {
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1358
|
+
try {
|
|
1359
|
+
console.log(
|
|
1360
|
+
"Node EXECUTION:",
|
|
1361
|
+
this.task.name,
|
|
1362
|
+
JSON.stringify(this.context.getFullContext())
|
|
1363
|
+
);
|
|
1364
|
+
} catch (e) {
|
|
1365
|
+
console.log("Node EXECUTION:", this.task.name, "[circular context]");
|
|
1366
|
+
}
|
|
1360
1367
|
}
|
|
1361
1368
|
};
|
|
1362
1369
|
|