browsertime 22.7.0 → 22.9.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,20 @@
1
1
  # Browsertime changelog (we do [semantic versioning](https://semver.org))
2
2
 
3
+ ## 22.9.0 - 2024-08-26
4
+ ### Added
5
+ * Geckodriver 0.35.0 [#2170](https://github.com/sitespeedio/browsertime/pull/2170)
6
+ ### Fixed
7
+ * Stopping gnirehtet throwed errors [#2172](https://github.com/sitespeedio/browsertime/pull/2171).
8
+ * Updated to Throttle 5.0.1 that have nicer ifb0 handling [#2172](https://github.com/sitespeedio/browsertime/pull/2172)
9
+
10
+ ## 22.8.0 - 2024-07-30
11
+ ### Added
12
+ * Edgedriver 126 [#2166](https://github.com/sitespeedio/browsertime/pull/2166)
13
+
14
+ ### Fixed
15
+ * Disable search engine choice screen on startup for Chrome 127+ [#2168](https://github.com/sitespeedio/browsertime/pull/2168)
16
+ * Update dev dependencies [#2167](https://github.com/sitespeedio/browsertime/pull/2167)
17
+
3
18
  ## 22.7.0 - 2024-07-25
4
19
  ### Added
5
20
  * Updated to Chrome and Chromedriover 127 [#2164](https://github.com/sitespeedio/browsertime/pull/2164).
@@ -59,9 +59,7 @@ export class Gnirehtet {
59
59
  await execa('gnirehtet', scriptArguments);
60
60
  await delay(2000);
61
61
  // This should stop both desktop and client.
62
- await this.gnirehtet.kill('SIGINT', {
63
- forceKillAfterTimeout: 2000
64
- });
62
+ await this.gnirehtet.kill('SIGINT');
65
63
  return delay(2000);
66
64
  }
67
65
  }
@@ -127,7 +127,7 @@ export class ChromeDevtoolsProtocol {
127
127
  for (let cookieParts of cookies) {
128
128
  const parts = new Array(
129
129
  cookieParts.slice(0, cookieParts.indexOf('=')),
130
- cookieParts.slice(cookieParts.indexOf('=') + 1, cookieParts.length)
130
+ cookieParts.slice(cookieParts.indexOf('=') + 1)
131
131
  );
132
132
  await this.cdpClient.Network.setCookie({
133
133
  name: parts[0],
@@ -18,6 +18,7 @@ export const chromeAndroidOptions = [
18
18
  '--disable-domain-reliability',
19
19
  '--disable-background-timer-throttling',
20
20
  '--disable-external-intent-requests',
21
+ '--disable-search-engine-choice-screen',
21
22
  '--enable-remote-debugging',
22
23
  '--mute-audio',
23
24
  '--disable-hang-monitor',
@@ -16,6 +16,7 @@ export const chromeDesktopOptions = [
16
16
  '--disable-ipc-flooding-protection',
17
17
  '--disable-prompt-on-repost',
18
18
  '--disable-renderer-backgrounding',
19
+ '--disable-search-engine-choice-screen',
19
20
  '--disable-site-isolation-trials',
20
21
  '--disable-sync',
21
22
  '--metrics-recording-only',
@@ -121,7 +121,7 @@ export class FirefoxBidi {
121
121
  for (let cookieParts of cookies) {
122
122
  const parts = new Array(
123
123
  cookieParts.slice(0, cookieParts.indexOf('=')),
124
- cookieParts.slice(cookieParts.indexOf('=') + 1, cookieParts.length)
124
+ cookieParts.slice(cookieParts.indexOf('=') + 1)
125
125
  );
126
126
 
127
127
  const params = {
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": "22.7.0",
4
+ "version": "22.9.0",
5
5
  "bin": "./bin/browsertime.js",
6
6
  "type": "module",
7
7
  "types": "./types/scripting.d.ts",
@@ -9,9 +9,9 @@
9
9
  "@cypress/xvfb": "1.2.4",
10
10
  "@devicefarmer/adbkit": "3.2.6",
11
11
  "@sitespeed.io/chromedriver": "127.0.6533-72",
12
- "@sitespeed.io/edgedriver": "125.0.2535-47",
13
- "@sitespeed.io/geckodriver": "0.34.0",
14
- "@sitespeed.io/throttle": "5.0.0",
12
+ "@sitespeed.io/edgedriver": "126.0.2592-102",
13
+ "@sitespeed.io/geckodriver": "0.35.0",
14
+ "@sitespeed.io/throttle": "5.0.1",
15
15
  "@sitespeed.io/tracium": "0.3.3",
16
16
  "btoa": "1.2.1",
17
17
  "chrome-har": "0.13.5",
@@ -41,15 +41,15 @@
41
41
  "@types/selenium-webdriver": "4.1.24",
42
42
  "ava": "6.1.3",
43
43
  "clean-jsdoc-theme": "4.3.0",
44
- "eslint": "9.6.0",
44
+ "eslint": "9.8.0",
45
45
  "eslint-config-prettier": "9.1.0",
46
- "eslint-plugin-prettier": "5.1.3",
47
- "eslint-plugin-unicorn": "54.0.0",
46
+ "eslint-plugin-prettier": "5.2.1",
47
+ "eslint-plugin-unicorn": "55.0.0",
48
48
  "jsdoc": "4.0.3",
49
- "prettier": "3.3.2",
49
+ "prettier": "3.3.3",
50
50
  "serve": "14.2.3",
51
51
  "serve-handler": "6.1.5",
52
- "typescript": "5.5.3"
52
+ "typescript": "5.5.4"
53
53
  },
54
54
  "engines": {
55
55
  "node": ">=18.0.0"