sitespeed.io 27.2.0 → 27.3.0

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # CHANGELOG - sitespeed.io (we use [semantic versioning](https://semver.org))
2
2
 
3
+ ## 27.3.0 - 2023-04-11
4
+ ### Added
5
+ * Upgraded Firefox to 112 and added new Browsertime with updated HAR version.
6
+
7
+ ### Fixed
8
+ * Better handling if getting the HAR fails [#3810](https://github.com/sitespeedio/sitespeed.io/pull/3810).
3
9
  ## 27.2.0 - 2023-04-07
4
10
  ### Added
5
11
  * Updated Edge and Edgedriver to 112.
package/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM sitespeedio/webbrowsers:chrome-112.0-firefox-111.0-edge-112.0
1
+ FROM sitespeedio/webbrowsers:chrome-112.0-firefox-112.0-edge-112.0
2
2
 
3
3
  ARG TARGETPLATFORM=linux/amd64
4
4
 
@@ -267,7 +267,20 @@ export default class BrowsertimePlugin extends SitespeedioPlugin {
267
267
  url
268
268
  );
269
269
  }
270
- run.har = pickAPage(result.har, harIndex);
270
+ try {
271
+ run.har = pickAPage(result.har, harIndex);
272
+ } catch (harError) {
273
+ log.error('Couldnt get the right page for the HAR', harError);
274
+ super.sendMessage(
275
+ 'error',
276
+ 'Could not get the right page for the HAR, the page is missing',
277
+ {
278
+ url,
279
+ runIndex,
280
+ iteration: runIndex + 1
281
+ }
282
+ );
283
+ }
271
284
  } else {
272
285
  // If we do not have a HAR, use browser info from the result
273
286
  if (result.length > 0) {
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "sitespeed.io",
3
- "version": "27.2.0",
3
+ "version": "27.3.0",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "sitespeed.io",
9
- "version": "27.2.0",
9
+ "version": "27.3.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@google-cloud/storage": "6.9.4",
@@ -15,7 +15,7 @@
15
15
  "@tgwf/co2": "0.12.2",
16
16
  "aws-sdk": "2.1327.0",
17
17
  "axe-core": "4.6.3",
18
- "browsertime": "17.7.0",
18
+ "browsertime": "17.8.0",
19
19
  "cli-color": "2.0.3",
20
20
  "coach-core": "7.1.3",
21
21
  "concurrent-queue": "7.0.2",
@@ -1843,9 +1843,9 @@
1843
1843
  }
1844
1844
  },
1845
1845
  "node_modules/browsertime": {
1846
- "version": "17.7.0",
1847
- "resolved": "https://registry.npmjs.org/browsertime/-/browsertime-17.7.0.tgz",
1848
- "integrity": "sha512-R3YIU002RqQ24/Nz7yWEHhGT5dGcvEloEhfltMaSLrsdvW/jXMdv4TRg2/NuTzvgJILLLfDPpfBnJUbLD8v3PA==",
1846
+ "version": "17.8.0",
1847
+ "resolved": "https://registry.npmjs.org/browsertime/-/browsertime-17.8.0.tgz",
1848
+ "integrity": "sha512-NaS4b6a2bWMBGIFMW+u2Wj4Ic44qHv/5UoZXB5Ap/f9coTIeq27reDQlcziy4R1ncGD/s7rI93nyjPBiELLzFA==",
1849
1849
  "dependencies": {
1850
1850
  "@cypress/xvfb": "1.2.4",
1851
1851
  "@devicefarmer/adbkit": "2.11.3",
@@ -1860,7 +1860,7 @@
1860
1860
  "dayjs": "1.11.7",
1861
1861
  "execa": "7.0.0",
1862
1862
  "fast-stats": "0.0.6",
1863
- "ff-test-bidi-har-export": "0.0.6",
1863
+ "ff-test-bidi-har-export": "0.0.8",
1864
1864
  "find-up": "6.3.0",
1865
1865
  "get-port": "6.1.2",
1866
1866
  "hasbin": "1.2.3",
@@ -3832,9 +3832,9 @@
3832
3832
  }
3833
3833
  },
