build(docs-infra): upgrade lighthouse to 5.1.0 (#31414)
PR Close #31414
This commit is contained in:
parent
565a58e261
commit
76b755e292
|
@ -106,7 +106,7 @@
|
||||||
"archiver": "^1.3.0",
|
"archiver": "^1.3.0",
|
||||||
"canonical-path": "1.0.0",
|
"canonical-path": "1.0.0",
|
||||||
"chalk": "^2.1.0",
|
"chalk": "^2.1.0",
|
||||||
"chrome-launcher": "^0.10.5",
|
"chrome-launcher": "^0.10.7",
|
||||||
"cjson": "^0.5.0",
|
"cjson": "^0.5.0",
|
||||||
"codelyzer": "^5.0.0",
|
"codelyzer": "^5.0.0",
|
||||||
"cross-spawn": "^5.1.0",
|
"cross-spawn": "^5.1.0",
|
||||||
|
@ -140,7 +140,7 @@
|
||||||
"karma-coverage-istanbul-reporter": "^1.3.0",
|
"karma-coverage-istanbul-reporter": "^1.3.0",
|
||||||
"karma-jasmine": "^1.1.0",
|
"karma-jasmine": "^1.1.0",
|
||||||
"karma-jasmine-html-reporter": "^0.2.2",
|
"karma-jasmine-html-reporter": "^0.2.2",
|
||||||
"lighthouse": "^4.3.0",
|
"lighthouse": "^5.1.0",
|
||||||
"lighthouse-logger": "^1.2.0",
|
"lighthouse-logger": "^1.2.0",
|
||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"lunr": "^2.1.0",
|
"lunr": "^2.1.0",
|
||||||
|
@ -167,4 +167,4 @@
|
||||||
"xregexp": "^4.0.0",
|
"xregexp": "^4.0.0",
|
||||||
"yargs": "^7.0.2"
|
"yargs": "^7.0.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ const logger = require('lighthouse-logger');
|
||||||
// Constants
|
// Constants
|
||||||
const CHROME_LAUNCH_OPTS = {};
|
const CHROME_LAUNCH_OPTS = {};
|
||||||
const LIGHTHOUSE_FLAGS = {logLevel: 'info'};
|
const LIGHTHOUSE_FLAGS = {logLevel: 'info'};
|
||||||
const SKIPPED_HTTPS_AUDITS = ['redirects-http'];
|
const SKIPPED_HTTPS_AUDITS = ['redirects-http', 'uses-http2'];
|
||||||
const VIEWER_URL = 'https://googlechrome.github.io/lighthouse/viewer/';
|
const VIEWER_URL = 'https://googlechrome.github.io/lighthouse/viewer/';
|
||||||
const WAIT_FOR_SW_DELAY = 5000;
|
const WAIT_FOR_SW_DELAY = 5000;
|
||||||
|
|
||||||
|
|
|
@ -353,10 +353,6 @@
|
||||||
version "0.7.0"
|
version "0.7.0"
|
||||||
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.7.0.tgz#9a06f4f137ee84d7df0460c1fdb1135ffa6c50fd"
|
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.7.0.tgz#9a06f4f137ee84d7df0460c1fdb1135ffa6c50fd"
|
||||||
|
|
||||||
"@types/core-js@^0.9.41":
|
|
||||||
version "0.9.43"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/core-js/-/core-js-0.9.43.tgz#65d646c5e8c0cd1bdee37065799f9d3d48748253"
|
|
||||||
|
|
||||||
"@types/events@*":
|
"@types/events@*":
|
||||||
version "3.0.0"
|
version "3.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7"
|
resolved "https://registry.yarnpkg.com/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7"
|
||||||
|
@ -398,19 +394,11 @@
|
||||||
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d"
|
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d"
|
||||||
integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==
|
integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==
|
||||||
|
|
||||||
"@types/mkdirp@^0.3.29":
|
|
||||||
version "0.3.29"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/mkdirp/-/mkdirp-0.3.29.tgz#7f2ad7ec55f914482fc9b1ec4bb1ae6028d46066"
|
|
||||||
|
|
||||||
"@types/node@*":
|
"@types/node@*":
|
||||||
version "11.11.3"
|
version "11.11.3"
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-11.11.3.tgz#7c6b0f8eaf16ae530795de2ad1b85d34bf2f5c58"
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-11.11.3.tgz#7c6b0f8eaf16ae530795de2ad1b85d34bf2f5c58"
|
||||||
integrity sha512-wp6IOGu1lxsfnrD+5mX6qwSwWuqsdkKKxTN4aQc4wByHAKZJf9/D4KXPQ1POUjEbnCP5LMggB0OEFNY9OTsMqg==
|
integrity sha512-wp6IOGu1lxsfnrD+5mX6qwSwWuqsdkKKxTN4aQc4wByHAKZJf9/D4KXPQ1POUjEbnCP5LMggB0OEFNY9OTsMqg==
|
||||||
|
|
||||||
"@types/node@^9.3.0":
|
|
||||||
version "9.6.35"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-9.6.35.tgz#197dd535c094362a7c95f0b78f07583d6681ed26"
|
|
||||||
|
|
||||||
"@types/node@~6.0.60":
|
"@types/node@~6.0.60":
|
||||||
version "6.0.118"
|
version "6.0.118"
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-6.0.118.tgz#8014a9b1dee0b72b4d7cd142563f1af21241c3a2"
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-6.0.118.tgz#8014a9b1dee0b72b4d7cd142563f1af21241c3a2"
|
||||||
|
@ -421,10 +409,6 @@
|
||||||
resolved "https://registry.yarnpkg.com/@types/q/-/q-0.0.32.tgz#bd284e57c84f1325da702babfc82a5328190c0c5"
|
resolved "https://registry.yarnpkg.com/@types/q/-/q-0.0.32.tgz#bd284e57c84f1325da702babfc82a5328190c0c5"
|
||||||
integrity sha1-vShOV8hPEyXacCur/IKlMoGQwMU=
|
integrity sha1-vShOV8hPEyXacCur/IKlMoGQwMU=
|
||||||
|
|
||||||
"@types/rimraf@^0.0.28":
|
|
||||||
version "0.0.28"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/rimraf/-/rimraf-0.0.28.tgz#5562519bc7963caca8abf7f128cae3b594d41d06"
|
|
||||||
|
|
||||||
"@types/selenium-webdriver@^3.0.0":
|
"@types/selenium-webdriver@^3.0.0":
|
||||||
version "3.0.15"
|
version "3.0.15"
|
||||||
resolved "https://registry.yarnpkg.com/@types/selenium-webdriver/-/selenium-webdriver-3.0.15.tgz#024c24051c3798e9a0cf5cceb1c893140df1bc31"
|
resolved "https://registry.yarnpkg.com/@types/selenium-webdriver/-/selenium-webdriver-3.0.15.tgz#024c24051c3798e9a0cf5cceb1c893140df1bc31"
|
||||||
|
@ -1170,10 +1154,10 @@ aws4@^1.6.0, aws4@^1.8.0:
|
||||||
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f"
|
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f"
|
||||||
integrity sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==
|
integrity sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==
|
||||||
|
|
||||||
axe-core@3.1.2:
|
axe-core@3.2.2:
|
||||||
version "3.1.2"
|
version "3.2.2"
|
||||||
resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-3.1.2.tgz#ca0aff897ebefca7552f97859dc1217c06c4f9e6"
|
resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-3.2.2.tgz#b06d6e9ae4636d706068843272bfaeed3fe97362"
|
||||||
integrity sha512-e1WVs0SQu3tM29J9a/mISGvlo2kdCStE+yffIAJF6eb42FS+eUFEVz9j4rgDeV2TAfPJmuOZdRetWYycIbK7Vg==
|
integrity sha512-gAy4kMSPpuRJV3mwictJqlg5LhE84Vw2CydKdC4tvrLhR6+G3KW51zbL/vYujcLA2jvWOq3HMHrVeNuw+mrLVA==
|
||||||
|
|
||||||
axios@^0.18.0:
|
axios@^0.18.0:
|
||||||
version "0.18.0"
|
version "0.18.0"
|
||||||
|
@ -1957,15 +1941,12 @@ chownr@^1.0.1, chownr@^1.1.1:
|
||||||
resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.1.tgz#54726b8b8fff4df053c42187e801fb4412df1494"
|
resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.1.tgz#54726b8b8fff4df053c42187e801fb4412df1494"
|
||||||
integrity sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g==
|
integrity sha512-j38EvO5+LHX84jlo6h4UzmOwi0UgW61WRyPtJz4qaadK5eY3BTS5TY/S1Stc3Uk2lIM6TPevAlULiEJwie860g==
|
||||||
|
|
||||||
chrome-launcher@^0.10.5:
|
chrome-launcher@^0.10.7:
|
||||||
version "0.10.5"
|
version "0.10.7"
|
||||||
resolved "https://registry.yarnpkg.com/chrome-launcher/-/chrome-launcher-0.10.5.tgz#d0aa72c11f1653e6a60dfebea171522447470ef1"
|
resolved "https://registry.yarnpkg.com/chrome-launcher/-/chrome-launcher-0.10.7.tgz#5e2a9e99f212e0501d9c7024802acd01a812f5d5"
|
||||||
integrity sha512-Gbzg8HlWhyuoVqflhiXwfFXhzNfNWvAkSWv2QR1Yl6mwsMo1oCLAVjp2tIySuS4lrZLEjzVx1fOy584yE76P4g==
|
integrity sha512-IoQLp64s2n8OQuvKZwt77CscVj3UlV2Dj7yZtd1EBMld9mSdGcsGy9fN5hd/r4vJuWZR09it78n1+A17gB+AIQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/core-js" "^0.9.41"
|
"@types/node" "*"
|
||||||
"@types/mkdirp" "^0.3.29"
|
|
||||||
"@types/node" "^9.3.0"
|
|
||||||
"@types/rimraf" "^0.0.28"
|
|
||||||
is-wsl "^1.1.0"
|
is-wsl "^1.1.0"
|
||||||
lighthouse-logger "^1.0.0"
|
lighthouse-logger "^1.0.0"
|
||||||
mkdirp "0.5.1"
|
mkdirp "0.5.1"
|
||||||
|
@ -5889,9 +5870,10 @@ jpeg-js@0.1.2, jpeg-js@^0.1.2:
|
||||||
version "0.1.2"
|
version "0.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/jpeg-js/-/jpeg-js-0.1.2.tgz#135b992c0575c985cfa0f494a3227ed238583ece"
|
resolved "https://registry.yarnpkg.com/jpeg-js/-/jpeg-js-0.1.2.tgz#135b992c0575c985cfa0f494a3227ed238583ece"
|
||||||
|
|
||||||
js-library-detector@^5.1.0:
|
js-library-detector@^5.4.0:
|
||||||
version "5.1.0"
|
version "5.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/js-library-detector/-/js-library-detector-5.1.0.tgz#1e2e88b119bb91e6581b28f4a90018ea1320de73"
|
resolved "https://registry.yarnpkg.com/js-library-detector/-/js-library-detector-5.4.0.tgz#d1b08dfbdc3886258f888bd441801ef9e5b69567"
|
||||||
|
integrity sha512-lSTEC9Q3L/cXOhYIilW3GH/v4tOnPIN40NTIBHRcn2vxTwGhMyySQTQpJ0W68ISGzOgvwVe7KCfQ9PJi6MsOIw==
|
||||||
|
|
||||||
"js-tokens@^3.0.0 || ^4.0.0":
|
"js-tokens@^3.0.0 || ^4.0.0":
|
||||||
version "4.0.0"
|
version "4.0.0"
|
||||||
|
@ -6323,13 +6305,13 @@ lighthouse-logger@^1.2.0:
|
||||||
debug "^2.6.8"
|
debug "^2.6.8"
|
||||||
marky "^1.2.0"
|
marky "^1.2.0"
|
||||||
|
|
||||||
lighthouse@^4.3.0:
|
lighthouse@^5.1.0:
|
||||||
version "4.3.0"
|
version "5.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/lighthouse/-/lighthouse-4.3.0.tgz#5b6a89871ece5016103a3fb0c1c33d8976f80f80"
|
resolved "https://registry.yarnpkg.com/lighthouse/-/lighthouse-5.1.0.tgz#f4f9a1f46f653cb3e53b0895a8a92162dd84a4a7"
|
||||||
integrity sha512-gSekIsP+d2kT2Ly6vkjj+hpmeNbR47w+iKwlUUkp7pWA+VfLY4uihmm4scYb4Qw0g4UCoe13f1JrMCw4oXIeIw==
|
integrity sha512-T+6VYefgRgSRHCgWhSQzsS1Jyu6JJ5I3cnrH/Q7BvwoJwnMhHME+JQ4ib5Oek2ZTfOakoarLDqrFPDtYNxk0KA==
|
||||||
dependencies:
|
dependencies:
|
||||||
axe-core "3.1.2"
|
axe-core "3.2.2"
|
||||||
chrome-launcher "^0.10.5"
|
chrome-launcher "^0.10.7"
|
||||||
configstore "^3.1.1"
|
configstore "^3.1.1"
|
||||||
cssstyle "1.2.1"
|
cssstyle "1.2.1"
|
||||||
details-element-polyfill "2.2.0"
|
details-element-polyfill "2.2.0"
|
||||||
|
@ -6338,7 +6320,7 @@ lighthouse@^4.3.0:
|
||||||
intl-messageformat "^2.2.0"
|
intl-messageformat "^2.2.0"
|
||||||
intl-messageformat-parser "^1.4.0"
|
intl-messageformat-parser "^1.4.0"
|
||||||
jpeg-js "0.1.2"
|
jpeg-js "0.1.2"
|
||||||
js-library-detector "^5.1.0"
|
js-library-detector "^5.4.0"
|
||||||
jsonld "^1.5.0"
|
jsonld "^1.5.0"
|
||||||
jsonlint-mod "^1.7.4"
|
jsonlint-mod "^1.7.4"
|
||||||
lighthouse-logger "^1.2.0"
|
lighthouse-logger "^1.2.0"
|
||||||
|
|
Loading…
Reference in New Issue