sitespeed.io 25.2.1 → 25.3.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 CHANGED
@@ -1,5 +1,22 @@
1
1
  # CHANGELOG - sitespeed.io (we use [semantic versioning](https://semver.org))
2
2
 
3
+
4
+ ## 25.3.2 - 2022-06-30
5
+ ### Fixed
6
+ * Another go at fixing the preWarmServer issue [#3683](https://github.com/sitespeedio/sitespeed.io/pull/3683).
7
+
8
+ ## 25.3.1 - 2022-06-29
9
+ ### Fixed
10
+ * Upgraded to [Browsertime 16.11.1](https://github.com/sitespeedio/browsertime/blob/main/CHANGELOG.md#16111---2022-06-29) that fixes the preWarmServer issue reported in [#3682](https://github.com/sitespeedio/sitespeed.io/issues/3682).
11
+
12
+ ## 25.3.0 - 2022-06-28
13
+ ### Fixed
14
+ * Updated to [Browsertime 16.10.1](https://github.com/sitespeedio/browsertime/blob/main/CHANGELOG.md#16101---2022-06-26) that checks that the CDP port is not used before claiming it.
15
+
16
+ ### Added
17
+ * Updated to Firefox 102 and Edge 103 in the Docker container.
18
+ * Updated to [Browsertime 16.11.0](https://github.com/sitespeedio/browsertime/blob/main/CHANGELOG.md#16110---2022-06-28).
19
+
3
20
  ## 25.2.1 - 2022-06-23
4
21
  ### Fixed
5
22
  * Bug fix for adding custom CSS from plugins, than you [Josh Duncan](https://github.com/josh-lr) for PR [#3679](https://github.com/sitespeedio/sitespeed.io/pull/3679).
package/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM sitespeedio/webbrowsers:chrome-103.0-firefox-101.0-edge-102.0
1
+ FROM sitespeedio/webbrowsers:chrome-103.0-firefox-102.0-edge-103.0
2
2
 
3
3
  ARG TARGETPLATFORM=linux/amd64
4
4
 
package/README.md CHANGED
@@ -16,6 +16,16 @@
16
16
 
17
17
  ## Welcome to the wonderful world of web performance!
18
18
 
19
+ ### Vacation
20
+
21
+ Another year and another summer vacation! I (Peter) will be on vacation from 23 of June and will be back in the middle of August. During the vacation I will only fix important reproducable bugs and do new releases when there's a new browser version. If you find a bug, please create a issue and [follow the instructions](https://www.sitespeed.io/documentation/sitespeed.io/bug-report/#explain-how-to-reproduce-your-issue) to make it reproducable. You can as always send PRs that fixes bugs, that will be the fastest way to get things fixed during the June -> August.
22
+
23
+ Please do not ping me on Slack and as always never send DM on Slack (if I do not specifically ask you to do so). If I don't get pinged, I hope to have something really cool to show at the end of August :)
24
+
25
+ <img src="https://raw.githubusercontent.com/sitespeedio/sitespeed.io/main/docs/img/vacation.gif">
26
+
27
+ ### What is sitespeed.io
28
+
19
29
  **Sitespeed.io is a *complete web performance tool* that helps you measure the performance of your website. What exactly does that mean?**
20
30
 
21
31
  Before we start telling you all about sitespeed.io you should just try it out:
@@ -22,12 +22,38 @@ const iphone6UserAgent =
22
22
  '(KHTML, like Gecko) Version/6.0 Mobile/10B329 Safari/8536.25';
23
23
 
24
24
  async function preWarmServer(urls, options, scriptOrMultiple) {
25
- const engine = new browsertime.Engine({
25
+ const preWarmOptions = {
26
26
  browser: options.browser,
27
27
  iterations: 1,
28
28
  xvfb: options.xvfb,
29
- android: options.android
30
- });
29
+ android: options.android,
30
+ docker: options.docker,
31
+ headless: options.headless
32
+ };
33
+ const chromeDevice = get(options, 'chrome.android.deviceSerial');
34
+ const firefoxDevice = get(options, 'firefox.android.deviceSerial');
35
+ const safariIos = get(options, 'safari.ios');
36
+ const safariDeviceName = get(options, 'safari.deviceName');
37
+ const safariDeviceUDID = get(options, 'safari.deviceUDID ');
38
+
39
+ if (chromeDevice) {
40
+ set(options, 'chrome.android.deviceSerial', chromeDevice);
41
+ } else if (firefoxDevice) {
42
+ set(options, 'firefox.android.deviceSerial', firefoxDevice);
43
+ }
44
+
45
+ if (safariIos) {
46
+ set(options, 'safari.ios', true);
47
+ if (safariDeviceName) {
48
+ set(options, 'safari.deviceName', safariDeviceName);
49
+ }
50
+ if (safariDeviceUDID) {
51
+ set(options, 'safari.deviceUDID', safariDeviceUDID);
52
+ }
53
+ }
54
+
55
+ const engine = new browsertime.Engine(preWarmOptions);
56
+
31
57
  await engine.start();
32
58
  log.info('Start pre-testing/warming' + urls);
33
59
  if (scriptOrMultiple) {
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "sitespeed.io",
3
- "version": "25.2.1",
3
+ "version": "25.3.2",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "sitespeed.io",
9
- "version": "25.2.1",
9
+ "version": "25.3.2",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@google-cloud/storage": "5.19.3",
13
13
  "@tgwf/co2": "0.8.0",
14
14
  "aws-sdk": "2.1121.0",
15
15
  "axe-core": "4.4.2",
16
- "browsertime": "16.9.1",
16
+ "browsertime": "16.11.1",
17
17
  "cli-color": "2.0.2",
18
18
  "coach-core": "7.1.2",
19
19
  "concurrent-queue": "7.0.2",
@@ -886,9 +886,9 @@
886
886
  }
887
887
  },
888
888
  "node_modules/@sitespeed.io/chromedriver": {
889
- "version": "102.0.5005-27",
890
- "resolved": "https://registry.npmjs.org/@sitespeed.io/chromedriver/-/chromedriver-102.0.5005-27.tgz",
891
- "integrity": "sha512-UtxPxNuOM6E2kT2YKkJ8zmiRe7m45lZkRvc8daTHRcVWfgZIg5aTYZIJDpAh0pSL6Fq0MWtw17jD1hih5rTgSQ==",
889
+ "version": "103.0.5060-24",
890
+ "resolved": "https://registry.npmjs.org/@sitespeed.io/chromedriver/-/chromedriver-103.0.5060-24.tgz",
891
+ "integrity": "sha512-T4Ho7BFd1REcI85c7Al0IfXHW8hdL5lrFug72Dnl7FG7so5NNqGqEqI8Mba9ap47caQQZKzHON7FDTHHksndow==",
892
892
  "hasInstallScript": true,
893
893
  "dependencies": {
894
894
  "node-downloader-helper": "2.1.1",
@@ -896,9 +896,9 @@
896
896
  }
897
897
  },
898
898
  "node_modules/@sitespeed.io/edgedriver": {
899
- "version": "101.0.1210-32",
900
- "resolved": "https://registry.npmjs.org/@sitespeed.io/edgedriver/-/edgedriver-101.0.1210-32.tgz",
901
- "integrity": "sha512-sCyCPjAqMa+4m4H8jUjrvheRcy8xXKSZUQeI38jfa0vh84h3wVhwqWP5s5xg8RpJhLPT6Bat2fDIyJFtkBNRbA==",
899
+ "version": "103.0.1264-37",
900
+ "resolved": "https://registry.npmjs.org/@sitespeed.io/edgedriver/-/edgedriver-103.0.1264-37.tgz",
901
+ "integrity": "sha512-xzc5e2pvYkYYhhO1Td5jRs4OKAs6Z91GQD6muYneBhlYoJqWenON4qQXogzDTeKGOol5zJhcw1mUoKSo9OFjSw==",
902
902
  "hasInstallScript": true,
903
903
  "dependencies": {
904
904
  "node-downloader-helper": "2.1.1",
@@ -1681,14 +1681,14 @@
1681
1681
  }
1682
1682
  },
1683
1683
  "node_modules/browsertime": {
1684
- "version": "16.9.1",
1685
- "resolved": "https://registry.npmjs.org/browsertime/-/browsertime-16.9.1.tgz",
1686
- "integrity": "sha512-rzn0w3JVGVKk/6iBIiBXWhN/o9pABLG6tj06JyE59FVLd+KuB+ipInIR7ByfkoeiGtYPHkxvD20ZVr65T671/Q==",
1684
+ "version": "16.11.1",
1685
+ "resolved": "https://registry.npmjs.org/browsertime/-/browsertime-16.11.1.tgz",
1686
+ "integrity": "sha512-/XYaBZyuyZqjG8H+Q6q3X4q/7eS81U0Tngt6rL6/54XARqE0VLV6F9ljmyJtln3j16N98yeK3ZjIc6fXCbiwCg==",
1687
1687
  "dependencies": {
1688
1688
  "@cypress/xvfb": "1.2.4",
1689
1689
  "@devicefarmer/adbkit": "2.11.3",
1690
- "@sitespeed.io/chromedriver": "102.0.5005-27",
1691
- "@sitespeed.io/edgedriver": "101.0.1210-32",
1690
+ "@sitespeed.io/chromedriver": "103.0.5060-24",
1691
+ "@sitespeed.io/edgedriver": "103.0.1264-37",
1692
1692
  "@sitespeed.io/geckodriver": "0.31.0",
1693
1693
  "@sitespeed.io/throttle": "4.0.1",
1694
1694
  "@sitespeed.io/tracium": "0.3.3",
@@ -1708,7 +1708,7 @@
1708
1708
  "lodash.merge": "4.6.2",
1709
1709
  "lodash.pick": "4.4.0",
1710
1710
  "lodash.set": "4.3.2",
1711
- "selenium-webdriver": "4.2.0",
1711
+ "selenium-webdriver": "4.3.0",
1712
1712
  "yargs": "17.4.1"
1713
1713
  },
1714
1714
  "bin": {
@@ -7145,18 +7145,38 @@
7145
7145
  "integrity": "sha1-e45lYZCyKOgaZq6nSEgNgozS03o="
7146
7146
  },
7147
7147
  "node_modules/selenium-webdriver": {
7148
- "version": "4.2.0",
7149
- "resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.2.0.tgz",
7150
- "integrity": "sha512-gPPXYSz4jJBM2kANRQ9cZW6KFBzR/ptxqGLtyC75eXtdgOsWWRRRyZz5F2pqdnwNmAjrCSFMMXfisJaZeWVejg==",
7148
+ "version": "4.3.0",
7149
+ "resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.3.0.tgz",
7150
+ "integrity": "sha512-9XFr8w95BO7jageR61AtiB83fJNem3fdtOQcUpqIIDHWSxihomyG/yBlL1H4y/shi/dO/Ai3PJMAOG+OW3+JHw==",
7151
7151
  "dependencies": {
7152
- "jszip": "^3.6.0",
7152
+ "jszip": "^3.10.0",
7153
7153
  "tmp": "^0.2.1",
7154
- "ws": ">=7.4.6"
7154
+ "ws": ">=8.7.0"
7155
7155
  },
7156
7156
  "engines": {
7157
7157
  "node": ">= 10.15.0"
7158
7158
  }
7159
7159
  },
7160
+ "node_modules/selenium-webdriver/node_modules/ws": {
7161
+ "version": "8.8.0",
7162
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.8.0.tgz",
7163
+ "integrity": "sha512-JDAgSYQ1ksuwqfChJusw1LSJ8BizJ2e/vVu5Lxjq3YvNJNlROv1ui4i+c/kUUrPheBvQl4c5UbERhTwKa6QBJQ==",
7164
+ "engines": {
7165
+ "node": ">=10.0.0"
7166
+ },
7167
+ "peerDependencies": {
7168
+ "bufferutil": "^4.0.1",
7169
+ "utf-8-validate": "^5.0.2"
7170
+ },
7171
+ "peerDependenciesMeta": {
7172
+ "bufferutil": {
7173
+ "optional": true
7174
+ },
7175
+ "utf-8-validate": {
7176
+ "optional": true
7177
+ }
7178
+ }
7179
+ },
7160
7180
  "node_modules/semver": {
7161
7181
  "version": "5.5.0",
7162
7182
  "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz",
@@ -9144,18 +9164,18 @@
9144
9164
  }
9145
9165
  },
9146
9166
  "@sitespeed.io/chromedriver": {
9147
- "version": "102.0.5005-27",
9148
- "resolved": "https://registry.npmjs.org/@sitespeed.io/chromedriver/-/chromedriver-102.0.5005-27.tgz",
9149
- "integrity": "sha512-UtxPxNuOM6E2kT2YKkJ8zmiRe7m45lZkRvc8daTHRcVWfgZIg5aTYZIJDpAh0pSL6Fq0MWtw17jD1hih5rTgSQ==",
9167
+ "version": "103.0.5060-24",
9168
+ "resolved": "https://registry.npmjs.org/@sitespeed.io/chromedriver/-/chromedriver-103.0.5060-24.tgz",
9169
+ "integrity": "sha512-T4Ho7BFd1REcI85c7Al0IfXHW8hdL5lrFug72Dnl7FG7so5NNqGqEqI8Mba9ap47caQQZKzHON7FDTHHksndow==",
9150
9170
  "requires": {
9151
9171
  "node-downloader-helper": "2.1.1",
9152
9172
  "node-stream-zip": "1.15.0"
9153
9173
  }
9154
9174
  },
9155
9175
  "@sitespeed.io/edgedriver": {
9156
- "version": "101.0.1210-32",
9157
- "resolved": "https://registry.npmjs.org/@sitespeed.io/edgedriver/-/edgedriver-101.0.1210-32.tgz",
9158
- "integrity": "sha512-sCyCPjAqMa+4m4H8jUjrvheRcy8xXKSZUQeI38jfa0vh84h3wVhwqWP5s5xg8RpJhLPT6Bat2fDIyJFtkBNRbA==",
9176
+ "version": "103.0.1264-37",
9177
+ "resolved": "https://registry.npmjs.org/@sitespeed.io/edgedriver/-/edgedriver-103.0.1264-37.tgz",
9178
+ "integrity": "sha512-xzc5e2pvYkYYhhO1Td5jRs4OKAs6Z91GQD6muYneBhlYoJqWenON4qQXogzDTeKGOol5zJhcw1mUoKSo9OFjSw==",
9159
9179
  "requires": {
9160
9180
  "node-downloader-helper": "2.1.1",
9161
9181
  "node-stream-zip": "1.15.0"
@@ -9758,14 +9778,14 @@
9758
9778
  }
9759
9779
  },
9760
9780
  "browsertime": {
9761
- "version": "16.9.1",
9762
- "resolved": "https://registry.npmjs.org/browsertime/-/browsertime-16.9.1.tgz",
9763
- "integrity": "sha512-rzn0w3JVGVKk/6iBIiBXWhN/o9pABLG6tj06JyE59FVLd+KuB+ipInIR7ByfkoeiGtYPHkxvD20ZVr65T671/Q==",
9781
+ "version": "16.11.1",
9782
+ "resolved": "https://registry.npmjs.org/browsertime/-/browsertime-16.11.1.tgz",
9783
+ "integrity": "sha512-/XYaBZyuyZqjG8H+Q6q3X4q/7eS81U0Tngt6rL6/54XARqE0VLV6F9ljmyJtln3j16N98yeK3ZjIc6fXCbiwCg==",
9764
9784
  "requires": {
9765
9785
  "@cypress/xvfb": "1.2.4",
9766
9786
  "@devicefarmer/adbkit": "2.11.3",
9767
- "@sitespeed.io/chromedriver": "102.0.5005-27",
9768
- "@sitespeed.io/edgedriver": "101.0.1210-32",
9787
+ "@sitespeed.io/chromedriver": "103.0.5060-24",
9788
+ "@sitespeed.io/edgedriver": "103.0.1264-37",
9769
9789
  "@sitespeed.io/geckodriver": "0.31.0",
9770
9790
  "@sitespeed.io/throttle": "4.0.1",
9771
9791
  "@sitespeed.io/tracium": "0.3.3",
@@ -9786,7 +9806,7 @@
9786
9806
  "lodash.merge": "4.6.2",
9787
9807
  "lodash.pick": "4.4.0",
9788
9808
  "lodash.set": "4.3.2",
9789
- "selenium-webdriver": "4.2.0",
9809
+ "selenium-webdriver": "4.3.0",
9790
9810
  "yargs": "17.4.1"
9791
9811
  }
9792
9812
  },
@@ -13984,13 +14004,21 @@
13984
14004
  "integrity": "sha1-e45lYZCyKOgaZq6nSEgNgozS03o="
13985
14005
  },
13986
14006
  "selenium-webdriver": {
13987
- "version": "4.2.0",
13988
- "resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.2.0.tgz",
13989
- "integrity": "sha512-gPPXYSz4jJBM2kANRQ9cZW6KFBzR/ptxqGLtyC75eXtdgOsWWRRRyZz5F2pqdnwNmAjrCSFMMXfisJaZeWVejg==",
14007
+ "version": "4.3.0",
14008
+ "resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.3.0.tgz",
14009
+ "integrity": "sha512-9XFr8w95BO7jageR61AtiB83fJNem3fdtOQcUpqIIDHWSxihomyG/yBlL1H4y/shi/dO/Ai3PJMAOG+OW3+JHw==",
13990
14010
  "requires": {
13991
- "jszip": "^3.6.0",
14011
+ "jszip": "^3.10.0",
13992
14012
  "tmp": "^0.2.1",
13993
- "ws": ">=7.4.6"
14013
+ "ws": ">=8.7.0"
14014
+ },
14015
+ "dependencies": {
14016
+ "ws": {
14017
+ "version": "8.8.0",
14018
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.8.0.tgz",
14019
+ "integrity": "sha512-JDAgSYQ1ksuwqfChJusw1LSJ8BizJ2e/vVu5Lxjq3YvNJNlROv1ui4i+c/kUUrPheBvQl4c5UbERhTwKa6QBJQ==",
14020
+ "requires": {}
14021
+ }
13994
14022
  }
13995
14023
  },
13996
14024
  "semver": {
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": "25.2.1",
7
+ "version": "25.3.2",
8
8
  "description": "Analyze the web performance of your site",
9
9
  "keywords": [
10
10
  "performance",
@@ -80,7 +80,7 @@
80
80
  "@tgwf/co2": "0.8.0",
81
81
  "aws-sdk": "2.1121.0",
82
82
  "axe-core": "4.4.2",
83
- "browsertime": "16.9.1",
83
+ "browsertime": "16.11.1",
84
84
  "coach-core": "7.1.2",
85
85
  "cli-color": "2.0.2",
86
86
  "concurrent-queue": "7.0.2",