lighthouse 9.2.0 → 9.3.0
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/changelog.md +67 -0
- package/dist/report/bundle.esm.js +23 -11
- package/dist/report/flow.js +11 -11
- package/dist/report/standalone.js +8 -8
- package/flow-report/src/common.tsx +1 -1
- package/flow-report/src/sidebar/flow.tsx +1 -1
- package/flow-report/src/util.ts +1 -2
- package/lighthouse-cli/bin.js +0 -4
- package/lighthouse-cli/cli-flags.js +22 -8
- package/lighthouse-cli/run.js +5 -1
- package/lighthouse-cli/test/smokehouse/frontends/smokehouse-bin.js +4 -2
- package/lighthouse-cli/test/smokehouse/lighthouse-runners/cli.js +1 -1
- package/lighthouse-cli/test/smokehouse/lighthouse-runners/devtools.js +103 -0
- package/lighthouse-cli/test/smokehouse/readme.md +10 -8
- package/lighthouse-cli/test/smokehouse/report-assert.js +1 -1
- package/lighthouse-cli/test/smokehouse/smokehouse.js +4 -5
- package/lighthouse-core/audits/accessibility/axe-audit.js +4 -4
- package/lighthouse-core/audits/accessibility/object-alt.js +3 -3
- package/lighthouse-core/audits/audit.js +19 -4
- package/lighthouse-core/audits/byte-efficiency/byte-efficiency-audit.js +1 -1
- package/lighthouse-core/audits/byte-efficiency/duplicated-javascript.js +1 -1
- package/lighthouse-core/audits/deprecations.js +2 -2
- package/lighthouse-core/audits/dobetterweb/inspector-issues.js +11 -11
- package/lighthouse-core/audits/dobetterweb/uses-http2.js +1 -1
- package/lighthouse-core/audits/font-display.js +1 -1
- package/lighthouse-core/audits/installable-manifest.js +1 -1
- package/lighthouse-core/audits/is-on-https.js +1 -1
- package/lighthouse-core/audits/maskable-icon.js +1 -1
- package/lighthouse-core/audits/multi-check-audit.js +1 -1
- package/lighthouse-core/audits/network-requests.js +4 -4
- package/lighthouse-core/audits/preload-fonts.js +2 -3
- package/lighthouse-core/audits/preload-lcp-image.js +2 -12
- package/lighthouse-core/audits/seo/is-crawlable.js +2 -1
- package/lighthouse-core/audits/themed-omnibox.js +1 -1
- package/lighthouse-core/audits/uses-rel-preload.js +2 -3
- package/lighthouse-core/audits/valid-source-maps.js +2 -2
- package/lighthouse-core/computed/image-records.js +1 -1
- package/lighthouse-core/computed/js-bundles.js +1 -1
- package/lighthouse-core/computed/metrics/lantern-metric.js +1 -1
- package/lighthouse-core/computed/metrics/timing-summary.js +35 -35
- package/lighthouse-core/computed/page-dependency-graph.js +2 -2
- package/lighthouse-core/computed/resource-summary.js +1 -1
- package/lighthouse-core/config/config-helpers.js +2 -2
- package/lighthouse-core/config/config.js +1 -1
- package/lighthouse-core/fraggle-rock/config/filters.js +23 -1
- package/lighthouse-core/fraggle-rock/config/validation.js +2 -2
- package/lighthouse-core/fraggle-rock/gather/navigation-runner.js +5 -4
- package/lighthouse-core/fraggle-rock/gather/snapshot-runner.js +0 -1
- package/lighthouse-core/fraggle-rock/gather/timespan-runner.js +0 -1
- package/lighthouse-core/fraggle-rock/user-flow.js +4 -4
- package/lighthouse-core/gather/connections/connection.js +1 -1
- package/lighthouse-core/gather/driver/execution-context.js +1 -1
- package/lighthouse-core/gather/driver/network-monitor.js +2 -2
- package/lighthouse-core/gather/driver/target-manager.js +1 -1
- package/lighthouse-core/gather/driver.js +1 -1
- package/lighthouse-core/gather/gatherers/console-messages.js +2 -2
- package/lighthouse-core/gather/gatherers/inspector-issues.js +34 -46
- package/lighthouse-core/gather/gatherers/js-usage.js +1 -1
- package/lighthouse-core/gather/gatherers/seo/font-size.js +1 -1
- package/lighthouse-core/gather/gatherers/trace-elements.js +8 -43
- package/lighthouse-core/index.js +4 -3
- package/lighthouse-core/lib/arbitrary-equality-map.js +1 -1
- package/lighthouse-core/lib/asset-saver.js +6 -4
- package/lighthouse-core/lib/dependency-graph/simulator/connection-pool.js +1 -1
- package/lighthouse-core/lib/dependency-graph/simulator/network-analyzer.js +1 -1
- package/lighthouse-core/lib/emulation.js +1 -1
- package/lighthouse-core/lib/icons.js +1 -2
- package/lighthouse-core/lib/median-run.js +1 -2
- package/lighthouse-core/lib/network-recorder.js +2 -2
- package/lighthouse-core/lib/network-request.js +1 -1
- package/lighthouse-core/lib/stack-packs.js +5 -0
- package/lighthouse-core/lib/tracehouse/cpu-profile-model.js +4 -6
- package/lighthouse-core/lib/tracehouse/main-thread-tasks.js +1 -1
- package/lighthouse-core/lib/tracehouse/trace-processor.js +14 -17
- package/lighthouse-core/lib/url-shim.js +15 -0
- package/lighthouse-core/runner.js +62 -49
- package/lighthouse-core/scripts/download-chrome.sh +15 -2
- package/package.json +21 -25
- package/report/assets/templates.html +2 -1
- package/report/clients/standalone.js +5 -1
- package/report/renderer/category-renderer.js +1 -1
- package/report/renderer/components.js +2 -2
- package/report/renderer/performance-category-renderer.js +4 -4
- package/report/renderer/report-renderer.js +1 -1
- package/report/renderer/report-ui-features.js +15 -3
- package/report/test/generator/report-generator-test.js +1 -1
- package/report/test/renderer/report-ui-features-test.js +22 -4
- package/report/test-assets/faux-psi.js +2 -3
- package/report/types/report-renderer.d.ts +2 -0
- package/shared/localization/locales/ar-XB.json +40 -4
- package/shared/localization/locales/ar.json +59 -23
- package/shared/localization/locales/bg.json +40 -4
- package/shared/localization/locales/ca.json +45 -9
- package/shared/localization/locales/cs.json +39 -3
- package/shared/localization/locales/da.json +43 -7
- package/shared/localization/locales/de.json +42 -6
- package/shared/localization/locales/el.json +59 -23
- package/shared/localization/locales/en-GB.json +43 -7
- package/shared/localization/locales/en-US.json +48 -6
- package/shared/localization/locales/en-XA.json +40 -4
- package/shared/localization/locales/en-XL.json +48 -6
- package/shared/localization/locales/es-419.json +39 -3
- package/shared/localization/locales/es.json +46 -10
- package/shared/localization/locales/fi.json +57 -21
- package/shared/localization/locales/fil.json +40 -4
- package/shared/localization/locales/fr.json +45 -9
- package/shared/localization/locales/he.json +41 -5
- package/shared/localization/locales/hi.json +59 -23
- package/shared/localization/locales/hr.json +57 -21
- package/shared/localization/locales/hu.json +39 -3
- package/shared/localization/locales/id.json +40 -4
- package/shared/localization/locales/it.json +40 -4
- package/shared/localization/locales/ja.json +39 -3
- package/shared/localization/locales/ko.json +40 -4
- package/shared/localization/locales/lt.json +40 -4
- package/shared/localization/locales/lv.json +56 -20
- package/shared/localization/locales/nl.json +40 -4
- package/shared/localization/locales/no.json +56 -20
- package/shared/localization/locales/pl.json +56 -20
- package/shared/localization/locales/pt-PT.json +57 -21
- package/shared/localization/locales/pt.json +41 -5
- package/shared/localization/locales/ro.json +39 -3
- package/shared/localization/locales/ru.json +40 -4
- package/shared/localization/locales/sk.json +39 -3
- package/shared/localization/locales/sl.json +39 -3
- package/shared/localization/locales/sr-Latn.json +40 -4
- package/shared/localization/locales/sr.json +40 -4
- package/shared/localization/locales/sv.json +39 -3
- package/shared/localization/locales/ta.json +47 -11
- package/shared/localization/locales/te.json +61 -25
- package/shared/localization/locales/th.json +39 -3
- package/shared/localization/locales/tr.json +40 -4
- package/shared/localization/locales/uk.json +40 -4
- package/shared/localization/locales/vi.json +63 -27
- package/shared/localization/locales/zh-HK.json +40 -4
- package/shared/localization/locales/zh-TW.json +45 -9
- package/shared/localization/locales/zh.json +41 -5
- package/third-party/chromium-synchronization/inspector-issueAdded-types-test.js +1 -1
- package/third-party/snyk/snapshot.json +4 -1
- package/types/artifacts.d.ts +16 -6
- package/types/robots-parser/index.d.ts +0 -20
package/types/artifacts.d.ts
CHANGED
|
@@ -553,12 +553,22 @@ declare module Artifacts {
|
|
|
553
553
|
}
|
|
554
554
|
|
|
555
555
|
interface InspectorIssues {
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
556
|
+
attributionReportingIssue: LH.Crdp.Audits.AttributionReportingIssueDetails[];
|
|
557
|
+
blockedByResponseIssue: LH.Crdp.Audits.BlockedByResponseIssueDetails[];
|
|
558
|
+
clientHintIssue: LH.Crdp.Audits.ClientHintIssueDetails[];
|
|
559
|
+
contentSecurityPolicyIssue: LH.Crdp.Audits.ContentSecurityPolicyIssueDetails[];
|
|
560
|
+
corsIssue: LH.Crdp.Audits.CorsIssueDetails[];
|
|
561
|
+
deprecationIssue: LH.Crdp.Audits.DeprecationIssueDetails[];
|
|
562
|
+
federatedAuthRequestIssue: LH.Crdp.Audits.FederatedAuthRequestIssueDetails[],
|
|
563
|
+
genericIssue: LH.Crdp.Audits.GenericIssueDetails[];
|
|
564
|
+
heavyAdIssue: LH.Crdp.Audits.HeavyAdIssueDetails[];
|
|
565
|
+
lowTextContrastIssue: LH.Crdp.Audits.LowTextContrastIssueDetails[];
|
|
566
|
+
mixedContentIssue: LH.Crdp.Audits.MixedContentIssueDetails[];
|
|
567
|
+
navigatorUserAgentIssue: LH.Crdp.Audits.NavigatorUserAgentIssueDetails[];
|
|
568
|
+
quirksModeIssue: LH.Crdp.Audits.QuirksModeIssueDetails[];
|
|
569
|
+
sameSiteCookieIssue: LH.Crdp.Audits.SameSiteCookieIssueDetails[];
|
|
570
|
+
sharedArrayBufferIssue: LH.Crdp.Audits.SharedArrayBufferIssueDetails[];
|
|
571
|
+
twaQualityEnforcement: LH.Crdp.Audits.TrustedWebActivityIssueDetails[];
|
|
562
572
|
}
|
|
563
573
|
|
|
564
574
|
// Computed artifact types below.
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright 2018 The Lighthouse Authors. All Rights Reserved.
|
|
3
|
-
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
4
|
-
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
declare module 'robots-parser' {
|
|
8
|
-
interface Robots {
|
|
9
|
-
isAllowed(url: string, ua?: string): boolean | undefined;
|
|
10
|
-
isDisallowed(url: string, ua?: string): boolean | undefined;
|
|
11
|
-
getMatchingLineNumber(url: string, ua?: string): number | undefined;
|
|
12
|
-
getCrawlDelay(ua?: string): number | undefined;
|
|
13
|
-
getSitemaps(): Array<string>;
|
|
14
|
-
getPreferredHost(): string | null;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
function RobotsParser(url: string, robotsTxt: string): Robots;
|
|
18
|
-
|
|
19
|
-
export = RobotsParser;
|
|
20
|
-
}
|