sitespeed.io 25.0.0 → 25.2.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,5 +1,18 @@
1
1
  # CHANGELOG - sitespeed.io (we use [semantic versioning](https://semver.org))
2
2
 
3
+ ## 25.2.0 - 2022-06-22
4
+ ### Added
5
+ * Updated the Docker container to use Chrome 103.
6
+
7
+ ## 25.1.1 - 2022-06-20
8
+ ### Fixed
9
+ * Upgraded to Browsertime [16.9.1](https://github.com/sitespeedio/browsertime/blob/main/CHANGELOG.md#1691---2022-06-19) that upgraded to Throttle 4 that internally uses `ip route` instead of `route` (one less dependency).
10
+ ## 25.1.0 - 2022-06-15
11
+ ### Added
12
+ * Updated Browsertime to [16.9.0](https://github.com/sitespeedio/browsertime/blob/main/CHANGELOG.md#1690---2022-06-15) with the following changes:
13
+ * New `wait.byCondition` command. Thank you [Icecold777](https://github.com/Icecold777) for PR [#1803](https://github.com/sitespeedio/browsertime/pull/1803).
14
+ * Collect number of CPU longtasks before largest contentful paint [#1806](https://github.com/sitespeedio/browsertime/pull/1806).
15
+ * Instead of throwing errors and exit the tests if the page hasn't finished loading after 5 minutes, we now gracefully ends the test after 2 minutes (you can change that time with `--maxLoadTime`). That makes more sense than just throwing errors [#1810](https://github.com/sitespeedio/browsertime/pull/1810).
3
16
 
4
17
  ## 25.0.0 - 2022-06-10
5
18
 
package/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM sitespeedio/webbrowsers:chrome-102.0-firefox-101.0-edge-102.0
1
+ FROM sitespeedio/webbrowsers:chrome-103.0-firefox-101.0-edge-102.0
2
2
 
3
3
  ARG TARGETPLATFORM=linux/amd64
4
4
 
package/lib/cli/cli.js CHANGED
@@ -336,16 +336,24 @@ module.exports.parseCommandLine = function parseCommandLine() {
336
336
  'The path to your Humble instance. For example http://raspberrypi:3000',
337
337
  group: 'Browser'
338
338
  })
339
+ .option('browsertime.timeouts.pageCompleteCheck', {
340
+ alias: 'maxLoadTime',
341
+ default: 120000,
342
+ type: 'number',
343
+ describe:
344
+ 'The max load time to wait for a page to finish loading (in milliseconds).',
345
+ group: 'Browser'
346
+ })
339
347
  .option('browsertime.pageCompleteCheck', {
340
348
  alias: 'pageCompleteCheck',
341
349
  describe:
342
- 'Supply a JavaScript that decides when the browser is finished loading the page and can start to collect metrics. The JavaScript snippet is repeatedly queried to see if page has completed loading (indicated by the script returning true). Use it to fetch timings happening after the loadEventEnd.',
350
+ 'Supply a JavaScript that decides when the browser is finished loading the page and can start to collect metrics. The JavaScript snippet is repeatedly queried to see if page has completed loading (indicated by the script returning true). Checkout https://www.sitespeed.io/documentation/sitespeed.io/browsers/#choose-when-to-end-your-test ',
343
351
  group: 'Browser'
344
352
  })
345
353
  .option('browsertime.pageCompleteWaitTime', {
346
354
  alias: 'pageCompleteWaitTime',
347
355
  describe:
348
- 'How long time you want to wait for your pageComplteteCheck to finish, after it is signaled to closed. Extra parameter passed on to your pageCompleteCheck.',
356
+ 'How long time you want to wait for your pageCompleteCheck to finish, after it is signaled to closed. Extra parameter passed on to your pageCompleteCheck.',
349
357
  default: 5000,
350
358
  group: 'Browser'
351
359
  })
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "sitespeed.io",
3
- "version": "25.0.0",
3
+ "version": "25.2.0",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "sitespeed.io",
9
- "version": "25.0.0",
9
+ "version": "25.2.0",
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.8.1",
16
+ "browsertime": "16.9.1",
17
17
  "cli-color": "2.0.2",
18
18
  "coach-core": "7.1.2",
19
19
  "concurrent-queue": "7.0.2",
@@ -917,9 +917,9 @@
917
917
  }
918
918
  },
919
919
  "node_modules/@sitespeed.io/throttle": {
920
- "version": "3.1.1",
921
- "resolved": "https://registry.npmjs.org/@sitespeed.io/throttle/-/throttle-3.1.1.tgz",
922
- "integrity": "sha512-6KOsYUQgAur5636IiGYblcRGOiiBAEVao+imE+VkEeBBIGcYUwu4//oXkwdG2WjjE+2gS4AsMzfyHTlv6zXUfg==",
920
+ "version": "4.0.1",
921
+ "resolved": "https://registry.npmjs.org/@sitespeed.io/throttle/-/throttle-4.0.1.tgz",
922
+ "integrity": "sha512-uuni3i+qhoZc0R8dCucLbZOd/GV6GUBRvpm/rUyx4WE7a07Ty4wG4//CRf94jbnq9E/mN8/dv5bN2/P6HdTM4g==",
923
923
  "dependencies": {
924
924
  "minimist": "1.2.6"
925
925
  },
@@ -927,7 +927,7 @@
927
927
  "throttle": "bin/index.js"
928
928
  },
929
929
  "engines": {
930
- "node": ">=10.0.0"
930
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
931
931
  }
932
932
  },
