browsertime 23.4.3 → 23.4.5

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,13 @@
1
1
  # Browsertime changelog (we do [semantic versioning](https://semver.org))
2
2
 
3
+ ## 23.4.4 - 2024-12-20
4
+ ### Fixed
5
+ * Change bottom margin from 10 to 14 pixel when recoring a video on mobile, se bug [#2224](https://github.com/sitespeedio/browsertime/issues/2224) and PR [#2225](https://github.com/sitespeedio/browsertime/pull/2225).
6
+
7
+ ## 23.4.4 - 2024-12-18
8
+ ### Fixed
9
+ * A more robust gnirehtet check when you run your Android test [#2223](https://github.com/sitespeedio/browsertime/pull/2223).
10
+
3
11
  ## 23.4.3 - 2024-12-11
4
12
  ### Fixed
5
13
  * Update to USB power profiling 1.5.0 [#2221](https://github.com/sitespeedio/browsertime/pull/2221).
@@ -93,7 +93,7 @@ export class Engine {
93
93
  await android._init();
94
94
  this.android = android;
95
95
 
96
- if (options.gnirehtet) {
96
+ if (options.gnirehtet === true) {
97
97
  this.gnirehtet = new Gnirehtet(options);
98
98
  await this.gnirehtet.start();
99
99
  }
@@ -520,7 +520,7 @@ export class Engine {
520
520
  }
521
521
  }
522
522
 
523
- if (options.gnirehtet && this.gnirehtet) {
523
+ if (options.gnirehtet === true && this.gnirehtet) {
524
524
  await this.gnirehtet.stop();
525
525
  }
526
526
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "browsertime",
3
3
  "description": "Get performance metrics from your web page using Browsertime.",
4
- "version": "23.4.3",
4
+ "version": "23.4.5",
5
5
  "bin": "./bin/browsertime.js",
6
6
  "type": "module",
7
7
  "types": "./types/scripting.d.ts",
@@ -622,7 +622,7 @@ def find_image_viewport(file, is_mobile):
622
622
  # On mobile we need to ignore the top ~10 pixels because
623
623
  # there is a visible progress bar there on some browsers.
624
624
  viewport["y"] += 10
625
- viewport["height"] -= 10
625
+ viewport["height"] -= 14
626
626
 
627
627
  except Exception:
628
628
  viewport = None