browsertime 14.9.0 → 14.10.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,8 @@
1
1
  # Browsertime changelog (we do [semantic versioning](https://semver.org))
2
2
 
3
+ ## 14.10.0 - 2021-11-16
4
+ ### Added
5
+ * Updated to Chromedriver 96 and Chrome 96 in the Docker container [#1670](https://github.com/sitespeedio/browsertime/pull/1670).
3
6
 
4
7
  ## 14.9.0 - 2021-11-07
5
8
  ### Added
@@ -10,8 +10,12 @@ module.exports = async function (runner, includeResponseBodies) {
10
10
  async function triggerExport() {
11
11
  try {
12
12
  const result = await HAR.triggerExport();
13
- result.pages[0].title = document.URL;
14
- return callback({'har': {log: result}});
13
+ if (result.pages.length > 0) {
14
+ result.pages[0].title = document.URL;
15
+ return callback({'har': {log: result}});
16
+ } else {
17
+ return callback({'error': 'The HAR export trigger returned an empty HAR' + JSON.stringify(result)});
18
+ }
15
19
  }
16
20
  catch(e) {
17
21
  // Sometimes the HAR trigger is really slow so then HAR is not defined.
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "description": "Browsertime",
3
- "version": "14.9.0",
3
+ "version": "14.10.0",
4
4
  "bin": "./bin/browsertime.js",
5
5
  "dependencies": {
6
6
  "@sitespeed.io/throttle": "3.0.0",
7
7
  "@devicefarmer/adbkit": "2.11.3",
8
8
  "btoa": "1.2.1",
9
- "@sitespeed.io/chromedriver": "95.0.4638-17",
9
+ "@sitespeed.io/chromedriver": "96.0.4664-35",
10
10
  "chrome-har": "0.12.0",
11
11
  "chrome-remote-interface": "0.31.0",
12
- "dayjs": "1.10.5",
12
+ "dayjs": "1.10.7",
13
13
  "execa": "5.1.1",
14
14
  "fast-stats": "0.0.6",
15
15
  "find-up": "5.0.0",