sitespeed.io 21.2.2 → 21.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 +7 -1
- package/lib/cli/cli.js +6 -0
- package/lib/plugins/browsertime/analyzer.js +3 -2
- package/npm-shrinkwrap.json +9 -9
- package/package.json +2 -2
- package/release/feed.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# CHANGELOG - sitespeed.io (we use [semantic versioning](https://semver.org))
|
|
2
2
|
|
|
3
|
+
## 21.3.0 - 2022-01-01
|
|
4
|
+
### Added
|
|
5
|
+
* Updated to [Browsertime 14.13.0](https://github.com/sitespeedio/browsertime/blob/main/CHANGELOG.md#14130---2021-12-30) with the following fixes for the user agent:
|
|
6
|
+
* Append text to Chrome/Edge user agent using `--chrome.appendToUserAgent`
|
|
7
|
+
* When you use Chrome/Edge and use a "emulated device" that will use the user agent that you provide using `--userAgent`. Else it will use the user agent from your emulated device setting.
|
|
8
|
+
* You can also use Edge to run emulated mobile with the same settings as Chrome.
|
|
3
9
|
## 21.2.2 - 2021-12-23
|
|
4
10
|
### Fixed
|
|
5
11
|
* Fix the error introduced in 21.2.0 for "Include page summary URL in the result JSON"
|
|
@@ -10,7 +16,7 @@
|
|
|
10
16
|
* It turns out that Firefox 95 doesn't work with the HAR export trigger and the workaround that worked in Firefox 94 seems to not work in 95 see https://github.com/sitespeedio/browsertime/issues/1671#issuecomment-999412035. That's why we are reverting to Firefox 94 in the Docker containers.
|
|
11
17
|
## 21.2.0 - 2021-12-22
|
|
12
18
|
### Fixed
|
|
13
|
-
* The catching of errors in the queue was broken and reported the error x times (x=
|
|
19
|
+
* The catching of errors in the queue was broken and reported the error x times (x=number of plugins). Also when we had an error the result JSON was not stored. [#3522](https://github.com/sitespeedio/sitespeed.io/pull/3522).
|
|
14
20
|
|
|
15
21
|
### Added
|
|
16
22
|
* Updated to Firefox 95 and Edge 96 in the Docker container.
|
package/lib/cli/cli.js
CHANGED
|
@@ -715,6 +715,12 @@ module.exports.parseCommandLine = function parseCommandLine() {
|
|
|
715
715
|
default: true,
|
|
716
716
|
group: 'Chrome'
|
|
717
717
|
})
|
|
718
|
+
.option('browsertime.chrome.appendToUserAgent', {
|
|
719
|
+
alias: 'chrome.appendToUserAgent',
|
|
720
|
+
type: 'string',
|
|
721
|
+
describe: 'Append to the user agent.',
|
|
722
|
+
group: 'Chrome'
|
|
723
|
+
})
|
|
718
724
|
.option('browsertime.chrome.android.package', {
|
|
719
725
|
alias: 'chrome.android.package',
|
|
720
726
|
describe:
|
|
@@ -100,7 +100,7 @@ module.exports = {
|
|
|
100
100
|
// set mobile options
|
|
101
101
|
if (options.mobile) {
|
|
102
102
|
btOptions.viewPort = '360x640';
|
|
103
|
-
if (btOptions.browser === 'chrome') {
|
|
103
|
+
if (btOptions.browser === 'chrome' || btOptions.browser === 'edge') {
|
|
104
104
|
const emulation = get(
|
|
105
105
|
btOptions,
|
|
106
106
|
'chrome.mobileEmulation.deviceName',
|
|
@@ -109,8 +109,9 @@ module.exports = {
|
|
|
109
109
|
btOptions.chrome.mobileEmulation = {
|
|
110
110
|
deviceName: emulation
|
|
111
111
|
};
|
|
112
|
+
} else {
|
|
113
|
+
btOptions.userAgent = iphone6UserAgent;
|
|
112
114
|
}
|
|
113
|
-
btOptions.userAgent = iphone6UserAgent;
|
|
114
115
|
}
|
|
115
116
|
const scriptCategories = await browserScripts.allScriptCategories;
|
|
116
117
|
let scriptsByCategory = await browserScripts.getScriptsForCategories(
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sitespeed.io",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.3.0",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "sitespeed.io",
|
|
9
|
-
"version": "21.
|
|
9
|
+
"version": "21.3.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@google-cloud/storage": "5.8.3",
|
|
13
13
|
"@tgwf/co2": "0.8.0",
|
|
14
14
|
"aws-sdk": "2.882.0",
|
|
15
15
|
"axe-core": "4.3.5",
|
|
16
|
-
"browsertime": "14.
|
|
16
|
+
"browsertime": "14.13.0",
|
|
17
17
|
"cli-color": "2.0.0",
|
|
18
18
|
"coach-core": "7.0.0",
|
|
19
19
|
"concurrent-queue": "7.0.2",
|
|
@@ -1465,9 +1465,9 @@
|
|
|
1465
1465
|
}
|
|
1466
1466
|
},
|
|
1467
1467
|
"node_modules/browsertime": {
|
|
1468
|
-
"version": "14.
|
|
1469
|
-
"resolved": "https://registry.npmjs.org/browsertime/-/browsertime-14.
|
|
1470
|
-
"integrity": "sha512-
|
|
1468
|
+
"version": "14.13.0",
|
|
1469
|
+
"resolved": "https://registry.npmjs.org/browsertime/-/browsertime-14.13.0.tgz",
|
|
1470
|
+
"integrity": "sha512-CuND3iQiylttzWPLEmBGedKWt1LmhLpwt4Vai/fqrwWEAYWip9oATqVSk8+FkOISnm65Mp5boJo2OJIOc1hQoA==",
|
|
1471
1471
|
"dependencies": {
|
|
1472
1472
|
"@cypress/xvfb": "1.2.4",
|
|
1473
1473
|
"@devicefarmer/adbkit": "2.11.3",
|
|
@@ -8631,9 +8631,9 @@
|
|
|
8631
8631
|
}
|
|
8632
8632
|
},
|
|
8633
8633
|
"browsertime": {
|
|
8634
|
-
"version": "14.
|
|
8635
|
-
"resolved": "https://registry.npmjs.org/browsertime/-/browsertime-14.
|
|
8636
|
-
"integrity": "sha512-
|
|
8634
|
+
"version": "14.13.0",
|
|
8635
|
+
"resolved": "https://registry.npmjs.org/browsertime/-/browsertime-14.13.0.tgz",
|
|
8636
|
+
"integrity": "sha512-CuND3iQiylttzWPLEmBGedKWt1LmhLpwt4Vai/fqrwWEAYWip9oATqVSk8+FkOISnm65Mp5boJo2OJIOc1hQoA==",
|
|
8637
8637
|
"requires": {
|
|
8638
8638
|
"@cypress/xvfb": "1.2.4",
|
|
8639
8639
|
"@devicefarmer/adbkit": "2.11.3",
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"sitespeed.io": "./bin/sitespeed.js",
|
|
5
5
|
"sitespeed.io-wpr": "./bin/browsertimeWebPageReplay.js"
|
|
6
6
|
},
|
|
7
|
-
"version": "21.
|
|
7
|
+
"version": "21.3.0",
|
|
8
8
|
"description": "Analyze the web performance of your site",
|
|
9
9
|
"keywords": [
|
|
10
10
|
"performance",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@tgwf/co2": "0.8.0",
|
|
75
75
|
"aws-sdk": "2.882.0",
|
|
76
76
|
"axe-core": "4.3.5",
|
|
77
|
-
"browsertime": "14.
|
|
77
|
+
"browsertime": "14.13.0",
|
|
78
78
|
"coach-core": "7.0.0",
|
|
79
79
|
"cli-color": "2.0.0",
|
|
80
80
|
"concurrent-queue": "7.0.2",
|
package/release/feed.js
CHANGED
|
@@ -100,7 +100,8 @@ async function generateFeed() {
|
|
|
100
100
|
coach: 'https://www.sitespeed.io/img/logos/coach.png',
|
|
101
101
|
'chrome-har': '',
|
|
102
102
|
'chrome-trace': '',
|
|
103
|
-
compare: 'https://www.sitespeed.io/img/logos/compare.png'
|
|
103
|
+
compare: 'https://www.sitespeed.io/img/logos/compare.png',
|
|
104
|
+
humble: ''
|
|
104
105
|
};
|
|
105
106
|
|
|
106
107
|
sortedVersionFiles.forEach(file => {
|