sliftutils 1.4.74 → 1.4.75

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sliftutils",
3
- "version": "1.4.74",
3
+ "version": "1.4.75",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -396,7 +396,7 @@ async function executeBatch(
396
396
  }
397
397
  }
398
398
  }
399
- log(`${magenta("input")} ${sourceNames[si]}: ${fmtBytes(bytesRead)} read`);
399
+ log(`${magenta("input")} ${si + 1}/${sources.length} ${sourceNames[si]}: ${fmtBytes(bytesRead)} read`);
400
400
  }
401
401
 
402
402
  // Assemble + write each output file in this batch.
@@ -408,7 +408,7 @@ async function executeBatch(
408
408
  const { name, size } = await writeFile(fileBuf);
409
409
  const sourcesNamed = new Map<string, number>();
410
410
  for (const [si, n] of plan.sourceCounts) sourcesNamed.set(sourceNames[si], n);
411
- log(`${magenta("output")}: ${formatNumber(plan.keys.length)} rows from ${plan.sourceCounts.size} input(s), ${fmtBytes(size)}`);
411
+ log(`${magenta("output")} ${fi + 1}/${plans.length}: ${formatNumber(plan.keys.length)} rows from ${plan.sourceCounts.size} input(s), ${fmtBytes(size)}`);
412
412
  outputs.push({ name, minKey: plan.minKey, maxKey: plan.maxKey, rowCount: plan.keys.length, size, sources: sourcesNamed });
413
413
  }
414
414
  return outputs;