sitespeed.io 21.6.1 → 22.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/.github/ISSUE_TEMPLATE/BUG_REPORT.yml +65 -0
- package/.github/ISSUE_TEMPLATE/QUESTION.yml +15 -0
- package/.github/workflows/docker-scan.yml +3 -2
- package/.github/workflows/docker.yml +3 -2
- package/CHANGELOG.md +27 -0
- package/Dockerfile +4 -2
- package/Dockerfile-slim +20 -10
- package/lib/core/pluginLoader.js +7 -3
- package/lib/plugins/html/templates/url/thirdparty/thirdPartyCookies.pug +2 -1
- package/npm-shrinkwrap.json +48 -48
- package/package.json +3 -3
- package/release.sh +4 -9
- package/.github/ISSUE_TEMPLATE.md +0 -9
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
name: Bug Report
|
|
2
|
+
description: File a bug report
|
|
3
|
+
labels: [bug]
|
|
4
|
+
body:
|
|
5
|
+
- type: markdown
|
|
6
|
+
attributes:
|
|
7
|
+
value: Thanks for reporting issues back to sitespeed.io!
|
|
8
|
+
- type: checkboxes
|
|
9
|
+
id: Reproducable
|
|
10
|
+
attributes:
|
|
11
|
+
label: Have you read the documentation?
|
|
12
|
+
description: Please double check that this question hasn't already answered in the [documentation](https://www.sitespeed.io/documentation/sitespeed.io/) (use the `Search`). Also please read [how to make a good bug report](https://www.sitespeed.io/documentation/sitespeed.io/bug-report/) and check [how to debug your script](https://www.sitespeed.io/documentation/sitespeed.io/scripting/#debug).
|
|
13
|
+
options:
|
|
14
|
+
- label: Yes, I've read the [how to make a reproducable bug guide](https://www.sitespeed.io/documentation/sitespeed.io/bug-report/)
|
|
15
|
+
required: true
|
|
16
|
+
- label: Yes, I've read the [how to debug my script guide](https://www.sitespeed.io/documentation/sitespeed.io/scripting/#debug)
|
|
17
|
+
required: false
|
|
18
|
+
- type: input
|
|
19
|
+
id: url
|
|
20
|
+
attributes:
|
|
21
|
+
label: URL
|
|
22
|
+
description: What URL did you run sitespeed.io on? If you can't share your URL please make a minimial repro to a public location (e.g. https://glitch.com/, http://jsbin.com/, etc)
|
|
23
|
+
placeholder: https://example.com
|
|
24
|
+
validations:
|
|
25
|
+
required: true
|
|
26
|
+
- type: textarea
|
|
27
|
+
id: whaw
|
|
28
|
+
attributes:
|
|
29
|
+
label: What are you trying to accomplish
|
|
30
|
+
description: A brief description of what you tried to do and what went wrong.
|
|
31
|
+
validations:
|
|
32
|
+
required: true
|
|
33
|
+
- type: dropdown
|
|
34
|
+
id: browser
|
|
35
|
+
attributes:
|
|
36
|
+
label: What browser did you use?
|
|
37
|
+
description: Extra bonus if you try the issue in multiple browsers
|
|
38
|
+
multiple: true
|
|
39
|
+
options:
|
|
40
|
+
- Chrome
|
|
41
|
+
- Firefox
|
|
42
|
+
- Edge
|
|
43
|
+
- Safari Mac OS
|
|
44
|
+
- Safari iOS
|
|
45
|
+
- Chrome Android
|
|
46
|
+
- Firefox Android
|
|
47
|
+
- Other
|
|
48
|
+
validations:
|
|
49
|
+
required: true
|
|
50
|
+
- type: textarea
|
|
51
|
+
id: how-to-reproduce
|
|
52
|
+
attributes:
|
|
53
|
+
label: How to reproduce
|
|
54
|
+
description: Please copy and paste how you run so we can reproduce. This will be automatically formatted into code, so no need for backticks. Remember to follow the [how to make a good bug report guide](https://www.sitespeed.io/documentation/sitespeed.io/bug-report/)!
|
|
55
|
+
render: shell
|
|
56
|
+
validations:
|
|
57
|
+
required: true
|
|
58
|
+
- type: textarea
|
|
59
|
+
id: logs
|
|
60
|
+
attributes:
|
|
61
|
+
label: Relevant log output
|
|
62
|
+
description: Please copy and paste any relevant log output (please DO NOT take a screenshot of the log output). This will be automatically formatted into code, so no need for backticks.
|
|
63
|
+
render: shell
|
|
64
|
+
validations:
|
|
65
|
+
required: false
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
name: Question
|
|
2
|
+
description: Ask a question about sitespeed.io
|
|
3
|
+
labels: [question]
|
|
4
|
+
body:
|
|
5
|
+
- type: markdown
|
|
6
|
+
attributes:
|
|
7
|
+
value: |
|
|
8
|
+
Ask a question about sitespeed.io
|
|
9
|
+
- type: textarea
|
|
10
|
+
id: your-question
|
|
11
|
+
attributes:
|
|
12
|
+
label: Your question
|
|
13
|
+
description: Please double check that this question hasn't already answered in the [documentation](https://www.sitespeed.io/documentation/sitespeed.io/) (use the `Search`) or [old GitHub issues](https://github.com/sitespeedio/sitespeed.io/issues?q=is%3Aissue+is%3Aclosed). You can also ask questions in the [sitespeed.io Slack channel](https://sitespeedio.herokuapp.com/). And if your question is more like a bug, please [use the bug report form](https://github.com/sitespeedio/sitespeed.io/issues/new?assignees=&labels=bug&template=BUG_REPORT.yml)
|
|
14
|
+
validations:
|
|
15
|
+
required: true
|
|
@@ -14,7 +14,8 @@ jobs:
|
|
|
14
14
|
|
|
15
15
|
- name: Build an image from Dockerfile
|
|
16
16
|
run: |
|
|
17
|
-
docker
|
|
17
|
+
docker buildx install
|
|
18
|
+
docker buildx build --load --platform linux/amd64 -t docker.io/sitespeedio/sitespeed.io:${{ github.sha }} .
|
|
18
19
|
|
|
19
20
|
- name: Run Trivy vulnerability scanner
|
|
20
21
|
uses: aquasecurity/trivy-action@master
|
|
@@ -24,4 +25,4 @@ jobs:
|
|
|
24
25
|
exit-code: '1'
|
|
25
26
|
ignore-unfixed: true
|
|
26
27
|
vuln-type: 'os,library'
|
|
27
|
-
severity: 'CRITICAL
|
|
28
|
+
severity: 'CRITICAL'
|
|
@@ -13,8 +13,9 @@ jobs:
|
|
|
13
13
|
- uses: actions/checkout@v2
|
|
14
14
|
- name: Build Docker containers
|
|
15
15
|
run: |
|
|
16
|
-
docker
|
|
17
|
-
docker build -t sitespeedio/sitespeed.io
|
|
16
|
+
docker buildx install
|
|
17
|
+
docker buildx build --load --platform linux/amd64 -t sitespeedio/sitespeed.io .
|
|
18
|
+
docker buildx build --load --platform linux/amd64 -t sitespeedio/sitespeed.io:slim --file Dockerfile-slim .
|
|
18
19
|
- name: Run test on default container for Chrome
|
|
19
20
|
run: docker run --rm sitespeedio/sitespeed.io https://www.sitespeed.io -n 1 -b chrome
|
|
20
21
|
- name: Run test on default container for Firefox
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# CHANGELOG - sitespeed.io (we use [semantic versioning](https://semver.org))
|
|
2
2
|
|
|
3
|
+
## 22.0.0 - 2022-02-07
|
|
4
|
+
|
|
5
|
+
### Breaking changes
|
|
6
|
+
* If you use the Lightouse plugin there's breaking changes:
|
|
7
|
+
|
|
8
|
+
In the new version we drop support for the following:
|
|
9
|
+
* Running multiple runs with Lighthouse.
|
|
10
|
+
* Using scripts to login the user (or whatever you need before you run your tests)
|
|
11
|
+
It's a couple of reasons why I remove those features:
|
|
12
|
+
* I been looking for a maintainer of the Lighthouse plugin for +1 year and I haven't found one. For me to be able to maintain it I want the plugin to be as simple as possible.
|
|
13
|
+
* I deeply regret merging the PR for adding multiple runs for Lighthouse. That PR goes against everything I know about measuring performance. Lighthouse is not built for getting correct performance metrics, it's built to help (Chrome) developers to get insights how they make the page "faster". Lets stick to the basics and keep it possible to get those recommendations from Lighthouse.
|
|
14
|
+
* Maybe someday Lighthouse will have support for user journeys, lets wait until that is officially supported and then I can check if it could be used in the plugin.
|
|
15
|
+
|
|
16
|
+
With the new release we also break how you configure Lighthouse. People has had problem with that since day 1. With the new version we support two new ways to configure Lighthouse:
|
|
17
|
+
- By configuration JSON file. `--lighthouse.config config.js`
|
|
18
|
+
- By Lightouse flags file. `--lighthouse.flags flag.json`
|
|
19
|
+
|
|
20
|
+
If you don't need to configure Lightouse you can use the default settings both for desktop and mobile. If you run without any settings, the plugin will use desktop settings. If you run with `--mobile`, `--android` or `--ios` the mobile settings will be used.
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
* Build Docker containers for both amd64 and arm64 to make containers work on Mac M1. The arm container contains Firefox and Chromium. Thank you [whichfinder](https://github.com/whichfinder) and [Radu Micu](https://github.com/radum) for the help! Fixed in PR [#3554](https://github.com/sitespeedio/sitespeed.io/pull/3554).
|
|
24
|
+
* When plugins is loaded, there's a new extra last step where we try to load the plugin as a globally installed npm module [#3546](https://github.com/sitespeedio/sitespeed.io/pull/3546).
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
* Fix so that we do not display the same 3rd party cookie multiple times [#3545](https://github.com/sitespeedio/sitespeed.io/pull/3545).
|
|
28
|
+
* Updated Coach Core that includes the latest version of third party web and PageXray that find more fonts without mime type.
|
|
29
|
+
|
|
3
30
|
## 21.6.1 - 2022-01-24
|
|
4
31
|
### Fixed
|
|
5
32
|
* Updated to [Browsertime 14.18.1](https://github.com/sitespeedio/browsertime/blob/main/CHANGELOG.md#14181---2022-01-24) that makes the summary metric log message use median (instead of mean) and change a log message level to debug.
|
package/Dockerfile
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
FROM sitespeedio/webbrowsers:chrome-
|
|
1
|
+
FROM sitespeedio/webbrowsers:chrome-98.0-firefox-94.0-edge-97.0-multi
|
|
2
|
+
|
|
3
|
+
ARG TARGETPLATFORM=linux/amd64
|
|
2
4
|
|
|
3
5
|
ENV SITESPEED_IO_BROWSERTIME__XVFB true
|
|
4
6
|
ENV SITESPEED_IO_BROWSERTIME__DOCKER true
|
|
5
7
|
|
|
6
|
-
COPY docker/webpagereplay/wpr /usr/local/bin/
|
|
8
|
+
COPY docker/webpagereplay/$TARGETPLATFORM/wpr /usr/local/bin/
|
|
7
9
|
COPY docker/webpagereplay/wpr_cert.pem /webpagereplay/certs/
|
|
8
10
|
COPY docker/webpagereplay/wpr_key.pem /webpagereplay/certs/
|
|
9
11
|
COPY docker/webpagereplay/deterministic.js /webpagereplay/scripts/deterministic.js
|
package/Dockerfile-slim
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
FROM node:
|
|
1
|
+
FROM node:16.13.2-bullseye-slim
|
|
2
|
+
|
|
3
|
+
ARG TARGETPLATFORM=linux/amd64
|
|
2
4
|
|
|
3
5
|
ENV SITESPEED_IO_BROWSERTIME__DOCKER true
|
|
4
6
|
ENV SITESPEED_IO_BROWSERTIME__VIDEO false
|
|
@@ -12,16 +14,24 @@ ENV PATH="/usr/local/bin:${PATH}"
|
|
|
12
14
|
|
|
13
15
|
RUN buildDeps='wget bzip2' && apt-get update && apt -y install $buildDeps && \
|
|
14
16
|
# Download and unpack the correct Firefox version
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
if [ "$TARGETPLATFORM" = "linux/amd64" ] ; \
|
|
18
|
+
then \
|
|
19
|
+
wget https://ftp.mozilla.org/pub/firefox/releases/${FIREFOX_VERSION}/linux-x86_64/en-US/firefox-${FIREFOX_VERSION}.tar.bz2 && \
|
|
20
|
+
tar -xjf firefox-${FIREFOX_VERSION}.tar.bz2 && \
|
|
21
|
+
rm firefox-${FIREFOX_VERSION}.tar.bz2 && \
|
|
22
|
+
mv firefox /opt/ && \
|
|
23
|
+
ln -s /opt/firefox/firefox /usr/local/bin/firefox && \
|
|
24
|
+
# Install dependencies for Firefox
|
|
25
|
+
apt-get install -y --no-install-recommends --no-install-suggests libxt6 \
|
|
26
|
+
`apt-cache depends firefox-esr | awk '/Depends:/{print$2}'`; \
|
|
27
|
+
elif [ "$TARGETPLATFORM" = "linux/arm64" ] ; \
|
|
28
|
+
then \
|
|
29
|
+
apt-get update && \
|
|
30
|
+
apt-get install -y firefox-esr; \
|
|
31
|
+
fi
|
|
32
|
+
|
|
23
33
|
# iproute2 = tc
|
|
24
|
-
|
|
34
|
+
RUN apt -y install tcpdump iproute2 ca-certificates sudo --no-install-recommends --no-install-suggests && \
|
|
25
35
|
# Cleanup
|
|
26
36
|
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $toolDeps \
|
|
27
37
|
&& rm -rf /var/lib/apt/lists/* /tmp/*
|
package/lib/core/pluginLoader.js
CHANGED
|
@@ -66,9 +66,13 @@ module.exports = {
|
|
|
66
66
|
try {
|
|
67
67
|
plugins.push(require(path.resolve(process.cwd(), name)));
|
|
68
68
|
} catch (error) {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
try {
|
|
70
|
+
plugins.push(require(name));
|
|
71
|
+
} catch (error) {
|
|
72
|
+
console.error("Couldn't load plugin %s: %s", name, err); // eslint-disable-line no-console
|
|
73
|
+
// if it fails here, let it fail hard
|
|
74
|
+
throw error;
|
|
75
|
+
}
|
|
72
76
|
}
|
|
73
77
|
}
|
|
74
78
|
}
|
|
@@ -8,7 +8,8 @@ if pagexray.cookieNamesThirdParties.length > 0
|
|
|
8
8
|
.responsive
|
|
9
9
|
table(data-sortable, id='thirdPartyCookies')
|
|
10
10
|
+rowHeading(['Cookie name', 'Domain'])
|
|
11
|
-
|
|
11
|
+
- let cookies = pagexray.cookieNamesThirdParties.filter((v,i,a)=>a.findIndex(t=>(t.name===v.name && t.domain === v.domain))===i)
|
|
12
|
+
each cookie in cookies
|
|
12
13
|
tr
|
|
13
14
|
td(data-title='Name') #{cookie.name}
|
|
14
15
|
td.url(data-title='Domain') #{cookie.domain}
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sitespeed.io",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "22.0.0",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "sitespeed.io",
|
|
9
|
-
"version": "
|
|
9
|
+
"version": "22.0.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@google-cloud/storage": "5.8.3",
|
|
13
13
|
"@tgwf/co2": "0.8.0",
|
|
14
14
|
"aws-sdk": "2.882.0",
|
|
15
15
|
"axe-core": "4.3.5",
|
|
16
|
-
"browsertime": "14.
|
|
16
|
+
"browsertime": "14.19.2",
|
|
17
17
|
"cli-color": "2.0.0",
|
|
18
|
-
"coach-core": "7.
|
|
18
|
+
"coach-core": "7.1.0",
|
|
19
19
|
"concurrent-queue": "7.0.2",
|
|
20
20
|
"dayjs": "1.10.4",
|
|
21
21
|
"fast-crc32c": "2.0.0",
|
|
@@ -910,9 +910,9 @@
|
|
|
910
910
|
"optional": true
|
|
911
911
|
},
|
|
912
912
|
"node_modules/@sitespeed.io/chromedriver": {
|
|
913
|
-
"version": "
|
|
914
|
-
"resolved": "https://registry.npmjs.org/@sitespeed.io/chromedriver/-/chromedriver-
|
|
915
|
-
"integrity": "sha512-
|
|
913
|
+
"version": "98.0.4758-48b",
|
|
914
|
+
"resolved": "https://registry.npmjs.org/@sitespeed.io/chromedriver/-/chromedriver-98.0.4758-48b.tgz",
|
|
915
|
+
"integrity": "sha512-zj2k4xSKXpGDl29rSrfD9LfQtB6P29nM/EfGvFFIydfYqJ+aQzGKfPHwgrJv/1Lcw9IX9ICSnypg3IoavVCDwA==",
|
|
916
916
|
"hasInstallScript": true,
|
|
917
917
|
"dependencies": {
|
|
918
918
|
"node-downloader-helper": "1.0.19",
|
|
@@ -938,9 +938,9 @@
|
|
|
938
938
|
}
|
|
939
939
|
},
|
|
940
940
|
"node_modules/@sitespeed.io/geckodriver": {
|
|
941
|
-
"version": "0.
|
|
942
|
-
"resolved": "https://registry.npmjs.org/@sitespeed.io/geckodriver/-/geckodriver-0.
|
|
943
|
-
"integrity": "sha512-
|
|
941
|
+
"version": "0.30.0",
|
|
942
|
+
"resolved": "https://registry.npmjs.org/@sitespeed.io/geckodriver/-/geckodriver-0.30.0.tgz",
|
|
943
|
+
"integrity": "sha512-UT/A1XXQkN0tXHw9ibVLLrhP45OKPfW/d2zIOjIPiQ/Hk/7L7BvtOcBZpjH4GBMqIoEADRd8U7l8i6U6NUFeOw==",
|
|
944
944
|
"hasInstallScript": true,
|
|
945
945
|
"dependencies": {
|
|
946
946
|
"node-downloader-helper": "1.0.18",
|
|
@@ -1465,15 +1465,15 @@
|
|
|
1465
1465
|
}
|
|
1466
1466
|
},
|
|
1467
1467
|
"node_modules/browsertime": {
|
|
1468
|
-
"version": "14.
|
|
1469
|
-
"resolved": "https://registry.npmjs.org/browsertime/-/browsertime-14.
|
|
1470
|
-
"integrity": "sha512-
|
|
1468
|
+
"version": "14.19.2",
|
|
1469
|
+
"resolved": "https://registry.npmjs.org/browsertime/-/browsertime-14.19.2.tgz",
|
|
1470
|
+
"integrity": "sha512-2+HBF6Mn/DytKSG9+uHOc1s9HJ0osfXQfcl9nDAaTPK90wrkxob1KYko/m/6SdiH6Vm6+5eaFkDRxDhalg/PAA==",
|
|
1471
1471
|
"dependencies": {
|
|
1472
1472
|
"@cypress/xvfb": "1.2.4",
|
|
1473
1473
|
"@devicefarmer/adbkit": "2.11.3",
|
|
1474
|
-
"@sitespeed.io/chromedriver": "
|
|
1474
|
+
"@sitespeed.io/chromedriver": "98.0.4758-48b",
|
|
1475
1475
|
"@sitespeed.io/edgedriver": "95.0.1020-30",
|
|
1476
|
-
"@sitespeed.io/geckodriver": "0.
|
|
1476
|
+
"@sitespeed.io/geckodriver": "0.30.0",
|
|
1477
1477
|
"@sitespeed.io/throttle": "3.0.0",
|
|
1478
1478
|
"@sitespeed.io/tracium": "0.3.3",
|
|
1479
1479
|
"btoa": "1.2.1",
|
|
@@ -1877,17 +1877,17 @@
|
|
|
1877
1877
|
}
|
|
1878
1878
|
},
|
|
1879
1879
|
"node_modules/coach-core": {
|
|
1880
|
-
"version": "7.
|
|
1881
|
-
"resolved": "https://registry.npmjs.org/coach-core/-/coach-core-7.
|
|
1882
|
-
"integrity": "sha512-
|
|
1880
|
+
"version": "7.1.0",
|
|
1881
|
+
"resolved": "https://registry.npmjs.org/coach-core/-/coach-core-7.1.0.tgz",
|
|
1882
|
+
"integrity": "sha512-mxi/773IEU+FEyLHK6wyzJIh6aajKJcYB/kC+jmptgHbthNDmMjU37f0m3QGh6ybEJnPRrDgKlgBa3kHrZWfNA==",
|
|
1883
1883
|
"dependencies": {
|
|
1884
1884
|
"filter-files": "0.4.0",
|
|
1885
1885
|
"json-stable-stringify": "1.0.1",
|
|
1886
1886
|
"lodash.groupby": "4.6.0",
|
|
1887
1887
|
"lodash.merge": "4.6.2",
|
|
1888
1888
|
"lodash.sortby": "4.7.0",
|
|
1889
|
-
"pagexray": "4.
|
|
1890
|
-
"third-party-web": "0.
|
|
1889
|
+
"pagexray": "4.4.0",
|
|
1890
|
+
"third-party-web": "0.13.0",
|
|
1891
1891
|
"wappalyzer-core": "6.6.0"
|
|
1892
1892
|
},
|
|
1893
1893
|
"engines": {
|
|
@@ -5280,9 +5280,9 @@
|
|
|
5280
5280
|
}
|
|
5281
5281
|
},
|
|
5282
5282
|
"node_modules/pagexray": {
|
|
5283
|
-
"version": "4.
|
|
5284
|
-
"resolved": "https://registry.npmjs.org/pagexray/-/pagexray-4.
|
|
5285
|
-
"integrity": "sha512-
|
|
5283
|
+
"version": "4.4.0",
|
|
5284
|
+
"resolved": "https://registry.npmjs.org/pagexray/-/pagexray-4.4.0.tgz",
|
|
5285
|
+
"integrity": "sha512-Ew6e/Zpi+pIsyll9JbsGSgMy1v4ndIFbpppnJf8Xmqi5lz1fMwVBb869ZFoUg6nAD0gZ+QWmctqGxGnsLkgzxg==",
|
|
5286
5286
|
"dependencies": {
|
|
5287
5287
|
"minimist": "1.2.5"
|
|
5288
5288
|
},
|
|
@@ -6809,9 +6809,9 @@
|
|
|
6809
6809
|
"integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ="
|
|
6810
6810
|
},
|
|
6811
6811
|
"node_modules/third-party-web": {
|
|
6812
|
-
"version": "0.
|
|
6813
|
-
"resolved": "https://registry.npmjs.org/third-party-web/-/third-party-web-0.
|
|
6814
|
-
"integrity": "sha512-
|
|
6812
|
+
"version": "0.13.0",
|
|
6813
|
+
"resolved": "https://registry.npmjs.org/third-party-web/-/third-party-web-0.13.0.tgz",
|
|
6814
|
+
"integrity": "sha512-JkGRUoRWCjv7OH+VwM4VSxvx+85WXRWkvhrrP+UuQR+NCfwClx4yUjjZrqJ2aLPdyF7PVRivr65+umMLkRSrig=="
|
|
6815
6815
|
},
|
|
6816
6816
|
"node_modules/through": {
|
|
6817
6817
|
"version": "2.3.8",
|
|
@@ -8180,9 +8180,9 @@
|
|
|
8180
8180
|
}
|
|
8181
8181
|
},
|
|
8182
8182
|
"@sitespeed.io/chromedriver": {
|
|
8183
|
-
"version": "
|
|
8184
|
-
"resolved": "https://registry.npmjs.org/@sitespeed.io/chromedriver/-/chromedriver-
|
|
8185
|
-
"integrity": "sha512-
|
|
8183
|
+
"version": "98.0.4758-48b",
|
|
8184
|
+
"resolved": "https://registry.npmjs.org/@sitespeed.io/chromedriver/-/chromedriver-98.0.4758-48b.tgz",
|
|
8185
|
+
"integrity": "sha512-zj2k4xSKXpGDl29rSrfD9LfQtB6P29nM/EfGvFFIydfYqJ+aQzGKfPHwgrJv/1Lcw9IX9ICSnypg3IoavVCDwA==",
|
|
8186
8186
|
"requires": {
|
|
8187
8187
|
"node-downloader-helper": "1.0.19",
|
|
8188
8188
|
"node-stream-zip": "1.15.0"
|
|
@@ -8205,9 +8205,9 @@
|
|
|
8205
8205
|
}
|
|
8206
8206
|
},
|
|
8207
8207
|
"@sitespeed.io/geckodriver": {
|
|
8208
|
-
"version": "0.
|
|
8209
|
-
"resolved": "https://registry.npmjs.org/@sitespeed.io/geckodriver/-/geckodriver-0.
|
|
8210
|
-
"integrity": "sha512-
|
|
8208
|
+
"version": "0.30.0",
|
|
8209
|
+
"resolved": "https://registry.npmjs.org/@sitespeed.io/geckodriver/-/geckodriver-0.30.0.tgz",
|
|
8210
|
+
"integrity": "sha512-UT/A1XXQkN0tXHw9ibVLLrhP45OKPfW/d2zIOjIPiQ/Hk/7L7BvtOcBZpjH4GBMqIoEADRd8U7l8i6U6NUFeOw==",
|
|
8211
8211
|
"requires": {
|
|
8212
8212
|
"node-downloader-helper": "1.0.18",
|
|
8213
8213
|
"node-stream-zip": "1.14.0",
|
|
@@ -8631,15 +8631,15 @@
|
|
|
8631
8631
|
}
|
|
8632
8632
|
},
|
|
8633
8633
|
"browsertime": {
|
|
8634
|
-
"version": "14.
|
|
8635
|
-
"resolved": "https://registry.npmjs.org/browsertime/-/browsertime-14.
|
|
8636
|
-
"integrity": "sha512-
|
|
8634
|
+
"version": "14.19.2",
|
|
8635
|
+
"resolved": "https://registry.npmjs.org/browsertime/-/browsertime-14.19.2.tgz",
|
|
8636
|
+
"integrity": "sha512-2+HBF6Mn/DytKSG9+uHOc1s9HJ0osfXQfcl9nDAaTPK90wrkxob1KYko/m/6SdiH6Vm6+5eaFkDRxDhalg/PAA==",
|
|
8637
8637
|
"requires": {
|
|
8638
8638
|
"@cypress/xvfb": "1.2.4",
|
|
8639
8639
|
"@devicefarmer/adbkit": "2.11.3",
|
|
8640
|
-
"@sitespeed.io/chromedriver": "
|
|
8640
|
+
"@sitespeed.io/chromedriver": "98.0.4758-48b",
|
|
8641
8641
|
"@sitespeed.io/edgedriver": "95.0.1020-30",
|
|
8642
|
-
"@sitespeed.io/geckodriver": "0.
|
|
8642
|
+
"@sitespeed.io/geckodriver": "0.30.0",
|
|
8643
8643
|
"@sitespeed.io/throttle": "3.0.0",
|
|
8644
8644
|
"@sitespeed.io/tracium": "0.3.3",
|
|
8645
8645
|
"btoa": "1.2.1",
|
|
@@ -8972,17 +8972,17 @@
|
|
|
8972
8972
|
}
|
|
8973
8973
|
},
|
|
8974
8974
|
"coach-core": {
|
|
8975
|
-
"version": "7.
|
|
8976
|
-
"resolved": "https://registry.npmjs.org/coach-core/-/coach-core-7.
|
|
8977
|
-
"integrity": "sha512-
|
|
8975
|
+
"version": "7.1.0",
|
|
8976
|
+
"resolved": "https://registry.npmjs.org/coach-core/-/coach-core-7.1.0.tgz",
|
|
8977
|
+
"integrity": "sha512-mxi/773IEU+FEyLHK6wyzJIh6aajKJcYB/kC+jmptgHbthNDmMjU37f0m3QGh6ybEJnPRrDgKlgBa3kHrZWfNA==",
|
|
8978
8978
|
"requires": {
|
|
8979
8979
|
"filter-files": "0.4.0",
|
|
8980
8980
|
"json-stable-stringify": "1.0.1",
|
|
8981
8981
|
"lodash.groupby": "4.6.0",
|
|
8982
8982
|
"lodash.merge": "4.6.2",
|
|
8983
8983
|
"lodash.sortby": "4.7.0",
|
|
8984
|
-
"pagexray": "4.
|
|
8985
|
-
"third-party-web": "0.
|
|
8984
|
+
"pagexray": "4.4.0",
|
|
8985
|
+
"third-party-web": "0.13.0",
|
|
8986
8986
|
"wappalyzer-core": "6.6.0"
|
|
8987
8987
|
}
|
|
8988
8988
|
},
|
|
@@ -11682,9 +11682,9 @@
|
|
|
11682
11682
|
"integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ=="
|
|
11683
11683
|
},
|
|
11684
11684
|
"pagexray": {
|
|
11685
|
-
"version": "4.
|
|
11686
|
-
"resolved": "https://registry.npmjs.org/pagexray/-/pagexray-4.
|
|
11687
|
-
"integrity": "sha512-
|
|
11685
|
+
"version": "4.4.0",
|
|
11686
|
+
"resolved": "https://registry.npmjs.org/pagexray/-/pagexray-4.4.0.tgz",
|
|
11687
|
+
"integrity": "sha512-Ew6e/Zpi+pIsyll9JbsGSgMy1v4ndIFbpppnJf8Xmqi5lz1fMwVBb869ZFoUg6nAD0gZ+QWmctqGxGnsLkgzxg==",
|
|
11688
11688
|
"requires": {
|
|
11689
11689
|
"minimist": "1.2.5"
|
|
11690
11690
|
}
|
|
@@ -12947,9 +12947,9 @@
|
|
|
12947
12947
|
"integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ="
|
|
12948
12948
|
},
|
|
12949
12949
|
"third-party-web": {
|
|
12950
|
-
"version": "0.
|
|
12951
|
-
"resolved": "https://registry.npmjs.org/third-party-web/-/third-party-web-0.
|
|
12952
|
-
"integrity": "sha512-
|
|
12950
|
+
"version": "0.13.0",
|
|
12951
|
+
"resolved": "https://registry.npmjs.org/third-party-web/-/third-party-web-0.13.0.tgz",
|
|
12952
|
+
"integrity": "sha512-JkGRUoRWCjv7OH+VwM4VSxvx+85WXRWkvhrrP+UuQR+NCfwClx4yUjjZrqJ2aLPdyF7PVRivr65+umMLkRSrig=="
|
|
12953
12953
|
},
|
|
12954
12954
|
"through": {
|
|
12955
12955
|
"version": "2.3.8",
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"sitespeed.io": "./bin/sitespeed.js",
|
|
5
5
|
"sitespeed.io-wpr": "./bin/browsertimeWebPageReplay.js"
|
|
6
6
|
},
|
|
7
|
-
"version": "
|
|
7
|
+
"version": "22.0.0",
|
|
8
8
|
"description": "Analyze the web performance of your site",
|
|
9
9
|
"keywords": [
|
|
10
10
|
"performance",
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
"@tgwf/co2": "0.8.0",
|
|
75
75
|
"aws-sdk": "2.882.0",
|
|
76
76
|
"axe-core": "4.3.5",
|
|
77
|
-
"browsertime": "14.
|
|
78
|
-
"coach-core": "7.
|
|
77
|
+
"browsertime": "14.19.2",
|
|
78
|
+
"coach-core": "7.1.0",
|
|
79
79
|
"cli-color": "2.0.0",
|
|
80
80
|
"concurrent-queue": "7.0.2",
|
|
81
81
|
"dayjs": "1.10.4",
|
package/release.sh
CHANGED
|
@@ -15,18 +15,13 @@ np $* --no-yarn --branch main
|
|
|
15
15
|
|
|
16
16
|
PACKAGE_VERSION=$(node -e 'console.log(require("./package").version)')
|
|
17
17
|
|
|
18
|
-
docker build --no-cache -t sitespeedio/sitespeed.io:$PACKAGE_VERSION -t sitespeedio/sitespeed.io:latest .
|
|
19
|
-
docker push sitespeedio/sitespeed.io:$PACKAGE_VERSION
|
|
20
|
-
docker push sitespeedio/sitespeed.io:latest
|
|
18
|
+
docker buildx build --push --platform linux/arm64,linux/amd64 --no-cache -t sitespeedio/sitespeed.io:$PACKAGE_VERSION -t sitespeedio/sitespeed.io:latest .
|
|
21
19
|
|
|
22
|
-
docker build --no-cache -t sitespeedio/sitespeed.io:$PACKAGE_VERSION-slim --file Dockerfile-slim .
|
|
23
|
-
docker push sitespeedio/sitespeed.io:$PACKAGE_VERSION-slim
|
|
20
|
+
docker buildx build --push --platform linux/arm64,linux/amd64 --no-cache -t sitespeedio/sitespeed.io:$PACKAGE_VERSION-slim --file Dockerfile-slim .
|
|
24
21
|
|
|
25
|
-
docker build -t sitespeedio/sitespeed.io:$PACKAGE_VERSION-plus1 --build-arg version=$PACKAGE_VERSION --file docker/Dockerfile-plus1 .
|
|
26
|
-
docker push sitespeedio/sitespeed.io:$PACKAGE_VERSION-plus1
|
|
22
|
+
docker buildx build --push --platform linux/arm64,linux/amd64 -t sitespeedio/sitespeed.io:$PACKAGE_VERSION-plus1 --build-arg version=$PACKAGE_VERSION --file docker/Dockerfile-plus1 .
|
|
27
23
|
|
|
28
|
-
docker build -t sitespeedio/sitespeed.io:$PACKAGE_VERSION-webpagetest --build-arg version=$PACKAGE_VERSION --file docker/Dockerfile-webpagetest .
|
|
29
|
-
docker push sitespeedio/sitespeed.io:$PACKAGE_VERSION-webpagetest
|
|
24
|
+
docker buildx build --push --platform linux/arm64,linux/amd64 -t sitespeedio/sitespeed.io:$PACKAGE_VERSION-webpagetest --build-arg version=$PACKAGE_VERSION --file docker/Dockerfile-webpagetest .
|
|
30
25
|
|
|
31
26
|
# Update to latest version in the docs
|
|
32
27
|
bin/sitespeed.js --version | tr -d '\n' > docs/_includes/version/sitespeed.io.txt
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
<!--
|
|
3
|
-
Thanks for reporting issues back to sitespeed.io!
|
|
4
|
-
|
|
5
|
-
Please read https://www.sitespeed.io/documentation/sitespeed.io/bug-report/ and create reproducable issues.
|
|
6
|
-
|
|
7
|
-
Make sure you run the latest stable version, we move quite fast and fixes things.
|
|
8
|
-
|
|
9
|
-
-->
|