sitespeed.io 37.0.4 → 37.1.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,13 @@
1
1
 
2
2
  # CHANGELOG - sitespeed.io (we use [semantic versioning](https://semver.org))
3
3
 
4
+ ## 37.1.0 - 2025-03-08
5
+ ### Fixed
6
+ * Simplified logic for uploading files to S3 since we have reports that it do not work 100% [#4472](https://github.com/sitespeedio/sitespeed.io/pull/4472).
7
+
8
+ ### Added
9
+ * The Docker container now contains Chrome 134.0, Firefox 136 and Edge 134.0.
10
+
4
11
  ## 37.0.4 - 2025-03-07
5
12
  ### Fixed
6
13
  * Sending annotations to Graphite failed because of InfluxDB check [#4469](https://github.com/sitespeedio/sitespeed.io/pull/4469).
package/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM sitespeedio/webbrowsers:chrome-133.0-firefox-135.0-edge-132.0
1
+ FROM sitespeedio/webbrowsers:chrome-134.0-firefox-136.0-edge-134.0
2
2
 
3
3
  ARG TARGETPLATFORM=linux/amd64
4
4
 
package/docs/README.md ADDED
@@ -0,0 +1,10 @@
1
+ Documentation for sitespeed.io
2
+ ================
3
+
4
+ First make sure you have Bundler: <code>gem install bundler</code>
5
+
6
+ If you run on a Mac OS make sure you have xcode-select installed: <code>xcode-select --install</code>
7
+
8
+ To run it locally: <code>bundle install && bundle exec jekyll serve --baseurl ''</code>
9
+
10
+ Checkout http://localhost:4000/
@@ -1,34 +1,18 @@
1
- export async function runWithConcurrencyLimit(tasks, limit) {
2
- const running = new Set();
3
-
4
- async function runNext() {
5
- if (tasks.length === 0) {
6
- return;
7
- }
8
-
9
- const task = tasks.shift();
10
- const promise = task()
11
- .catch(error => {
12
- throw error;
13
- })
14
- .finally(() => {
15
- running.delete(promise);
16
- void runNext();
17
- });
1
+ import { getLogger } from '@sitespeed.io/log';
2
+ const log = getLogger('sitespeedio.plugin.s3');
18
3
 
19
- running.add(promise);
20
- if (running.size < limit) {
21
- void runNext();
4
+ export async function runWithConcurrencyLimit(tasks, limit) {
5
+ async function worker() {
6
+ while (tasks.length > 0) {
7
+ const task = tasks.shift();
8
+ try {
9
+ await task();
10
+ } catch (error) {
11
+ log.error('Could not finish upload task', error);
12
+ }
22
13
  }
23
14
  }
24
15
 
25
- const starters = [];
26
- for (let index = 0; index < limit && tasks.length > 0; index++) {
27
- starters.push(runNext());
28
- }
29
-
30
- await Promise.allSettled(starters);
31
- if (running.size > 0) {
32
- await Promise.allSettled(Array.from(running));
33
- }
16
+ const workers = Array.from({ length: limit }, () => worker());
17
+ await Promise.all(workers);
34
18
  }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "sitespeed.io",
3
- "version": "37.0.4",
3
+ "version": "37.1.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "sitespeed.io",
9
- "version": "37.0.4",
9
+ "version": "37.1.0",
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.4",
8
+ "version": "37.1.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",