lighthouse 12.6.0-dev.20250601 → 12.6.1-dev.20250602
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.
|
@@ -172,13 +172,8 @@ class IssuesPanelEntries extends Audit {
|
|
|
172
172
|
if (issues.heavyAdIssue?.length) {
|
|
173
173
|
items.push({issueType: str_(UIStrings.issueTypeHeavyAds)});
|
|
174
174
|
}
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
return issue.contentSecurityPolicyViolationType !== 'kTrustedTypesSinkViolation' &&
|
|
178
|
-
issue.contentSecurityPolicyViolationType !== 'kTrustedTypesPolicyViolation';
|
|
179
|
-
});
|
|
180
|
-
if (cspIssues?.length) {
|
|
181
|
-
items.push(this.getContentSecurityPolicyRow(cspIssues));
|
|
175
|
+
if (issues.contentSecurityPolicyIssue?.length) {
|
|
176
|
+
items.push(this.getContentSecurityPolicyRow(issues.contentSecurityPolicyIssue));
|
|
182
177
|
}
|
|
183
178
|
return {
|
|
184
179
|
score: items.length > 0 ? 0 : 1,
|
|
@@ -51,7 +51,7 @@ declare const MOTOGPOWER_EMULATION_METRICS: Required<LH.SharedFlagsSettings["scr
|
|
|
51
51
|
* @type {Required<LH.SharedFlagsSettings['screenEmulation']>}
|
|
52
52
|
*/
|
|
53
53
|
declare const DESKTOP_EMULATION_METRICS: Required<LH.SharedFlagsSettings["screenEmulation"]>;
|
|
54
|
-
declare const MOTOG4_USERAGENT: "Mozilla/5.0 (Linux; Android 11; moto g power (2022)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/
|
|
55
|
-
declare const DESKTOP_USERAGENT: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/
|
|
54
|
+
declare const MOTOG4_USERAGENT: "Mozilla/5.0 (Linux; Android 11; moto g power (2022)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Mobile Safari/537.36";
|
|
55
|
+
declare const DESKTOP_USERAGENT: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36";
|
|
56
56
|
export {};
|
|
57
57
|
//# sourceMappingURL=constants.d.ts.map
|
package/core/config/constants.js
CHANGED
|
@@ -39,8 +39,8 @@ const screenEmulationMetrics = {
|
|
|
39
39
|
};
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
const MOTOG4_USERAGENT = 'Mozilla/5.0 (Linux; Android 11; moto g power (2022)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/
|
|
43
|
-
const DESKTOP_USERAGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/
|
|
42
|
+
const MOTOG4_USERAGENT = 'Mozilla/5.0 (Linux; Android 11; moto g power (2022)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Mobile Safari/537.36'; // eslint-disable-line max-len
|
|
43
|
+
const DESKTOP_USERAGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36'; // eslint-disable-line max-len
|
|
44
44
|
|
|
45
45
|
const userAgents = {
|
|
46
46
|
mobile: MOTOG4_USERAGENT,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lighthouse",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "12.6.
|
|
4
|
+
"version": "12.6.1-dev.20250602",
|
|
5
5
|
"description": "Automated auditing, performance metrics, and best practices for the web.",
|
|
6
6
|
"main": "./core/index.js",
|
|
7
7
|
"bin": {
|
|
@@ -117,8 +117,8 @@
|
|
|
117
117
|
"@types/eslint": "^8.2.1",
|
|
118
118
|
"@types/estree": "^0.0.50",
|
|
119
119
|
"@types/gh-pages": "^2.0.0",
|
|
120
|
-
"@types/gtag.js": "0.0.20",
|
|
121
120
|
"@types/google.analytics": "0.0.39",
|
|
121
|
+
"@types/gtag.js": "0.0.20",
|
|
122
122
|
"@types/jpeg-js": "^0.3.7",
|
|
123
123
|
"@types/jsdom": "^16.2.13",
|
|
124
124
|
"@types/lodash-es": "^4.17.12",
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
"pako": "^2.0.3",
|
|
173
173
|
"preact": "^10.7.2",
|
|
174
174
|
"pretty-json-stringify": "^0.0.2",
|
|
175
|
-
"puppeteer": "^24.
|
|
175
|
+
"puppeteer": "^24.10.0",
|
|
176
176
|
"resolve": "^1.22.1",
|
|
177
177
|
"rollup": "^2.52.7",
|
|
178
178
|
"rollup-plugin-polyfill-node": "^0.12.0",
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
"chrome-launcher": "^1.2.0",
|
|
192
192
|
"configstore": "^5.0.1",
|
|
193
193
|
"csp_evaluator": "1.1.5",
|
|
194
|
-
"devtools-protocol": "0.0.
|
|
194
|
+
"devtools-protocol": "0.0.1467305",
|
|
195
195
|
"enquirer": "^2.3.6",
|
|
196
196
|
"http-link-header": "^1.1.1",
|
|
197
197
|
"intl-messageformat": "^10.5.3",
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
"metaviewport-parser": "0.3.0",
|
|
205
205
|
"open": "^8.4.0",
|
|
206
206
|
"parse-cache-control": "1.0.1",
|
|
207
|
-
"puppeteer-core": "^24.
|
|
207
|
+
"puppeteer-core": "^24.10.0",
|
|
208
208
|
"robots-parser": "^3.0.1",
|
|
209
209
|
"semver": "^5.3.0",
|
|
210
210
|
"speedline-core": "^1.4.3",
|
|
@@ -215,8 +215,8 @@
|
|
|
215
215
|
"yargs-parser": "^21.0.0"
|
|
216
216
|
},
|
|
217
217
|
"resolutions": {
|
|
218
|
-
"puppeteer/**/devtools-protocol": "0.0.
|
|
219
|
-
"puppeteer-core/**/devtools-protocol": "0.0.
|
|
218
|
+
"puppeteer/**/devtools-protocol": "0.0.1467305",
|
|
219
|
+
"puppeteer-core/**/devtools-protocol": "0.0.1467305"
|
|
220
220
|
},
|
|
221
221
|
"repository": "GoogleChrome/lighthouse",
|
|
222
222
|
"keywords": [
|