browsertime 21.0.0 → 21.1.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
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
# Browsertime changelog (we do [semantic versioning](https://semver.org))
|
|
2
2
|
|
|
3
|
+
## 21.1.0 - 2024-01-24
|
|
4
|
+
### Added
|
|
5
|
+
* Firefox 122, Chrome 121 and Chromedriver 121 [#2067](https://github.com/sitespeedio/browsertime/pull/2067).
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
* Set correct viewports for the following emulated mobiles for Chrome: iPad Mini iPad Air, iPhone 14 Pro, Pixel 7 and Samsung Galaxy A51/71 [#2065](https://github.com/sitespeedio/browsertime/pull/2065).
|
|
9
|
+
|
|
3
10
|
## 21.0.0 - 2024-01-07
|
|
4
11
|
|
|
5
|
-
The new version uses JSDoc to generate documentation for scripting and make it possible to use code completion/Intellisense!
|
|
12
|
+
The new version uses JSDoc to generate documentation for scripting and make it possible to use code completion/Intellisense! You can read the [new documentation here](https://www.sitespeed.io/documentation/sitespeed.io/scripting/tutorial-08-Setting-Up-IntelliSense.html).
|
|
6
13
|
|
|
7
14
|
### Added
|
|
8
15
|
* Upgraded to [Geckodriver 0.34.0](https://github.com/mozilla/geckodriver/releases/tag/v0.34.0) [#2049](https://github.com/sitespeedio/browsertime/pull/2049).
|
|
@@ -21,12 +21,17 @@ const sizeMap = {
|
|
|
21
21
|
'Pixel 2': '412x732',
|
|
22
22
|
'Pixel 2 XL': '412x824',
|
|
23
23
|
iPad: '768x1024',
|
|
24
|
+
'iPad Mini': '768x1024',
|
|
25
|
+
'iPad Air': '820x1180',
|
|
24
26
|
'iPad Pro': '1024x1366',
|
|
25
27
|
'iPhone XR': '414x896',
|
|
26
28
|
'iPhone SE': '377x668',
|
|
27
29
|
'iPhone 12 Pro': '390x844',
|
|
30
|
+
'iPhone 14 Pro': '430x932',
|
|
28
31
|
'Pixel 5': '394x852',
|
|
29
|
-
'
|
|
32
|
+
'Pixel 7': '412x916',
|
|
33
|
+
'Samsung Galaxy S8+': '412x846',
|
|
34
|
+
'Samsung Galaxy A51/71': '412x914'
|
|
30
35
|
};
|
|
31
36
|
|
|
32
37
|
export function getViewPort(options) {
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "browsertime",
|
|
3
3
|
"description": "Get performance metrics from your web page using Browsertime.",
|
|
4
|
-
"version": "21.
|
|
4
|
+
"version": "21.1.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.5",
|
|
11
|
-
"@sitespeed.io/chromedriver": "
|
|
11
|
+
"@sitespeed.io/chromedriver": "121.0.6167-85",
|
|
12
12
|
"@sitespeed.io/edgedriver": "120.0.2210-77",
|
|
13
13
|
"@sitespeed.io/geckodriver": "0.34.0",
|
|
14
14
|
"@sitespeed.io/throttle": "5.0.0",
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"@types/selenium-webdriver": "4.1.21",
|
|
41
41
|
"ava": "6.0.1",
|
|
42
42
|
"clean-jsdoc-theme": "4.2.17",
|
|
43
|
-
"eslint": "8.
|
|
43
|
+
"eslint": "8.56.0",
|
|
44
44
|
"eslint-config-prettier": "9.1.0",
|
|
45
|
-
"eslint-plugin-prettier": "5.
|
|
46
|
-
"eslint-plugin-unicorn": "
|
|
45
|
+
"eslint-plugin-prettier": "5.1.3",
|
|
46
|
+
"eslint-plugin-unicorn": "50.0.1",
|
|
47
47
|
"jsdoc": "4.0.2",
|
|
48
|
-
"prettier": "3.
|
|
48
|
+
"prettier": "3.2.2",
|
|
49
49
|
"serve": "14.2.1",
|
|
50
50
|
"serve-handler": "6.1.5",
|
|
51
51
|
"typescript": "5.3.3"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getViewPort.d.ts","sourceRoot":"","sources":["../../lib/support/getViewPort.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getViewPort.d.ts","sourceRoot":"","sources":["../../lib/support/getViewPort.js"],"names":[],"mappings":"AAoCA,+CAkCC"}
|