lighthouse 10.2.0-dev.20230607 → 10.2.0-dev.20230608

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.
@@ -75,6 +75,7 @@ class InspectorIssues extends FRGatherer {
75
75
  quirksModeIssue: [],
76
76
  cookieIssue: [],
77
77
  sharedArrayBufferIssue: [],
78
+ stylesheetLoadingIssue: [],
78
79
  };
79
80
  const keys = /** @type {Array<keyof LH.Artifacts['InspectorIssues']>} */(Object.keys(artifact));
80
81
  for (const key of keys) {
@@ -705,7 +705,7 @@ class TraceProcessor {
705
705
  return Boolean(
706
706
  evt.name === 'FrameCommittedInBrowser' &&
707
707
  evt.args.data?.frame &&
708
- evt.args.data.url
708
+ evt.args.data.url !== undefined
709
709
  );
710
710
  }).forEach(evt => {
711
711
  framesById.set(evt.args.data.frame, {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lighthouse",
3
3
  "type": "module",
4
- "version": "10.2.0-dev.20230607",
4
+ "version": "10.2.0-dev.20230608",
5
5
  "description": "Automated auditing, performance metrics, and best practices for the web.",
6
6
  "main": "./core/index.js",
7
7
  "bin": {
@@ -191,7 +191,7 @@
191
191
  "chrome-launcher": "^0.15.2",
192
192
  "configstore": "^5.0.1",
193
193
  "csp_evaluator": "1.1.1",
194
- "devtools-protocol": "0.0.1130274",
194
+ "devtools-protocol": "0.0.1154250",
195
195
  "enquirer": "^2.3.6",
196
196
  "http-link-header": "^1.1.1",
197
197
  "intl-messageformat": "^4.4.0",
@@ -215,8 +215,8 @@
215
215
  "yargs-parser": "^21.0.0"
216
216
  },
217
217
  "resolutions": {
218
- "puppeteer/**/devtools-protocol": "0.0.1130274",
219
- "puppeteer-core/**/devtools-protocol": "0.0.1130274"
218
+ "puppeteer/**/devtools-protocol": "0.0.1154250",
219
+ "puppeteer-core/**/devtools-protocol": "0.0.1154250"
220
220
  },
221
221
  "repository": "GoogleChrome/lighthouse",
222
222
  "keywords": [
package/readme.md CHANGED
@@ -297,6 +297,12 @@ for more info.
297
297
  # lint and test all files
298
298
  yarn test
299
299
 
300
+ # run all unit tests
301
+ yarn unit
302
+
303
+ # run a given unit test (e.g. core/test/audits/byte-efficiency/uses-long-cache-ttl-test.js)
304
+ yarn mocha uses-long-cache-ttl
305
+
300
306
  # watch for file changes and run tests
301
307
  # Requires http://entrproject.org : brew install entr
302
308
  yarn watch
@@ -48,6 +48,7 @@ Array [
48
48
  "navigatorUserAgentIssueDetails",
49
49
  "quirksModeIssueDetails",
50
50
  "sharedArrayBufferIssueDetails",
51
+ "stylesheetLoadingIssueDetails",
51
52
  ]
52
53
  `);
53
54
  });
@@ -618,6 +618,7 @@ declare module Artifacts {
618
618
  quirksModeIssue: Crdp.Audits.QuirksModeIssueDetails[];
619
619
  cookieIssue: Crdp.Audits.CookieIssueDetails[];
620
620
  sharedArrayBufferIssue: Crdp.Audits.SharedArrayBufferIssueDetails[];
621
+ stylesheetLoadingIssue: Crdp.Audits.StylesheetLoadingIssueDetails[];
621
622
  }
622
623
 
623
624
  // Computed artifact types below.