lighthouse 10.1.1-dev.20230423 → 10.1.1-dev.20230424

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.
@@ -85,7 +85,6 @@ class EntityClassification {
85
85
  */
86
86
  function isFirstParty(url) {
87
87
  const entityUrl = entityByUrl.get(url);
88
- if (!entityUrl) throw new Error('A url not in devtoolsLog was used for first-party check.');
89
88
  return entityUrl === firstParty;
90
89
  }
91
90
 
@@ -353,7 +353,7 @@ async function navigationGather(page, requestor, options = {}) {
353
353
  // therefore we connect to the browser in the gatherFn callback.
354
354
  if (!page) {
355
355
  const {hostname = DEFAULT_HOSTNAME, port = DEFAULT_PORT} = flags;
356
- lhBrowser = await puppeteer.connect({browserURL: `http://${hostname}:${port}`});
356
+ lhBrowser = await puppeteer.connect({browserURL: `http://${hostname}:${port}`, defaultViewport: null});
357
357
  lhPage = await lhBrowser.newPage();
358
358
  page = lhPage;
359
359
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lighthouse",
3
3
  "type": "module",
4
- "version": "10.1.1-dev.20230423",
4
+ "version": "10.1.1-dev.20230424",
5
5
  "description": "Automated auditing, performance metrics, and best practices for the web.",
6
6
  "main": "./core/index.js",
7
7
  "bin": {
@@ -113,6 +113,7 @@
113
113
  "@types/chrome": "^0.0.154",
114
114
  "@types/configstore": "^4.0.0",
115
115
  "@types/cpy": "^5.1.0",
116
+ "@types/debug": "^4.1.7",
116
117
  "@types/eslint": "^8.2.1",
117
118
  "@types/estree": "^0.0.50",
118
119
  "@types/gh-pages": "^2.0.0",
@@ -168,7 +169,7 @@
168
169
  "pako": "^2.0.3",
169
170
  "preact": "^10.7.2",
170
171
  "pretty-json-stringify": "^0.0.2",
171
- "puppeteer": "^19.6.0",
172
+ "puppeteer": "^19.11.0",
172
173
  "resolve": "^1.20.0",
173
174
  "rollup": "^2.52.7",
174
175
  "rollup-plugin-node-resolve": "^5.2.0",
@@ -204,7 +205,7 @@
204
205
  "open": "^8.4.0",
205
206
  "parse-cache-control": "1.0.1",
206
207
  "ps-list": "^8.0.0",
207
- "puppeteer-core": "^19.6.0",
208
+ "puppeteer-core": "^19.11.0",
208
209
  "robots-parser": "^3.0.0",
209
210
  "semver": "^5.3.0",
210
211
  "speedline-core": "^1.4.3",