@nmakarov/cli-toolkit 0.61.0 → 0.65.0

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/init.cjs CHANGED
@@ -2403,6 +2403,9 @@ var Logger = class _Logger {
2403
2403
  const message = this.inspectChunks([operation, ...chunks]);
2404
2404
  this.out({ level: "response", message });
2405
2405
  }
2406
+ /**
2407
+ * @returns {boolean} true when the progress line was emitted (not throttled)
2408
+ */
2406
2409
  progress(message, opts) {
2407
2410
  const { prefix, count, total } = opts;
2408
2411
  const paddedTotal = String(total).length;
@@ -2436,7 +2439,9 @@ var Logger = class _Logger {
2436
2439
  if (this.options.progressThrottle && prefix) {
2437
2440
  this.lastProgressTimes[prefix] = Date.now();
2438
2441
  }
2442
+ return true;
2439
2443
  }
2444
+ return false;
2440
2445
  }
2441
2446
  shouldOutputProgress(prefix, count, total) {
2442
2447
  if (!this.options.progressThrottle) {