browsertime 21.2.1 → 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 +9 -0
- package/lib/connectivity/index.js +8 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Browsertime changelog (we do [semantic versioning](https://semver.org))
|
|
2
2
|
|
|
3
|
+
## 21.3.0 - 2024-02-21
|
|
4
|
+
### Added
|
|
5
|
+
* Edgedriver 121 [#2078](https://github.com/sitespeedio/browsertime/pull/2078).
|
|
6
|
+
* Chromdriver 122 [#2080](https://github.com/sitespeedio/browsertime/pull/2080).
|
|
7
|
+
* Chrome 122 and Firefox 123 in the Docker container [#2081](https://github.com/sitespeedio/browsertime/pull/2081).
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
* Log that Throttle is used inside Docker [#2077](https://github.com/sitespeedio/browsertime/pull/2077).
|
|
11
|
+
|
|
3
12
|
## 21.2.1 - 2024-02-11
|
|
4
13
|
### Fixed
|
|
5
14
|
* Fix correct JavaScript signaure for stopAsError in types.
|
|
@@ -29,7 +29,14 @@ export async function addConnectivity(options) {
|
|
|
29
29
|
return;
|
|
30
30
|
}
|
|
31
31
|
case 'throttle': {
|
|
32
|
-
if (
|
|
32
|
+
if (options.docker) {
|
|
33
|
+
if (options.connectivity && options.connectivity.profile) {
|
|
34
|
+
log.info(
|
|
35
|
+
'Setting connectivity profile %s',
|
|
36
|
+
options.connectivity.profile
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
} else {
|
|
33
40
|
// The log message is confusing if you run in Docker since
|
|
34
41
|
// there's nothing you can do about it
|
|
35
42
|
if (options.connectivity && options.connectivity.profile) {
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "browsertime",
|
|
3
3
|
"description": "Get performance metrics from your web page using Browsertime.",
|
|
4
|
-
"version": "21.
|
|
4
|
+
"version": "21.3.0",
|
|
5
5
|
"bin": "./bin/browsertime.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"types": "./types/scripting.d.ts",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@cypress/xvfb": "1.2.4",
|
|
10
10
|
"@devicefarmer/adbkit": "3.2.6",
|
|
11
|
-
"@sitespeed.io/chromedriver": "
|
|
12
|
-
"@sitespeed.io/edgedriver": "
|
|
11
|
+
"@sitespeed.io/chromedriver": "122.0.6261-57",
|
|
12
|
+
"@sitespeed.io/edgedriver": "121.0.2277-128",
|
|
13
13
|
"@sitespeed.io/geckodriver": "0.34.0",
|
|
14
14
|
"@sitespeed.io/throttle": "5.0.0",
|
|
15
15
|
"@sitespeed.io/tracium": "0.3.3",
|