lighthouse 10.0.1 → 10.0.2
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/cli/test/smokehouse/config/exclusions.js +2 -0
- package/core/audits/bf-cache.js +6 -2
- package/core/audits/byte-efficiency/polyfill-graph-data.json +51 -56
- package/core/audits/prioritize-lcp-image.d.ts +24 -15
- package/core/audits/prioritize-lcp-image.js +103 -47
- package/core/audits/redirects.d.ts +5 -5
- package/core/audits/redirects.js +16 -18
- package/core/gather/navigation-runner.js +3 -1
- package/core/lib/lighthouse-compatibility.js +12 -4
- package/core/lib/network-recorder.js +5 -2
- package/core/lib/proto-preprocessor.js +2 -0
- package/core/lib/tracehouse/trace-processor.js +12 -8
- package/dist/report/bundle.esm.js +12 -4
- package/dist/report/flow.js +1 -1
- package/dist/report/standalone.js +3 -3
- package/package.json +1 -1
- package/types/artifacts.d.ts +3 -2
package/package.json
CHANGED
package/types/artifacts.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import {Simulator} from '../core/lib/dependency-graph/simulator/simulator.js';
|
|
|
11
11
|
import {LighthouseError} from '../core/lib/lh-error.js';
|
|
12
12
|
import {NetworkRequest as _NetworkRequest} from '../core/lib/network-request.js';
|
|
13
13
|
import speedline from 'speedline-core';
|
|
14
|
-
import TextSourceMap from '../core/lib/cdt/generated/SourceMap.js';
|
|
14
|
+
import * as TextSourceMap from '../core/lib/cdt/generated/SourceMap.js';
|
|
15
15
|
import {ArbitraryEqualityMap} from '../core/lib/arbitrary-equality-map.js';
|
|
16
16
|
import type { TaskNode as _TaskNode } from '../core/lib/tracehouse/main-thread-tasks.js';
|
|
17
17
|
import AuditDetails from './lhr/audit-details.js'
|
|
@@ -709,7 +709,7 @@ declare module Artifacts {
|
|
|
709
709
|
timestamps: TraceTimes;
|
|
710
710
|
/** The relative times from timeOrigin to key events, in milliseconds. */
|
|
711
711
|
timings: TraceTimes;
|
|
712
|
-
/** The subset of trace events from the
|
|
712
|
+
/** The subset of trace events from the main frame's process, sorted by timestamp. Due to cross-origin navigations, the main frame may have multiple processes, so events may be from more than one process. */
|
|
713
713
|
processEvents: Array<TraceEvent>;
|
|
714
714
|
/** The subset of trace events from the page's main thread, sorted by timestamp. */
|
|
715
715
|
mainThreadEvents: Array<TraceEvent>;
|
|
@@ -977,6 +977,7 @@ export interface TraceEvent {
|
|
|
977
977
|
processId?: number;
|
|
978
978
|
isLoadingMainFrame?: boolean;
|
|
979
979
|
documentLoaderURL?: string;
|
|
980
|
+
navigationId?: string;
|
|
980
981
|
frames?: {
|
|
981
982
|
frame: string;
|
|
982
983
|
url: string;
|