sitespeed.io 34.12.1 → 34.13.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,13 @@
1
1
  # CHANGELOG - sitespeed.io (we use [semantic versioning](https://semver.org))
2
2
 
3
+ ## 34.13.0 - 2024-09-18
4
+ ### Added
5
+ * Add support for `--ignoreExtends` that remove extends from your configuration file. This is useful when you want to test configuration locally on your machine and your test server extends configurations like uploading data to a data storage [#4280](https://github.com/sitespeedio/sitespeed.io/pull/4280).
6
+
7
+ ### Fixed
8
+ * Fixed support gnirehtet when using `--preWarmServer` [#4277](https://github.com/sitespeedio/sitespeed.io/pull/4277).
9
+ * Fix broken log message when using the compare plugin, comparing tests with different amount of runs. Thank you [Roel Vreuls](https://github.com/roelvv) for PR [#4279](https://github.com/sitespeedio/sitespeed.io/pull/4279).
10
+
3
11
  ## 34.12.1 - 2024-09-13
4
12
  ### Fixed
5
13
  * Updated to [Browsertime 22.10.2](https://github.com/sitespeedio/browsertime/blob/main/CHANGELOG.md#22102---2024-09-13) that fixes a bug in the wait.byIdAndVisible command.
package/lib/cli/cli.js CHANGED
@@ -36,6 +36,9 @@ let config;
36
36
 
37
37
  try {
38
38
  config = configPath ? JSON.parse(readFileSync(configPath)) : undefined;
39
+ if (config && process.argv.includes('--ignoreExtends')) {
40
+ delete config.extends;
41
+ }
39
42
  } catch (error) {
40
43
  if (error instanceof SyntaxError) {
41
44
  console.error(
@@ -64,6 +64,10 @@ async function preWarmServer(urls, options, scriptOrMultiple) {
64
64
  }
65
65
  }
66
66
 
67
+ if (options.gnirehtet) {
68
+ preWarmOptions.gnirehtet = options.gnirehtet;
69
+ }
70
+
67
71
  const engine = new BrowsertimeEngine(preWarmOptions);
68
72
 
69
73
  await engine.start();
@@ -129,7 +129,7 @@ export default class ComparePlugin extends SitespeedioPlugin {
129
129
  )
130
130
  log.warning(
131
131
  'The baseline test has %s runs and you current have %s. You should make sure you test the same amount of runs',
132
- baseline.timestamps.length,
132
+ baseline.browsertime.timestamps.length,
133
133
  this.options.browsertime.iterations
134
134
  );
135
135
  log.info('Got a baseline:' + id + '-' + this.page);
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "sitespeed.io",
3
- "version": "34.12.1",
3
+ "version": "34.13.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "sitespeed.io",
9
- "version": "34.12.1",
9
+ "version": "34.13.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@aws-sdk/client-s3": "3.609.0",
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "sitespeed.io": "./bin/sitespeed.js",
6
6
  "sitespeed.io-wpr": "./bin/browsertimeWebPageReplay.js"
7
7
  },
8
- "version": "34.12.1",
8
+ "version": "34.13.0",
9
9
  "description": "sitespeed.io is an open-source tool for comprehensive web performance analysis, enabling you to test, monitor, and optimize your website’s speed using real browsers in various environments.",
10
10
  "keywords": [
11
11
  "performance",