lighthouse 9.2.0-dev.20220121 → 9.2.0-dev.20220125

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.
@@ -24,7 +24,6 @@ import url from 'url';
24
24
  import module from 'module';
25
25
 
26
26
  import log from 'lighthouse-logger';
27
- import updateNotifier from 'update-notifier';
28
27
 
29
28
  import * as commands from './commands/commands.js';
30
29
  import * as Printer from './printer.js';
@@ -51,9 +50,6 @@ function isDev() {
51
50
  * @return {Promise<LH.RunnerResult|void>}
52
51
  */
53
52
  async function begin() {
54
- // Tell user if there's a newer version of LH.
55
- updateNotifier({pkg}).notify();
56
-
57
53
  const cliFlags = getFlags();
58
54
 
59
55
  // Process terminating command
@@ -75,14 +75,11 @@ class InspectorIssues extends FRGatherer {
75
75
  sameSiteCookieIssue: [],
76
76
  sharedArrayBufferIssue: [],
77
77
  twaQualityEnforcement: [],
78
- wasmCrossOriginModuleSharingIssue: [],
79
78
  };
80
79
  const keys = /** @type {Array<keyof LH.Artifacts['InspectorIssues']>} */(Object.keys(artifact));
81
80
  for (const key of keys) {
82
- // The wasmCrossOriginModuleSharingIssue key doesn't follow the pattern of the rest. See
83
- // https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/browser_protocol.pdl;l=811;drc=9c10bf258928b5d169ba6a449f8f33958f7947ea
84
- /** @type {`${key}Details` | `wasmCrossOriginModuleSharingIssue`} */
85
- const detailsKey = (key === 'wasmCrossOriginModuleSharingIssue' ? `${key}` : `${key}Details`);
81
+ /** @type {`${key}Details`} */
82
+ const detailsKey = `${key}Details`;
86
83
  const allDetails = this._issues.map(issue => issue.details[detailsKey]);
87
84
  for (const detail of allDetails) {
88
85
  if (!detail) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lighthouse",
3
- "version": "9.2.0-dev.20220121",
3
+ "version": "9.2.0-dev.20220125",
4
4
  "description": "Automated auditing, performance metrics, and best practices for the web.",
5
5
  "main": "./lighthouse-core/index.js",
6
6
  "bin": {
@@ -125,7 +125,6 @@
125
125
  "@types/resize-observer-browser": "^0.1.1",
126
126
  "@types/semver": "^5.5.0",
127
127
  "@types/tabulator-tables": "^4.9.1",
128
- "@types/update-notifier": "^4.1.0",
129
128
  "@types/ws": "^7.0.0",
130
129
  "@types/yargs": "^16.0.0",
131
130
  "@types/yargs-parser": "^15.0.0",
@@ -142,7 +141,7 @@
142
141
  "cpy": "^8.1.2",
143
142
  "cross-env": "^7.0.2",
144
143
  "csv-validator": "^0.0.3",
145
- "devtools-protocol": "0.0.957544",
144
+ "devtools-protocol": "0.0.963043",
146
145
  "es-main": "^1.0.2",
147
146
  "eslint": "^8.4.1",
148
147
  "eslint-config-google": "^0.14.0",
@@ -210,13 +209,12 @@
210
209
  "semver": "^5.3.0",
211
210
  "speedline-core": "^1.4.3",
212
211
  "third-party-web": "^0.12.7",
213
- "update-notifier": "^4.1.0",
214
212
  "ws": "^7.0.0",
215
213
  "yargs": "^16.1.1",
216
214
  "yargs-parser": "^20.2.4"
217
215
  },
218
216
  "resolutions": {
219
- "puppeteer/**/devtools-protocol": "0.0.957544"
217
+ "puppeteer/**/devtools-protocol": "0.0.963043"
220
218
  },
221
219
  "repository": "GoogleChrome/lighthouse",
222
220
  "keywords": [
@@ -49,7 +49,6 @@ Array [
49
49
  "sameSiteCookieIssueDetails",
50
50
  "sharedArrayBufferIssueDetails",
51
51
  "twaQualityEnforcementDetails",
52
- "wasmCrossOriginModuleSharingIssue",
53
52
  ]
54
53
  `);
55
54
  });
@@ -568,7 +568,6 @@ declare module Artifacts {
568
568
  sameSiteCookieIssue: LH.Crdp.Audits.SameSiteCookieIssueDetails[];
569
569
  sharedArrayBufferIssue: LH.Crdp.Audits.SharedArrayBufferIssueDetails[];
570
570
  twaQualityEnforcement: LH.Crdp.Audits.TrustedWebActivityIssueDetails[];
571
- wasmCrossOriginModuleSharingIssue: LH.Crdp.Audits.WasmCrossOriginModuleSharingIssueDetails[];
572
571
  }
573
572
 
574
573
  // Computed artifact types below.