lighthouse 12.2.1-dev.20240918 → 12.2.1-dev.20240920
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.
|
@@ -38,10 +38,10 @@ const str_ = i18n.createIcuMessageFn(import.meta.url, UIStrings);
|
|
|
38
38
|
/**
|
|
39
39
|
* Given a simulation's nodeTimings, return an object with the nodes/timing keyed by network URL
|
|
40
40
|
* @param {LH.Gatherer.Simulation.Result['nodeTimings']} nodeTimings
|
|
41
|
-
* @return {Map<string, {node: LH.Gatherer.Simulation.
|
|
41
|
+
* @return {Map<string, {node: LH.Gatherer.Simulation.GraphNetworkNode, nodeTiming: LH.Gatherer.Simulation.NodeTiming}>}
|
|
42
42
|
*/
|
|
43
43
|
function getNodesAndTimingByRequestId(nodeTimings) {
|
|
44
|
-
/** @type {Map<string, {node: LH.Gatherer.Simulation.
|
|
44
|
+
/** @type {Map<string, {node: LH.Gatherer.Simulation.GraphNetworkNode, nodeTiming: LH.Gatherer.Simulation.NodeTiming}>} */
|
|
45
45
|
const requestIdToNode = new Map();
|
|
46
46
|
|
|
47
47
|
for (const [node, nodeTiming] of nodeTimings) {
|
|
@@ -169,7 +169,7 @@ class RenderBlockingResources extends Audit {
|
|
|
169
169
|
|
|
170
170
|
results.push({
|
|
171
171
|
url: resource.args.data.url,
|
|
172
|
-
totalBytes:
|
|
172
|
+
totalBytes: node.request.transferSize,
|
|
173
173
|
wastedMs,
|
|
174
174
|
});
|
|
175
175
|
}
|
package/package.json
CHANGED