lighthouse 12.0.0-dev.20240430 → 12.0.0-dev.20240502

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.
@@ -46,7 +46,7 @@ export class NetworkRequest<T = any> {
46
46
  record?: T;
47
47
 
48
48
  requestId: string;
49
- connectionId: string;
49
+ connectionId: number;
50
50
  connectionReused: boolean;
51
51
  url: string;
52
52
  protocol: string;
@@ -89,7 +89,7 @@ export class NetworkRequest {
89
89
  */
90
90
  static getResourceSizeOnNetwork(networkRecord: NetworkRequest): number;
91
91
  requestId: string;
92
- connectionId: string;
92
+ connectionId: number;
93
93
  connectionReused: boolean;
94
94
  url: string;
95
95
  protocol: string;
@@ -112,7 +112,7 @@ const RESOURCE_TYPES = {
112
112
  class NetworkRequest {
113
113
  constructor() {
114
114
  this.requestId = '';
115
- this.connectionId = '0';
115
+ this.connectionId = 0;
116
116
  this.connectionReused = false;
117
117
 
118
118
  this.url = '';
@@ -344,7 +344,7 @@ class NetworkRequest {
344
344
  _onResponse(response, timestamp, resourceType) {
345
345
  this.url = response.url;
346
346
 
347
- this.connectionId = String(response.connectionId);
347
+ this.connectionId = response.connectionId;
348
348
  this.connectionReused = response.connectionReused;
349
349
 
350
350
  if (response.protocol) this.protocol = response.protocol;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lighthouse",
3
3
  "type": "module",
4
- "version": "12.0.0-dev.20240430",
4
+ "version": "12.0.0-dev.20240502",
5
5
  "description": "Automated auditing, performance metrics, and best practices for the web.",
6
6
  "main": "./core/index.js",
7
7
  "bin": {