lighthouse 12.6.0-dev.20250501 → 12.6.0-dev.20250503

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.
@@ -40,7 +40,14 @@ class DocumentLatencyInsight extends Audit {
40
40
  return;
41
41
  }
42
42
 
43
- return Audit.makeChecklistDetails(insight.data.checklist);
43
+ const details = Audit.makeChecklistDetails(insight.data.checklist);
44
+ details.debugData = {
45
+ type: 'debugdata',
46
+ redirectDuration: insight.data.redirectDuration,
47
+ serverResponseTime: insight.data.serverResponseTime,
48
+ uncompressedResponseBytes: insight.data.uncompressedResponseBytes,
49
+ };
50
+ return details;
44
51
  });
45
52
  }
46
53
  }
@@ -77,7 +77,15 @@ class DOMSizeInsight extends Audit {
77
77
  },
78
78
  },
79
79
  ];
80
- return Audit.makeTableDetails(headings, items);
80
+
81
+ const details = Audit.makeTableDetails(headings, items);
82
+ details.debugData = {
83
+ type: 'debugdata',
84
+ totalElements,
85
+ maxChildren: maxChildren.numChildren,
86
+ maxDepth: maxDepth.depth,
87
+ };
88
+ return details;
81
89
  });
82
90
  }
83
91
  }
@@ -75,6 +75,13 @@ async function adaptInsightToAuditProduct(artifacts, context, insightName, creat
75
75
  };
76
76
  }
77
77
 
78
+ if (insight.wastedBytes !== undefined) {
79
+ if (!details.debugData) {
80
+ details.debugData = {type: 'debugdata'};
81
+ }
82
+ details.debugData.wastedBytes = insight.wastedBytes;
83
+ }
84
+
78
85
  // This hack is to add metric adorners if an insight category links it to a metric,
79
86
  // but doesn't output a metric savings for that metric.
80
87
  let metricSavings = insight.metricSavings;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lighthouse",
3
3
  "type": "module",
4
- "version": "12.6.0-dev.20250501",
4
+ "version": "12.6.0-dev.20250503",
5
5
  "description": "Automated auditing, performance metrics, and best practices for the web.",
6
6
  "main": "./core/index.js",
7
7
  "bin": {