@jsenv/lighthouse-impact 4.2.38 → 4.2.40
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/lighthouse-impact",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.40",
|
|
4
4
|
"description": "Package description",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@jsenv/abort": "4.3.1",
|
|
27
27
|
"@jsenv/dynamic-import-worker": "1.2.1",
|
|
28
|
-
"@jsenv/filesystem": "4.15.
|
|
29
|
-
"@jsenv/github-pull-request-impact": "1.8.
|
|
30
|
-
"@jsenv/humanize": "1.
|
|
31
|
-
"lighthouse": "
|
|
28
|
+
"@jsenv/filesystem": "4.15.8",
|
|
29
|
+
"@jsenv/github-pull-request-impact": "1.8.35",
|
|
30
|
+
"@jsenv/humanize": "1.7.0",
|
|
31
|
+
"lighthouse": "13.0.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@jsenv/assert": "../assert",
|
|
35
35
|
"@jsenv/lighthouse-impact": "./",
|
|
36
36
|
"@jsenv/server": "../../backend/server",
|
|
37
|
-
"playwright": "1.
|
|
37
|
+
"playwright": "1.56.1"
|
|
38
38
|
},
|
|
39
39
|
"engines": {
|
|
40
40
|
"node": ">=20.0.0"
|
|
@@ -51,8 +51,6 @@ export const createLighthouseImpactComment = ({
|
|
|
51
51
|
${renderBody({
|
|
52
52
|
beforeMergeLighthouseReport,
|
|
53
53
|
afterMergeLighthouseReport,
|
|
54
|
-
pullRequestBase,
|
|
55
|
-
pullRequestHead,
|
|
56
54
|
})}
|
|
57
55
|
`,
|
|
58
56
|
]
|
|
@@ -77,16 +75,12 @@ ${renderBody({
|
|
|
77
75
|
const renderBody = ({
|
|
78
76
|
beforeMergeLighthouseReport,
|
|
79
77
|
afterMergeLighthouseReport,
|
|
80
|
-
pullRequestBase,
|
|
81
|
-
pullRequestHead,
|
|
82
78
|
}) => {
|
|
83
79
|
return Object.keys(afterMergeLighthouseReport.categories).map(
|
|
84
80
|
(categoryName) => {
|
|
85
81
|
return renderCategory(categoryName, {
|
|
86
82
|
beforeMergeLighthouseReport,
|
|
87
83
|
afterMergeLighthouseReport,
|
|
88
|
-
pullRequestBase,
|
|
89
|
-
pullRequestHead,
|
|
90
84
|
});
|
|
91
85
|
},
|
|
92
86
|
).join(`
|
|
@@ -7,7 +7,6 @@ import { patchOrPostGists } from "./pr_impact/patch_or_post_gists.js";
|
|
|
7
7
|
export const reportLighthouseImpactInGithubPullRequest = async ({
|
|
8
8
|
logLevel,
|
|
9
9
|
commandLogs = false,
|
|
10
|
-
cancelOnSIGINT,
|
|
11
10
|
rootDirectoryUrl,
|
|
12
11
|
|
|
13
12
|
githubToken,
|
|
@@ -37,7 +36,6 @@ export const reportLighthouseImpactInGithubPullRequest = async ({
|
|
|
37
36
|
commandLogs,
|
|
38
37
|
// lighthouse report are super verbose, do not log them
|
|
39
38
|
infoLogs: false,
|
|
40
|
-
cancelOnSIGINT,
|
|
41
39
|
rootDirectoryUrl,
|
|
42
40
|
|
|
43
41
|
githubToken,
|