browsertime 17.11.1 → 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 +5 -0
- package/lib/support/cli.js +6 -5
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Browsertime changelog (we do [semantic versioning](https://semver.org))
|
|
2
2
|
|
|
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
|
+
|
|
3
8
|
## 17.11.0 - 2022-06-12
|
|
4
9
|
### Fixed
|
|
5
10
|
* If Chrome do not collect largest contentful paint, log that instead of just log null [#1957](https://github.com/sitespeedio/browsertime/pull/1957).
|
package/lib/support/cli.js
CHANGED
|
@@ -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.
|
|
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.
|
|
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",
|