browsertime 17.1.0 → 17.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,11 +1,21 @@
1
1
  # Browsertime changelog (we do [semantic versioning](https://semver.org))
2
2
 
3
+
4
+ ## 17.2.0 - 2022-03-14
5
+ ### Added
6
+ * Updated Chrome, Chromedriver, Edge and Firefox to 111.
7
+
8
+ ## 17.1.1 - 2022-03-04
9
+ ### Fixed
10
+ * Updated jimp, yargs, webdriver, execa and chrome-remote-interface dependencies [#1909](https://github.com/sitespeedio/browsertime/pull/1909).
11
+ * Added extra log message when using the package.json hack.
12
+
3
13
  ## 17.1.0 - 2022-02-24
4
14
 
5
15
  ### Added
6
- * Fix visual-complete progress calculations to not use fuzz/slop, thank you [Gregory Mierzwinski](https://github.com/gmierz) for PR [#1902](https://github.com/sitespeedio/browsertime/pull/1902).
7
16
  * Expose chrome-remote-interface client to scripting. This makes it so much easier to run whatever CDP command. Get the raw version `commands.cdp.getRawClient();`. See PR [#1905](https://github.com/sitespeedio/browsertime/pull/1905) for a concrete example until we update the documentation.
8
17
  ### Fixed
18
+ * Fix visual-complete progress calculations to not use fuzz/slop, thank you [Gregory Mierzwinski](https://github.com/gmierz) for PR [#1902](https://github.com/sitespeedio/browsertime/pull/1902).
9
19
  * Update to new Chrome HAR [#1906](https://github.com/sitespeedio/browsertime/pull/1906).
10
20
  * Fix flushing DNS on Ubuntu 22.04 [#1907](https://github.com/sitespeedio/browsertime/pull/1907).
11
21
  ## 17.0.0 - 2022-02-10
@@ -33,7 +33,9 @@ async function loadFile(script, options, throwError) {
33
33
  // Hack a way! Try to add a package.json file in the same folder as the
34
34
  // script file. That way, the .js file will be treated as commonjs =
35
35
  // working as before we moved Browsertime to module
36
-
36
+ log.info(
37
+ 'Will try to load load JS as a commonjs file by adding an emtpy package.json'
38
+ );
37
39
  let createdPackageJson = false;
38
40
  try {
39
41
  const packageJson = join(dirname(resolve(script)), 'package.json');
package/package.json CHANGED
@@ -1,21 +1,22 @@
1
1
  {
2
- "description": "Browsertime",
3
- "version": "17.1.0",
2
+ "name": "browsertime",
3
+ "description": "Get performance metrics from your web page using Browsertime.",
4
+ "version": "17.2.0",
4
5
  "bin": "./bin/browsertime.js",
5
6
  "type": "module",
6
7
  "dependencies": {
7
8
  "@cypress/xvfb": "1.2.4",
8
9
  "@devicefarmer/adbkit": "2.11.3",
9
- "@sitespeed.io/chromedriver": "110.0.5481-77",
10
+ "@sitespeed.io/chromedriver": "111.0.5563-64",
10
11
  "@sitespeed.io/edgedriver": "109.0.1518-70",
11
12
  "@sitespeed.io/geckodriver": "0.32.0",
12
13
  "@sitespeed.io/throttle": "5.0.0",
13
14
  "@sitespeed.io/tracium": "0.3.3",
14
15
  "btoa": "1.2.1",
15
16
  "chrome-har": "0.13.1",
16
- "chrome-remote-interface": "0.32.0",
17
+ "chrome-remote-interface": "0.32.1",
17
18
  "dayjs": "1.11.7",
18
- "execa": "6.1.0",
19
+ "execa": "7.0.0",
19
20
  "fast-stats": "0.0.6",
20
21
  "find-up": "6.3.0",
21
22
  "get-port": "6.1.2",
@@ -27,11 +28,11 @@
27
28
  "lodash.merge": "4.6.2",
28
29
  "lodash.pick": "4.4.0",
29
30
  "lodash.set": "4.3.2",
30
- "selenium-webdriver": "4.8.0",
31
- "yargs": "17.6.2"
31
+ "selenium-webdriver": "4.8.1",
32
+ "yargs": "17.7.1"
32
33
  },
33
34
  "optionalDependencies": {
34
- "jimp": "0.22.1"
35
+ "jimp": "0.22.7"
35
36
  },
36
37
  "devDependencies": {
37
38
  "ava": "5.1.0",
@@ -70,9 +71,11 @@
70
71
  "lint": "eslint .",
71
72
  "lint:fix": "eslint . --fix"
72
73
  },
73
- "name": "browsertime",
74
74
  "author": "Peter Hedenskog",
75
75
  "contributors": [
76
+ {
77
+ "name": "Gregory Mierzwinski"
78
+ },
76
79
  {
77
80
  "name": "Tobias Lidskog"
78
81
  },