browsertime 24.8.2 → 25.0.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 +71 -47
- package/lib/support/cli.js +1 -7
- package/lib/support/har/index.js +18 -12
- package/lib/video/postprocessing/visualmetrics/visualMetrics.js +8 -23
- package/package.json +11 -12
- package/types/video/postprocessing/visualmetrics/visualMetrics.d.ts +1 -1
- package/types/video/postprocessing/visualmetrics/visualMetrics.d.ts.map +1 -1
- package/visualmetrics/visualmetrics.py +0 -2645
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,32 @@
|
|
|
1
1
|
# Browsertime changelog (we do [semantic versioning](https://semver.org))
|
|
2
2
|
|
|
3
|
+
## 25.0.0 - 2025-07-16
|
|
4
|
+
|
|
5
|
+
### Breaking
|
|
6
|
+
* Support NodeJS 20 or later for Browsertime [#2307](https://github.com/sitespeedio/browsertime/pull/2307)
|
|
7
|
+
* Removed the old and outdated VisualMetrics [#2306](https://github.com/sitespeedio/browsertime/pull/2306). `--visualMetricsPortable` is removed and the "new" version is always used.
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
* Updated to Yargs 18.0.0 [#2305](https://github.com/sitespeedio/browsertime/pull/2305).
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
* Updated dev dependencies [#2308](https://github.com/sitespeedio/browsertime/pull/2308) and [#2309](https://github.com/sitespeedio/browsertime/pull/2309).
|
|
14
|
+
* Updated Edge dependency so it uses the new Microsoft domain for downloading [#2312](https://github.com/sitespeedio/browsertime/pull/2312).
|
|
15
|
+
|
|
16
|
+
## 24.9.0 - 2025-06-30
|
|
17
|
+
### Added
|
|
18
|
+
* Update Docker container to use Chrome/edge 138, Firefox 140. Add Edgedriver and Chromedrinver 138 [#2303](https://github.com/sitespeedio/browsertime/pull/2303).
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
* Update Selenium webdriver to 4.34.0 [#2304](https://github.com/sitespeedio/browsertime/pull/2304).
|
|
22
|
+
* Add extra try/catch if main document timings is missing when generating the HAR [#2302](https://github.com/sitespeedio/browsertime/pull/2302).
|
|
23
|
+
|
|
3
24
|
## 24.8.2 - 2025-06-22
|
|
4
25
|
### Fixed
|
|
5
|
-
* Fix for serverTiming - thank you [Gregory Mierzwinski](https://github.com/gmierz) for PR [#2301](https://github.com/sitespeedio/browsertime/pull/2301)
|
|
26
|
+
* Fix for serverTiming - thank you [Gregory Mierzwinski](https://github.com/gmierz) for PR [#2301](https://github.com/sitespeedio/browsertime/pull/2301).
|
|
27
|
+
* Cleanup how we get the navigation timing metrics [#2300](https://github.com/sitespeedio/browsertime/pull/2300).
|
|
28
|
+
* Fix depercation warnings in visual metrics. Thank you [Emmanuel Ferdman](https://github.com/emmanuel-ferdman) for PR [#2297](https://github.com/sitespeedio/browsertime/pull/2297).
|
|
29
|
+
|
|
6
30
|
|
|
7
31
|
## 24.8.1 - 2025-06-01
|
|
8
32
|
### Fixed
|
|
@@ -185,7 +209,7 @@ Andy Davies](https://github.com/andydavies) cool [https://github.com/andydavies/
|
|
|
185
209
|
### Added
|
|
186
210
|
* Updated to Chrome and Chromedriver 130 [#2192](https://github.com/sitespeedio/browsertime/pull/2192)
|
|
187
211
|
* The Chrome in the ARM container is bumped from 107 to 130 [#2194](https://github.com/sitespeedio/browsertime/pull/2194).
|
|
188
|
-
|
|
212
|
+
|
|
189
213
|
### Fixed
|
|
190
214
|
* New Geckodriver install that fixes running on ARM in the Docker container [#2193](https://github.com/sitespeedio/browsertime/pull/2193).
|
|
191
215
|
|
|
@@ -385,7 +409,7 @@ There's a breaking change for Firefox if you add your own request header or if y
|
|
|
385
409
|
|
|
386
410
|
## 21.5.0 - 2024-03-12
|
|
387
411
|
### Added
|
|
388
|
-
* Firefox:
|
|
412
|
+
* Firefox:
|
|
389
413
|
* Move injectJS functionality to Bidi [#2088](https://github.com/sitespeedio/browsertime/pull/2088). This makes it possible to inject JS in Firefox on mobile.
|
|
390
414
|
* Expose Bidi in commands [#2091](https://github.com/sitespeedio/browsertime/pull/2091). You can now use webdriver bidi direct in your commands.
|
|
391
415
|
### Fixed
|
|
@@ -423,7 +447,7 @@ There's a breaking change for Firefox if you add your own request header or if y
|
|
|
423
447
|
* Set correct viewports for the following emulated mobiles for Chrome: iPhone 14 Pro Max [#2070](https://github.com/sitespeedio/browsertime/pull/2070).
|
|
424
448
|
* Update adbkit to 3.2.6 [#2069](https://github.com/sitespeedio/browsertime/pull/2069).
|
|
425
449
|
* Selenium 4.17.0 [#2068](https://github.com/sitespeedio/browsertime/pull/2068).
|
|
426
|
-
* There was a missing await when getting the tcpdump [#2075](https://github.com/sitespeedio/browsertime/pull/2075)
|
|
450
|
+
* There was a missing await when getting the tcpdump [#2075](https://github.com/sitespeedio/browsertime/pull/2075)
|
|
427
451
|
* Remove all trace level logs (and do debug instead) since trace added unnecessary stacktraces to the log [#2074](https://github.com/sitespeedio/browsertime/pull/2074).
|
|
428
452
|
|
|
429
453
|
## 21.1.0 - 2024-01-24
|
|
@@ -470,7 +494,7 @@ The new version uses JSDoc to generate documentation for scripting and make it p
|
|
|
470
494
|
* Firefox 121 in the Docker container.g
|
|
471
495
|
|
|
472
496
|
## 19.3.1 - 2023-12-18
|
|
473
|
-
### Fixed
|
|
497
|
+
### Fixed
|
|
474
498
|
* Ensure that visual metrics python script is included in the release.
|
|
475
499
|
|
|
476
500
|
## 19.3.0 - 2023-12-18
|
|
@@ -517,7 +541,7 @@ The new version uses JSDoc to generate documentation for scripting and make it p
|
|
|
517
541
|
* Updated all dependencies to latest versions: ADB kit 3.2.5 [#2017](https://github.com/sitespeedio/browsertime/pull/2017), execa, dayjs, get-port and Chromedriver [#2015](https://github.com/sitespeedio/browsertime/pull/2015).
|
|
518
542
|
|
|
519
543
|
## 17.19.0 - 2023-11-03
|
|
520
|
-
### Added
|
|
544
|
+
### Added
|
|
521
545
|
* Updated to Chrome, Firefox and Edge 119 in the Docker container [#2010](https://github.com/sitespeedio/browsertime/pull/2010).
|
|
522
546
|
* Updated to Edgedriver 119.
|
|
523
547
|
|
|
@@ -533,7 +557,7 @@ The new version uses JSDoc to generate documentation for scripting and make it p
|
|
|
533
557
|
### Added
|
|
534
558
|
* Updated to Chromedriver 119 [#2003](https://github.com/sitespeedio/browsertime/pull/2003). 119 works with both Chrome 118 and 119 so it fixes [#1197](https://github.com/sitespeedio/browsertime/issues/1997).
|
|
535
559
|
* Add support for network idle method to know when to end a test that uses network logs. Uses Bidi for Firefox and CDP for Chrome to listen on network events to know when to end a test. By default 5 seconds idle network time ends a tests (you could have network responses that hasn't arrived yet) [#1960](https://github.com/sitespeedio/browsertime/pull/1960). Potentially this can help SPA users or users where the page uses iframes. You can try it out by adding `--pageCompleteCheckNetworkIdle` yo your command line. This is still some work in progress but feel free to try ut out.
|
|
536
|
-
* The resources script now collects number of resources served from the browser cashe for browser that supports that through the resource timing API [#1998](https://github.com/sitespeedio/browsertime/pull/1998)
|
|
560
|
+
* The resources script now collects number of resources served from the browser cashe for browser that supports that through the resource timing API [#1998](https://github.com/sitespeedio/browsertime/pull/1998)
|
|
537
561
|
|
|
538
562
|
### Fixed
|
|
539
563
|
* Make sure timer always is cleared. There was case of where we do a rase beteween a promise and a timeout where the timeout timer wasn't cleared/removed [#2005](https://github.com/sitespeedio/browsertime/pull/2005).
|
|
@@ -551,7 +575,7 @@ The new version uses JSDoc to generate documentation for scripting and make it p
|
|
|
551
575
|
### Added
|
|
552
576
|
* Firefox 117 and Edge 116 in the Docker container.
|
|
553
577
|
|
|
554
|
-
### Fixed
|
|
578
|
+
### Fixed
|
|
555
579
|
* Updated the BiDi HAR exporter for Firefox to version 0.0.12. This version will not work with Firefox 116 so if you use the BiDi HAR exporter you need to upgrade to Firefox 117.
|
|
556
580
|
|
|
557
581
|
## 17.15.0 - 2023-08-16
|
|
@@ -650,10 +674,10 @@ The new version uses JSDoc to generate documentation for scripting and make it p
|
|
|
650
674
|
|
|
651
675
|
## 17.8.1 - 2023-04-12
|
|
652
676
|
### Fixed
|
|
653
|
-
* Upgraded to Firefox HAR 0.0.10 [#1939](https://github.com/sitespeedio/browsertime/pull/1939).
|
|
677
|
+
* Upgraded to Firefox HAR 0.0.10 [#1939](https://github.com/sitespeedio/browsertime/pull/1939).
|
|
654
678
|
## 17.8.0 - 2023-04-11
|
|
655
679
|
### Fixed
|
|
656
|
-
* Upgraded to Firefox HAR 0.0.8 [#1937](https://github.com/sitespeedio/browsertime/pull/1937).
|
|
680
|
+
* Upgraded to Firefox HAR 0.0.8 [#1937](https://github.com/sitespeedio/browsertime/pull/1937).
|
|
657
681
|
|
|
658
682
|
### Added
|
|
659
683
|
* Upgraded to Firefox 112 in the Docker container.
|
|
@@ -698,7 +722,7 @@ The new version uses JSDoc to generate documentation for scripting and make it p
|
|
|
698
722
|
* Bumped Geckodriver to 0.32.2 and Edgedriver to 111.
|
|
699
723
|
|
|
700
724
|
## 17.2.0 - 2023-03-14
|
|
701
|
-
### Added
|
|
725
|
+
### Added
|
|
702
726
|
* Updated Chrome, Chromedriver, Edge and Firefox to 111.
|
|
703
727
|
|
|
704
728
|
## 17.1.1 - 2023-03-04
|
|
@@ -721,7 +745,7 @@ The project was transitioned to a [pure ESM package](https://gist.github.com/sin
|
|
|
721
745
|
|
|
722
746
|
|
|
723
747
|
#### CLI users
|
|
724
|
-
If you are a command line user and use scripting, you will need to do a change to your scripts or add a extra configuration.
|
|
748
|
+
If you are a command line user and use scripting, you will need to do a change to your scripts or add a extra configuration.
|
|
725
749
|
|
|
726
750
|
The new browsertime version treat all JavaScript files that ends with *.js* as ESM modules, that means your old script files will not work out of the box. There's a couple of fixes for that:
|
|
727
751
|
|
|
@@ -741,7 +765,7 @@ export default async function (context, commands) {
|
|
|
741
765
|
}
|
|
742
766
|
```
|
|
743
767
|
|
|
744
|
-
If you have more complicated scripts, follow the [ESM package guide](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).
|
|
768
|
+
If you have more complicated scripts, follow the [ESM package guide](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).
|
|
745
769
|
|
|
746
770
|
This is the best fix and will woirk 100% of the time.
|
|
747
771
|
|
|
@@ -749,7 +773,7 @@ This is the best fix and will woirk 100% of the time.
|
|
|
749
773
|
|
|
750
774
|
**Another quick fix alternative**: As a last alternative add `--cjs` as a parameter to your test. That way the scripting file will be treated as a commonjs file. This is a hack, so to make sure it works, the user that runs Browsertime need to have write privileges to the folder where you have your scripting files. Browsertime will create a package.json file on the same levels as yoru script file. If you already have a package.json there, it will be overwritten.
|
|
751
775
|
|
|
752
|
-
#### Non cli users
|
|
776
|
+
#### Non cli users
|
|
753
777
|
If you import Browsertime in NodeJS we changed how you do your import.
|
|
754
778
|
|
|
755
779
|
If you use ES modules you can import Browsertime like this:
|
|
@@ -774,7 +798,7 @@ If you run Browsertime direct using NodeJs (and not using Docker) you need to in
|
|
|
774
798
|
python -m pip install --user OpenCV-Python Numpy
|
|
775
799
|
```
|
|
776
800
|
|
|
777
|
-
This is pretty cool because it makes dependencies easier to install on all platforms + the script has also been cleaned up so its easier for us to maintain.
|
|
801
|
+
This is pretty cool because it makes dependencies easier to install on all platforms + the script has also been cleaned up so its easier for us to maintain.
|
|
778
802
|
|
|
779
803
|
### Added
|
|
780
804
|
* Selenium 4.8.
|
|
@@ -873,7 +897,7 @@ This is pretty cool because it makes dependencies easier to install on all platf
|
|
|
873
897
|
* Fixed `--preWarmServer` so it works with `--headless`, Docker and specific Android or iOS device [#1815](https://github.com/sitespeedio/browsertime/pull/1815).
|
|
874
898
|
## 16.11.0 - 2022-06-28
|
|
875
899
|
|
|
876
|
-
### Added
|
|
900
|
+
### Added
|
|
877
901
|
* Firefox 102 and Edge 103 in the Docker container.
|
|
878
902
|
* Use Edgedriver 103 [#1812](https://github.com/sitespeedio/browsertime/pull/1812)
|
|
879
903
|
### Fixed
|
|
@@ -899,7 +923,7 @@ This is pretty cool because it makes dependencies easier to install on all platf
|
|
|
899
923
|
* Collect number of CPU longtasks before largest contentful paint [#1806](https://github.com/sitespeedio/browsertime/pull/1806).
|
|
900
924
|
|
|
901
925
|
### Fixed
|
|
902
|
-
* 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).
|
|
926
|
+
* 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).
|
|
903
927
|
## 16.8.1 - 2022-06-09
|
|
904
928
|
### Fixed
|
|
905
929
|
* Fix for getting the MOZ log, thank you [Gregory Mierzwinski](https://github.com/gmierz) for PR [#1802](https://github.com/sitespeedio/browsertime/pull/1802).
|
|
@@ -935,7 +959,7 @@ This is pretty cool because it makes dependencies easier to install on all platf
|
|
|
935
959
|
* Only get LCP in Visual Metrics if the LCP API gives us a element [#1786](https://github.com/sitespeedio/browsertime/pull/1786).
|
|
936
960
|
## 16.3.0 - 2022-05-07
|
|
937
961
|
### Added
|
|
938
|
-
* If you use `--visualElements` and the browser supports the Largest Contentful API, we also record
|
|
962
|
+
* If you use `--visualElements` and the browser supports the Largest Contentful API, we also record
|
|
939
963
|
the LCP from the video. This will help the Chrome team and other browser teams to get it right (see [https://bugs.chromium.org/p/chromium/issues/detail?id=1291502](https://bugs.chromium.org/p/chromium/issues/detail?id=1291502)) [#1782](https://github.com/sitespeedio/browsertime/pull/1782).
|
|
940
964
|
|
|
941
965
|
## 16.2.2 - 2022-05-06
|
|
@@ -972,7 +996,7 @@ the LCP from the video. This will help the Chrome team and other browser teams t
|
|
|
972
996
|
### Changed
|
|
973
997
|
* When I introduced flushing of the DNS per run I missed that it makes you need to run sudo to do it (Mac/Linux). That sucks so instead of being able to disable the flushing `--disableDNSFlush` you now enables it with `--flushDNS` [#1752](https://github.com/sitespeedio/browsertime/pull/1752).
|
|
974
998
|
|
|
975
|
-
### Added
|
|
999
|
+
### Added
|
|
976
1000
|
* Firefox 99 in the Docker container
|
|
977
1001
|
* Edge and Edgedriver 100
|
|
978
1002
|
|
|
@@ -998,7 +1022,7 @@ the LCP from the video. This will help the Chrome team and other browser teams t
|
|
|
998
1022
|
* Added more view ports for emulated mobile in Chrome [#1736](https://github.com/sitespeedio/browsertime/pull/1736).
|
|
999
1023
|
## 15.1.1 - 2022-02-24
|
|
1000
1024
|
### Fixed
|
|
1001
|
-
* Updated Chromedriver dependency that fixes installation on M1 and [some send keys issues](https://chromedriver.storage.googleapis.com/98.0.4758.102/notes.txt).
|
|
1025
|
+
* Updated Chromedriver dependency that fixes installation on M1 and [some send keys issues](https://chromedriver.storage.googleapis.com/98.0.4758.102/notes.txt).
|
|
1002
1026
|
## 15.1.0 - 2022-02-24
|
|
1003
1027
|
### Added
|
|
1004
1028
|
* Collect timings from main document. The result includes a field named mainDocumentTimings and contains blocked, dns, connect, send, wait, receive, ssl as long as you get a HAR file from the browser [#1735](https://github.com/sitespeedio/browsertime/pull/1735).
|
|
@@ -1047,7 +1071,7 @@ the LCP from the video. This will help the Chrome team and other browser teams t
|
|
|
1047
1071
|
|
|
1048
1072
|
## 14.19.0 - 2022-02-02
|
|
1049
1073
|
|
|
1050
|
-
### Added
|
|
1074
|
+
### Added
|
|
1051
1075
|
* Chrome and Chromedriver 98 [#1704](https://github.com/sitespeedio/browsertime/pull/1704).
|
|
1052
1076
|
|
|
1053
1077
|
### Fixed
|
|
@@ -1079,10 +1103,10 @@ the LCP from the video. This will help the Chrome team and other browser teams t
|
|
|
1079
1103
|
* New click by name command `click.byName(name)` [#1697](https://github.com/sitespeedio/browsertime/pull/1697).
|
|
1080
1104
|
|
|
1081
1105
|
### Fixed
|
|
1082
|
-
* Remove the top 10 rows of the image to handle progress bars on some mobile browser recordings. Thank you [Gregory Mierzwinski](https://github.com/gmierz) for PR [#1687](https://github.com/sitespeedio/browsertime/pull/1687).
|
|
1106
|
+
* Remove the top 10 rows of the image to handle progress bars on some mobile browser recordings. Thank you [Gregory Mierzwinski](https://github.com/gmierz) for PR [#1687](https://github.com/sitespeedio/browsertime/pull/1687).
|
|
1083
1107
|
|
|
1084
1108
|
## 14.16.0 - 2022-01-14
|
|
1085
|
-
### Added
|
|
1109
|
+
### Added
|
|
1086
1110
|
* Upgraded Geckodriver downloader that downloads a pre-built Geckodriver on Raspberry Pis.
|
|
1087
1111
|
|
|
1088
1112
|
## 14.15.0 - 2022-01-12
|
|
@@ -1125,7 +1149,7 @@ the LCP from the video. This will help the Chrome team and other browser teams t
|
|
|
1125
1149
|
### Fixed
|
|
1126
1150
|
* Use the viewport to determine if more cropping is needed in visual metrics. Thank you [Gregory Mierzwinski](https://github.com/gmierz) for PR [#1680](https://github.com/sitespeedio/browsertime/pull/1680).
|
|
1127
1151
|
### Added
|
|
1128
|
-
* Updated to Selenium 4.1.0 [#1679](https://github.com/sitespeedio/browsertime/pull/1679)
|
|
1152
|
+
* Updated to Selenium 4.1.0 [#1679](https://github.com/sitespeedio/browsertime/pull/1679)
|
|
1129
1153
|
|
|
1130
1154
|
## 14.10.2 - 2021-11-20
|
|
1131
1155
|
### Fixed
|
|
@@ -1134,7 +1158,7 @@ the LCP from the video. This will help the Chrome team and other browser teams t
|
|
|
1134
1158
|
## 14.10.1 - 2021-11-19
|
|
1135
1159
|
### Fixed
|
|
1136
1160
|
* Disabled the automatic Chrome/Chromedriver version check in Chromedriver [#1676](https://github.com/sitespeedio/browsertime/pull/1676).
|
|
1137
|
-
* Loop until we find a frame with a good viewport or until we run out of retries for Visual Metrics. Thank you [Gregory Mierzwinski](https://github.com/gmierz) for PR [#1668](https://github.com/sitespeedio/browsertime/pull/1668).
|
|
1161
|
+
* Loop until we find a frame with a good viewport or until we run out of retries for Visual Metrics. Thank you [Gregory Mierzwinski](https://github.com/gmierz) for PR [#1668](https://github.com/sitespeedio/browsertime/pull/1668).
|
|
1138
1162
|
|
|
1139
1163
|
## 14.10.0 - 2021-11-16
|
|
1140
1164
|
### Added
|
|
@@ -1178,7 +1202,7 @@ the LCP from the video. This will help the Chrome team and other browser teams t
|
|
|
1178
1202
|
* Log Firefox preference and Chrome args on debug level [#1654](https://github.com/sitespeedio/browsertime/pull/1654)
|
|
1179
1203
|
## 14.5.0 - 2021-09-30
|
|
1180
1204
|
### Added
|
|
1181
|
-
* Added CSS selector support for mouse commands [#1645](https://github.com/sitespeedio/browsertime/pull/1645)
|
|
1205
|
+
* Added CSS selector support for mouse commands [#1645](https://github.com/sitespeedio/browsertime/pull/1645)
|
|
1182
1206
|
|
|
1183
1207
|
### Fixed
|
|
1184
1208
|
* Internal refactoring of the mouse command [#1646](https://github.com/sitespeedio/browsertime/pull/1646) and [#1647](https://github.com/sitespeedio/browsertime/pull/1647).
|
|
@@ -1286,7 +1310,7 @@ romedriver 94 and Chrome 94 in the Docker container [#1643](https://github.com/s
|
|
|
1286
1310
|
## 12.9.1 - 2021-06-09
|
|
1287
1311
|
### Fixed
|
|
1288
1312
|
* Finally a fix for driving Safari on iOS. Start/stop the Safaridriver manually, see [#1596](https://github.com/sitespeedio/browsertime/pull/1596). Video on iOS is broken though, see if we can find a fix for that too.
|
|
1289
|
-
* Upgrade to use Selenium-4.0.0-beta.4 [#1592](https://github.com/sitespeedio/browsertime/pull/1592) and updated throttle, dayjs, execa and chrome-remote-interface to run latest versions [#1594](https://github.com/sitespeedio/browsertime/pull/1594).
|
|
1313
|
+
* Upgrade to use Selenium-4.0.0-beta.4 [#1592](https://github.com/sitespeedio/browsertime/pull/1592) and updated throttle, dayjs, execa and chrome-remote-interface to run latest versions [#1594](https://github.com/sitespeedio/browsertime/pull/1594).
|
|
1290
1314
|
## 12.9.0 - 2021-06-04
|
|
1291
1315
|
|
|
1292
1316
|
### Added
|
|
@@ -1388,9 +1412,9 @@ A special thanks to [Inderpartap Singh Cheema](https://github.com/inderpartap),
|
|
|
1388
1412
|
* New metrics: Delta between TTFB and First Contentful Paint, Largest Contentful paint and First visual change [#1528](https://github.com/sitespeedio/browsertime/pull/1528). You can use this if you have unstable TTFB and want to alert on front end metrics. Lets see when other also implement this :)
|
|
1389
1413
|
* Made it easier for people to get Google Web Vitals. We copy that data under the googleWebVitals namespace in the result JSON [#1521](https://github.com/sitespeedio/browsertime/pull/1521).
|
|
1390
1414
|
* Added TTFB as a single metric [#1522](https://github.com/sitespeedio/browsertime/pull/1522).
|
|
1391
|
-
* New stop watch command [#1512](https://github.com/sitespeedio/browsertime/pull/1512). Measure time by:
|
|
1392
|
-
```const timer = commands.stopWatch.get('my_timer');
|
|
1393
|
-
timer.start();
|
|
1415
|
+
* New stop watch command [#1512](https://github.com/sitespeedio/browsertime/pull/1512). Measure time by:
|
|
1416
|
+
```const timer = commands.stopWatch.get('my_timer');
|
|
1417
|
+
timer.start();
|
|
1394
1418
|
// Do something
|
|
1395
1419
|
// Stop the timer and add the result to the last tested URL
|
|
1396
1420
|
timer.stopAndAdd();
|
|
@@ -1451,8 +1475,8 @@ A special thanks to [Inderpartap Singh Cheema](https://github.com/inderpartap),
|
|
|
1451
1475
|
|
|
1452
1476
|
## 11.2.0 - 2021-01-24
|
|
1453
1477
|
### Added
|
|
1454
|
-
* Make it possible to listen to CDP events in scripting [#1473](https://github.com/sitespeedio/browsertime/pull/1473). There's a new command in scripting (for browsers that supports it): ```commands.cdp.on```. Here's an example to pickup all responses for a page :
|
|
1455
|
-
```
|
|
1478
|
+
* Make it possible to listen to CDP events in scripting [#1473](https://github.com/sitespeedio/browsertime/pull/1473). There's a new command in scripting (for browsers that supports it): ```commands.cdp.on```. Here's an example to pickup all responses for a page :
|
|
1479
|
+
```
|
|
1456
1480
|
const responses = [];
|
|
1457
1481
|
await commands.cdp.on('Network.responseReceived', params => {
|
|
1458
1482
|
responses.push(params);
|
|
@@ -1462,7 +1486,7 @@ A special thanks to [Inderpartap Singh Cheema](https://github.com/inderpartap),
|
|
|
1462
1486
|
```
|
|
1463
1487
|
## 11.1.2 - 2021-01-20
|
|
1464
1488
|
### Fixed
|
|
1465
|
-
* The last release didn't fix the problem when browsertime do not collect metrics.
|
|
1489
|
+
* The last release didn't fix the problem when browsertime do not collect metrics.
|
|
1466
1490
|
## 11.1.1 - 2021-01-20
|
|
1467
1491
|
### Fixed
|
|
1468
1492
|
* Added a guard if we do not collect any metrics [#1472](https://github.com/sitespeedio/browsertime/pull/1472).
|
|
@@ -1481,7 +1505,7 @@ A special thanks to [Inderpartap Singh Cheema](https://github.com/inderpartap),
|
|
|
1481
1505
|
* Setting path to Edge was broken, use `--edge.binaryPath` to point out the path to your Edge binary [#1461](https://github.com/sitespeedio/browsertime/pull/1461).
|
|
1482
1506
|
## 11.0.0 - 2020-12-18
|
|
1483
1507
|
### Changed
|
|
1484
|
-
* Record and keep the browser full screen (including URL bar) [#1435](https://github.com/sitespeedio/browsertime/pull/1435). All metrics should stay the same with this change but the video and the code will be easier :) When we implemented video a long time ago we wanted to cut out the URL bar but it made it harder to keep the video to look ok on different OS.
|
|
1508
|
+
* Record and keep the browser full screen (including URL bar) [#1435](https://github.com/sitespeedio/browsertime/pull/1435). All metrics should stay the same with this change but the video and the code will be easier :) When we implemented video a long time ago we wanted to cut out the URL bar but it made it harder to keep the video to look ok on different OS.
|
|
1485
1509
|
* Say goodbye to RUM Speed Index [#1439](https://github.com/sitespeedio/browsertime/pull/1439).
|
|
1486
1510
|
* Domain name on disk now uses underscore instead of dots in the name [#1445](https://github.com/sitespeedio/browsertime/pull/1445).
|
|
1487
1511
|
* Click the Android power button at the start of each test (instead of the home button [#1447](https://github.com/sitespeedio/browsertime/pull/1447).
|
|
@@ -1497,7 +1521,7 @@ A special thanks to [Inderpartap Singh Cheema](https://github.com/inderpartap),
|
|
|
1497
1521
|
* Add support using alias from CLI and use alias as folder name on disk [#1443](https://github.com/sitespeedio/browsertime/pull/1443).
|
|
1498
1522
|
* New option to store a more flat structure on disk converting the path part of the URL to one folder `--storeURLsAsFlatPageOnDisk`[#1450](https://github.com/sitespeedio/browsertime/pull/1450)
|
|
1499
1523
|
* Updated to Selenium 4.0.0-alpha.8 [#1451](https://github.com/sitespeedio/browsertime/pull/1451).
|
|
1500
|
-
* Updated to Firefox 84 in the Docker container.
|
|
1524
|
+
* Updated to Firefox 84 in the Docker container.
|
|
1501
1525
|
* Updated to Edgedriver 87
|
|
1502
1526
|
* Added Edge in the Docker container [#1458](https://github.com/sitespeedio/browsertime/pull/1458).
|
|
1503
1527
|
|
|
@@ -1509,12 +1533,12 @@ A special thanks to [Inderpartap Singh Cheema](https://github.com/inderpartap),
|
|
|
1509
1533
|
### Fixed
|
|
1510
1534
|
* The browsertime.json always included Firefox appConstants and the geckoprofiler JSON missed out on Visual Metrics, fixed in [#1434](https://github.com/sitespeedio/browsertime/pull/1434).
|
|
1511
1535
|
## 10.8.0 - 2020-11-18
|
|
1512
|
-
### Added
|
|
1536
|
+
### Added
|
|
1513
1537
|
* Updated to Firefox 83 in the Docker container.
|
|
1514
1538
|
* Updated Chrome and Chromedriver to 87.
|
|
1515
1539
|
## 10.7.0 - 2020-11-16
|
|
1516
1540
|
### Added
|
|
1517
|
-
* Add page generator tag to the HAR file [#1430](https://github.com/sitespeedio/browsertime/pull/1430)
|
|
1541
|
+
* Add page generator tag to the HAR file [#1430](https://github.com/sitespeedio/browsertime/pull/1430)
|
|
1518
1542
|
|
|
1519
1543
|
### Fixed
|
|
1520
1544
|
* Reverted to Geckodrover 0.27.0 since 0.28.0 cannot start Firefox on Android [#1431](https://github.com/sitespeedio/browsertime/pull/1431).
|
|
@@ -1583,7 +1607,7 @@ A special thanks to [Inderpartap Singh Cheema](https://github.com/inderpartap),
|
|
|
1583
1607
|
## 10.1.0 - 2020-09-22
|
|
1584
1608
|
|
|
1585
1609
|
### Added
|
|
1586
|
-
* Extra love for running tests in Android: Press the home button at the start of a test, verify that the phone state is "device" before starting to test (no need to run tests on offline devices) and
|
|
1610
|
+
* Extra love for running tests in Android: Press the home button at the start of a test, verify that the phone state is "device" before starting to test (no need to run tests on offline devices) and
|
|
1587
1611
|
added possibility to verify the internet connection on the device through ping (enable with `--androidVerifyNetwork`) [#1386](https://github.com/sitespeedio/browsertime/pull/1386).
|
|
1588
1612
|
|
|
1589
1613
|
### Fixed
|
|
@@ -1610,7 +1634,7 @@ The new 10.0 release mostly include technical changes that will make it easier f
|
|
|
1610
1634
|
### Tech
|
|
1611
1635
|
* Making a better structure for each browser, so its more understandable when you can run browser specific code. The old browser delegate (now only browser name) has the newly named functions:
|
|
1612
1636
|
* beforeBrowserStart
|
|
1613
|
-
* afterBrowserStart
|
|
1637
|
+
* afterBrowserStart
|
|
1614
1638
|
* beforeStartIteration
|
|
1615
1639
|
* beforeEachURL
|
|
1616
1640
|
* afterPageCompleteCheck
|
|
@@ -1619,7 +1643,7 @@ The new 10.0 release mostly include technical changes that will make it easier f
|
|
|
1619
1643
|
* getHARs
|
|
1620
1644
|
* beforeBrowserStop
|
|
1621
1645
|
|
|
1622
|
-
This makes it easier to make sure when to collect metrics, stop trace logs and do whatever you need. Implemented in [#1348](https://github.com/sitespeedio/browsertime/pull/1348) and [#1367](https://github.com/sitespeedio/browsertime/pull/1367).
|
|
1646
|
+
This makes it easier to make sure when to collect metrics, stop trace logs and do whatever you need. Implemented in [#1348](https://github.com/sitespeedio/browsertime/pull/1348) and [#1367](https://github.com/sitespeedio/browsertime/pull/1367).
|
|
1623
1647
|
|
|
1624
1648
|
* New structure for browser, trying to decrease line of code per file and making it easier to navigate the code and prepare for adding support for other browser drivers than Selenium [#1354](https://github.com/sitespeedio/browsertime/pull/1354) [#1355](https://github.com/sitespeedio/browsertime/pull/1355) [#1356](https://github.com/sitespeedio/browsertime/pull/1356).
|
|
1625
1649
|
|
|
@@ -1723,7 +1747,7 @@ This makes it easier to make sure when to collect metrics, stop trace logs and d
|
|
|
1723
1747
|
|
|
1724
1748
|
## 8.12.1 - 2020-05-19
|
|
1725
1749
|
### Fixed
|
|
1726
|
-
* Fixed so metrics in the CLI always shows two decimals [#1282](https://github.com/sitespeedio/browsertime/pull/1282).
|
|
1750
|
+
* Fixed so metrics in the CLI always shows two decimals [#1282](https://github.com/sitespeedio/browsertime/pull/1282).
|
|
1727
1751
|
* Adopt the rename of layout-instability-api to CLS and remove report in percentage since it do not make sense [#1283](https://github.com/sitespeedio/browsertime/pull/1283) and [#1284](https://github.com/sitespeedio/browsertime/pull/1284).
|
|
1728
1752
|
|
|
1729
1753
|
## 8.12.0 - 2020-05-12
|
|
@@ -1819,7 +1843,7 @@ All work in [#1234](https://github.com/sitespeedio/browsertime/pull/1234) and [#
|
|
|
1819
1843
|
## 8.3.0 - 2020-03-20
|
|
1820
1844
|
### Added
|
|
1821
1845
|
* Upgraded from selenium-4.0.0-alpha.5 to selenium-4.0.0-alpha.7 [#1221](https://github.com/sitespeedio/browsertime/pull/1221).
|
|
1822
|
-
* Added supported for unified scripts Thank you [Tarek Ziade](https://github.com/tarekziade) for the PR [#1220](https://github.com/sitespeedio/browsertime/pull/1220). Checkout [#1216](https://github.com/sitespeedio/browsertime/issues/1216) for more info.
|
|
1846
|
+
* Added supported for unified scripts Thank you [Tarek Ziade](https://github.com/tarekziade) for the PR [#1220](https://github.com/sitespeedio/browsertime/pull/1220). Checkout [#1216](https://github.com/sitespeedio/browsertime/issues/1216) for more info.
|
|
1823
1847
|
|
|
1824
1848
|
### Fixed
|
|
1825
1849
|
* Running Chrome in emulated mobile mode sometimes picked up Chromes info bar as First Visual Change. The default bottom margin was changed from 10 pixels to 16 pixels [#1224](https://github.com/sitespeedio/browsertime/pull/1224).
|
|
@@ -1871,7 +1895,7 @@ All work in [#1234](https://github.com/sitespeedio/browsertime/pull/1234) and [#
|
|
|
1871
1895
|
|
|
1872
1896
|
Woho Browsertime 8.0.0 is here!
|
|
1873
1897
|
|
|
1874
|
-
There's a lot of new things in 8.0.0. First: A big THANK YOU to all the people at Mozilla that have contributed with all the new stuff:
|
|
1898
|
+
There's a lot of new things in 8.0.0. First: A big THANK YOU to all the people at Mozilla that have contributed with all the new stuff:
|
|
1875
1899
|
* [Nick Alexander](https://github.com/ncalexan)
|
|
1876
1900
|
* [Denis Palmeiro](https://github.com/dpalmeiro)
|
|
1877
1901
|
* [Sean Feng](https://github.com/sefeng211)
|
|
@@ -1881,7 +1905,7 @@ There's a lot of new things in 8.0.0. First: A big THANK YOU to all the people a
|
|
|
1881
1905
|
* [Tarek Ziade](https://github.com/tarekziade)
|
|
1882
1906
|
* [Gregory Mierzwinski](https://github.com/gmierz)
|
|
1883
1907
|
|
|
1884
|
-
Major new things:
|
|
1908
|
+
Major new things:
|
|
1885
1909
|
* You can collect CPU profiles from Firefox with `--firefox.geckoProfiler` and view them at https://profiler.firefox.com !
|
|
1886
1910
|
* You can run Firefox on Android!
|
|
1887
1911
|
* Now the window recorder for Firefox works great. That means you can record a video of the loading of your page without using FFMPEG. Add `--firefox.windowRecorder` and `-video`to your run.
|
|
@@ -1905,7 +1929,7 @@ Lets go through all the new things. There's a couple things that changes:
|
|
|
1905
1929
|
* Start Firefox with a new profile cloned from a directory. Use this to pre-populate databases with
|
|
1906
1930
|
certificateY, tracking protectionlists etc `--firefox.profileTemplate`.
|
|
1907
1931
|
* Fixes so `--firefox.windowRecorder` works better (use it to record a video of the screen).
|
|
1908
|
-
* You can now choose the Activity hosting the Chrome WebView on Android using `--chrome.android.activity`. You can also name the process of the Activity hosting the WebView using `--chrome.android.process`.
|
|
1932
|
+
* You can now choose the Activity hosting the Chrome WebView on Android using `--chrome.android.activity`. You can also name the process of the Activity hosting the WebView using `--chrome.android.process`.
|
|
1909
1933
|
* Move visualmetrics.py to a python package [#1148](https://github.com/sitespeedio/browsertime/pull/1148) - thank you [Tarek Ziade](https://github.com/tarekziade)!
|
|
1910
1934
|
* Run Safari on iOS with just `-b safari --ios` [#1141](https://github.com/sitespeedio/browsertime/pull/1141)
|
|
1911
1935
|
* Enable verbose Chromedriver logging with `--chrome.enableVerboseChromeDriverLog` [#1152](https://github.com/sitespeedio/browsertime/pull/1152)
|
|
@@ -1927,9 +1951,9 @@ Lets go through all the new things. There's a couple things that changes:
|
|
|
1927
1951
|
|
|
1928
1952
|
### Fixed
|
|
1929
1953
|
* Ignore certificate errors by default when we record with WPR [#1150](https://github.com/sitespeedio/browsertime/pull/1150)
|
|
1930
|
-
* If Visual Metrics failed, the original error wasn't there in the log. Fixed by [#1149](https://github.com/sitespeedio/browsertime/pull/1149)
|
|
1954
|
+
* If Visual Metrics failed, the original error wasn't there in the log. Fixed by [#1149](https://github.com/sitespeedio/browsertime/pull/1149)
|
|
1931
1955
|
* Fix so the devtools port is added only one time on Android [#1145](https://github.com/sitespeedio/browsertime/pull/1145)
|
|
1932
|
-
* If Visual Metrics fails, let produce an error that ends up in the JSON [#1147](https://github.com/sitespeedio/browsertime/pull/1147)
|
|
1956
|
+
* If Visual Metrics fails, let produce an error that ends up in the JSON [#1147](https://github.com/sitespeedio/browsertime/pull/1147)
|
|
1933
1957
|
* Cleanup WPR code to use default page complete check [#1143](https://github.com/sitespeedio/browsertime/pull/1143)
|
|
1934
1958
|
* CDP bug when scripting, fixed in [#1153](https://github.com/sitespeedio/browsertime/pull/1153)
|
|
1935
1959
|
* If navigation never happens, make sure we log what's going on and fail hard by throwing an error [#1130](https://github.com/sitespeedio/browsertime/pull/1130).
|
package/lib/support/cli.js
CHANGED
|
@@ -45,7 +45,7 @@ function hasbin(bin) {
|
|
|
45
45
|
function validateInput(argv) {
|
|
46
46
|
// Check NodeJS major version
|
|
47
47
|
const fullVersion = process.versions.node;
|
|
48
|
-
const minVersion =
|
|
48
|
+
const minVersion = 20;
|
|
49
49
|
const majorVersion = fullVersion.split('.')[0];
|
|
50
50
|
if (majorVersion < minVersion) {
|
|
51
51
|
return (
|
|
@@ -740,12 +740,6 @@ export function parseCommandLine() {
|
|
|
740
740
|
type: 'boolean',
|
|
741
741
|
describe: 'Collect Contentful Speed Index when you run --visualMetrics.'
|
|
742
742
|
})
|
|
743
|
-
.option('visualMetricsPortable', {
|
|
744
|
-
type: 'boolean',
|
|
745
|
-
default: true,
|
|
746
|
-
describe:
|
|
747
|
-
'Use the portable visual-metrics processing script (no ImageMagick dependencies).'
|
|
748
|
-
})
|
|
749
743
|
.option('visualMetricsKeyColor', {
|
|
750
744
|
type: 'array',
|
|
751
745
|
nargs: 8,
|
package/lib/support/har/index.js
CHANGED
|
@@ -191,23 +191,29 @@ export function addCreator(har, comment) {
|
|
|
191
191
|
return har;
|
|
192
192
|
}
|
|
193
193
|
export function getMainDocumentTimings(har) {
|
|
194
|
-
|
|
195
|
-
|
|
194
|
+
// Sometimes the HAR is dirty
|
|
195
|
+
try {
|
|
196
|
+
const timings = [];
|
|
197
|
+
const entries = [...har.log.entries];
|
|
196
198
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
199
|
+
for (let page of har.log.pages) {
|
|
200
|
+
const pageId = page.id;
|
|
201
|
+
const url = page._url;
|
|
200
202
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
+
let pageEntries = [...entries];
|
|
204
|
+
const finalURL = getFinalURL(pageEntries, pageId);
|
|
203
205
|
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
206
|
+
pageEntries = pageEntries.filter(
|
|
207
|
+
entry => entry.pageref === pageId && entry.request.url === finalURL
|
|
208
|
+
);
|
|
207
209
|
|
|
208
|
-
|
|
210
|
+
timings.push({ url, timings: pageEntries[0].timings });
|
|
211
|
+
}
|
|
212
|
+
return timings;
|
|
213
|
+
} catch (error) {
|
|
214
|
+
log.error('Could not get main document timings ' + error);
|
|
215
|
+
return [];
|
|
209
216
|
}
|
|
210
|
-
return timings;
|
|
211
217
|
}
|
|
212
218
|
export function getFullyLoaded(har) {
|
|
213
219
|
const fullyLoaded = [];
|
|
@@ -8,16 +8,6 @@ import { getProperty } from '../../../support/util.js';
|
|
|
8
8
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
9
9
|
const log = getLogger('browsertime.video');
|
|
10
10
|
|
|
11
|
-
const SCRIPT_PATH = path.join(
|
|
12
|
-
__dirname,
|
|
13
|
-
'..',
|
|
14
|
-
'..',
|
|
15
|
-
'..',
|
|
16
|
-
'..',
|
|
17
|
-
'visualmetrics',
|
|
18
|
-
'visualmetrics.py'
|
|
19
|
-
);
|
|
20
|
-
|
|
21
11
|
const PORTABLE_SCRIPT_PATH = path.join(
|
|
22
12
|
__dirname,
|
|
23
13
|
'..',
|
|
@@ -28,16 +18,11 @@ const PORTABLE_SCRIPT_PATH = path.join(
|
|
|
28
18
|
'visualmetrics-portable.py'
|
|
29
19
|
);
|
|
30
20
|
|
|
31
|
-
function
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
return SCRIPT_PATH;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export async function checkDependencies(options) {
|
|
40
|
-
return execa(process.env.PYTHON || 'python', [getScript(options), '--check']);
|
|
21
|
+
export async function checkDependencies() {
|
|
22
|
+
return execa(process.env.PYTHON || 'python', [
|
|
23
|
+
PORTABLE_SCRIPT_PATH,
|
|
24
|
+
'--check'
|
|
25
|
+
]);
|
|
41
26
|
}
|
|
42
27
|
export async function run(
|
|
43
28
|
videoPath,
|
|
@@ -141,13 +126,13 @@ export async function run(
|
|
|
141
126
|
scriptArguments.push('-vvv');
|
|
142
127
|
}
|
|
143
128
|
|
|
144
|
-
scriptArguments.unshift(
|
|
129
|
+
scriptArguments.unshift(PORTABLE_SCRIPT_PATH);
|
|
145
130
|
|
|
146
|
-
log.debug('Running visualmetrics
|
|
131
|
+
log.debug('Running visualmetrics ' + scriptArguments.join(' '));
|
|
147
132
|
log.info('Get visual metrics from the video');
|
|
148
133
|
try {
|
|
149
134
|
const result = await execa(process.env.PYTHON || 'python', scriptArguments);
|
|
150
|
-
log.debug('visualmetrics
|
|
135
|
+
log.debug('visualmetrics output:' + result.stdout);
|
|
151
136
|
if (options.verbose < 1) {
|
|
152
137
|
try {
|
|
153
138
|
await removeFile(visualMetricsLogFile);
|
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": "
|
|
4
|
+
"version": "25.0.0",
|
|
5
5
|
"bin": "./bin/browsertime.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"types": "./types/scripting.d.ts",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@devicefarmer/adbkit": "3.3.8",
|
|
10
|
-
"@sitespeed.io/chromedriver": "
|
|
11
|
-
"@sitespeed.io/edgedriver": "
|
|
10
|
+
"@sitespeed.io/chromedriver": "138.0.7204-49",
|
|
11
|
+
"@sitespeed.io/edgedriver": "138.0.3351-83",
|
|
12
12
|
"@sitespeed.io/geckodriver": "0.36.0",
|
|
13
13
|
"@sitespeed.io/log": "0.2.6",
|
|
14
14
|
"@sitespeed.io/throttle": "5.0.1",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"fast-stats": "0.0.7",
|
|
20
20
|
"ff-test-bidi-har-export": "0.0.17",
|
|
21
21
|
"lodash.merge": "4.6.2",
|
|
22
|
-
"selenium-webdriver": "4.
|
|
23
|
-
"yargs": "
|
|
22
|
+
"selenium-webdriver": "4.34.0",
|
|
23
|
+
"yargs": "18.0.0"
|
|
24
24
|
},
|
|
25
25
|
"optionalDependencies": {
|
|
26
26
|
"@jimp/custom": "0.22.12",
|
|
@@ -32,20 +32,20 @@
|
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/selenium-webdriver": "4.1.25",
|
|
35
|
-
"ava": "6.
|
|
35
|
+
"ava": "6.4.0",
|
|
36
36
|
"clean-jsdoc-theme": "4.3.0",
|
|
37
|
-
"eslint": "9.
|
|
37
|
+
"eslint": "9.30.1",
|
|
38
38
|
"eslint-config-prettier": "10.1.5",
|
|
39
|
-
"eslint-plugin-prettier": "5.
|
|
40
|
-
"eslint-plugin-unicorn": "
|
|
39
|
+
"eslint-plugin-prettier": "5.5.1",
|
|
40
|
+
"eslint-plugin-unicorn": "59.0.1",
|
|
41
41
|
"jsdoc": "4.0.4",
|
|
42
|
-
"prettier": "3.
|
|
42
|
+
"prettier": "3.6.2",
|
|
43
43
|
"serve": "14.2.4",
|
|
44
44
|
"serve-handler": "6.1.6",
|
|
45
45
|
"typescript": "5.7.2"
|
|
46
46
|
},
|
|
47
47
|
"engines": {
|
|
48
|
-
"node": ">=
|
|
48
|
+
"node": ">=20.0.0"
|
|
49
49
|
},
|
|
50
50
|
"files": [
|
|
51
51
|
"CHANGELOG.md",
|
|
@@ -56,7 +56,6 @@
|
|
|
56
56
|
"browserscripts",
|
|
57
57
|
"browsersupport",
|
|
58
58
|
"visualmetrics/visualmetrics-portable.py",
|
|
59
|
-
"visualmetrics/visualmetrics.py",
|
|
60
59
|
"browsertime.png",
|
|
61
60
|
"index.js",
|
|
62
61
|
"lib",
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export function checkDependencies(
|
|
1
|
+
export function checkDependencies(): Promise<import("execa").Result<{}>>;
|
|
2
2
|
export function run(videoPath: any, imageDirPath: any, elementsFile: any, videoDir: any, index: any, pageNumber: any, visitedPageNumber: any, options: any): Promise<any>;
|
|
3
3
|
//# sourceMappingURL=visualMetrics.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visualMetrics.d.ts","sourceRoot":"","sources":["../../../../lib/video/postprocessing/visualmetrics/visualMetrics.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"visualMetrics.d.ts","sourceRoot":"","sources":["../../../../lib/video/postprocessing/visualmetrics/visualMetrics.js"],"names":[],"mappings":"AAoBA,yEAKC;AACD,0KAqIC"}
|