View plugin.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is @esbuild-plugins/node-modules-polyfill, but using a better library | |
// for polyfills. It was done in this PR which has not merged: | |
// https://github.com/remorses/esbuild-plugins/pull/19 | |
import fs from 'fs'; | |
import path from 'path'; | |
import escapeStringRegexp from 'escape-string-regexp'; | |
import esbuild from 'esbuild'; |
View main.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const browserCompat = require('@mdn/browser-compat-data'); | |
const browsersToConsider = [ | |
'chrome', | |
'edge', | |
'firefox', | |
'safari_ios', | |
'safari', | |
]; |
View script.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# python bisect-builds.py --verify-range -a mac -g 800000 -b 929940 --use-local-cache --not-interactive -c "bash $PWD/scripts/cdt-manifest-install-errors-hang/script.sh %p" | |
# result | |
# https://chromium.googlesource.com/chromium/src/+log/f4571bef8272f8dce9169f8605138d09392fdb74..a4cd0dbf88fe1e055a03f5394fe2cadd1156c7d7 | |
LH=~/src/lighthouse | |
export CHROME_PATH=$1 | |
# brew install coreutils |
View debug.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
delete window.define; | |
(() => { | |
/*! axe v4.2.3 | |
* Copyright (c) 2021 Deque Systems, Inc. | |
* | |
* Your use of this Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
* | |
* This entire copyright notice must appear in every copy of this file you |
View lighthouse.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
770868 46d282b83 report(flow): standalone shell report with preact (#12850) 2021-08-18 | |
745328 305540f27 deps: update to typescript@4.4.1-rc (#12909) 2021-08-13 | |
741724 52beae3f0 clients(viewer): convert to ES modules (#12878) 2021-08-10 | |
741244 800ffd6da report: autogenerate components.js from templates.html (#12803) 2021-08-09 | |
741120 c30ba2de5 deps(csp-evaluator): upgrade to exactly 1.0.4 (#12858) 2021-08-04 | |
740824 e58aa09a2 deps: update third-party-web to 0.12.4 (#12753) 2021-07-30 | |
740108 d62acc3d6 deps: update lighthouse-logger to 1.3.0 (#12812) 2021-07-21 | |
740112 3aa15dc69 report: convert to ES modules (#12702) 2021-07-15 | |
731968 0af83bfd6 deps: bump axe-core to 4.2.3 (#12706) 2021-06-25 | |
731936 cacf13540 deps: update `ws` to latest (#12638) 2021-06-10 |
View input.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#states | |
s1 | |
s2 | |
s3 | |
s4 | |
s5 | |
s6 | |
#initial | |
s1 | |
#accepting |
View web.dev_2021-03-30_13-13-30.lighthouse.report.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4463.0 Safari/537.36","environment":{"networkUserAgent":"Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4420.0 Mobile Safari/537.36 Chrome-Lighthouse","hostUserAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4463.0 Safari/537.36","benchmarkIndex":1743.5,"credits":{"axe-core":"4.1.3"}},"lighthouseVersion":"7.3.0","fetchTime":"2021-03-30T19:13:30.839Z","requestedUrl":"https://web.dev/","finalUrl":"https://web.dev/","runWarnings":[],"audits":{"is-on-https":{"id":"is-on-https","title":"Uses HTTPS","description":"All sites should be protected with HTTPS, even ones that don't handle sensitive data. This includes avoiding [mixed content](https://developers.google.com/web/fundamentals/security/prevent-mixed-content/what-is-mixed-content), where some resources are loaded over HTTP despite the initial |
View gist:2c30fc7be0e6cbfd205a4a78964226df
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"treemap-data": { | |
"id": "treemap-data", | |
"title": "Treemap Data", | |
"description": "Used for treemap visualization.", | |
"score": null, | |
"scoreDisplayMode": "informative", | |
"details": { | |
"type": "debugdata", | |
"treemapData": { | |
"scripts": [ |
View count-strings-i18n.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// git rev-list master~1000..master | xargs -n1 -I{} sh -c 'git checkout --quiet {} && yarn i18n:collect-strings > /dev/null && git rev-parse HEAD && node ~/tmp/count/count-strings-i18n.js' | |
// https://github.com/GoogleChrome/lighthouse/pull/11149 | |
'use strict'; | |
const fs = require('fs'); | |
const glob = require('glob'); | |
/** @typedef {import('../../lib/i18n/locales.js').LhlMessages} LhlMessages */ |
NewerOlder