lighthouse 9.5.0 → 9.6.1

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 (62) hide show
  1. package/changelog.md +70 -0
  2. package/dist/report/bundle.esm.js +23 -366
  3. package/dist/report/flow.js +20 -25
  4. package/dist/report/standalone.js +17 -22
  5. package/lighthouse-cli/test/smokehouse/core-tests.js +2 -0
  6. package/lighthouse-cli/test/smokehouse/frontends/lib.js +1 -3
  7. package/lighthouse-cli/test/smokehouse/frontends/smokehouse-bin.js +1 -3
  8. package/lighthouse-cli/test/smokehouse/lighthouse-runners/cli.js +1 -0
  9. package/lighthouse-cli/test/smokehouse/readme.md +5 -4
  10. package/lighthouse-cli/test/smokehouse/report-assert.js +16 -13
  11. package/lighthouse-cli/test/smokehouse/version-check-test.js +46 -0
  12. package/lighthouse-cli/test/smokehouse/version-check.js +49 -0
  13. package/lighthouse-core/audits/bootup-time.js +2 -70
  14. package/lighthouse-core/audits/byte-efficiency/duplicated-javascript.js +3 -5
  15. package/lighthouse-core/audits/byte-efficiency/legacy-javascript.js +2 -5
  16. package/lighthouse-core/audits/byte-efficiency/unminified-javascript.js +4 -2
  17. package/lighthouse-core/audits/byte-efficiency/unused-javascript.js +3 -1
  18. package/lighthouse-core/audits/deprecations.js +603 -28
  19. package/lighthouse-core/audits/installable-manifest.js +27 -6
  20. package/lighthouse-core/audits/long-tasks.js +3 -3
  21. package/lighthouse-core/audits/metrics/experimental-interaction-to-next-paint.js +88 -0
  22. package/lighthouse-core/audits/third-party-summary.js +3 -3
  23. package/lighthouse-core/audits/work-during-interaction.js +280 -0
  24. package/lighthouse-core/computed/metrics/responsiveness.js +157 -0
  25. package/lighthouse-core/config/config-helpers.js +1 -1
  26. package/lighthouse-core/config/metrics-to-audits.js +5 -0
  27. package/lighthouse-core/fraggle-rock/config/default-config.js +9 -1
  28. package/lighthouse-core/fraggle-rock/gather/base-artifacts.js +2 -2
  29. package/lighthouse-core/fraggle-rock/gather/session.js +8 -2
  30. package/lighthouse-core/gather/gather-runner.js +2 -4
  31. package/lighthouse-core/gather/gatherers/css-usage.js +59 -34
  32. package/lighthouse-core/gather/gatherers/trace-elements.js +21 -2
  33. package/lighthouse-core/lib/arbitrary-equality-map.js +2 -2
  34. package/lighthouse-core/lib/i18n/i18n.js +2 -0
  35. package/lighthouse-core/lib/minify-trace.js +2 -0
  36. package/lighthouse-core/lib/script-helpers.js +24 -0
  37. package/lighthouse-core/lib/stack-packs.js +8 -5
  38. package/lighthouse-core/lib/tracehouse/task-groups.js +1 -0
  39. package/lighthouse-core/lib/tracehouse/task-summary.js +87 -0
  40. package/lighthouse-core/lib/tracehouse/trace-processor.js +39 -14
  41. package/lighthouse-core/runner.js +1 -1
  42. package/package.json +10 -8
  43. package/report/assets/styles.css +5 -2
  44. package/report/clients/bundle.js +1 -0
  45. package/report/renderer/components.js +1 -1
  46. package/report/renderer/details-renderer.js +4 -4
  47. package/report/renderer/performance-category-renderer.js +15 -11
  48. package/report/test/renderer/__snapshots__/report-renderer-axe-test.js.snap +6 -98
  49. package/report/test/renderer/details-renderer-test.js +9 -9
  50. package/report/test/renderer/performance-category-renderer-test.js +31 -0
  51. package/report/test/renderer/report-renderer-axe-test.js +3 -15
  52. package/report/test-assets/faux-psi-template.html +3 -2
  53. package/report/test-assets/faux-psi.js +22 -1
  54. package/shared/localization/locales/en-US.json +244 -4
  55. package/shared/localization/locales/en-XL.json +244 -4
  56. package/shared/localization/swap-locale.js +2 -1
  57. package/third-party/chromium-synchronization/installability-errors-test.js +1 -0
  58. package/third-party/snyk/snapshot.json +2 -3
  59. package/tsconfig.json +1 -0
  60. package/types/artifacts.d.ts +40 -1
  61. package/types/lhr/audit-details.d.ts +3 -1
  62. package/types/smokehouse.d.ts +1 -1
