lighthouse 9.5.0-dev.20220907-2 → 9.5.0-dev.20220910

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 (37) hide show
  1. package/CONTRIBUTING.md +1 -1
  2. package/changelog.md +5902 -0
  3. package/cli/test/smokehouse/core-tests.js +2 -3
  4. package/cli/test/smokehouse/lighthouse-runners/bundle.js +1 -1
  5. package/core/gather/driver/execution-context.js +1 -1
  6. package/core/gather/gatherers/accessibility.js +1 -1
  7. package/core/gather/gatherers/anchor-elements.js +2 -2
  8. package/core/gather/gatherers/dobetterweb/domstats.js +1 -1
  9. package/core/gather/gatherers/dobetterweb/password-inputs-with-prevented-paste.js +1 -1
  10. package/core/gather/gatherers/full-page-screenshot.js +1 -1
  11. package/core/gather/gatherers/iframe-elements.js +3 -3
  12. package/core/gather/gatherers/image-elements.js +3 -3
  13. package/core/gather/gatherers/inputs.js +2 -2
  14. package/core/gather/gatherers/link-elements.js +1 -1
  15. package/core/gather/gatherers/meta-elements.js +1 -1
  16. package/core/gather/gatherers/script-elements.js +1 -1
  17. package/core/gather/gatherers/seo/embedded-content.js +1 -1
  18. package/core/gather/gatherers/seo/font-size.js +1 -1
  19. package/core/gather/gatherers/seo/tap-targets.js +1 -1
  20. package/core/gather/gatherers/trace-elements.js +1 -1
  21. package/core/index.js +4 -4
  22. package/core/{config → legacy/config}/config.js +7 -7
  23. package/core/{config → legacy/config}/legacy-default-config.js +1 -1
  24. package/core/{gather → legacy/gather}/connections/connection.js +1 -1
  25. package/core/{gather → legacy/gather}/connections/cri.js +1 -1
  26. package/core/{gather → legacy/gather}/connections/raw.js +0 -0
  27. package/core/{gather → legacy/gather}/driver.js +7 -7
  28. package/core/{gather → legacy/gather}/gather-runner.js +19 -19
  29. package/core/lib/page-functions.js +11 -18
  30. package/core/runner.js +5 -4
  31. package/dist/report/flow.js +11 -11
  32. package/package.json +2 -2
  33. package/tsconfig.json +1 -1
  34. package/types/gatherer.d.ts +1 -1
  35. package/lol.report.json +0 -5856
  36. package/shared/localization/locales/en-US.ctc.json +0 -8059
  37. package/shared/localization/locales/en-XL.ctc.json +0 -8036
package/CONTRIBUTING.md CHANGED
@@ -128,7 +128,7 @@ accept your pull requests.
128
128
 
129
129
  ## Tracking Errors
130
130
 
131
- We track our errors in the wild with Sentry. In general, do not worry about wrapping your audits or gatherers in try/catch blocks and reporting every error that could possibly occur; `core/runner.js` and `core/gather/gather-runner.js` already catch and report any errors that occur while running a gatherer or audit, including errors fatal to the entire run. However, there are some situations when you might want to explicitly handle an error and report it to Sentry or wrap it to avoid reporting. Generally, you can interact with Sentry simply by requiring the `core/lib/sentry.js` file and call its methods. The module exports a delegate that will correctly handle the error reporting based on the user's opt-in preference and will simply no-op if they haven't so you don't need to check.
131
+ We track our errors in the wild with Sentry. In general, do not worry about wrapping your audits or gatherers in try/catch blocks and reporting every error that could possibly occur; `core/runner.js` and `core/fraggle-rock/gather/*-runner.js` already catch and report any errors that occur while running a gatherer or audit, including errors fatal to the entire run. However, there are some situations when you might want to explicitly handle an error and report it to Sentry or wrap it to avoid reporting. Generally, you can interact with Sentry simply by requiring the `core/lib/sentry.js` file and call its methods. The module exports a delegate that will correctly handle the error reporting based on the user's opt-in preference and will simply no-op if they haven't so you don't need to check.
132
132
 
133
133
 
134
134
  #### If you have an expected error that is recoverable but want to track how frequently it happens, *use Sentry.captureException*.