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.
- package/CONTRIBUTING.md +1 -1
- package/changelog.md +5902 -0
- package/cli/test/smokehouse/core-tests.js +2 -3
- package/cli/test/smokehouse/lighthouse-runners/bundle.js +1 -1
- package/core/gather/driver/execution-context.js +1 -1
- package/core/gather/gatherers/accessibility.js +1 -1
- package/core/gather/gatherers/anchor-elements.js +2 -2
- package/core/gather/gatherers/dobetterweb/domstats.js +1 -1
- package/core/gather/gatherers/dobetterweb/password-inputs-with-prevented-paste.js +1 -1
- package/core/gather/gatherers/full-page-screenshot.js +1 -1
- package/core/gather/gatherers/iframe-elements.js +3 -3
- package/core/gather/gatherers/image-elements.js +3 -3
- package/core/gather/gatherers/inputs.js +2 -2
- package/core/gather/gatherers/link-elements.js +1 -1
- package/core/gather/gatherers/meta-elements.js +1 -1
- package/core/gather/gatherers/script-elements.js +1 -1
- package/core/gather/gatherers/seo/embedded-content.js +1 -1
- package/core/gather/gatherers/seo/font-size.js +1 -1
- package/core/gather/gatherers/seo/tap-targets.js +1 -1
- package/core/gather/gatherers/trace-elements.js +1 -1
- package/core/index.js +4 -4
- package/core/{config → legacy/config}/config.js +7 -7
- package/core/{config → legacy/config}/legacy-default-config.js +1 -1
- package/core/{gather → legacy/gather}/connections/connection.js +1 -1
- package/core/{gather → legacy/gather}/connections/cri.js +1 -1
- package/core/{gather → legacy/gather}/connections/raw.js +0 -0
- package/core/{gather → legacy/gather}/driver.js +7 -7
- package/core/{gather → legacy/gather}/gather-runner.js +19 -19
- package/core/lib/page-functions.js +11 -18
- package/core/runner.js +5 -4
- package/dist/report/flow.js +11 -11
- package/package.json +2 -2
- package/tsconfig.json +1 -1
- package/types/gatherer.d.ts +1 -1
- package/lol.report.json +0 -5856
- package/shared/localization/locales/en-US.ctc.json +0 -8059
- 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/
|
|
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*.
|