lighthouse 13.6.0-dev.20261112 → 13.6.0-dev.20261116

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.
Files changed (98) hide show
  1. package/.agents/skills/update-ard-port/SKILL.md +1 -1
  2. package/cli/bin.js +8 -3
  3. package/cli/open-file.js +1 -1
  4. package/cli/printer.js +1 -1
  5. package/cli/run.js +4 -2
  6. package/cli/sentry-prompt.js +2 -1
  7. package/cli/test/smokehouse/frontends/smokehouse-bin.js +1 -1
  8. package/cli/test/smokehouse/lighthouse-runners/cli.js +1 -2
  9. package/cli/test/smokehouse/report-assert.js +1 -2
  10. package/cli/test/smokehouse/smokehouse.js +1 -2
  11. package/core/audits/autocomplete.js +1 -2
  12. package/core/audits/bootup-time.js +1 -2
  13. package/core/audits/errors-in-console.js +1 -2
  14. package/core/audits/mainthread-work-breakdown.js +1 -2
  15. package/core/audits/metrics.d.ts +2 -2
  16. package/core/audits/metrics.js +1 -1
  17. package/core/computed/computed-artifact.js +1 -2
  18. package/core/computed/entity-classification.d.ts +3 -3
  19. package/core/computed/entity-classification.js +5 -3
  20. package/core/computed/js-bundles.js +1 -2
  21. package/core/computed/load-simulator.d.ts +5 -3
  22. package/core/computed/load-simulator.js +9 -2
  23. package/core/computed/metrics/responsiveness.d.ts +5 -3
  24. package/core/computed/metrics/responsiveness.js +1 -1
  25. package/core/computed/metrics/time-to-first-byte.js +3 -1
  26. package/core/computed/metrics/timing-summary.d.ts +7 -5
  27. package/core/computed/metrics/timing-summary.js +3 -4
  28. package/core/computed/navigation-insights.d.ts +5 -3
  29. package/core/computed/navigation-insights.js +1 -1
  30. package/core/computed/network-analysis.js +1 -2
  31. package/core/computed/page-dependency-graph.d.ts +5 -3
  32. package/core/computed/page-dependency-graph.js +1 -1
  33. package/core/computed/trace-engine-result.d.ts +7 -5
  34. package/core/computed/trace-engine-result.js +9 -5
  35. package/core/computed/unused-css.d.ts +2 -2
  36. package/core/computed/unused-css.js +1 -1
  37. package/core/config/config.js +1 -2
  38. package/core/gather/base-artifacts.js +1 -2
  39. package/core/gather/driver/environment.js +1 -2
  40. package/core/gather/driver/navigation.js +1 -2
  41. package/core/gather/driver/network-monitor.js +1 -2
  42. package/core/gather/driver/prepare.js +1 -2
  43. package/core/gather/driver/storage.js +1 -2
  44. package/core/gather/driver/target-manager.js +1 -2
  45. package/core/gather/driver/wait-for-condition.js +1 -2
  46. package/core/gather/driver.js +1 -2
  47. package/core/gather/gatherers/agentic/ard.js +1 -1
  48. package/core/gather/gatherers/agentic/llms-txt.js +1 -2
  49. package/core/gather/gatherers/image-elements.js +1 -2
  50. package/core/gather/gatherers/seo/robots-txt.js +1 -2
  51. package/core/gather/gatherers/stacks.js +1 -2
  52. package/core/gather/gatherers/stylesheets.js +1 -2
  53. package/core/gather/navigation-runner.js +1 -1
  54. package/core/gather/runner-helpers.js +1 -2
  55. package/core/gather/session.js +1 -2
  56. package/core/gather/snapshot-runner.js +1 -2
  57. package/core/gather/timespan-runner.js +1 -2
  58. package/core/lib/asset-saver.js +1 -2
  59. package/core/lib/csp-evaluator.js +1 -1
  60. package/core/lib/i18n/i18n.js +1 -2
  61. package/core/lib/lighthouse-logger.d.ts +127 -0
  62. package/core/lib/lighthouse-logger.js +319 -0
  63. package/core/lib/median-run.d.ts +16 -6
  64. package/core/lib/median-run.js +13 -6
  65. package/core/lib/network-recorder.js +1 -2
  66. package/core/lib/network-request.d.ts +2 -2
  67. package/core/lib/network-request.js +1 -1
  68. package/core/lib/page-functions.js +2 -2
  69. package/core/lib/script-helpers.d.ts +23 -8
  70. package/core/lib/script-helpers.js +7 -6
  71. package/core/lib/sentry-reporter.d.ts +59 -0
  72. package/core/lib/sentry-reporter.js +281 -0
  73. package/core/lib/sentry.d.ts +7 -7
  74. package/core/lib/sentry.js +23 -40
  75. package/core/lib/stack-packs.js +1 -1
  76. package/core/lib/timing-trace-saver.d.ts +2 -2
  77. package/core/lib/timing-trace-saver.js +1 -1
  78. package/core/lib/tracehouse/task-summary.d.ts +16 -4
  79. package/core/lib/tracehouse/task-summary.js +6 -5
  80. package/core/lib/tracehouse/trace-processor.d.ts +6 -6
  81. package/core/lib/tracehouse/trace-processor.js +1 -1
  82. package/core/lib/traces/metric-trace-events.js +1 -2
  83. package/core/lib/url-utils.d.ts +4 -4
  84. package/core/lib/url-utils.js +1 -1
  85. package/core/runner.js +1 -2
  86. package/dist/report/bundle.esm.js +10 -10
  87. package/dist/report/flow.js +12 -12
  88. package/dist/report/standalone.js +11 -11
  89. package/package.json +2 -4
  90. package/report/renderer/text-encoding.d.ts +3 -5
  91. package/report/renderer/text-encoding.js +19 -33
  92. package/report/types/augment-dom.d.ts +0 -4
  93. package/third-party/ard/README.md +1 -1
  94. package/third-party/ard/ard.js +1 -1
  95. package/tsconfig.json +2 -42
  96. package/types/artifacts.d.ts +7 -1
  97. package/types/internal/test.d.ts +5 -0
  98. package/report/types/buffer.d.ts +0 -19
