lighthouse 9.5.0-dev.20230129 → 9.5.0-dev.20230130
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.
|
@@ -98,5 +98,6 @@ class EntityClassification {
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
const EntityClassificationComputed = makeComputedArtifact(EntityClassification,
|
|
101
|
+
const EntityClassificationComputed = makeComputedArtifact(EntityClassification,
|
|
102
|
+
['URL', 'devtoolsLog']);
|
|
102
103
|
export {EntityClassificationComputed as EntityClassification};
|
|
@@ -107,7 +107,8 @@ class ResourceSummary {
|
|
|
107
107
|
*/
|
|
108
108
|
static async compute_(data, context) {
|
|
109
109
|
const networkRecords = await NetworkRecords.request(data.devtoolsLog, context);
|
|
110
|
-
const classifiedEntities = await EntityClassification.request(
|
|
110
|
+
const classifiedEntities = await EntityClassification.request(
|
|
111
|
+
{URL: data.URL, devtoolsLog: data.devtoolsLog}, context);
|
|
111
112
|
return ResourceSummary.summarize(networkRecords, data.URL, data.budgets, classifiedEntities);
|
|
112
113
|
}
|
|
113
114
|
}
|
package/package.json
CHANGED