3834
3834
  "node_modules/ff-test-bidi-har-export": {
3835
- "version": "0.0.6",
3836
- "resolved": "https://registry.npmjs.org/ff-test-bidi-har-export/-/ff-test-bidi-har-export-0.0.6.tgz",
3837
- "integrity": "sha512-SVDfhXRAcW+mGZ7KSX6v49/SBDc4Xq1G6OkLz5BEt5WQdBkcM8cQILJaMhYZFgnnHuDN/5Z9YCDbzxL4DC8hHA=="
3835
+ "version": "0.0.8",
3836
+ "resolved": "https://registry.npmjs.org/ff-test-bidi-har-export/-/ff-test-bidi-har-export-0.0.8.tgz",
3837
+ "integrity": "sha512-9E9sbvVAdoQbeq1GfGvFKN7jLpl32NmG+P8hdbt6XZLqjJ120wH6FYDntBKfNhmfNM3KhIcz0D5K3Eynq74MNw=="
3838
3838
  },
3839
3839
  "node_modules/figures": {
3840
3840
  "version": "5.0.0",
@@ -10632,9 +10632,9 @@
10632
10632
  }
10633
10633
  },
10634
10634
  "browsertime": {
10635
- "version": "17.7.0",
10636
- "resolved": "https://registry.npmjs.org/browsertime/-/browsertime-17.7.0.tgz",
10637
- "integrity": "sha512-R3YIU002RqQ24/Nz7yWEHhGT5dGcvEloEhfltMaSLrsdvW/jXMdv4TRg2/NuTzvgJILLLfDPpfBnJUbLD8v3PA==",
10635
+ "version": "17.8.0",
10636
+ "resolved": "https://registry.npmjs.org/browsertime/-/browsertime-17.8.0.tgz",
10637
+ "integrity": "sha512-NaS4b6a2bWMBGIFMW+u2Wj4Ic44qHv/5UoZXB5Ap/f9coTIeq27reDQlcziy4R1ncGD/s7rI93nyjPBiELLzFA==",
10638
10638
  "requires": {
10639
10639
  "@cypress/xvfb": "1.2.4",
10640
10640
  "@devicefarmer/adbkit": "2.11.3",
@@ -10649,7 +10649,7 @@
10649
10649
  "dayjs": "1.11.7",
10650
10650
  "execa": "7.0.0",
10651
10651
  "fast-stats": "0.0.6",
10652
- "ff-test-bidi-har-export": "0.0.6",
10652
+ "ff-test-bidi-har-export": "0.0.8",
10653
10653
  "find-up": "6.3.0",
10654
10654
  "get-port": "6.1.2",
10655
10655
  "hasbin": "1.2.3",
@@ -12140,9 +12140,9 @@
12140
12140
  }
12141
12141
  },
12142
12142
  "ff-test-bidi-har-export": {
12143
- "version": "0.0.6",
12144
- "resolved": "https://registry.npmjs.org/ff-test-bidi-har-export/-/ff-test-bidi-har-export-0.0.6.tgz",
12145
- "integrity": "sha512-SVDfhXRAcW+mGZ7KSX6v49/SBDc4Xq1G6OkLz5BEt5WQdBkcM8cQILJaMhYZFgnnHuDN/5Z9YCDbzxL4DC8hHA=="
12143
+ "version": "0.0.8",
12144
+ "resolved": "https://registry.npmjs.org/ff-test-bidi-har-export/-/ff-test-bidi-har-export-0.0.8.tgz",
12145
+ "integrity": "sha512-9E9sbvVAdoQbeq1GfGvFKN7jLpl32NmG+P8hdbt6XZLqjJ120wH6FYDntBKfNhmfNM3KhIcz0D5K3Eynq74MNw=="
12146
12146
  },
12147
12147
  "figures": {
12148
12148
  "version": "5.0.0",
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "sitespeed.io": "./bin/sitespeed.js",
6
6
  "sitespeed.io-wpr": "./bin/browsertimeWebPageReplay.js"
7
7
  },
8
- "version": "27.2.0",
8
+ "version": "27.3.0",
9
9
  "description": "Analyze the web performance of your site",
10
10
  "keywords": [
11
11
  "performance",
@@ -83,7 +83,7 @@
83
83
  "@tgwf/co2": "0.12.2",
84
84
  "aws-sdk": "2.1327.0",
85
85
  "axe-core": "4.6.3",
86
- "browsertime": "17.7.0",
86
+ "browsertime": "17.8.0",
87
87
  "coach-core": "7.1.3",
88
88
  "cli-color": "2.0.3",
89
89
  "concurrent-queue": "7.0.2",