lighthouse 10.0.2-dev.20230312 → 10.0.2-dev.20230314

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/cli/bin.js CHANGED
@@ -115,7 +115,7 @@ async function begin() {
115
115
  }
116
116
 
117
117
  // By default, cliFlags.enableErrorReporting is undefined so the user is
118
- // prompted. This can be overriden with an explicit flag or by the cached
118
+ // prompted. This can be overridden with an explicit flag or by the cached
119
119
  // answer returned by askPermission().
120
120
  if (typeof cliFlags.enableErrorReporting === 'undefined') {
121
121
  cliFlags.enableErrorReporting = await askPermission();
@@ -81,7 +81,7 @@ class Audit {
81
81
  * @return {LH.Audit.Product|Promise<LH.Audit.Product>}
82
82
  */
83
83
  static audit(artifacts, context) {
84
- throw new Error('audit() method must be overriden');
84
+ throw new Error('audit() method must be overridden');
85
85
  }
86
86
 
87
87
  /* eslint-enable no-unused-vars */
@@ -57,7 +57,7 @@ export namespace UIStrings {
57
57
  * If `locale` isn't provided or one could not be found, DEFAULT_LOCALE is returned.
58
58
  *
59
59
  * By default any of the locales Lighthouse has strings for can be returned, but this
60
- * can be overriden with `possibleLocales`, useful e.g. when Lighthouse is bundled and
60
+ * can be overridden with `possibleLocales`, useful e.g. when Lighthouse is bundled and
61
61
  * only DEFAULT_LOCALE is available, but `possibleLocales` can be used to select a
62
62
  * locale available to be downloaded on demand.
63
63
  * @param {string|string[]=} locales
@@ -123,7 +123,7 @@ const UIStrings = {
123
123
  * If `locale` isn't provided or one could not be found, DEFAULT_LOCALE is returned.
124
124
  *
125
125
  * By default any of the locales Lighthouse has strings for can be returned, but this
126
- * can be overriden with `possibleLocales`, useful e.g. when Lighthouse is bundled and
126
+ * can be overridden with `possibleLocales`, useful e.g. when Lighthouse is bundled and
127
127
  * only DEFAULT_LOCALE is available, but `possibleLocales` can be used to select a
128
128
  * locale available to be downloaded on demand.
129
129
  * @param {string|string[]=} locales
@@ -225,7 +225,7 @@ class NetworkRequest {
225
225
  this.isSecure = UrlUtils.isSecureScheme(this.parsedURL.scheme);
226
226
 
227
227
  this.rendererStartTime = data.timestamp * 1000;
228
- // Expected to be overriden with better value in `_recomputeTimesWithResourceTiming`.
228
+ // Expected to be overridden with better value in `_recomputeTimesWithResourceTiming`.
229
229
  this.networkRequestTime = this.rendererStartTime;
230
230
 
231
231
  this.requestMethod = data.request.method;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lighthouse",
3
3
  "type": "module",
4
- "version": "10.0.2-dev.20230312",
4
+ "version": "10.0.2-dev.20230314",
5
5
  "description": "Automated auditing, performance metrics, and best practices for the web.",
6
6
  "main": "./core/index.js",
7
7
  "bin": {
@@ -160,7 +160,7 @@
160
160
  "jest-snapshot": "^28.1.0",
161
161
  "jsdom": "^12.2.0",
162
162
  "lighthouse-plugin-publisher-ads": "1.5.7-beta",
163
- "lighthouse-plugin-soft-navigation": "^1.0.0",
163
+ "lighthouse-plugin-soft-navigation": "^1.0.1",
164
164
  "magic-string": "^0.25.7",
165
165
  "mime-types": "^2.1.30",
166
166
  "mocha": "^10.0.0",
@@ -151,7 +151,7 @@ export interface GathererArtifacts extends PublicGathererArtifacts,LegacyBaseArt
151
151
  /** Errors preventing page being installable as PWA. */
152
152
  InstallabilityErrors: Artifacts.InstallabilityErrors;
153
153
  /** JS coverage information for code used during audit. Keyed by script id. */
154
- // 'url' is excluded because it can be overriden by a magic sourceURL= comment, which makes keeping it a dangerous footgun!
154
+ // 'url' is excluded because it can be overridden by a magic sourceURL= comment, which makes keeping it a dangerous footgun!
155
155
  JsUsage: Record<string, Omit<Crdp.Profiler.ScriptCoverage, 'url'>>;
156
156
  /** Parsed version of the page's Web App Manifest, or null if none found. */
157
157
  Manifest: Artifacts.Manifest | null;