933
933
  "node_modules/@sitespeed.io/tracium": {
@@ -1681,16 +1681,16 @@
1681
1681
  }
1682
1682
  },
1683
1683
  "node_modules/browsertime": {
1684
- "version": "16.8.1",
1685
- "resolved": "https://registry.npmjs.org/browsertime/-/browsertime-16.8.1.tgz",
1686
- "integrity": "sha512-YLI00NgAbpHMLv2eKA/YEf15e8UeRpXXBykyuSqrUwjzx11zEVtnWY93X38GHcaqGcTfWvjmkGfX6eKgeXcxgw==",
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==",
1687
1687
  "dependencies": {
1688
1688
  "@cypress/xvfb": "1.2.4",
1689
1689
  "@devicefarmer/adbkit": "2.11.3",
1690
1690
  "@sitespeed.io/chromedriver": "102.0.5005-27",
1691
1691
  "@sitespeed.io/edgedriver": "101.0.1210-32",
1692
1692
  "@sitespeed.io/geckodriver": "0.31.0",
1693
- "@sitespeed.io/throttle": "3.1.1",
1693
+ "@sitespeed.io/throttle": "4.0.1",
1694
1694
  "@sitespeed.io/tracium": "0.3.3",
1695
1695
  "btoa": "1.2.1",
1696
1696
  "chrome-har": "0.13.0",
@@ -9172,9 +9172,9 @@
9172
9172
  }
9173
9173
  },
9174
9174
  "@sitespeed.io/throttle": {
9175
- "version": "3.1.1",
9176
- "resolved": "https://registry.npmjs.org/@sitespeed.io/throttle/-/throttle-3.1.1.tgz",
9177
- "integrity": "sha512-6KOsYUQgAur5636IiGYblcRGOiiBAEVao+imE+VkEeBBIGcYUwu4//oXkwdG2WjjE+2gS4AsMzfyHTlv6zXUfg==",
9175
+ "version": "4.0.1",
9176
+ "resolved": "https://registry.npmjs.org/@sitespeed.io/throttle/-/throttle-4.0.1.tgz",
9177
+ "integrity": "sha512-uuni3i+qhoZc0R8dCucLbZOd/GV6GUBRvpm/rUyx4WE7a07Ty4wG4//CRf94jbnq9E/mN8/dv5bN2/P6HdTM4g==",
9178
9178
  "requires": {
9179
9179
  "minimist": "1.2.6"
9180
9180
  }
@@ -9758,16 +9758,16 @@
9758
9758
  }
9759
9759
  },
9760
9760
  "browsertime": {
9761
- "version": "16.8.1",
9762
- "resolved": "https://registry.npmjs.org/browsertime/-/browsertime-16.8.1.tgz",
9763
- "integrity": "sha512-YLI00NgAbpHMLv2eKA/YEf15e8UeRpXXBykyuSqrUwjzx11zEVtnWY93X38GHcaqGcTfWvjmkGfX6eKgeXcxgw==",
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==",
9764
9764
  "requires": {
9765
9765
  "@cypress/xvfb": "1.2.4",
9766
9766
  "@devicefarmer/adbkit": "2.11.3",
9767
9767
  "@sitespeed.io/chromedriver": "102.0.5005-27",
9768
9768
  "@sitespeed.io/edgedriver": "101.0.1210-32",
9769
9769
  "@sitespeed.io/geckodriver": "0.31.0",
9770
- "@sitespeed.io/throttle": "3.1.1",
9770
+ "@sitespeed.io/throttle": "4.0.1",
9771
9771
  "@sitespeed.io/tracium": "0.3.3",
9772
9772
  "btoa": "1.2.1",
9773
9773
  "chrome-har": "0.13.0",
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.0.0",
7
+ "version": "25.2.0",
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.8.1",
83
+ "browsertime": "16.9.1",
84
84
  "coach-core": "7.1.2",
85
85
  "cli-color": "2.0.2",
86
86
  "concurrent-queue": "7.0.2",