sitespeed.io 37.0.0 → 37.0.1

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,6 +1,11 @@
1
1
 
2
2
  # CHANGELOG - sitespeed.io (we use [semantic versioning](https://semver.org))
3
3
 
4
+ ## 37.0.1 - 2025-03-05
5
+ ### Fixed
6
+ * There was a bug in the InfluxDB plugin and loading the cli parameters failed [#4463](https://github.com/sitespeedio/sitespeed.io/pull/4463).
7
+
8
+
4
9
  ## 37.0.0 - 2025-03-05
5
10
  ### Breaking change
6
11
  * If you are a InfluxDB user the InfluxDB functionality been moved to a standalone plugin [plugin-influxdb](https://github.com/sitespeedio/plugin-influxdb). This means if that sitespeed.io using NodeJS and the default Docker container will not include the InfluxDB plugin. The +1 container will still include the plugin but you need to add it with `--plugins.add @sitespeed.io/plugin-influxdb` for it to be able to run.
@@ -11,14 +11,14 @@ export async function registerPluginOptions(yargsInstance, plugins) {
11
11
  for (const pluginName of plugins) {
12
12
  try {
13
13
  // Dynamically import the plugin
14
- const plugin = await importGlobalSilent(pluginName);
14
+ let { default: plugin } = await importGlobalSilent(pluginName);
15
15
  // If the plugin exports a function to get CLI options, merge them
16
16
  if (plugin && typeof plugin.getCliOptions === 'function') {
17
17
  const options = plugin.getCliOptions();
18
18
  yargsInstance.options(options);
19
19
  } else {
20
20
  try {
21
- const plugin = await import(pluginName);
21
+ const { default: plugin } = await import(pluginName);
22
22
  if (plugin && typeof plugin.getCliOptions === 'function') {
23
23
  const options = plugin.getCliOptions();
24
24
  yargsInstance.options(options);
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "sitespeed.io",
3
- "version": "37.0.0",
3
+ "version": "37.0.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "sitespeed.io",
9
- "version": "37.0.0",
9
+ "version": "37.0.1",
10
10
  "hasInstallScript": true,
11
11
  "license": "MIT",
12
12
  "dependencies": {
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": "37.0.0",
8
+ "version": "37.0.1",
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",