sitespeed.io 37.9.0 → 38.0.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,6 +1,18 @@
1
1
 
2
2
  # CHANGELOG - sitespeed.io (we use [semantic versioning](https://semver.org))
3
3
 
4
+ ## 38.0.0 - 2025-06-30
5
+ ### Breaking
6
+ * Support only NodeJS 20 or later for sitespeed.io [#4532](https://github.com/sitespeedio/sitespeed.io/pull/4532).
7
+
8
+ ### Added
9
+ * Upgrade to Yargs 18 [#4531](https://github.com/sitespeedio/sitespeed.io/pull/4531).
10
+
11
+ ### Fixed
12
+ * Update S3 client [#4533](https://github.com/sitespeedio/sitespeed.io/pull/4533).
13
+ * Update developer dependencies [#4534](https://github.com/sitespeedio/sitespeed.io/pull/4534).
14
+ * Updated to [Browsertime 25](https://github.com/sitespeedio/browsertime/blob/main/CHANGELOG.md#2500---2025-07-16) [#4536](https://github.com/sitespeedio/sitespeed.io/pull/4536) with NodeJS to 20 and a fix for Edgedriver download.
15
+
4
16
  ## 37.9.0 - 2025-06-30
5
17
  ### Added
6
18
  * Updated Docker containers to include Chrome/Edge 138, Firefox 140. Edgedriver and Chromedriver 138. Browsertime 24.9.0. [#452](https://github.com/sitespeedio/sitespeed.io/pull/4528) and [#4530](https://github.com/sitespeedio/sitespeed.io/pull/4530).
package/eslint.config.mjs CHANGED
@@ -1,18 +1,7 @@
1
1
  import prettier from 'eslint-plugin-prettier';
2
2
  import unicorn from 'eslint-plugin-unicorn';
3
3
  import globals from 'globals';
4
- import path from 'node:path';
5
- import { fileURLToPath } from 'node:url';
6
4
  import js from '@eslint/js';
7
- import { FlatCompat } from '@eslint/eslintrc';
8
-
9
- const __filename = fileURLToPath(import.meta.url);
10
- const __dirname = path.dirname(__filename);
11
- const compat = new FlatCompat({
12
- baseDirectory: __dirname,
13
- recommendedConfig: js.configs.recommended,
14
- allConfig: js.configs.all
15
- });
16
5
 
17
6
  export default [
18
7
  {
@@ -28,11 +17,11 @@ export default [
28
17
  'test/prepostscripts/*'
29
18
  ]
30
19
  },
31
- ...compat.extends('eslint:recommended', 'plugin:unicorn/recommended'),
20
+ js.configs.recommended,
21
+ unicorn.configs.recommended,
32
22
  {
33
23
  plugins: {
34
- prettier,
35
- unicorn
24
+ prettier
36
25
  },
37
26
 
38
27
  languageOptions: {
package/lib/cli/cli.js CHANGED
@@ -64,7 +64,7 @@ try {
64
64
  function validateInput(argv) {
65
65
  // Check NodeJS major version
66
66
  const fullVersion = process.versions.node;
67
- const minVersion = 14;
67
+ const minVersion = 20;
68
68
  const majorVersion = fullVersion.split('.')[0];
69
69
  if (majorVersion < minVersion) {
70
70
  return (
@@ -505,12 +505,6 @@ export async function parseCommandLine() {
505
505
  describe: 'Collect Contentful Speed Index when you run --visualMetrics.',
506
506
  group: 'Browser'
507
507
  })
508
- .option('browsertime.visualMetricsPortable', {
509
- type: 'boolean',
510
- default: true,
511
- describe:
512
- 'Use the portable visual-metrics processing script (no ImageMagick dependencies).'
513
- })
514
508
  .option('browsertime.visualElements', {
515
509
  type: 'boolean',
516
510
  alias: ['visualElements'],
@@ -1,5 +1,6 @@
1
1
  import { parse } from 'node:url';
2
2
 
3
+ // eslint-disable-next-line unicorn/no-named-default
3
4
  import { default as _merge } from 'lodash.merge';
4
5
 
5
6
  import { getLogger } from '@sitespeed.io/log';
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line unicorn/no-named-default
1
2
  import { default as _get } from 'lodash.get';
2
3
 
3
4
  export function get(object, property, defaultValue) {