mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +00:00
fix: update vulnerable dependencies and adapt browser QA to Puppeteer 25
This commit is contained in:
1 parent
a458d27067
commit
f94bdb1d77
33 files changed
+403
-1315
No files matched your search
@@ -1205,7 +1205,7 @@ async function runBrowserGroup(record) {
|
||||
const emit = (id, res, ms) => { if (ids.includes(id)) record(CHECKS.find((c) => c.id === id), res, ms); };
|
||||
const only = (id) => ids.includes(id);
|
||||
|
||||
const exe = (() => { try { return puppeteer.executablePath(); } catch { return null; } })();
|
||||
const exe = await puppeteer.executablePath().catch(() => null);
|
||||
const browser = await puppeteer.launch({
|
||||
headless: HEADFUL ? false : 'new',
|
||||
...(exe ? { executablePath: exe } : {}),
|
||||
|
||||
Reference in new issue
Block a user