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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lighthouse",
3
3
  "type": "module",
4
- "version": "10.0.1",
4
+ "version": "10.0.2",
5
5
  "description": "Automated auditing, performance metrics, and best practices for the web.",
6
6
  "main": "./core/index.js",
7
7
  "bin": {
@@ -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 page's process, sorted by timestamp. */
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;