pagesight 0.15.0 → 0.15.1
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 +1 -1
- package/src/tools/speed.ts +2 -1
package/package.json
CHANGED
package/src/tools/speed.ts
CHANGED
|
@@ -457,7 +457,8 @@ function formatBatchTable(results: Array<{ url: string; result: PsiResult }>, st
|
|
|
457
457
|
if (sharedOpps.length > 0) {
|
|
458
458
|
lines.push("--- Shared Opportunities ---", "");
|
|
459
459
|
for (const [, { title, count, maxSavings }] of sharedOpps.slice(0, 10)) {
|
|
460
|
-
const
|
|
460
|
+
const cleaned = maxSavings.replace(/^Est savings of /i, "");
|
|
461
|
+
const savingsStr = cleaned ? `, up to ${cleaned}` : "";
|
|
461
462
|
lines.push(` ${title} (${count}/${results.length} pages${savingsStr})`);
|
|
462
463
|
}
|
|
463
464
|
lines.push("");
|