sitespeed.io 21.0.1 → 21.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 +3 -0
- package/bin/sitespeed.js +5 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
# CHANGELOG - sitespeed.io (we use [semantic versioning](https://semver.org))
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## 21.1.0 - 2021-12-06
|
|
5
|
+
### Added
|
|
6
|
+
* Added possibility choose name for storing a result JSON [#3520](https://github.com/sitespeedio/sitespeed.io/pull/3520). We use this for a feature that will be released soon.
|
|
4
7
|
## 21.0.1 - 2021-12-01
|
|
5
8
|
### Fixed
|
|
6
9
|
* Updated Browsertime that logs Chrome document request failures on debug log level instead so that the log is not cluttered.
|
package/bin/sitespeed.js
CHANGED
|
@@ -19,7 +19,11 @@ async function run(options) {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
if (options.storeResult) {
|
|
22
|
-
|
|
22
|
+
if (options.storeResult != 'true') {
|
|
23
|
+
fs.writeFileSync(options.storeResult, JSON.stringify(result));
|
|
24
|
+
} else {
|
|
25
|
+
fs.writeFileSync('result.json', JSON.stringify(result));
|
|
26
|
+
}
|
|
23
27
|
}
|
|
24
28
|
|
|
25
29
|
if ((options.open || options.o) && os.platform() === 'darwin') {
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sitespeed.io",
|
|
3
|
-
"version": "21.0
|
|
3
|
+
"version": "21.1.0",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "sitespeed.io",
|
|
9
|
-
"version": "21.0
|
|
9
|
+
"version": "21.1.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@google-cloud/storage": "5.8.3",
|
package/package.json
CHANGED