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.
- package/.agents/skills/update-ard-port/SKILL.md +1 -1
- package/cli/bin.js +8 -3
- package/cli/open-file.js +1 -1
- package/cli/printer.js +1 -1
- package/cli/run.js +4 -2
- package/cli/sentry-prompt.js +2 -1
- package/cli/test/smokehouse/frontends/smokehouse-bin.js +1 -1
- package/cli/test/smokehouse/lighthouse-runners/cli.js +1 -2
- package/cli/test/smokehouse/report-assert.js +1 -2
- package/cli/test/smokehouse/smokehouse.js +1 -2
- package/core/audits/autocomplete.js +1 -2
- package/core/audits/bootup-time.js +1 -2
- package/core/audits/errors-in-console.js +1 -2
- package/core/audits/mainthread-work-breakdown.js +1 -2
- package/core/audits/metrics.d.ts +2 -2
- package/core/audits/metrics.js +1 -1
- package/core/computed/computed-artifact.js +1 -2
- package/core/computed/entity-classification.d.ts +3 -3
- package/core/computed/entity-classification.js +5 -3
- package/core/computed/js-bundles.js +1 -2
- package/core/computed/load-simulator.d.ts +5 -3
- package/core/computed/load-simulator.js +9 -2
- package/core/computed/metrics/responsiveness.d.ts +5 -3
- package/core/computed/metrics/responsiveness.js +1 -1
- package/core/computed/metrics/time-to-first-byte.js +3 -1
- package/core/computed/metrics/timing-summary.d.ts +7 -5
- package/core/computed/metrics/timing-summary.js +3 -4
- package/core/computed/navigation-insights.d.ts +5 -3
- package/core/computed/navigation-insights.js +1 -1
- package/core/computed/network-analysis.js +1 -2
- package/core/computed/page-dependency-graph.d.ts +5 -3
- package/core/computed/page-dependency-graph.js +1 -1
- package/core/computed/trace-engine-result.d.ts +7 -5
- package/core/computed/trace-engine-result.js +9 -5
- package/core/computed/unused-css.d.ts +2 -2
- package/core/computed/unused-css.js +1 -1
- package/core/config/config.js +1 -2
- package/core/gather/base-artifacts.js +1 -2
- package/core/gather/driver/environment.js +1 -2
- package/core/gather/driver/navigation.js +1 -2
- package/core/gather/driver/network-monitor.js +1 -2
- package/core/gather/driver/prepare.js +1 -2
- package/core/gather/driver/storage.js +1 -2
- package/core/gather/driver/target-manager.js +1 -2
- package/core/gather/driver/wait-for-condition.js +1 -2
- package/core/gather/driver.js +1 -2
- package/core/gather/gatherers/agentic/ard.js +1 -1
- package/core/gather/gatherers/agentic/llms-txt.js +1 -2
- package/core/gather/gatherers/image-elements.js +1 -2
- package/core/gather/gatherers/seo/robots-txt.js +1 -2
- package/core/gather/gatherers/stacks.js +1 -2
- package/core/gather/gatherers/stylesheets.js +1 -2
- package/core/gather/navigation-runner.js +1 -1
- package/core/gather/runner-helpers.js +1 -2
- package/core/gather/session.js +1 -2
- package/core/gather/snapshot-runner.js +1 -2
- package/core/gather/timespan-runner.js +1 -2
- package/core/lib/asset-saver.js +1 -2
- package/core/lib/csp-evaluator.js +1 -1
- package/core/lib/i18n/i18n.js +1 -2
- package/core/lib/lighthouse-logger.d.ts +127 -0
- package/core/lib/lighthouse-logger.js +319 -0
- package/core/lib/median-run.d.ts +16 -6
- package/core/lib/median-run.js +13 -6
- package/core/lib/network-recorder.js +1 -2
- package/core/lib/network-request.d.ts +2 -2
- package/core/lib/network-request.js +1 -1
- package/core/lib/page-functions.js +2 -2
- package/core/lib/script-helpers.d.ts +23 -8
- package/core/lib/script-helpers.js +7 -6
- package/core/lib/sentry-reporter.d.ts +59 -0
- package/core/lib/sentry-reporter.js +281 -0
- package/core/lib/sentry.d.ts +7 -7
- package/core/lib/sentry.js +23 -40
- package/core/lib/stack-packs.js +1 -1
- package/core/lib/timing-trace-saver.d.ts +2 -2
- package/core/lib/timing-trace-saver.js +1 -1
- package/core/lib/tracehouse/task-summary.d.ts +16 -4
- package/core/lib/tracehouse/task-summary.js +6 -5
- package/core/lib/tracehouse/trace-processor.d.ts +6 -6
- package/core/lib/tracehouse/trace-processor.js +1 -1
- package/core/lib/traces/metric-trace-events.js +1 -2
- package/core/lib/url-utils.d.ts +4 -4
- package/core/lib/url-utils.js +1 -1
- package/core/runner.js +1 -2
- package/dist/report/bundle.esm.js +10 -10
- package/dist/report/flow.js +12 -12
- package/dist/report/standalone.js +11 -11
- package/package.json +2 -4
- package/report/renderer/text-encoding.d.ts +3 -5
- package/report/renderer/text-encoding.js +19 -33
- package/report/types/augment-dom.d.ts +0 -4
- package/third-party/ard/README.md +1 -1
- package/third-party/ard/ard.js +1 -1
- package/tsconfig.json +2 -42
- package/types/artifacts.d.ts +7 -1
- package/types/internal/test.d.ts +5 -0
- 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.
|
|
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)
|
|
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.
|
|
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
|
/**
|
package/core/config/config.js
CHANGED
|
@@ -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';
|
package/core/gather/driver.js
CHANGED
|
@@ -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';
|
|
@@ -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
|
|
|
@@ -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';
|
package/core/gather/session.js
CHANGED
|
@@ -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';
|
package/core/lib/asset-saver.js
CHANGED
|
@@ -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
|
|
package/core/lib/i18n/i18n.js
CHANGED
|
@@ -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
|