From abf4bd4c70a139a372fc08d51e9e3d007b825277 Mon Sep 17 00:00:00 2001 From: Adam Raine Date: Tue, 18 Jul 2023 15:38:40 -0700 Subject: [PATCH 1/2] deps: upgrade `chrome-launcher` to 1.0.0 --- package.json | 2 +- yarn.lock | 20 ++++++++++++++------ 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 8dd545780db6..7af4479e29d0 100644 --- a/package.json +++ b/package.json @@ -181,7 +181,7 @@ "dependencies": { "@sentry/node": "^6.17.4", "axe-core": "4.7.2", - "chrome-launcher": "^0.15.2", + "chrome-launcher": "^1.0.0", "configstore": "^5.0.1", "csp_evaluator": "1.1.1", "devtools-protocol": "0.0.1155343", diff --git a/yarn.lock b/yarn.lock index 8b55a773a886..b78c49fd9119 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2274,15 +2274,15 @@ chrome-devtools-frontend@1.0.1153166: resolved "https://registry.yarnpkg.com/chrome-devtools-frontend/-/chrome-devtools-frontend-1.0.1153166.tgz#dea2625a9e5404f26d466ac2bd4f6b0f6d554c57" integrity sha512-oMzyDtW9tj6lbccWUV9BH4NoUNuM7TUmpJbHMObIQdsr2MwbRDHuvjnOE1+7ITQeWudRnM0n1ZD6Efu9m+qjfw== -chrome-launcher@^0.15.2: - version "0.15.2" - resolved "https://registry.yarnpkg.com/chrome-launcher/-/chrome-launcher-0.15.2.tgz#4e6404e32200095fdce7f6a1e1004f9bd36fa5da" - integrity sha512-zdLEwNo3aUVzIhKhTtXfxhdvZhUghrnmkvcAq2NoDd+LeOHKf03H5jwZ8T/STsAlzyALkBVK552iaG1fGf1xVQ== +chrome-launcher@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/chrome-launcher/-/chrome-launcher-1.0.0.tgz#c8bc62a89bebfdcb71976a9bd7e3d66e2106ee8b" + integrity sha512-74IMFVfgni/bQ4GotUNJpH2vDR+Sh9cXNPVhPXiedeiB0+5j7/8i8LAqS7WlyNSKqtxJ/CgbOpBDPLkzqDVhlw== dependencies: "@types/node" "*" escape-string-regexp "^4.0.0" is-wsl "^2.2.0" - lighthouse-logger "^1.0.0" + lighthouse-logger "^2.0.1" chromium-bidi@0.4.16: version "0.4.16" @@ -4938,7 +4938,7 @@ lie@~3.3.0: dependencies: immediate "~3.0.5" -lighthouse-logger@^1.0.0, lighthouse-logger@^1.4.1: +lighthouse-logger@^1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/lighthouse-logger/-/lighthouse-logger-1.4.1.tgz#a076d7be80cbac16b9fdcd930379b03fff514699" integrity sha512-VDZF31xGrLS1Zyf79/Xs6J9I08EVgJyz085MAt0G3Sh6nARFSUaM+IkuEZE9xZrLpTtzH1Qt9UzH/7kt9LnhZQ== @@ -4946,6 +4946,14 @@ lighthouse-logger@^1.0.0, lighthouse-logger@^1.4.1: debug "^2.6.9" marky "^1.2.2" +lighthouse-logger@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/lighthouse-logger/-/lighthouse-logger-2.0.1.tgz#48895f639b61cca89346bb6f47f7403a3895fa02" + integrity sha512-ioBrW3s2i97noEmnXxmUq7cjIcVRjT5HBpAYy8zE11CxU9HqlWHHeRxfeN1tn8F7OEMVPIC9x1f8t3Z7US9ehQ== + dependencies: + debug "^2.6.9" + marky "^1.2.2" + lighthouse-plugin-publisher-ads@1.5.7-beta: version "1.5.7-beta" resolved "https://registry.yarnpkg.com/lighthouse-plugin-publisher-ads/-/lighthouse-plugin-publisher-ads-1.5.7-beta.tgz#ac35b0d8f9ee01c774d45a18fee109cded6395ec" From 64dcc65f7d41b77e4570b70090bbb3f4536fd637 Mon Sep 17 00:00:00 2001 From: Adam Raine Date: Tue, 18 Jul 2023 15:46:03 -0700 Subject: [PATCH 2/2] bundle smoke fix --- cli/test/smokehouse/lighthouse-runners/bundle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/test/smokehouse/lighthouse-runners/bundle.js b/cli/test/smokehouse/lighthouse-runners/bundle.js index cae36da0bf8e..0c36c90d0fb1 100644 --- a/cli/test/smokehouse/lighthouse-runners/bundle.js +++ b/cli/test/smokehouse/lighthouse-runners/bundle.js @@ -17,7 +17,7 @@ import {Worker, isMainThread, parentPort, workerData} from 'worker_threads'; import {once} from 'events'; import puppeteer from 'puppeteer-core'; -import ChromeLauncher from 'chrome-launcher'; +import * as ChromeLauncher from 'chrome-launcher'; import {LH_ROOT} from '../../../../root.js'; import {loadArtifacts, saveArtifacts} from '../../../../core/lib/asset-saver.js';