lighthouse 9.5.0-dev.20220824 → 9.5.0-dev.20220827

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.
@@ -259,6 +259,10 @@ function pruneExpectations(localConsole, lhr, expected, reportOptions) {
259
259
  * @param {*} obj
260
260
  */
261
261
  function failsChromeVersionCheck(obj) {
262
+ // LHR never actually run, so we can't know. Better to not prune
263
+ // things than to fail loudly when accessing lhr.environment.
264
+ if (!lhr.environment) return false;
265
+
262
266
  return !chromiumVersionCheck({
263
267
  version: getChromeVersionString(),
264
268
  min: obj._minChromiumVersion,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lighthouse",
3
3
  "type": "module",
4
- "version": "9.5.0-dev.20220824",
4
+ "version": "9.5.0-dev.20220827",
5
5
  "description": "Automated auditing, performance metrics, and best practices for the web.",
6
6
  "main": "./core/index.js",
7
7
  "bin": {