@forzalabs/remora 1.2.3 → 1.2.5
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/index.js +6 -1
- package/package.json +1 -1
- package/workers/ExecutorWorker.js +7 -2
package/index.js
CHANGED
|
@@ -13504,7 +13504,7 @@ var import_promises = __toESM(require("fs/promises"), 1);
|
|
|
13504
13504
|
|
|
13505
13505
|
// ../../packages/constants/src/Constants.ts
|
|
13506
13506
|
var CONSTANTS = {
|
|
13507
|
-
cliVersion: "1.2.
|
|
13507
|
+
cliVersion: "1.2.5",
|
|
13508
13508
|
backendVersion: 1,
|
|
13509
13509
|
backendPort: 5088,
|
|
13510
13510
|
workerVersion: 2,
|
|
@@ -19146,6 +19146,11 @@ var ConsumerExecutorClass = class {
|
|
|
19146
19146
|
Logger_default.error(err);
|
|
19147
19147
|
throw err;
|
|
19148
19148
|
}
|
|
19149
|
+
for (const field of fields) {
|
|
19150
|
+
const fieldKey = field.finalKey;
|
|
19151
|
+
if (record[fieldKey] === void 0)
|
|
19152
|
+
record[fieldKey] = null;
|
|
19153
|
+
}
|
|
19149
19154
|
try {
|
|
19150
19155
|
if (consumer.filters && consumer.filters.length > 0) {
|
|
19151
19156
|
const isKept = consumer.filters.every((x) => RequestExecutor_default.evaluateFilter(record, x.rule));
|
package/package.json
CHANGED
|
@@ -13498,7 +13498,7 @@ var import_promises = __toESM(require("fs/promises"), 1);
|
|
|
13498
13498
|
|
|
13499
13499
|
// ../../packages/constants/src/Constants.ts
|
|
13500
13500
|
var CONSTANTS = {
|
|
13501
|
-
cliVersion: "1.2.
|
|
13501
|
+
cliVersion: "1.2.5",
|
|
13502
13502
|
backendVersion: 1,
|
|
13503
13503
|
backendPort: 5088,
|
|
13504
13504
|
workerVersion: 2,
|
|
@@ -18745,6 +18745,11 @@ var ConsumerExecutorClass = class {
|
|
|
18745
18745
|
Logger_default.error(err);
|
|
18746
18746
|
throw err;
|
|
18747
18747
|
}
|
|
18748
|
+
for (const field of fields) {
|
|
18749
|
+
const fieldKey = field.finalKey;
|
|
18750
|
+
if (record[fieldKey] === void 0)
|
|
18751
|
+
record[fieldKey] = null;
|
|
18752
|
+
}
|
|
18748
18753
|
try {
|
|
18749
18754
|
if (consumer.filters && consumer.filters.length > 0) {
|
|
18750
18755
|
const isKept = consumer.filters.every((x) => RequestExecutor_default.evaluateFilter(record, x.rule));
|
|
@@ -19120,7 +19125,7 @@ var Executor = class {
|
|
|
19120
19125
|
operations: {}
|
|
19121
19126
|
};
|
|
19122
19127
|
ExecutorScope_default2.ensurePath(result.resultUri);
|
|
19123
|
-
Logger_default.log(`[${workerId}] Starting execution for producer "${producer.name}" \u2192 consumer "${consumer.name}"${recordLimit ? ` (limit: ${recordLimit})` : ""}`);
|
|
19128
|
+
Logger_default.log(`[${workerId}] Starting execution for producer "${producer.name}" \u2192 consumer "${consumer.name}" (file: ${chunk.fileUri})${recordLimit ? ` (limit: ${recordLimit})` : ""}`);
|
|
19124
19129
|
let totalOutputCount = 0, totalCycles = 1, perf = 0, lineIndex = 0;
|
|
19125
19130
|
const readStream = this.openReadStream(chunk);
|
|
19126
19131
|
const writeStream = this.openWriteStream(scope, workerId);
|