@@ -4,8 +4,7 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
 
7
- import log from 'lighthouse-logger';
8
-
7
+ import log from '../lib/lighthouse-logger.js';
9
8
  import * as i18n from '../lib/i18n/i18n.js';
10
9
  import * as Lantern from '../lib/lantern/lantern.js';
11
10
  import * as TraceEngine from '../lib/trace-engine.js';
@@ -21,7 +20,7 @@ import * as LH from '../../types/lh.js';
21
20
  class TraceEngineResult {
22
21
  /**
23
22
  * @param {LH.TraceEvent[]} _traceEvents
24
- * @param {LH.Audit.Context['settings']} settings
23
+ * @param {Partial<LH.Artifacts.ComputedSettings>} settings
25
24
  * @param {LH.Artifacts['SourceMaps']} SourceMaps
26
25
  * @param {LH.Artifacts['HostDPR']} HostDPR
27
26
  * @return {Promise<LH.Artifacts.TraceEngineResult>}
@@ -35,7 +34,12 @@ class TraceEngineResult {
35
34
 
36
35
  const lanternSettings = {};
37
36
  if (settings.throttlingMethod) lanternSettings.throttlingMethod = settings.throttlingMethod;
38
- if (settings.throttling) lanternSettings.throttling = settings.throttling;
37
+ if (settings.throttling) {
38
+ lanternSettings.throttling = {
39
+ ...Lantern.Simulation.Constants.throttling.mobileSlow4G,
40
+ ...settings.throttling,
41
+ };
42
+ }
39
43
  if (settings.precomputedLanternData) {
40
44
  lanternSettings.precomputedLanternData = settings.precomputedLanternData;
41
45
  }
@@ -237,7 +241,7 @@ class TraceEngineResult {
237
241
  }
238
242
 
239
243
  /**
240
- * @param {{trace: LH.Trace, settings: LH.Audit.Context['settings'], SourceMaps: LH.Artifacts['SourceMaps'], HostDPR: LH.Artifacts['HostDPR']}} data
244
+ * @param {{trace: LH.Trace, settings: Partial<LH.Artifacts.ComputedSettings>, SourceMaps: LH.Artifacts['SourceMaps'], HostDPR: LH.Artifacts['HostDPR']}} data
241
245
  * @param {LH.Artifacts.ComputedContext} context
242
246
  * @return {Promise<LH.Artifacts.TraceEngineResult>}
243
247
  */
@@ -1,6 +1,6 @@
1
1
  export { UnusedCSSComputed as UnusedCSS };
2
2
  export type StyleSheetInfo = LH.Artifacts.CSSStyleSheetInfo & {
3
- networkRecord: LH.Artifacts.NetworkRequest;
3
+ networkRecord: LH.Artifacts.NetworkRequest | undefined;
4
4
  usedRules: Array<LH.Crdp.CSS.RuleUsage>;
5
5
  };
6
6
  declare const UnusedCSSComputed: typeof UnusedCSS & {
@@ -10,7 +10,7 @@ declare const UnusedCSSComputed: typeof UnusedCSS & {
10
10
  devtoolsLog: LH.DevtoolsLog;
11
11
  }, context: LH.Artifacts.ComputedContext) => Promise<import("../../types.js").Audit.ByteEfficiencyItem[]>;
12
12
  };
