sitespeed.io 39.1.0 → 39.1.2
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,14 @@
|
|
|
1
1
|
|
|
2
2
|
# CHANGELOG - sitespeed.io (we use [semantic versioning](https://semver.org))
|
|
3
3
|
|
|
4
|
+
## 39.1.2 - 2025-12-17
|
|
5
|
+
### Fixed
|
|
6
|
+
* Fix a bug introduced in 39.0.0 where alias was missing when creating some file structure [#4574](https://github.com/sitespeedio/sitespeed.io/pull/4574).
|
|
7
|
+
|
|
8
|
+
## 39.1.1 - 2025-12-16
|
|
9
|
+
### Fixed
|
|
10
|
+
* Safer handling for broken URLs. This logs the actual root cause [#4573](https://github.com/sitespeedio/sitespeed.io/pull/4573).
|
|
11
|
+
|
|
4
12
|
## 39.1.0 - 2025-12-15
|
|
5
13
|
### Added
|
|
6
14
|
* Upgrade the Docker container: Chrome and Edge 143, Firefox 146 [#4572](https://github.com/sitespeedio/sitespeed.io/pull/4572).
|
|
@@ -25,7 +25,7 @@ function normalizeFsPath(input) {
|
|
|
25
25
|
return n;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
export function pathToFolder(input, options) {
|
|
28
|
+
export function pathToFolder(input, options, alias) {
|
|
29
29
|
if (options.useSameDir) return '';
|
|
30
30
|
|
|
31
31
|
let hostname = '';
|
|
@@ -53,6 +53,8 @@ export function pathToFolder(input, options) {
|
|
|
53
53
|
|
|
54
54
|
if (options.urlMetaData && options.urlMetaData[input]) {
|
|
55
55
|
pathSegments.push(options.urlMetaData[input]);
|
|
56
|
+
} else if (alias) {
|
|
57
|
+
pathSegments.push(alias);
|
|
56
58
|
} else {
|
|
57
59
|
const parts = isUrl
|
|
58
60
|
? pathname.split('/').filter(Boolean)
|
|
@@ -95,7 +95,7 @@ export default class BrowsertimePlugin extends SitespeedioPlugin {
|
|
|
95
95
|
async processMessage(message) {
|
|
96
96
|
const options = this.options;
|
|
97
97
|
switch (message.type) {
|
|
98
|
-
// When
|
|
98
|
+
// When sitespeed.io starts, a setup messages is posted on the queue
|
|
99
99
|
// and all plugins can tell other plugins that they are alive and are ready
|
|
100
100
|
// to receive configuration
|
|
101
101
|
case 'sitespeedio.setup': {
|
|
@@ -105,12 +105,18 @@ export default class BrowsertimePlugin extends SitespeedioPlugin {
|
|
|
105
105
|
if (this.options.urlMetaData) {
|
|
106
106
|
for (let url of Object.keys(this.options.urlMetaData)) {
|
|
107
107
|
const alias = this.options.urlMetaData[url];
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
108
|
+
try {
|
|
109
|
+
const group = new URL(url).hostname;
|
|
110
|
+
this.allAlias[alias] = url;
|
|
111
|
+
super.sendMessage('browsertime.alias', alias, {
|
|
112
|
+
url,
|
|
113
|
+
group
|
|
114
|
+
});
|
|
115
|
+
} catch (error) {
|
|
116
|
+
log.error(
|
|
117
|
+
'Could not get group for URL:' + url + ' with error' + error
|
|
118
|
+
);
|
|
119
|
+
}
|
|
114
120
|
}
|
|
115
121
|
}
|
|
116
122
|
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sitespeed.io",
|
|
3
|
-
"version": "39.1.
|
|
3
|
+
"version": "39.1.2",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "sitespeed.io",
|
|
9
|
-
"version": "39.1.
|
|
9
|
+
"version": "39.1.2",
|
|
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": "39.1.
|
|
8
|
+
"version": "39.1.2",
|
|
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",
|
package/docs/README.md
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
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/
|