lighthouse 9.5.0-dev.20220728 → 9.5.0-dev.20220731
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/CONTRIBUTING.md +11 -11
- package/{lighthouse-cli → cli}/bin.js +5 -5
- package/{lighthouse-cli → cli}/cli-flags.js +1 -1
- package/{lighthouse-cli → cli}/commands/commands.js +0 -0
- package/{lighthouse-cli → cli}/commands/list-audits.js +1 -1
- package/{lighthouse-cli → cli}/commands/list-locales.js +0 -0
- package/{lighthouse-cli → cli}/commands/list-trace-categories.js +1 -1
- package/{lighthouse-cli → cli}/index.js +0 -0
- package/{lighthouse-cli → cli}/package.json +0 -0
- package/{lighthouse-cli → cli}/printer.js +0 -0
- package/{lighthouse-cli → cli}/run.js +3 -3
- package/{lighthouse-cli → cli}/sentry-prompt.js +0 -0
- package/{lighthouse-cli → cli}/test/smokehouse/__snapshots__/report-assert-test.js.snap +0 -0
- package/{lighthouse-cli → cli}/test/smokehouse/core-tests.js +0 -0
- package/{lighthouse-cli → cli}/test/smokehouse/frontends/back-compat-util.js +0 -0
- package/{lighthouse-cli → cli}/test/smokehouse/frontends/lib.js +0 -0
- package/{lighthouse-cli → cli}/test/smokehouse/frontends/node.js +0 -0
- package/{lighthouse-cli → cli}/test/smokehouse/frontends/smokehouse-bin.js +1 -1
- package/{lighthouse-cli → cli}/test/smokehouse/lib/child-process-error.js +0 -0
- package/{lighthouse-cli → cli}/test/smokehouse/lib/concurrent-mapper.js +0 -0
- package/{lighthouse-cli → cli}/test/smokehouse/lib/local-console.js +0 -0
- package/{lighthouse-cli → cli}/test/smokehouse/lighthouse-runners/bundle.js +4 -4
- package/{lighthouse-cli → cli}/test/smokehouse/lighthouse-runners/cli.js +2 -2
- package/{lighthouse-cli → cli}/test/smokehouse/lighthouse-runners/devtools.js +3 -3
- package/{lighthouse-cli → cli}/test/smokehouse/readme.md +1 -1
- package/{lighthouse-cli → cli}/test/smokehouse/report-assert-test.js +3 -3
- package/{lighthouse-cli → cli}/test/smokehouse/report-assert.js +0 -0
- package/{lighthouse-cli → cli}/test/smokehouse/smokehouse.js +0 -0
- package/{lighthouse-cli → cli}/test/smokehouse/version-check-test.js +0 -0
- package/{lighthouse-cli → cli}/test/smokehouse/version-check.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/accesskeys.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/aria-allowed-attr.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/aria-command-name.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/aria-hidden-body.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/aria-hidden-focus.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/aria-input-field-name.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/aria-meter-name.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/aria-progressbar-name.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/aria-required-attr.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/aria-required-children.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/aria-required-parent.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/aria-roles.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/aria-toggle-field-name.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/aria-tooltip-name.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/aria-treeitem-name.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/aria-valid-attr-value.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/aria-valid-attr.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/axe-audit.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/button-name.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/bypass.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/color-contrast.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/definition-list.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/dlitem.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/document-title.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/duplicate-id-active.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/duplicate-id-aria.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/form-field-multiple-labels.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/frame-title.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/heading-order.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/html-has-lang.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/html-lang-valid.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/image-alt.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/input-image-alt.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/label.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/link-name.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/list.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/listitem.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/manual/custom-controls-labels.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/manual/custom-controls-roles.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/manual/focus-traps.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/manual/focusable-controls.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/manual/interactive-element-affordance.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/manual/logical-tab-order.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/manual/managed-focus.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/manual/offscreen-content-hidden.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/manual/use-landmarks.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/manual/visual-order-follows-dom.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/meta-refresh.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/meta-viewport.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/object-alt.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/tabindex.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/td-headers-attr.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/th-has-data-cells.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/valid-lang.js +0 -0
- package/{lighthouse-core → core}/audits/accessibility/video-caption.js +0 -0
- package/{lighthouse-core → core}/audits/audit.js +0 -0
- package/{lighthouse-core → core}/audits/autocomplete.js +0 -0
- package/{lighthouse-core → core}/audits/bootup-time.js +0 -0
- package/{lighthouse-core → core}/audits/byte-efficiency/byte-efficiency-audit.js +0 -0
- package/{lighthouse-core → core}/audits/byte-efficiency/duplicated-javascript.js +0 -0
- package/{lighthouse-core → core}/audits/byte-efficiency/efficient-animated-content.js +0 -0
- package/{lighthouse-core → core}/audits/byte-efficiency/legacy-javascript.js +2 -2
- package/{lighthouse-core → core}/audits/byte-efficiency/modern-image-formats.js +0 -0
- package/{lighthouse-core → core}/audits/byte-efficiency/offscreen-images.js +0 -0
- package/{lighthouse-core → core}/audits/byte-efficiency/polyfill-graph-data.json +0 -0
- package/{lighthouse-core → core}/audits/byte-efficiency/render-blocking-resources.js +0 -0
- package/{lighthouse-core → core}/audits/byte-efficiency/total-byte-weight.js +0 -0
- package/{lighthouse-core → core}/audits/byte-efficiency/unminified-css.js +0 -0
- package/{lighthouse-core → core}/audits/byte-efficiency/unminified-javascript.js +0 -0
- package/{lighthouse-core → core}/audits/byte-efficiency/unused-css-rules.js +0 -0
- package/{lighthouse-core → core}/audits/byte-efficiency/unused-javascript.js +0 -0
- package/{lighthouse-core → core}/audits/byte-efficiency/uses-long-cache-ttl.js +0 -0
- package/{lighthouse-core → core}/audits/byte-efficiency/uses-optimized-images.js +0 -0
- package/{lighthouse-core → core}/audits/byte-efficiency/uses-responsive-images-snapshot.js +0 -0
- package/{lighthouse-core → core}/audits/byte-efficiency/uses-responsive-images.js +0 -0
- package/{lighthouse-core → core}/audits/byte-efficiency/uses-text-compression.js +0 -0
- package/{lighthouse-core → core}/audits/content-width.js +0 -0
- package/{lighthouse-core → core}/audits/critical-request-chains.js +0 -0
- package/{lighthouse-core → core}/audits/csp-xss.js +0 -0
- package/{lighthouse-core → core}/audits/deprecations.js +0 -0
- package/{lighthouse-core → core}/audits/diagnostics.js +0 -0
- package/{lighthouse-core → core}/audits/dobetterweb/charset.js +0 -0
- package/{lighthouse-core → core}/audits/dobetterweb/doctype.js +0 -0
- package/{lighthouse-core → core}/audits/dobetterweb/dom-size.js +0 -0
- package/{lighthouse-core → core}/audits/dobetterweb/geolocation-on-start.js +0 -0
- package/{lighthouse-core → core}/audits/dobetterweb/inspector-issues.js +0 -0
- package/{lighthouse-core → core}/audits/dobetterweb/js-libraries.js +0 -0
- package/{lighthouse-core → core}/audits/dobetterweb/no-document-write.js +0 -0
- package/{lighthouse-core → core}/audits/dobetterweb/no-vulnerable-libraries.js +0 -0
- package/{lighthouse-core → core}/audits/dobetterweb/notification-on-start.js +0 -0
- package/{lighthouse-core → core}/audits/dobetterweb/password-inputs-can-be-pasted-into.js +0 -0
- package/{lighthouse-core → core}/audits/dobetterweb/uses-http2.js +0 -0
- package/{lighthouse-core → core}/audits/dobetterweb/uses-passive-event-listeners.js +0 -0
- package/{lighthouse-core → core}/audits/errors-in-console.js +0 -0
- package/{lighthouse-core → core}/audits/final-screenshot.js +0 -0
- package/{lighthouse-core → core}/audits/font-display.js +0 -0
- package/{lighthouse-core → core}/audits/full-page-screenshot.js +0 -0
- package/{lighthouse-core → core}/audits/image-aspect-ratio.js +0 -0
- package/{lighthouse-core → core}/audits/image-size-responsive.js +0 -0
- package/{lighthouse-core → core}/audits/installable-manifest.js +0 -0
- package/{lighthouse-core → core}/audits/is-on-https.js +0 -0
- package/{lighthouse-core → core}/audits/largest-contentful-paint-element.js +0 -0
- package/{lighthouse-core → core}/audits/layout-shift-elements.js +0 -0
- package/{lighthouse-core → core}/audits/lcp-lazy-loaded.js +0 -0
- package/{lighthouse-core → core}/audits/long-tasks.js +0 -0
- package/{lighthouse-core → core}/audits/main-thread-tasks.js +0 -0
- package/{lighthouse-core → core}/audits/mainthread-work-breakdown.js +0 -0
- package/{lighthouse-core → core}/audits/manual/manual-audit.js +0 -0
- package/{lighthouse-core → core}/audits/manual/pwa-cross-browser.js +0 -0
- package/{lighthouse-core → core}/audits/manual/pwa-each-page-has-url.js +0 -0
- package/{lighthouse-core → core}/audits/manual/pwa-page-transitions.js +0 -0
- package/{lighthouse-core → core}/audits/maskable-icon.js +0 -0
- package/{lighthouse-core → core}/audits/metrics/cumulative-layout-shift.js +0 -0
- package/{lighthouse-core → core}/audits/metrics/experimental-interaction-to-next-paint.js +0 -0
- package/{lighthouse-core → core}/audits/metrics/first-contentful-paint-3g.js +0 -0
- package/{lighthouse-core → core}/audits/metrics/first-contentful-paint.js +0 -0
- package/{lighthouse-core → core}/audits/metrics/first-meaningful-paint.js +0 -0
- package/{lighthouse-core → core}/audits/metrics/interactive.js +0 -0
- package/{lighthouse-core → core}/audits/metrics/largest-contentful-paint.js +0 -0
- package/{lighthouse-core → core}/audits/metrics/max-potential-fid.js +0 -0
- package/{lighthouse-core → core}/audits/metrics/speed-index.js +0 -0
- package/{lighthouse-core → core}/audits/metrics/total-blocking-time.js +0 -0
- package/{lighthouse-core → core}/audits/metrics.js +0 -0
- package/{lighthouse-core → core}/audits/multi-check-audit.js +0 -0
- package/{lighthouse-core → core}/audits/network-requests.js +0 -0
- package/{lighthouse-core → core}/audits/network-rtt.js +0 -0
- package/{lighthouse-core → core}/audits/network-server-latency.js +0 -0
- package/{lighthouse-core → core}/audits/no-unload-listeners.js +0 -0
- package/{lighthouse-core → core}/audits/non-composited-animations.js +0 -0
- package/{lighthouse-core → core}/audits/oopif-iframe-test-audit.js +0 -0
- package/{lighthouse-core → core}/audits/performance-budget.js +0 -0
- package/{lighthouse-core → core}/audits/predictive-perf.js +0 -0
- package/{lighthouse-core → core}/audits/preload-fonts.js +0 -0
- package/{lighthouse-core → core}/audits/preload-lcp-image.js +0 -0
- package/{lighthouse-core → core}/audits/redirects.js +0 -0
- package/{lighthouse-core → core}/audits/resource-summary.js +0 -0
- package/{lighthouse-core → core}/audits/screenshot-thumbnails.js +0 -0
- package/{lighthouse-core → core}/audits/script-elements-test-audit.js +0 -0
- package/{lighthouse-core → core}/audits/script-treemap-data.js +0 -0
- package/{lighthouse-core → core}/audits/seo/canonical.js +0 -0
- package/{lighthouse-core → core}/audits/seo/crawlable-anchors.js +0 -0
- package/{lighthouse-core → core}/audits/seo/font-size.js +0 -0
- package/{lighthouse-core → core}/audits/seo/hreflang.js +0 -0
- package/{lighthouse-core → core}/audits/seo/http-status-code.js +0 -0
- package/{lighthouse-core → core}/audits/seo/is-crawlable.js +0 -0
- package/{lighthouse-core → core}/audits/seo/link-text.js +0 -0
- package/{lighthouse-core → core}/audits/seo/manual/structured-data.js +0 -0
- package/{lighthouse-core → core}/audits/seo/meta-description.js +0 -0
- package/{lighthouse-core → core}/audits/seo/plugins.js +0 -0
- package/{lighthouse-core → core}/audits/seo/robots-txt.js +0 -0
- package/{lighthouse-core → core}/audits/seo/tap-targets.js +0 -0
- package/{lighthouse-core → core}/audits/server-response-time.js +0 -0
- package/{lighthouse-core → core}/audits/service-worker.js +0 -0
- package/{lighthouse-core → core}/audits/splash-screen.js +0 -0
- package/{lighthouse-core → core}/audits/themed-omnibox.js +0 -0
- package/{lighthouse-core → core}/audits/third-party-facades.js +0 -0
- package/{lighthouse-core → core}/audits/third-party-summary.js +0 -0
- package/{lighthouse-core → core}/audits/timing-budget.js +0 -0
- package/{lighthouse-core → core}/audits/unsized-images.js +0 -0
- package/{lighthouse-core → core}/audits/user-timings.js +0 -0
- package/{lighthouse-core → core}/audits/uses-rel-preconnect.js +0 -0
- package/{lighthouse-core → core}/audits/uses-rel-preload.js +0 -0
- package/{lighthouse-core → core}/audits/valid-source-maps.js +0 -0
- package/{lighthouse-core → core}/audits/viewport.js +0 -0
- package/{lighthouse-core → core}/audits/violation-audit.js +0 -0
- package/{lighthouse-core → core}/audits/work-during-interaction.js +0 -0
- package/{lighthouse-core → core}/computed/computed-artifact.js +0 -0
- package/{lighthouse-core → core}/computed/critical-request-chains.js +0 -0
- package/{lighthouse-core → core}/computed/image-records.js +0 -0
- package/{lighthouse-core → core}/computed/js-bundles.js +0 -0
- package/{lighthouse-core → core}/computed/load-simulator.js +0 -0
- package/{lighthouse-core → core}/computed/main-resource.js +0 -0
- package/{lighthouse-core → core}/computed/main-thread-tasks.js +0 -0
- package/{lighthouse-core → core}/computed/manifest-values.js +0 -0
- package/{lighthouse-core → core}/computed/metrics/cumulative-layout-shift.js +0 -0
- package/{lighthouse-core → core}/computed/metrics/first-contentful-paint-all-frames.js +0 -0
- package/{lighthouse-core → core}/computed/metrics/first-contentful-paint.js +0 -0
- package/{lighthouse-core → core}/computed/metrics/first-meaningful-paint.js +0 -0
- package/{lighthouse-core → core}/computed/metrics/interactive.js +0 -0
- package/{lighthouse-core → core}/computed/metrics/lantern-first-contentful-paint.js +0 -0
- package/{lighthouse-core → core}/computed/metrics/lantern-first-meaningful-paint.js +0 -0
- package/{lighthouse-core → core}/computed/metrics/lantern-interactive.js +0 -0
- package/{lighthouse-core → core}/computed/metrics/lantern-largest-contentful-paint.js +0 -0
- package/{lighthouse-core → core}/computed/metrics/lantern-max-potential-fid.js +0 -0
- package/{lighthouse-core → core}/computed/metrics/lantern-metric.js +0 -0
- package/{lighthouse-core → core}/computed/metrics/lantern-speed-index.js +1 -1
- package/{lighthouse-core → core}/computed/metrics/lantern-total-blocking-time.js +0 -0
- package/{lighthouse-core → core}/computed/metrics/largest-contentful-paint-all-frames.js +0 -0
- package/{lighthouse-core → core}/computed/metrics/largest-contentful-paint.js +0 -0
- package/{lighthouse-core → core}/computed/metrics/max-potential-fid.js +0 -0
- package/{lighthouse-core → core}/computed/metrics/metric.js +0 -0
- package/{lighthouse-core → core}/computed/metrics/navigation-metric.js +0 -0
- package/{lighthouse-core → core}/computed/metrics/responsiveness.js +0 -0
- package/{lighthouse-core → core}/computed/metrics/speed-index.js +0 -0
- package/{lighthouse-core → core}/computed/metrics/tbt-utils.js +0 -0
- package/{lighthouse-core → core}/computed/metrics/timing-summary.js +0 -0
- package/{lighthouse-core → core}/computed/metrics/total-blocking-time.js +0 -0
- package/{lighthouse-core → core}/computed/module-duplication.js +0 -0
- package/{lighthouse-core → core}/computed/network-analysis.js +0 -0
- package/{lighthouse-core → core}/computed/network-records.js +0 -0
- package/{lighthouse-core → core}/computed/page-dependency-graph.js +0 -0
- package/{lighthouse-core → core}/computed/processed-navigation.js +0 -0
- package/{lighthouse-core → core}/computed/processed-trace.js +0 -0
- package/{lighthouse-core → core}/computed/resource-summary.js +0 -0
- package/{lighthouse-core → core}/computed/screenshots.js +0 -0
- package/{lighthouse-core → core}/computed/speedline.js +0 -0
- package/{lighthouse-core → core}/computed/unused-css.js +0 -0
- package/{lighthouse-core → core}/computed/unused-javascript-summary.js +0 -0
- package/{lighthouse-core → core}/computed/user-timings.js +0 -0
- package/{lighthouse-core → core}/computed/viewport-meta.js +0 -0
- package/{lighthouse-core → core}/config/budget.js +0 -0
- package/{lighthouse-core → core}/config/config-helpers.js +0 -0
- package/{lighthouse-core → core}/config/config-plugin.js +0 -0
- package/{lighthouse-core → core}/config/config.js +0 -0
- package/{lighthouse-core → core}/config/constants.js +0 -0
- package/{lighthouse-core → core}/config/default-config.js +0 -0
- package/{lighthouse-core → core}/config/desktop-config.js +0 -0
- package/{lighthouse-core → core}/config/experimental-config.js +0 -0
- package/{lighthouse-core → core}/config/full-config.js +0 -0
- package/{lighthouse-core → core}/config/legacy-default-config.js +0 -0
- package/{lighthouse-core → core}/config/lr-desktop-config.js +0 -0
- package/{lighthouse-core → core}/config/lr-mobile-config.js +0 -0
- package/{lighthouse-core → core}/config/metrics-to-audits.js +0 -0
- package/{lighthouse-core → core}/config/perf-config.js +0 -0
- package/{lighthouse-core → core}/fraggle-rock/api.js +0 -0
- package/{lighthouse-core → core}/fraggle-rock/config/config.js +0 -0
- package/{lighthouse-core → core}/fraggle-rock/config/filters.js +0 -0
- package/{lighthouse-core → core}/fraggle-rock/config/validation.js +0 -0
- package/{lighthouse-core → core}/fraggle-rock/gather/base-artifacts.js +0 -0
- package/{lighthouse-core → core}/fraggle-rock/gather/base-gatherer.js +1 -1
- package/{lighthouse-core → core}/fraggle-rock/gather/driver.js +0 -0
- package/{lighthouse-core → core}/fraggle-rock/gather/navigation-runner.js +0 -0
- package/{lighthouse-core → core}/fraggle-rock/gather/runner-helpers.js +0 -0
- package/{lighthouse-core → core}/fraggle-rock/gather/session.js +0 -0
- package/{lighthouse-core → core}/fraggle-rock/gather/snapshot-runner.js +0 -0
- package/{lighthouse-core → core}/fraggle-rock/gather/timespan-runner.js +0 -0
- package/{lighthouse-core → core}/fraggle-rock/user-flow.js +0 -0
- package/{lighthouse-core → core}/gather/connections/connection.js +0 -0
- package/{lighthouse-core → core}/gather/connections/cri.js +0 -0
- package/{lighthouse-core → core}/gather/connections/raw.js +0 -0
- package/{lighthouse-core → core}/gather/driver/dom.js +0 -0
- package/{lighthouse-core → core}/gather/driver/environment.js +0 -0
- package/{lighthouse-core → core}/gather/driver/execution-context.js +0 -0
- package/{lighthouse-core → core}/gather/driver/navigation.js +0 -0
- package/{lighthouse-core → core}/gather/driver/network-monitor.js +0 -0
- package/{lighthouse-core → core}/gather/driver/network.js +0 -0
- package/{lighthouse-core → core}/gather/driver/prepare.js +0 -0
- package/{lighthouse-core → core}/gather/driver/service-workers.js +0 -0
- package/{lighthouse-core → core}/gather/driver/storage.js +0 -0
- package/{lighthouse-core → core}/gather/driver/target-manager.js +0 -0
- package/{lighthouse-core → core}/gather/driver/wait-for-condition.js +0 -0
- package/{lighthouse-core → core}/gather/driver.js +0 -0
- package/{lighthouse-core → core}/gather/fetcher.js +0 -0
- package/{lighthouse-core → core}/gather/gather-runner.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/accessibility.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/anchor-elements.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/cache-contents.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/console-messages.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/css-usage.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/devtools-log-compat.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/devtools-log.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/dobetterweb/doctype.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/dobetterweb/domstats.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/dobetterweb/optimized-images.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/dobetterweb/password-inputs-with-prevented-paste.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/dobetterweb/response-compression.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/dobetterweb/tags-blocking-first-paint.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/full-page-screenshot.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/gatherer.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/global-listeners.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/iframe-elements.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/image-elements.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/inputs.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/inspector-issues.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/installability-errors.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/js-usage.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/link-elements.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/main-document-content.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/meta-elements.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/network-user-agent.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/script-elements.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/scripts.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/seo/embedded-content.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/seo/font-size.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/seo/robots-txt.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/seo/tap-targets.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/service-worker.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/source-maps.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/stacks.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/trace-compat.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/trace-elements.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/trace.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/viewport-dimensions.js +0 -0
- package/{lighthouse-core → core}/gather/gatherers/web-app-manifest.js +0 -0
- package/{lighthouse-core → core}/index.cjs +0 -0
- package/{lighthouse-core → core}/index.js +1 -1
- package/{lighthouse-core → core}/lib/arbitrary-equality-map.js +0 -0
- package/{lighthouse-core → core}/lib/asset-saver.js +0 -0
- package/{lighthouse-core → core}/lib/axe.js +0 -0
- package/{lighthouse-core → core}/lib/cdt/Common.js +0 -0
- package/{lighthouse-core → core}/lib/cdt/Platform.js +0 -0
- package/{lighthouse-core → core}/lib/cdt/SDK.js +0 -0
- package/{lighthouse-core → core}/lib/cdt/generated/ParsedURL.js +0 -0
- package/{lighthouse-core → core}/lib/cdt/generated/SourceMap.js +0 -0
- package/{lighthouse-core → core}/lib/cdt/package.json +0 -0
- package/{lighthouse-core → core}/lib/csp-evaluator.js +0 -0
- package/{lighthouse-core → core}/lib/dependency-graph/base-node.js +0 -0
- package/{lighthouse-core → core}/lib/dependency-graph/cpu-node.js +0 -0
- package/{lighthouse-core → core}/lib/dependency-graph/network-node.js +0 -0
- package/{lighthouse-core → core}/lib/dependency-graph/simulator/connection-pool.js +0 -0
- package/{lighthouse-core → core}/lib/dependency-graph/simulator/dns-cache.js +0 -0
- package/{lighthouse-core → core}/lib/dependency-graph/simulator/network-analyzer.js +0 -0
- package/{lighthouse-core → core}/lib/dependency-graph/simulator/simulator-timing-map.js +0 -0
- package/{lighthouse-core → core}/lib/dependency-graph/simulator/simulator.js +0 -0
- package/{lighthouse-core → core}/lib/dependency-graph/simulator/tcp-connection.js +0 -0
- package/{lighthouse-core → core}/lib/deprecations-strings.js +0 -0
- package/{lighthouse-core → core}/lib/emulation.js +0 -0
- package/{lighthouse-core → core}/lib/i18n/README.md +2 -2
- package/{lighthouse-core → core}/lib/i18n/i18n.js +0 -0
- package/{lighthouse-core → core}/lib/icons.js +0 -0
- package/{lighthouse-core → core}/lib/lantern-trace-saver.js +0 -0
- package/{lighthouse-core → core}/lib/lh-env.js +0 -0
- package/{lighthouse-core → core}/lib/lh-error.js +0 -0
- package/{lighthouse-core → core}/lib/lh-trace-processor.js +0 -0
- package/{lighthouse-core → core}/lib/manifest-parser.js +0 -0
- package/{lighthouse-core → core}/lib/median-run.js +0 -0
- package/{lighthouse-core → core}/lib/minification-estimator.js +0 -0
- package/{lighthouse-core → core}/lib/minify-devtoolslog.js +0 -0
- package/{lighthouse-core → core}/lib/minify-trace.js +3 -3
- package/{lighthouse-core → core}/lib/navigation-error.js +0 -0
- package/{lighthouse-core → core}/lib/network-recorder.js +0 -0
- package/{lighthouse-core → core}/lib/network-request.js +0 -0
- package/{lighthouse-core → core}/lib/page-functions.js +0 -0
- package/{lighthouse-core → core}/lib/proto-preprocessor.js +0 -0
- package/{lighthouse-core → core}/lib/rect-helpers.js +0 -0
- package/{lighthouse-core → core}/lib/script-helpers.js +0 -0
- package/{lighthouse-core → core}/lib/sentry.js +0 -0
- package/{lighthouse-core → core}/lib/stack-packs.js +0 -0
- package/{lighthouse-core → core}/lib/statistics.js +0 -0
- package/{lighthouse-core → core}/lib/tappable-rects.js +0 -0
- package/{lighthouse-core → core}/lib/third-party-web.js +0 -0
- package/{lighthouse-core → core}/lib/timing-trace-saver.js +0 -0
- package/{lighthouse-core → core}/lib/tracehouse/cpu-profile-model.js +0 -0
- package/{lighthouse-core → core}/lib/tracehouse/main-thread-tasks.js +0 -0
- package/{lighthouse-core → core}/lib/tracehouse/task-groups.js +0 -0
- package/{lighthouse-core → core}/lib/tracehouse/task-summary.js +0 -0
- package/{lighthouse-core → core}/lib/tracehouse/trace-processor.js +0 -0
- package/{lighthouse-core → core}/lib/traces/pwmetrics-events.js +0 -0
- package/{lighthouse-core → core}/lib/url-shim.js +0 -0
- package/{lighthouse-core → core}/package.json +0 -0
- package/{lighthouse-core → core}/runner.js +0 -0
- package/{lighthouse-core → core}/scoring.js +0 -0
- package/{lighthouse-core → core}/scripts/download-chrome.sh +0 -0
- package/{lighthouse-core → core}/scripts/manual-chrome-launcher.js +1 -1
- package/{lighthouse-core → core}/scripts/package.json +0 -0
- package/{lighthouse-core → core}/util.cjs +1 -1
- package/eslint-local-rules.cjs +1 -1
- package/flow-report/test/common-test.tsx +1 -1
- package/flow-report/test/run-flow-report-tests.sh +1 -1
- package/flow-report/test/sample-flow.ts +1 -1
- package/flow-report/tsconfig.json +1 -1
- package/package.json +36 -36
- package/readme.md +4 -4
- package/report/clients/bundle.js +1 -1
- package/report/test/clients/bundle-test.js +1 -1
- package/report/test/generator/report-generator-test.js +2 -2
- package/report/test/renderer/category-renderer-test.js +2 -2
- package/report/test/renderer/i18n-test.js +1 -1
- package/report/test/renderer/performance-category-renderer-test.js +3 -3
- package/report/test/renderer/pwa-category-renderer-test.js +2 -2
- package/report/test/renderer/report-renderer-axe-test.js +3 -3
- package/report/test/renderer/report-renderer-test.js +3 -3
- package/report/test/renderer/report-ui-features-test.js +2 -2
- package/report/test/renderer/util-test.js +2 -2
- package/shared/localization/locales/ar-XB.json +641 -641
- package/shared/localization/locales/ar.json +641 -641
- package/shared/localization/locales/bg.json +641 -641
- package/shared/localization/locales/ca.json +641 -641
- package/shared/localization/locales/cs.json +641 -641
- package/shared/localization/locales/da.json +641 -641
- package/shared/localization/locales/de.json +641 -641
- package/shared/localization/locales/el.json +641 -641
- package/shared/localization/locales/en-GB.json +641 -641
- package/shared/localization/locales/en-US.json +830 -830
- package/shared/localization/locales/en-XA.json +641 -641
- package/shared/localization/locales/en-XL.json +830 -830
- package/shared/localization/locales/es-419.json +641 -641
- package/shared/localization/locales/es.json +641 -641
- package/shared/localization/locales/fi.json +641 -641
- package/shared/localization/locales/fil.json +641 -641
- package/shared/localization/locales/fr.json +641 -641
- package/shared/localization/locales/he.json +641 -641
- package/shared/localization/locales/hi.json +641 -641
- package/shared/localization/locales/hr.json +641 -641
- package/shared/localization/locales/hu.json +641 -641
- package/shared/localization/locales/id.json +641 -641
- package/shared/localization/locales/it.json +641 -641
- package/shared/localization/locales/ja.json +641 -641
- package/shared/localization/locales/ko.json +641 -641
- package/shared/localization/locales/lt.json +641 -641
- package/shared/localization/locales/lv.json +641 -641
- package/shared/localization/locales/nl.json +641 -641
- package/shared/localization/locales/no.json +641 -641
- package/shared/localization/locales/pl.json +641 -641
- package/shared/localization/locales/pt-PT.json +641 -641
- package/shared/localization/locales/pt.json +641 -641
- package/shared/localization/locales/ro.json +641 -641
- package/shared/localization/locales/ru.json +641 -641
- package/shared/localization/locales/sk.json +641 -641
- package/shared/localization/locales/sl.json +641 -641
- package/shared/localization/locales/sr-Latn.json +641 -641
- package/shared/localization/locales/sr.json +641 -641
- package/shared/localization/locales/sv.json +641 -641
- package/shared/localization/locales/ta.json +641 -641
- package/shared/localization/locales/te.json +641 -641
- package/shared/localization/locales/th.json +641 -641
- package/shared/localization/locales/tr.json +641 -641
- package/shared/localization/locales/uk.json +641 -641
- package/shared/localization/locales/vi.json +641 -641
- package/shared/localization/locales/zh-HK.json +641 -641
- package/shared/localization/locales/zh-TW.json +641 -641
- package/shared/localization/locales/zh.json +641 -641
- package/shared/localization/swap-locale.js +3 -3
- package/shared/test/localization/format-test.js +5 -5
- package/shared/test/localization/swap-locale-test.js +8 -8
- package/third-party/chromium-synchronization/inspector-issueAdded-types-test.js +1 -1
- package/third-party/chromium-synchronization/installability-errors-test.js +1 -1
- package/tsconfig.json +84 -84
- package/types/artifacts.d.ts +7 -7
- package/types/audit.d.ts +1 -1
- package/types/config.d.ts +1 -1
- package/types/gatherer.d.ts +8 -8
- package/types/global-lh.d.ts +2 -2
- package/types/user-flow.d.ts +1 -1
|
@@ -20,10 +20,10 @@ const format = require('./format.js');
|
|
|
20
20
|
*
|
|
21
21
|
* An example:
|
|
22
22
|
"icuMessagePaths": {
|
|
23
|
-
"
|
|
23
|
+
"core/audits/metrics/first-contentful-paint.js | title": [
|
|
24
24
|
"audits[first-contentful-paint].title"
|
|
25
25
|
],
|
|
26
|
-
"
|
|
26
|
+
"core/audits/server-response-time.js | displayValue": [
|
|
27
27
|
{
|
|
28
28
|
"values": {
|
|
29
29
|
"timeInMs": 570.5630000000001
|
|
@@ -31,7 +31,7 @@ const format = require('./format.js');
|
|
|
31
31
|
"path": "audits[server-response-time].displayValue"
|
|
32
32
|
}
|
|
33
33
|
],
|
|
34
|
-
"
|
|
34
|
+
"core/lib/i18n/i18n.js | columnTimeSpent": [
|
|
35
35
|
"audits[mainthread-work-breakdown].details.headings[1].text",
|
|
36
36
|
"audits[network-rtt].details.headings[1].text",
|
|
37
37
|
"audits[network-server-latency].details.headings[1].text"
|
|
@@ -14,8 +14,8 @@ const locales = require('../../localization/locales.js');
|
|
|
14
14
|
let i18n;
|
|
15
15
|
let constants;
|
|
16
16
|
before(async () => {
|
|
17
|
-
i18n = await import('../../../
|
|
18
|
-
constants = await import('../../../
|
|
17
|
+
i18n = await import('../../../core/lib/i18n/i18n.js');
|
|
18
|
+
constants = await import('../../../core/config/constants.js');
|
|
19
19
|
});
|
|
20
20
|
|
|
21
21
|
describe('format', () => {
|
|
@@ -190,8 +190,8 @@ describe('format', () => {
|
|
|
190
190
|
});
|
|
191
191
|
|
|
192
192
|
it('overwrites existing locale strings', async () => {
|
|
193
|
-
const filename = '
|
|
194
|
-
const {UIStrings} = await import('../../../
|
|
193
|
+
const filename = 'core/audits/is-on-https.js';
|
|
194
|
+
const {UIStrings} = await import('../../../core/audits/is-on-https.js');
|
|
195
195
|
const str_ = i18n.createMessageInstanceIdFn(filename, UIStrings);
|
|
196
196
|
|
|
197
197
|
// To start with, we get back the intended string..
|
|
@@ -202,7 +202,7 @@ describe('format', () => {
|
|
|
202
202
|
|
|
203
203
|
// Now we declare and register the new string...
|
|
204
204
|
const localeData = {
|
|
205
|
-
'
|
|
205
|
+
'core/audits/is-on-https.js | title': {
|
|
206
206
|
'message': 'new string for es-419 uses https!',
|
|
207
207
|
},
|
|
208
208
|
};
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
const swapLocale = require('../../localization/swap-locale.js');
|
|
9
9
|
|
|
10
|
-
const lhr = require('../../../
|
|
10
|
+
const lhr = require('../../../core/test/results/sample_v2.json');
|
|
11
11
|
|
|
12
12
|
describe('swap-locale', () => {
|
|
13
13
|
it('does not mutate the original lhr', () => {
|
|
@@ -76,11 +76,11 @@ toMatchInlineSnapshot(`"2,2 s"`);
|
|
|
76
76
|
},
|
|
77
77
|
i18n: {
|
|
78
78
|
icuMessagePaths: {
|
|
79
|
-
'
|
|
79
|
+
'core/audits/redirects.js | title': ['audits.redirects.title'],
|
|
80
80
|
// File that exists, but `doesntExist` message within it does not.
|
|
81
|
-
'
|
|
81
|
+
'core/audits/redirects.js | doesntExist': ['audits.redirects.doesntExist'],
|
|
82
82
|
// File and message which do not exist.
|
|
83
|
-
'
|
|
83
|
+
'core/audits/fakeaudit.js | title': ['audits.fakeaudit.title'],
|
|
84
84
|
},
|
|
85
85
|
},
|
|
86
86
|
};
|
|
@@ -89,8 +89,8 @@ toMatchInlineSnapshot(`"2,2 s"`);
|
|
|
89
89
|
// Updated strings are not found, so these remain in the original language
|
|
90
90
|
expect(missingIcuMessageIds).toMatchInlineSnapshot(`
|
|
91
91
|
Array [
|
|
92
|
-
"
|
|
93
|
-
"
|
|
92
|
+
"core/audits/redirects.js | doesntExist",
|
|
93
|
+
"core/audits/fakeaudit.js | title",
|
|
94
94
|
]
|
|
95
95
|
`);
|
|
96
96
|
});
|
|
@@ -110,9 +110,9 @@ Array [
|
|
|
110
110
|
i18n: {
|
|
111
111
|
icuMessagePaths: {
|
|
112
112
|
// Points to audit object, not string.
|
|
113
|
-
'
|
|
113
|
+
'core/audits/redirects.js | title': ['audits.redirects'],
|
|
114
114
|
// Path does not point to anything in LHR.
|
|
115
|
-
'
|
|
115
|
+
'core/audits/redirects.js | description': ['gatherers..X'],
|
|
116
116
|
},
|
|
117
117
|
},
|
|
118
118
|
};
|
|
@@ -10,7 +10,7 @@ import fetch from 'node-fetch';
|
|
|
10
10
|
import { LH_ROOT } from '../../root.js';
|
|
11
11
|
|
|
12
12
|
const inspectorIssuesGathererPath = LH_ROOT +
|
|
13
|
-
'/
|
|
13
|
+
'/core/gather/gatherers/inspector-issues.js';
|
|
14
14
|
const inspectorIssuesGathererSource = fs.readFileSync(inspectorIssuesGathererPath, 'utf-8');
|
|
15
15
|
|
|
16
16
|
describe('issueAdded types', () => {
|
package/tsconfig.json
CHANGED
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"include": [
|
|
15
15
|
"root.js",
|
|
16
16
|
"esm-utils.js",
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
17
|
+
"cli/**/*.js",
|
|
18
|
+
"core/**/*.js",
|
|
19
|
+
"core/index.cjs",
|
|
20
|
+
"core/util.cjs",
|
|
21
21
|
"clients/**/*.js",
|
|
22
22
|
"build/**/*.js",
|
|
23
23
|
"./types/**/*.d.ts",
|
|
@@ -26,94 +26,94 @@
|
|
|
26
26
|
|
|
27
27
|
// TODO(esmodules): JSON files included via resolveJsonModule. Removable on the switch to ES Modules.
|
|
28
28
|
"package.json",
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
29
|
+
"core/test/results/sample_v2.json",
|
|
30
|
+
"core/lib/sd-validation/assets/*.json",
|
|
31
|
+
"core/test/fixtures/unresolved-perflog.json",
|
|
32
|
+
"core/test/fixtures/traces/lcp-m78.devtools.log.json",
|
|
33
33
|
"third-party/snyk/snapshot.json",
|
|
34
|
-
"
|
|
34
|
+
"core/audits/byte-efficiency/polyfill-graph-data.json",
|
|
35
35
|
"shared/localization/locales/en-US.json",
|
|
36
36
|
],
|
|
37
37
|
"exclude": [
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
38
|
+
"core/test/audits/**/*.js",
|
|
39
|
+
"core/test/fixtures/**/*.js",
|
|
40
|
+
"core/test/computed/**/*.js",
|
|
41
41
|
"clients/test/**/*.js",
|
|
42
|
-
"
|
|
43
|
-
"
|
|
42
|
+
"cli/test/fixtures/**/*.js",
|
|
43
|
+
"core/scripts/legacy-javascript/variants",
|
|
44
44
|
// These test files require further changes before they can be type checked.
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
45
|
+
"core/test/config/budget-test.js",
|
|
46
|
+
"core/test/config/config-helpers-test.js",
|
|
47
|
+
"core/test/config/config-plugin-test.js",
|
|
48
|
+
"core/test/config/config-test.js",
|
|
49
|
+
"core/test/config/default-config-test.js",
|
|
50
|
+
"core/test/create-test-trace.js",
|
|
51
|
+
"core/test/gather/driver/wait-for-condition-test.js",
|
|
52
|
+
"core/test/gather/gatherers/accessibility-test.js",
|
|
53
|
+
"core/test/gather/gatherers/cache-contents-test.js",
|
|
54
|
+
"core/test/gather/gatherers/console-messages-test.js",
|
|
55
|
+
"core/test/gather/gatherers/devtools-log-test.js",
|
|
56
|
+
"core/test/gather/gatherers/dobetterweb/optimized-images-test.js",
|
|
57
|
+
"core/test/gather/gatherers/dobetterweb/password-inputs-with-prevented-paste-test.js",
|
|
58
|
+
"core/test/gather/gatherers/dobetterweb/response-compression-test.js",
|
|
59
|
+
"core/test/gather/gatherers/dobetterweb/tags-blocking-first-paint-test.js",
|
|
60
|
+
"core/test/gather/gatherers/full-page-screenshot-test.js",
|
|
61
|
+
"core/test/gather/gatherers/global-listeners-test.js",
|
|
62
|
+
"core/test/gather/gatherers/html-without-javascript-test.js",
|
|
63
|
+
"core/test/gather/gatherers/js-usage-test.js",
|
|
64
|
+
"core/test/gather/gatherers/link-elements-test.js",
|
|
65
|
+
"core/test/gather/gatherers/offline-test.js",
|
|
66
|
+
"core/test/gather/gatherers/runtime-exceptions-test.js",
|
|
67
|
+
"core/test/gather/gatherers/seo/font-size-test.js",
|
|
68
|
+
"core/test/gather/gatherers/service-worker-test.js",
|
|
69
|
+
"core/test/gather/gatherers/source-maps-test.js",
|
|
70
|
+
"core/test/gather/gatherers/stack-collector-test.js",
|
|
71
|
+
"core/test/gather/gatherers/start-url-test.js",
|
|
72
|
+
"core/test/gather/gatherers/trace-elements-test.js",
|
|
73
|
+
"core/test/gather/gatherers/viewport-dimensions-test.js",
|
|
74
|
+
"core/test/index-test.js",
|
|
75
|
+
"core/test/lib/arbitrary-equality-map-test.js",
|
|
76
|
+
"core/test/lib/asset-saver-test.js",
|
|
77
|
+
"core/test/lib/dependency-graph/base-node-test.js",
|
|
78
|
+
"core/test/lib/dependency-graph/simulator/connection-pool-test.js",
|
|
79
|
+
"core/test/lib/dependency-graph/simulator/dns-cache-test.js",
|
|
80
|
+
"core/test/lib/dependency-graph/simulator/network-analyzer-test.js",
|
|
81
|
+
"core/test/lib/dependency-graph/simulator/simulator-test.js",
|
|
82
|
+
"core/test/lib/emulation-test.js",
|
|
83
|
+
"core/test/lib/i18n/i18n-test.js",
|
|
84
|
+
"core/test/lib/icons-test.js",
|
|
85
|
+
"core/test/lib/lh-element-test.js",
|
|
86
|
+
"core/test/lib/manifest-parser-test.js",
|
|
87
|
+
"core/test/lib/median-run-test.js",
|
|
88
|
+
"core/test/lib/minification-estimator-test.js",
|
|
89
|
+
"core/test/lib/minify-devtoolslog-test.js",
|
|
90
|
+
"core/test/lib/minify-trace-test.js",
|
|
91
|
+
"core/test/lib/network-recorder-test.js",
|
|
92
|
+
"core/test/lib/network-request-test.js",
|
|
93
|
+
"core/test/lib/page-functions-test.js",
|
|
94
|
+
"core/test/lib/proto-preprocessor-test.js",
|
|
95
|
+
"core/test/lib/rect-helpers-test.js",
|
|
96
|
+
"core/test/lib/sd-validation-test.js",
|
|
97
|
+
"core/test/lib/sentry-test.js",
|
|
98
|
+
"core/test/lib/stack-packs-test.js",
|
|
99
|
+
"core/test/lib/statistics-test.js",
|
|
100
|
+
"core/test/lib/timing-trace-saver-test.js",
|
|
101
|
+
"core/test/lib/tracehouse/cpu-profile-model-test.js",
|
|
102
|
+
"core/test/lib/tracehouse/main-thread-tasks-test.js",
|
|
103
|
+
"core/test/lib/tracehouse/task-summary-test.js",
|
|
104
|
+
"core/test/lib/tracehouse/trace-processor-test.js",
|
|
105
|
+
"core/test/lib/traces/pwmetrics-events-test.js",
|
|
106
|
+
"core/test/lib/url-shim-test.js",
|
|
107
|
+
"core/test/network-records-to-devtools-log-test.js",
|
|
108
|
+
"core/test/runner-test.js",
|
|
109
|
+
"core/test/scoring-test.js",
|
|
110
|
+
"core/test/scripts/i18n/bake-ctc-to-lhl-test.js",
|
|
111
|
+
"core/test/scripts/i18n/collect-strings-test.js",
|
|
112
112
|
],
|
|
113
113
|
"files": [
|
|
114
114
|
// Opt-in to typechecking for some core tests and test-support files.
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
115
|
+
"core/test/audits/script-treemap-data-test.js",
|
|
116
|
+
"cli/test/fixtures/static-server.js",
|
|
117
|
+
"core/test/fixtures/config-plugins/lighthouse-plugin-simple/plugin-simple.js",
|
|
118
118
|
],
|
|
119
119
|
}
|
package/types/artifacts.d.ts
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
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
5
|
*/
|
|
6
6
|
|
|
7
|
-
import {parseManifest} from '../
|
|
8
|
-
import {Simulator} from '../
|
|
9
|
-
import {LighthouseError} from '../
|
|
10
|
-
import {NetworkRequest as _NetworkRequest} from '../
|
|
7
|
+
import {parseManifest} from '../core/lib/manifest-parser.js';
|
|
8
|
+
import {Simulator} from '../core/lib/dependency-graph/simulator/simulator.js';
|
|
9
|
+
import {LighthouseError} from '../core/lib/lh-error.js';
|
|
10
|
+
import {NetworkRequest as _NetworkRequest} from '../core/lib/network-request.js';
|
|
11
11
|
import speedline from 'speedline-core';
|
|
12
|
-
import TextSourceMap from '../
|
|
13
|
-
import {ArbitraryEqualityMap} from '../
|
|
14
|
-
import type { TaskNode as _TaskNode } from '../
|
|
12
|
+
import TextSourceMap from '../core/lib/cdt/generated/SourceMap.js';
|
|
13
|
+
import {ArbitraryEqualityMap} from '../core/lib/arbitrary-equality-map.js';
|
|
14
|
+
import type { TaskNode as _TaskNode } from '../core/lib/tracehouse/main-thread-tasks.js';
|
|
15
15
|
import AuditDetails from './lhr/audit-details'
|
|
16
16
|
import Config from './config';
|
|
17
17
|
import Gatherer from './gatherer';
|
package/types/audit.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
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
5
|
*/
|
|
6
6
|
|
|
7
|
-
import {ArbitraryEqualityMap} from '../
|
|
7
|
+
import {ArbitraryEqualityMap} from '../core/lib/arbitrary-equality-map.js';
|
|
8
8
|
import {Artifacts} from './artifacts';
|
|
9
9
|
import AuditDetails from './lhr/audit-details';
|
|
10
10
|
import Config from './config';
|
package/types/config.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* 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.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import {Audit} from '../
|
|
8
|
+
import {Audit} from '../core/audits/audit.js';
|
|
9
9
|
import {SharedFlagsSettings, ConfigSettings} from './lhr/settings';
|
|
10
10
|
import Gatherer from './gatherer';
|
|
11
11
|
import {IcuMessage} from './lhr/i18n';
|
package/types/gatherer.d.ts
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
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
5
|
*/
|
|
6
6
|
|
|
7
|
-
import {NetworkNode as _NetworkNode} from '../
|
|
8
|
-
import {CPUNode as _CPUNode} from '../
|
|
9
|
-
import {Simulator as _Simulator} from '../
|
|
10
|
-
import {Driver} from '../
|
|
11
|
-
import {ExecutionContext} from '../
|
|
12
|
-
import {Fetcher} from '../
|
|
13
|
-
import {ArbitraryEqualityMap} from '../
|
|
7
|
+
import {NetworkNode as _NetworkNode} from '../core/lib/dependency-graph/network-node';
|
|
8
|
+
import {CPUNode as _CPUNode} from '../core/lib/dependency-graph/cpu-node';
|
|
9
|
+
import {Simulator as _Simulator} from '../core/lib/dependency-graph/simulator/simulator';
|
|
10
|
+
import {Driver} from '../core/gather/driver';
|
|
11
|
+
import {ExecutionContext} from '../core/gather/driver/execution-context';
|
|
12
|
+
import {Fetcher} from '../core/gather/fetcher';
|
|
13
|
+
import {ArbitraryEqualityMap} from '../core/lib/arbitrary-equality-map';
|
|
14
14
|
|
|
15
15
|
import {Artifacts, BaseArtifacts, FRBaseArtifacts, GathererArtifacts} from './artifacts';
|
|
16
16
|
import Config from './config';
|
|
@@ -147,7 +147,7 @@ declare module Gatherer {
|
|
|
147
147
|
type AnyFRGathererInstance = FRGathererInstanceExpander<Gatherer.DependencyKey>
|
|
148
148
|
|
|
149
149
|
namespace Simulation {
|
|
150
|
-
type GraphNode = import('../
|
|
150
|
+
type GraphNode = import('../core/lib/dependency-graph/base-node').Node;
|
|
151
151
|
type GraphNetworkNode = _NetworkNode;
|
|
152
152
|
type GraphCPUNode = _CPUNode;
|
|
153
153
|
type Simulator = _Simulator;
|
package/types/global-lh.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
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
5
|
*/
|
|
6
6
|
|
|
7
|
-
import {ArbitraryEqualityMap as ArbitraryEqualityMap_} from '../
|
|
7
|
+
import {ArbitraryEqualityMap as ArbitraryEqualityMap_} from '../core/lib/arbitrary-equality-map.js';
|
|
8
8
|
import * as Artifacts_ from './artifacts';
|
|
9
9
|
import Audit_ from './audit';
|
|
10
10
|
import Budget_ from './lhr/budget';
|
|
@@ -14,7 +14,7 @@ import _CrdpMappings from 'devtools-protocol/types/protocol-mapping';
|
|
|
14
14
|
import * as Externs from './externs';
|
|
15
15
|
import Gatherer_ from './gatherer';
|
|
16
16
|
import * as I18n from './lhr/i18n';
|
|
17
|
-
import {LighthouseError as LighthouseError_} from '../
|
|
17
|
+
import {LighthouseError as LighthouseError_} from '../core/lib/lh-error.js';
|
|
18
18
|
import LHResult from './lhr/lhr';
|
|
19
19
|
import FlowResult_ from './lhr/flow';
|
|
20
20
|
import Protocol_ from './protocol';
|
package/types/user-flow.d.ts
CHANGED