sitespeed.io 36.0.1 → 36.0.3
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 +8 -0
- package/lib/plugins/gcs/index.js +1 -1
- package/lib/plugins/s3/index.js +1 -1
- package/lib/support/fileUtil.js +4 -4
- package/npm-shrinkwrap.json +6 -6
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# CHANGELOG - sitespeed.io (we use [semantic versioning](https://semver.org))
|
|
2
2
|
|
|
3
|
+
## 36.0.3 - 2025-01-23
|
|
4
|
+
### Fixed
|
|
5
|
+
* Fix for uploading files to GCS/S3 that was partly broken in 36.0.0 [#4410](https://github.com/sitespeedio/sitespeed.io/pull/4410).
|
|
6
|
+
|
|
7
|
+
## 36.0.2 - 2025-01-21
|
|
8
|
+
### Fixed
|
|
9
|
+
* Updated Browsertime with a fix if the Jimp dependency is missing.
|
|
10
|
+
|
|
3
11
|
## 36.0.1 - 2025-01-21
|
|
4
12
|
### Fixed
|
|
5
13
|
* Disable the CPU/enableProfileRun check introduced in 36.0.0, that affected too many users [#4408](https://github.com/sitespeedio/sitespeed.io/pull/4408).
|
package/lib/plugins/gcs/index.js
CHANGED
|
@@ -30,7 +30,7 @@ async function uploadLatestFiles(dir, gcsOptions, prefix) {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
async function upload(dir, gcsOptions, prefix) {
|
|
33
|
-
const files = await recursiveReaddir(dir
|
|
33
|
+
const files = await recursiveReaddir(dir);
|
|
34
34
|
const promises = [];
|
|
35
35
|
|
|
36
36
|
const storage = new Storage({
|
package/lib/plugins/s3/index.js
CHANGED
|
@@ -85,7 +85,7 @@ export default class S3Plugin extends SitespeedioPlugin {
|
|
|
85
85
|
);
|
|
86
86
|
|
|
87
87
|
try {
|
|
88
|
-
const files = await recursiveReaddir(baseDir
|
|
88
|
+
const files = await recursiveReaddir(baseDir);
|
|
89
89
|
const tasks = files.map(file => async () => {
|
|
90
90
|
return uploadFile(
|
|
91
91
|
file,
|
package/lib/support/fileUtil.js
CHANGED
|
@@ -2,7 +2,7 @@ import { readdir } from 'node:fs/promises';
|
|
|
2
2
|
import { existsSync } from 'node:fs';
|
|
3
3
|
import path from 'node:path';
|
|
4
4
|
|
|
5
|
-
export async function recursiveReaddir(dir,
|
|
5
|
+
export async function recursiveReaddir(dir, skipDirectories = false) {
|
|
6
6
|
const results = [];
|
|
7
7
|
const entries = await readdir(dir, { withFileTypes: true });
|
|
8
8
|
|
|
@@ -10,10 +10,10 @@ export async function recursiveReaddir(dir, ignoreDirectories = false) {
|
|
|
10
10
|
const fullPath = path.join(dir, entry.name);
|
|
11
11
|
|
|
12
12
|
if (entry.isDirectory()) {
|
|
13
|
-
if (
|
|
14
|
-
|
|
13
|
+
if (skipDirectories) {
|
|
14
|
+
continue;
|
|
15
15
|
}
|
|
16
|
-
const subPaths = await recursiveReaddir(fullPath,
|
|
16
|
+
const subPaths = await recursiveReaddir(fullPath, skipDirectories);
|
|
17
17
|
results.push(...subPaths);
|
|
18
18
|
} else {
|
|
19
19
|
results.push(fullPath);
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sitespeed.io",
|
|
3
|
-
"version": "36.0.
|
|
3
|
+
"version": "36.0.3",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "sitespeed.io",
|
|
9
|
-
"version": "36.0.
|
|
9
|
+
"version": "36.0.3",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@slack/webhook": "7.0.4",
|
|
19
19
|
"@tgwf/co2": "0.16.4",
|
|
20
20
|
"axe-core": "4.10.2",
|
|
21
|
-
"browsertime": "24.0.
|
|
21
|
+
"browsertime": "24.0.1",
|
|
22
22
|
"coach-core": "8.1.1",
|
|
23
23
|
"dayjs": "1.11.11",
|
|
24
24
|
"fast-crc32c": "2.0.0",
|
|
@@ -3330,9 +3330,9 @@
|
|
|
3330
3330
|
}
|
|
3331
3331
|
},
|
|
3332
3332
|
"node_modules/browsertime": {
|
|
3333
|
-
"version": "24.0.
|
|
3334
|
-
"resolved": "https://registry.npmjs.org/browsertime/-/browsertime-24.0.
|
|
3335
|
-
"integrity": "sha512-
|
|
3333
|
+
"version": "24.0.1",
|
|
3334
|
+
"resolved": "https://registry.npmjs.org/browsertime/-/browsertime-24.0.1.tgz",
|
|
3335
|
+
"integrity": "sha512-r31pOH/ZdD9NWG4wC0STdurMw1fhlm30X2YYSkFEVPDujqdE7JimCVl7U9U0Up0d4K0Wf1w6VL5V98HguLAAVw==",
|
|
3336
3336
|
"dependencies": {
|
|
3337
3337
|
"@devicefarmer/adbkit": "3.3.8",
|
|
3338
3338
|
"@sitespeed.io/chromedriver": "132.0.6834-83",
|
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": "36.0.
|
|
8
|
+
"version": "36.0.3",
|
|
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",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"@tgwf/co2": "0.16.4",
|
|
90
90
|
"@slack/webhook": "7.0.4",
|
|
91
91
|
"axe-core": "4.10.2",
|
|
92
|
-
"browsertime": "24.0.
|
|
92
|
+
"browsertime": "24.0.1",
|
|
93
93
|
"coach-core": "8.1.1",
|
|
94
94
|
"dayjs": "1.11.11",
|
|
95
95
|
"fast-crc32c": "2.0.0",
|