13
- /** @typedef {LH.Artifacts.CSSStyleSheetInfo & {networkRecord: LH.Artifacts.NetworkRequest, usedRules: Array<LH.Crdp.CSS.RuleUsage>}} StyleSheetInfo */
13
+ /** @typedef {LH.Artifacts.CSSStyleSheetInfo & {networkRecord: LH.Artifacts.NetworkRequest|undefined, usedRules: Array<LH.Crdp.CSS.RuleUsage>}} StyleSheetInfo */
14
14
  declare class UnusedCSS {
15
15
  /**
16
16
  * @param {Array<LH.Artifacts.CSSStyleSheetInfo>} styles The output of the Styles gatherer.
@@ -11,7 +11,7 @@ import {estimateCompressedContentSize} from '../lib/script-helpers.js';
11
11
 
12
12
  const PREVIEW_LENGTH = 100;
13
13
 
14
- /** @typedef {LH.Artifacts.CSSStyleSheetInfo & {networkRecord: LH.Artifacts.NetworkRequest, usedRules: Array<LH.Crdp.CSS.RuleUsage>}} StyleSheetInfo */
14
+ /** @typedef {LH.Artifacts.CSSStyleSheetInfo & {networkRecord: LH.Artifacts.NetworkRequest|undefined, usedRules: Array<LH.Crdp.CSS.RuleUsage>}} StyleSheetInfo */
15
15
 
16
16
  class UnusedCSS {
17
17
  /**
@@ -6,8 +6,7 @@
6
6
 
7
7
  import path from 'path';
8
8
 
9
- import log from 'lighthouse-logger';
10
-
9
+ import log from '../lib/lighthouse-logger.js';
11
10
  import * as LH from '../../types/lh.js';
12
11
  import {Runner} from '../runner.js';
13
12
  import defaultConfig from './default-config.js';
@@ -4,8 +4,7 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
 
7
- import log from 'lighthouse-logger';
8
-
7
+ import log from '../lib/lighthouse-logger.js';
9
8
  import {
10
9
  getBrowserVersion, getBenchmarkIndex, getEnvironmentWarnings,
11
10
  getDevicePixelRatio,
@@ -4,8 +4,7 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
 
7
- import log from 'lighthouse-logger';
8
-
7
+ import log from '../../lib/lighthouse-logger.js';
9
8
  import * as constants from '../../config/constants.js';
10
9
  import {pageFunctions} from '../../lib/page-functions.js';
11
10
  import * as i18n from '../../lib/i18n/i18n.js';
@@ -4,8 +4,7 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
 
7
- import log from 'lighthouse-logger';
8
-
7
+ import log from '../../lib/lighthouse-logger.js';
9
8
  import {waitForFullyLoaded, waitForFrameNavigated, waitForUserToContinue} from './wait-for-condition.js';
10
9
  import * as constants from '../../config/constants.js';
11
10
  import * as i18n from '../../lib/i18n/i18n.js';
@@ -11,8 +11,7 @@
11
11
 
12
12
  import {EventEmitter} from 'events';
13
13
 
14
- import log from 'lighthouse-logger';
15
-
14
+ import log from '../../lib/lighthouse-logger.js';
16
15
  import * as LH from '../../../types/lh.js';
17
16
  import {NetworkRecorder} from '../../lib/network-recorder.js';
18
17
  import {NetworkRequest} from '../../lib/network-request.js';
@@ -4,8 +4,7 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
 
7
- import log from 'lighthouse-logger';
8
-
7
+ import log from '../../lib/lighthouse-logger.js';
9
8
  import * as storage from './storage.js';
10
9
  import * as emulation from '../../lib/emulation.js';
11
10
  import {pageFunctions} from '../../lib/page-functions.js';
@@ -4,8 +4,7 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
 
7
- import log from 'lighthouse-logger';
8
-
7
+ import log from '../../lib/lighthouse-logger.js';
9
8
  import * as i18n from '../../lib/i18n/i18n.js';
10
9
  import {Sentry} from '../../lib/sentry.js';
11
10
 
@@ -11,8 +11,7 @@
11
11
 
12
12
  import EventEmitter from 'events';
13
13
 
14
- import log from 'lighthouse-logger';
15
-
14
+ import log from '../../lib/lighthouse-logger.js';
16
15
  import {ProtocolSession} from '../session.js';
17
16
 
18
17
  /**
@@ -6,8 +6,7 @@
6
6
 
7
7
  /* global window */
8
8
 
9
- import log from 'lighthouse-logger';
10
-
9
+ import log from '../../lib/lighthouse-logger.js';
11
10
  import {LighthouseError} from '../../lib/lh-error.js';
12
11
  import {ExecutionContext} from './execution-context.js';
13
12
 
@@ -4,8 +4,7 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
 
7
- import log from 'lighthouse-logger';
8
-
7
+ import log from '../lib/lighthouse-logger.js';
9
8
  import {ExecutionContext} from './driver/execution-context.js';
10
9
  import {TargetManager} from './driver/target-manager.js';
11
10
  import {Fetcher} from './fetcher.js';
@@ -11,9 +11,9 @@
11
11
  * @see https://agenticresourcediscovery.org/spec/
12
12
  */
13
13
 
14
- import log from 'lighthouse-logger';
15
14
  import LinkHeader from 'http-link-header';
16
15
 
16
+ import log from '../../../lib/lighthouse-logger.js';
17
17
  import BaseGatherer from '../../base-gatherer.js';
18
18
  import RobotsTxt from '../seo/robots-txt.js';
19
19
  import * as Lantern from '../../../lib/lantern/lantern.js';
@@ -4,8 +4,7 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
 
7
- import log from 'lighthouse-logger';
8
-
7
+ import log from '../../../lib/lighthouse-logger.js';
9
8
  import BaseGatherer from '../../base-gatherer.js';
10
9
 
11
10
  class LlmsTxt extends BaseGatherer {
@@ -9,8 +9,7 @@
9
9
  * and attribute information. Executes script in the context of the page.
10
10
  */
11
11
 
12
- import log from 'lighthouse-logger';
13
-
12
+ import log from '../../lib/lighthouse-logger.js';
14
13
  import BaseGatherer from '../base-gatherer.js';
15
14
  import {pageFunctions} from '../../lib/page-functions.js';
16
15
 
@@ -4,8 +4,7 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
 
7
- import log from 'lighthouse-logger';
8
-
7
+ import log from '../../../lib/lighthouse-logger.js';
9
8
  import BaseGatherer from '../../base-gatherer.js';
10
9
 
11
10
  class RobotsTxt extends BaseGatherer {
@@ -13,8 +13,7 @@
13
13
  import fs from 'fs';
14
14
  import {createRequire} from 'module';
15
15
 
16
- import log from 'lighthouse-logger';
17
-
16
+ import log from '../../lib/lighthouse-logger.js';
18
17
  import BaseGatherer from '../base-gatherer.js';
19
18
 
20
19
 
@@ -8,8 +8,7 @@
8
8
  * @fileoverview Collects all stylesheets and their contents.
9
9
  */
10
10
 
11
- import log from 'lighthouse-logger';
12
-
11
+ import log from '../../lib/lighthouse-logger.js';
13
12
  import BaseGatherer from '../base-gatherer.js';
14
13
  import {Sentry} from '../../lib/sentry.js';
15
14
 
@@ -5,8 +5,8 @@
5
5
  */
6
6
 
7
7
  import puppeteer from 'puppeteer-core';
8
- import log from 'lighthouse-logger';
9
8
 
9
+ import log from '../lib/lighthouse-logger.js';
10
10
  import {Driver} from './driver.js';
11
11
  import {Runner} from '../runner.js';
12
12
  import {getEmptyArtifactState, collectPhaseArtifacts, awaitArtifacts} from './runner-helpers.js';
@@ -23,8 +23,7 @@
23
23
 
24
24
  /** @typedef {LH.Gatherer.Context<LH.Gatherer.DependencyKey>['dependencies']} Dependencies */
25
25
 
26
- import log from 'lighthouse-logger';
27
-
26
+ import log from '../lib/lighthouse-logger.js';
28
27
  import {Sentry} from '../lib/sentry.js';
29
28
 
30
29
  /**
@@ -6,8 +6,7 @@
6
6
 
7
7
  import EventEmitter from 'events';
8
8
 
9
- import log from 'lighthouse-logger';
10
-
9
+ import log from '../lib/lighthouse-logger.js';
11
10
  import {LighthouseError} from '../lib/lh-error.js';
12
11
 
13
12
  // Controls how long to wait for a response after sending a DevTools protocol command.
@@ -4,8 +4,7 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
 
7
- import log from 'lighthouse-logger';
8
-
7
+ import log from '../lib/lighthouse-logger.js';
9
8
  import {Driver} from './driver.js';
10
9
  import {Runner} from '../runner.js';
11
10
  import {getEmptyArtifactState, collectPhaseArtifacts, awaitArtifacts} from './runner-helpers.js';
@@ -4,8 +4,7 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
 
7
- import log from 'lighthouse-logger';
8
-
7
+ import log from '../lib/lighthouse-logger.js';
9
8
  import {Driver} from './driver.js';
10
9
  import {Runner} from '../runner.js';
11
10
  import {getEmptyArtifactState, collectPhaseArtifacts, awaitArtifacts} from './runner-helpers.js';
@@ -10,8 +10,7 @@ import stream from 'stream';
10
10
  import url from 'url';
11
11
  import {createGzip, gunzipSync} from 'zlib';
12
12
 
13
- import log from 'lighthouse-logger';
14
-
13
+ import log from './lighthouse-logger.js';
15
14
  import * as Lantern from './lantern/lantern.js';
16
15
  import lanternTraceSaver from './lantern-trace-saver.js';
17
16
  import {MetricTraceEvents} from './traces/metric-trace-events.js';
@@ -12,8 +12,8 @@ import {
12
12
  import {Type} from 'csp_evaluator/dist/finding.js';
13
13
  import {CspParser} from 'csp_evaluator/dist/parser.js';
14
14
  import {Directive} from 'csp_evaluator/dist/csp.js';
15
- import log from 'lighthouse-logger';
16
15
 
16
+ import log from './lighthouse-logger.js';
17
17
  import * as i18n from '../lib/i18n/i18n.js';
18
18
  import {isIcuMessage} from '../../shared/localization/format.js';
19
19
 
@@ -7,8 +7,7 @@
7
7
  import path from 'path';
8
8
  import url from 'url';
9
9
 
10
- import log from 'lighthouse-logger';
11
-
10
+ import log from '../lighthouse-logger.js';
12
11
  import {
13
12
  getAvailableLocales,
14
13
  isIcuMessage,
@@ -0,0 +1,127 @@
1
+ export default Log;
2
+ export type LoggerFn = {
3
+ (formatter: any, ...args: any[]): void;
4
+ color: string | number;
5
+ enabled: boolean;
6
+ };
7
+ declare class Log {
8
+ static events: Emitter;
9
+ /**
10
+ * @param {string} title
11
+ * @param {Array<any>} argsArray
12
+ */
13
+ static _logToStdErr(title: string, argsArray: Array<any>): void;
14
+ /**
15
+ * @param {string} title
16
+ * @return {LoggerFn}
17
+ */
18
+ static loggerfn(title: string): LoggerFn;
19
+ /**
20
+ * @param {string} level
21
+ */
22
+ static setLevel(level: string): void;
23
+ /**
24
+ * A simple formatting utility for event logging.
25
+ * @param {string} prefix
26
+ * @param {{method?: string, params?: Record<string, any>}} data A JSON-serializable object of event data to log.
27
+ * @param {string=} level Optional logging level. Defaults to 'log'.
28
+ */
29
+ static formatProtocol(prefix: string, data: {
30
+ method?: string;
31
+ params?: Record<string, any>;
32
+ }, level?: string | undefined): void;
33
+ /**
34
+ * @return {boolean}
35
+ */
36
+ static isVerbose(): boolean;
37
+ /**
38
+ * @param {{msg: string, id: string, args?: any[]}} status
39
+ * @param {'log'|'verbose'|'warn'|'error'} [level]
40
+ */
41
+ static time({ msg, id, args }: {
42
+ msg: string;
43
+ id: string;
44
+ args?: any[];
45
+ }, level?: "log" | "verbose" | "warn" | "error"): void;
46
+ /**
47
+ * @param {{msg: string, id: string, args?: any[]}} status
48
+ * @param {'log'|'verbose'|'warn'|'error'} [level]
49
+ */
50
+ static timeEnd({ msg, id, args }: {
51
+ msg: string;
52
+ id: string;
53
+ args?: any[];
54
+ }, level?: "log" | "verbose" | "warn" | "error"): void;
55
+ /**
56
+ * @param {string} title
57
+ * @param {...any} args
58
+ */
59
+ static log(title: string, ...args: any[]): void;
60
+ /**
61
+ * @param {string} title
62
+ * @param {...any} args
63
+ */
64
+ static warn(title: string, ...args: any[]): void;
65
+ /**
66
+ * @param {string} title
67
+ * @param {...any} args
68
+ */
69
+ static error(title: string, ...args: any[]): void;
70
+ /**
71
+ * @param {string} title
72
+ * @param {...any} args
73
+ */
74
+ static verbose(title: string, ...args: any[]): void;
75
+ /**
76
+ * Add surrounding escape sequences to turn a string green when logged.
77
+ * @param {string} str
78
+ * @return {string}
79
+ */
80
+ static greenify(str: string): string;
81
+ /**
82
+ * Add surrounding escape sequences to turn a string red when logged.
83
+ * @param {string} str
84
+ * @return {string}
85
+ */
86
+ static redify(str: string): string;
87
+ static get green(): string;
88
+ static get red(): string;
89
+ static get purple(): string;
90
+ static get reset(): string;
91
+ static get bold(): string;
92
+ static get dim(): string;
93
+ static get tick(): "√" | "✓";
94
+ static get cross(): "×" | "✘";
95
+ /**
96
+ * @return {PerformanceEntry[]}
97
+ */
98
+ static takeTimeEntries(): PerformanceEntry[];
99
+ /**
100
+ * @return {PerformanceEntry[]}
101
+ */
102
+ static getTimeEntries(): PerformanceEntry[];
103
+ }
104
+ /** @typedef {{(formatter: any, ...args: any[]): void, color: string|number, enabled: boolean}} LoggerFn */
105
+ /** @extends {EventEmitter<Record<string, any[]>>} */
106
+ declare class Emitter extends EventEmitter<Record<string, any[]>> {
107
+ /**
108
+ * @param {ConstructorParameters<typeof EventEmitter>[0]} [options]
109
+ */
110
+ constructor(options?: ConstructorParameters<typeof EventEmitter>[0]);
111
+ /**
112
+ * Fires off all status updates. Listen with
113
+ * `log.events.addListener('status', callback)`
114
+ * @param {string} title
115
+ * @param {Array<any>} argsArray
116
+ */
117
+ issueStatus(title: string, argsArray: Array<any>): void;
118
+ /**
119
+ * Fires off all warnings. Listen with
120
+ * `log.events.addListener('warning', callback)`
121
+ * @param {string} title
122
+ * @param {Array<any>} argsArray
123
+ */
124
+ issueWarning(title: string, argsArray: Array<any>): void;
125
+ }
126
+ import { EventEmitter } from 'events';
127
+ //# sourceMappingURL=lighthouse-logger.d.ts.map