browsertime 16.1.0 → 16.2.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 +18 -0
- package/browsertime/visualmetrics-portable.py +1 -1
- package/lib/support/cli.js +2 -0
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
# Browsertime changelog (we do [semantic versioning](https://semver.org))
|
|
2
2
|
|
|
3
|
+
## 16.2.2 - 2022-05-06
|
|
4
|
+
### Fixed
|
|
5
|
+
* The Docker container uses Ubuntu 20 again (instead of 22) since there's been multiple problems (running on ARM and on some cloud services).
|
|
6
|
+
|
|
7
|
+
## 16.2.1 - 2022-05-04
|
|
3
8
|
|
|
9
|
+
### Fixed
|
|
10
|
+
* Add an acceptable error of 5 pixels to last frame matches for the visual metric portable script, thank you [Gregory Mierzwinski](https://github.com/gmierz) for PR [#1780](https://github.com/sitespeedio/browsertime/pull/1780).
|
|
11
|
+
## 16.2.0 - 2022-05-01
|
|
12
|
+
### Added
|
|
13
|
+
* Updated to Chrome and Chromedriver 101 [#1773](https://github.com/sitespeedio/browsertime/pull/1773).
|
|
14
|
+
* Updated to Edge and Edgedriver 101 [#1778](https://github.com/sitespeedio/browsertime/pull/1778).
|
|
15
|
+
* Use Geckodriver 0.31.0 [#1775](https://github.com/sitespeedio/browsertime/pull/1775).
|
|
16
|
+
* Added new alias for warm cache load. You can now use either `--preURL` or `--warmLoad` [#1774](https://github.com/sitespeedio/browsertime/pull/1774).
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
* Updated to Selenium 4.1.2 [#1779](https://github.com/sitespeedio/browsertime/pull/1779).
|
|
20
|
+
### Tech
|
|
21
|
+
* Updated dev dependencies [#1776](https://github.com/sitespeedio/browsertime/pull/1776).
|
|
4
22
|
## 16.1.0 - 2022-04-20
|
|
5
23
|
### Fixed
|
|
6
24
|
* Handle negative x/y offsets when cropping images in the new portable visual metrocs script, thank you [Gregory Mierzwinski](https://github.com/gmierz) for PR [#1770](https://github.com/sitespeedio/browsertime/pull/1770).
|
|
@@ -1134,7 +1134,7 @@ def eliminate_duplicate_frames(directory, cropped, is_mobile):
|
|
|
1134
1134
|
baseline = files[0]
|
|
1135
1135
|
previous_frame = baseline
|
|
1136
1136
|
for i in range(1, count):
|
|
1137
|
-
if frames_match(baseline, files[i], 15,
|
|
1137
|
+
if frames_match(baseline, files[i], 15, 5, crop, None):
|
|
1138
1138
|
if previous_frame is baseline:
|
|
1139
1139
|
duplicates.append(previous_frame)
|
|
1140
1140
|
else:
|
package/lib/support/cli.js
CHANGED
|
@@ -1092,10 +1092,12 @@ module.exports.parseCommandLine = function parseCommandLine() {
|
|
|
1092
1092
|
type: 'string'
|
|
1093
1093
|
})
|
|
1094
1094
|
.option('preURL', {
|
|
1095
|
+
alias: 'warmLoad',
|
|
1095
1096
|
describe:
|
|
1096
1097
|
'A URL that will be accessed first by the browser before the URL that you wanna analyze. Use it to fill the browser cache.'
|
|
1097
1098
|
})
|
|
1098
1099
|
.option('preURLDelay', {
|
|
1100
|
+
alias: 'warmLoadDealy',
|
|
1099
1101
|
describe:
|
|
1100
1102
|
'Delay between preURL and the URL you want to test (in milliseconds)',
|
|
1101
1103
|
type: 'integer',
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"description": "Browsertime",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.2.2",
|
|
4
4
|
"bin": "./bin/browsertime.js",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@cypress/xvfb": "1.2.4",
|
|
7
7
|
"@devicefarmer/adbkit": "2.11.3",
|
|
8
|
-
"@sitespeed.io/chromedriver": "
|
|
9
|
-
"@sitespeed.io/edgedriver": "
|
|
10
|
-
"@sitespeed.io/geckodriver": "0.
|
|
8
|
+
"@sitespeed.io/chromedriver": "101.0.4951-15",
|
|
9
|
+
"@sitespeed.io/edgedriver": "101.0.1210-32",
|
|
10
|
+
"@sitespeed.io/geckodriver": "0.31.0",
|
|
11
11
|
"@sitespeed.io/throttle": "3.1.1",
|
|
12
12
|
"@sitespeed.io/tracium": "0.3.3",
|
|
13
13
|
"btoa": "1.2.1",
|
|
@@ -26,18 +26,18 @@
|
|
|
26
26
|
"lodash.merge": "4.6.2",
|
|
27
27
|
"lodash.pick": "4.4.0",
|
|
28
28
|
"lodash.set": "4.3.2",
|
|
29
|
-
"selenium-webdriver": "4.1.
|
|
29
|
+
"selenium-webdriver": "4.1.2",
|
|
30
30
|
"yargs": "17.4.1"
|
|
31
31
|
},
|
|
32
32
|
"optionalDependencies": {
|
|
33
33
|
"jimp": "0.16.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"ava": "4.0
|
|
37
|
-
"eslint": "8.0
|
|
38
|
-
"eslint-config-prettier": "8.
|
|
36
|
+
"ava": "4.2.0",
|
|
37
|
+
"eslint": "8.14.0",
|
|
38
|
+
"eslint-config-prettier": "8.5.0",
|
|
39
39
|
"eslint-plugin-prettier": "4.0.0",
|
|
40
|
-
"prettier": "2.
|
|
40
|
+
"prettier": "2.6.2",
|
|
41
41
|
"serve-handler": "6.1.3",
|
|
42
42
|
"serve": "13.0.2"
|
|
43
43
|
},
|