lighthouse 12.5.1-dev.20250409 → 12.5.1-dev.20250412

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/core/scoring.d.ts CHANGED
@@ -104,6 +104,18 @@ export class ReportScoring {
104
104
  items: ({
105
105
  [x: string]: any;
106
106
  type: "debugdata";
107
+ } | {
108
+ type: "checklist";
109
+ items: {
110
+ [x: string]: {
111
+ value: boolean;
112
+ label: import("./index.js").IcuMessage | string;
113
+ };
114
+ };
115
+ debugData?: {
116
+ [x: string]: any;
117
+ type: "debugdata";
118
+ } | undefined;
107
119
  } | {
108
120
  type: "table";
109
121
  headings: {
@@ -123,9 +135,6 @@ export class ReportScoring {
123
135
  [x: string]: string | number | boolean | import("./index.js").IcuMessage | {
124
136
  [x: string]: any;
125
137
  type: "debugdata";
126
- } | {
127
- type: "subitems";
128
- items: /*elided*/ any[];
129
138
  } | {
130
139
  type: "node";
131
140
  lhId?: string | import("./index.js").IcuMessage | undefined;
@@ -142,6 +151,9 @@ export class ReportScoring {
142
151
  snippet?: string | import("./index.js").IcuMessage | undefined;
143
152
  nodeLabel?: string | import("./index.js").IcuMessage | undefined;
144
153
  explanation?: string | import("./index.js").IcuMessage | undefined;
154
+ } | {
155
+ type: "subitems";
156
+ items: /*elided*/ any[];
145
157
  } | {
146
158
  type: "source-location";
147
159
  url: string | import("./index.js").IcuMessage;
@@ -191,6 +203,22 @@ export class ReportScoring {
191
203
  [x: string]: any;
192
204
  type: "debugdata";
193
205
  } | undefined;
206
+ } | {
207
+ type: "node";
208
+ lhId?: string | import("./index.js").IcuMessage | undefined;
209
+ path?: string | import("./index.js").IcuMessage | undefined;
210
+ selector?: string | import("./index.js").IcuMessage | undefined;
211
+ boundingRect?: {
212
+ width: number;
213
+ height: number;
214
+ top: number;
215
+ right: number;
216
+ bottom: number;
217
+ left: number;
218
+ } | undefined;
219
+ snippet?: string | import("./index.js").IcuMessage | undefined;
220
+ nodeLabel?: string | import("./index.js").IcuMessage | undefined;
221
+ explanation?: string | import("./index.js").IcuMessage | undefined;
194
222
  })[];
195
223
  debugData?: {
196
224
  [x: string]: any;
@@ -215,13 +243,29 @@ export class ReportScoring {
215
243
  [x: string]: string | number | boolean | import("./index.js").IcuMessage | {
216
244
  [x: string]: any;
217
245
  type: "debugdata";
246
+ } | {
247
+ type: "node";
248
+ lhId?: string | import("./index.js").IcuMessage | undefined;
249
+ path?: string | import("./index.js").IcuMessage | undefined;
250
+ selector?: string | import("./index.js").IcuMessage | undefined;
251
+ boundingRect?: {
252
+ width: number;
253
+ height: number;
254
+ top: number;
255
+ right: number;
256
+ bottom: number;
257
+ left: number;
258
+ } | undefined;
259
+ snippet?: string | import("./index.js").IcuMessage | undefined;
260
+ nodeLabel?: string | import("./index.js").IcuMessage | undefined;
261
+ explanation?: string | import("./index.js").IcuMessage | undefined;
218
262
  } | {
219
263
  type: "subitems";
220
264
  items: {
221
265
  [x: string]: string | number | boolean | import("./index.js").IcuMessage | {
222
266
  [x: string]: any;
223
267
  type: "debugdata";
224
- } | /*elided*/ any | {
268
+ } | {
225
269
  type: "node";
226
270
  lhId?: string | import("./index.js").IcuMessage | undefined;
227
271
  path?: string | import("./index.js").IcuMessage | undefined;
@@ -237,7 +281,7 @@ export class ReportScoring {
237
281
  snippet?: string | import("./index.js").IcuMessage | undefined;
238
282
  nodeLabel?: string | import("./index.js").IcuMessage | undefined;
239
283
  explanation?: string | import("./index.js").IcuMessage | undefined;
240
- } | {
284
+ } | /*elided*/ any | {
241
285
  type: "source-location";
242
286
  url: string | import("./index.js").IcuMessage;
243
287
  urlProvider: "network" | "comment";
@@ -272,22 +316,6 @@ export class ReportScoring {
272
316
  } | undefined;
273
317
  subItems?: /*elided*/ any | undefined;
274
318
  }[];
275
- } | {
276
- type: "node";
277
- lhId?: string | import("./index.js").IcuMessage | undefined;
278
- path?: string | import("./index.js").IcuMessage | undefined;
279
- selector?: string | import("./index.js").IcuMessage | undefined;
280
- boundingRect?: {
281
- width: number;
282
- height: number;
283
- top: number;
284
- right: number;
285
- bottom: number;
286
- left: number;
287
- } | undefined;
288
- snippet?: string | import("./index.js").IcuMessage | undefined;
289
- nodeLabel?: string | import("./index.js").IcuMessage | undefined;
290
- explanation?: string | import("./index.js").IcuMessage | undefined;
291
319
  } | {
292
320
  type: "source-location";
293
321
  url: string | import("./index.js").IcuMessage;
@@ -331,7 +359,7 @@ export class ReportScoring {
331
359
  [x: string]: string | number | boolean | import("./index.js").IcuMessage | {
332
360
  [x: string]: any;
333
361
  type: "debugdata";
334
- } | /*elided*/ any | {
362
+ } | {
335
363
  type: "node";
336
364
  lhId?: string | import("./index.js").IcuMessage | undefined;
337
365
  path?: string | import("./index.js").IcuMessage | undefined;
@@ -347,7 +375,7 @@ export class ReportScoring {
347
375
  snippet?: string | import("./index.js").IcuMessage | undefined;
348
376
  nodeLabel?: string | import("./index.js").IcuMessage | undefined;
349
377
  explanation?: string | import("./index.js").IcuMessage | undefined;
350
- } | {
378
+ } | /*elided*/ any | {
351
379
  type: "source-location";
352
380
  url: string | import("./index.js").IcuMessage;
353
381
  urlProvider: "network" | "comment";
@@ -433,9 +461,6 @@ export class ReportScoring {
433
461
  [x: string]: string | number | boolean | import("./index.js").IcuMessage | {
434
462
  [x: string]: any;
435
463
  type: "debugdata";
436
- } | {
437
- type: "subitems";
438
- items: /*elided*/ any[];
439
464
  } | {
440
465
  type: "node";
441
466
  lhId?: string | import("./index.js").IcuMessage | undefined;
@@ -452,6 +477,9 @@ export class ReportScoring {
452
477
  snippet?: string | import("./index.js").IcuMessage | undefined;
453
478
  nodeLabel?: string | import("./index.js").IcuMessage | undefined;
454
479
  explanation?: string | import("./index.js").IcuMessage | undefined;
480
+ } | {
481
+ type: "subitems";
482
+ items: /*elided*/ any[];
455
483
  } | {
456
484
  type: "source-location";
457
485
  url: string | import("./index.js").IcuMessage;