package/changelog.md CHANGED
@@ -1,3 +1,73 @@
1
+ <a name="9.6.1"></a>
2
+ # 9.6.1 (2022-05-11)
3
+ [Full Changelog](https://github.com/compare/v9.6.0...v9.6.1)
4
+
5
+ We expect this release to ship in the DevTools of [Chrome 103](https://chromiumdash.appspot.com/schedule), and to PageSpeed Insights within 2 weeks.
6
+
7
+ ## Core
8
+
9
+ * fps: run at the end of timespan/snapshot ([#13989](https://github.com/GoogleChrome/lighthouse/pull/13989))
10
+ * responsiveness: add element screenshot to INP diagnostic ([#13984](https://github.com/GoogleChrome/lighthouse/pull/13984))
11
+ * responsiveness: add better INP fallback for old Chrome versions ([#13985](https://github.com/GoogleChrome/lighthouse/pull/13985))
12
+
13
+ ## Report
14
+
15
+ * devtools: use absolute positioning for overlay ([#13988](https://github.com/GoogleChrome/lighthouse/pull/13988))
16
+
17
+ ## Tests
18
+
19
+ * use origin-agent-cluster to actually test oopifs ([#13777](https://github.com/GoogleChrome/lighthouse/pull/13777))
20
+
21
+ <a name="9.6.0"></a>
22
+ # 9.6.0 (2022-05-09)
23
+ [Full Changelog](https://github.com/compare/v9.5.0...v9.6.0)
24
+
25
+ We expect this release to ship in the DevTools of [Chrome 103](https://chromiumdash.appspot.com/schedule), and to PageSpeed Insights within 2 weeks.
26
+
27
+ ## New Audits
28
+
29
+ * The new performance metric [Interaction to Next Paint (INP)](https://web.dev/inp/) assesses responsiveness by measuring the latency of interactions throughout the page lifecycle. INP can be measured using Lighthouse timespan mode accessible through [user flows](https://github.com/GoogleChrome/lighthouse/blob/master/docs/user-flows.md) or the [new DevTools panel](https://developer.chrome.com/blog/new-in-devtools-101/#lighthouse). ([#13917](https://github.com/GoogleChrome/lighthouse/pull/13917))
30
+
31
+ ## Core
32
+
33
+ * extract BootupTime task summary methods ([#13971](https://github.com/GoogleChrome/lighthouse/pull/13971))
34
+ * css-usage: fetch stylesheet contents immediately after discovery ([#13887](https://github.com/GoogleChrome/lighthouse/pull/13887))
35
+ * installability-errors: add url scheme error ([#13846](https://github.com/GoogleChrome/lighthouse/pull/13846))
36
+ * installable-manifest: always run `InstallabilityErrors` in legacy mode ([#13622](https://github.com/GoogleChrome/lighthouse/pull/13622))
37
+ * responsiveness: use new EventTiming trace event format ([#13979](https://github.com/GoogleChrome/lighthouse/pull/13979))
38
+ * responsiveness: use raw trace event ([#13970](https://github.com/GoogleChrome/lighthouse/pull/13970))
39
+ * trace: use tracing-started event for frame tree info ([#13913](https://github.com/GoogleChrome/lighthouse/pull/13913))
40
+ * trace: add PrePaint event, renamed from UpdateLayerTree ([#13950](https://github.com/GoogleChrome/lighthouse/pull/13950))
41
+ * trace-processor: ignore `navigationStart` with falsy document url ([#13848](https://github.com/GoogleChrome/lighthouse/pull/13848))
42
+ * resolve redirected script records ([#13751](https://github.com/GoogleChrome/lighthouse/pull/13751))
43
+ * deprecations: drop compat for ConsoleMessages ([#13893](https://github.com/GoogleChrome/lighthouse/pull/13893))
44
+ * deprecations: hard-code english strings ([#13961](https://github.com/GoogleChrome/lighthouse/pull/13961))
45
+
46
+ ## Report
47
+
48
+ * hide disclaimer text in timespan ([#13931](https://github.com/GoogleChrome/lighthouse/pull/13931))
49
+ * psi: stub out locale swapping ([#13885](https://github.com/GoogleChrome/lighthouse/pull/13885))
50
+ * report: render notApplicable metrics with double dash ([#13981](https://github.com/GoogleChrome/lighthouse/pull/13981))
51
+
52
+ ## Deps
53
+
54
+ * upgrade third-party-web ([#13873](https://github.com/GoogleChrome/lighthouse/pull/13873))
55
+ * update to third-party-web 0.15.0 ([#13804](https://github.com/GoogleChrome/lighthouse/pull/13804))
56
+ * axe-core: upgrade to 4.4.1 ([#13814](https://github.com/GoogleChrome/lighthouse/pull/13814))
57
+ * js-library-detector: upgrade to 6.5.0 ([#13969](https://github.com/GoogleChrome/lighthouse/pull/13969))
58
+ * lighthouse-stack-packs: upgrade to 1.8.1 ([#13862](https://github.com/GoogleChrome/lighthouse/pull/13862))
59
+ * snyk: update snyk snapshot ([#13823](https://github.com/GoogleChrome/lighthouse/pull/13823), [#13880](https://github.com/GoogleChrome/lighthouse/pull/13880))
60
+ * lodash: use individual lodash modules to reduce bundle size ([#13914](https://github.com/GoogleChrome/lighthouse/pull/13914))
61
+ * puppeteer: upgrade to 13.7.0 ([#13657](https://github.com/GoogleChrome/lighthouse/pull/13657))
62
+
63
+ ## Tests
64
+
65
+ * upgrade devtools web tests deps, use python3 ([#13782](https://github.com/GoogleChrome/lighthouse/pull/13782))
66
+ * update create-test-trace utility ([#13942](https://github.com/GoogleChrome/lighthouse/pull/13942))
67
+ * rebaseline webtests ([#13963](https://github.com/GoogleChrome/lighthouse/pull/13963))
68
+ * smoke: remove old chrome version checks ([#13903](https://github.com/GoogleChrome/lighthouse/pull/13903))
69
+ * smoke: support full chrome version for pruning ([#13896](https://github.com/GoogleChrome/lighthouse/pull/13896))
70
+
1
71
  <a name="9.5.0"></a>
2
72
  # 9.5.0 (2022-03-09)
3
73
  [Full Changelog](https://github.com/compare/v9.4.0...v9.5.0)