lighthouse 11.3.0-dev.20231206 → 11.3.0-dev.20231208
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/audits/bf-cache.d.ts +1 -0
- package/core/audits/bf-cache.js +11 -1
- package/core/audits/bootup-time.js +3 -0
- package/core/audits/byte-efficiency/byte-efficiency-audit.js +6 -4
- package/core/audits/byte-efficiency/duplicated-javascript.d.ts +0 -6
- package/core/audits/byte-efficiency/duplicated-javascript.js +9 -37
- package/core/audits/byte-efficiency/legacy-javascript.js +1 -1
- package/core/audits/byte-efficiency/unminified-javascript.js +2 -2
- package/core/audits/byte-efficiency/unused-javascript.js +10 -10
- package/core/audits/layout-shift-elements.js +23 -12
- package/core/audits/metrics/cumulative-layout-shift.js +5 -1
- package/core/audits/resource-summary.d.ts +11 -0
- package/core/audits/resource-summary.js +86 -0
- package/core/audits/third-party-cookies.d.ts +22 -0
- package/core/audits/third-party-cookies.js +112 -0
- package/core/computed/metrics/cumulative-layout-shift.d.ts +13 -1
- package/core/computed/metrics/cumulative-layout-shift.js +47 -1
- package/core/computed/metrics/lantern-first-contentful-paint.d.ts +50 -16
- package/core/computed/metrics/lantern-first-contentful-paint.js +56 -59
- package/core/computed/metrics/lantern-first-meaningful-paint.js +10 -12
- package/core/computed/metrics/lantern-largest-contentful-paint.js +9 -12
- package/core/computed/metrics/lantern-metric.d.ts +2 -2
- package/core/computed/metrics/lantern-metric.js +6 -5
- package/core/config/default-config.js +4 -0
- package/core/config/filters.js +1 -0
- package/core/gather/base-artifacts.js +2 -1
- package/core/gather/gatherers/css-usage.js +5 -0
- package/core/gather/gatherers/trace-elements.d.ts +6 -15
- package/core/gather/gatherers/trace-elements.js +15 -71
- package/core/lib/i18n/i18n.d.ts +2 -2
- package/core/lib/i18n/i18n.js +2 -2
- package/core/lib/network-request.js +4 -1
- package/core/lib/rect-helpers.d.ts +5 -0
- package/core/lib/rect-helpers.js +15 -0
- package/core/lib/script-helpers.d.ts +1 -1
- package/core/lib/script-helpers.js +1 -1
- package/dist/report/bundle.esm.js +3 -3
- package/dist/report/flow.js +5 -5
- package/dist/report/standalone.js +4 -4
- package/package.json +1 -1
- package/report/renderer/performance-category-renderer.js +4 -2
- package/shared/localization/locales/en-US.json +15 -0
- package/shared/localization/locales/en-XL.json +15 -0
- package/tsconfig.json +1 -0
- package/types/artifacts.d.ts +3 -2
package/types/artifacts.d.ts
CHANGED
|
@@ -53,6 +53,8 @@ interface UniversalBaseArtifacts {
|
|
|
53
53
|
HostFormFactor: 'desktop'|'mobile';
|
|
54
54
|
/** The user agent string of the version of Chrome used. */
|
|
55
55
|
HostUserAgent: string;
|
|
56
|
+
/** The product string of the version of Chrome used. Example: HeadlessChrome/123.2.2.0 would be from old headless. */
|
|
57
|
+
HostProduct: string;
|
|
56
58
|
/** Information about how Lighthouse artifacts were gathered. */
|
|
57
59
|
GatherContext: {gatherMode: Gatherer.GatherMode};
|
|
58
60
|
}
|
|
@@ -558,9 +560,8 @@ declare module Artifacts {
|
|
|
558
560
|
|
|
559
561
|
interface TraceElement {
|
|
560
562
|
traceEventType: 'largest-contentful-paint'|'layout-shift'|'animation'|'responsiveness';
|
|
561
|
-
score?: number;
|
|
562
563
|
node: NodeDetails;
|
|
563
|
-
nodeId
|
|
564
|
+
nodeId: number;
|
|
564
565
|
animations?: {name?: string, failureReasonsMask?: number, unsupportedProperties?: string[]}[];
|
|
565
566
|
type?: string;
|
|
566
567
|
}
|