browsertime 17.11.0 → 17.11.2

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,6 +1,15 @@
1
1
  # Browsertime changelog (we do [semantic versioning](https://semver.org))
2
2
 
3
- ## 17.11.2 - 2022-06-01
3
+ ## 17.11.1 - 2022-06-19
4
+ ### Fixed
5
+ * Fix --debug mode. Thank you [Gregory Mierzwinski](https://github.com/gmierz) for PR [#1959](https://github.com/sitespeedio/browsertime/pull/1959).
6
+ * Update ff-test-bidi-har-export to 0.0.11 that fixes some error logs [#1961](https://github.com/sitespeedio/browsertime/pull/1961).
7
+
8
+ ## 17.11.0 - 2022-06-12
9
+ ### Fixed
10
+ * If Chrome do not collect largest contentful paint, log that instead of just log null [#1957](https://github.com/sitespeedio/browsertime/pull/1957).
11
+
12
+ ## 17.11.0 - 2022-06-01
4
13
  ### Fixed
5
14
  * Fixed broken Docker auto build that skipped adding Docker manifest file.
6
15
 
@@ -34,6 +34,8 @@ return (function(color) {
34
34
  } else {
35
35
  return 'No element attached to the entry in largest-contentful-paint';
36
36
  }
37
+ } else {
38
+ return 'Chrome did not report any largest-contentful-paint';
37
39
  }
38
40
  })(arguments[arguments.length - 1]);
39
41
  `;
@@ -63,6 +63,11 @@ function validateInput(argv) {
63
63
  }
64
64
  }
65
65
 
66
+ // hack to keep backward compability to --android
67
+ if (argv.android[0] === true) {
68
+ set(argv, 'android.enabled', true);
69
+ }
70
+
66
71
  if (argv.chrome && argv.chrome.mobileEmulation) {
67
72
  const m = argv.chrome.mobileEmulation;
68
73
  if (!(m.deviceName || (m.height && m.width && m.pixelRatio))) {
@@ -82,7 +87,7 @@ function validateInput(argv) {
82
87
  return 'Debug mode do not work in Safari. Please try with Firefox/Chrome or Edge';
83
88
  }
84
89
 
85
- if (argv.debug && argv.android) {
90
+ if (argv.debug && argv.android.enabled) {
86
91
  return 'Debug mode do not work on Android. Please run debug mode on Desktop.';
87
92
  }
88
93
 
@@ -1262,10 +1267,6 @@ export function parseCommandLine() {
1262
1267
 
1263
1268
  let argv = validated.argv;
1264
1269
 
1265
- // hack to keep backward compability to --android
1266
- if (argv.android[0] === true) {
1267
- set(argv, 'android.enabled', true);
1268
- }
1269
1270
  if (
1270
1271
  argv.firefox &&
1271
1272
  (argv.firefox.nightly || argv.firefox.beta || argv.firefox.developer)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "browsertime",
3
3
  "description": "Get performance metrics from your web page using Browsertime.",
4
- "version": "17.11.0",
4
+ "version": "17.11.2",
5
5
  "bin": "./bin/browsertime.js",
6
6
  "type": "module",
7
7
  "dependencies": {
@@ -12,7 +12,7 @@
12
12
  "@sitespeed.io/geckodriver": "0.33.0",
13
13
  "@sitespeed.io/throttle": "5.0.0",
14
14
  "@sitespeed.io/tracium": "0.3.3",
15
- "ff-test-bidi-har-export": "0.0.10",
15
+ "ff-test-bidi-har-export": "0.0.11",
16
16
  "btoa": "1.2.1",
17
17
  "chrome-har": "0.13.1",
18
18
  "chrome-remote-interface": "0.32.2",
@@ -29,7 +29,7 @@
29
29
  "lodash.merge": "4.6.2",
30
30
  "lodash.pick": "4.4.0",
31
31
  "lodash.set": "4.3.2",
32
- "selenium-webdriver": "4.9.2",
32
+ "selenium-webdriver": "4.10.0",
33
33
  "yargs": "17.7.2"
34
34
  },
35
35
  "optionalDependencies": {