1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Update npm packages

This commit is contained in:
Jonas Jenwald 2022-10-16 09:09:38 +02:00
parent e0cf25d109
commit 7bd484ebd3
3 changed files with 217 additions and 210 deletions

View file

@ -899,7 +899,7 @@ function unitTestPostHandler(req, res) {
async function startBrowser(browserName, startUrl = "") {
const revisions =
require("puppeteer/lib/cjs/puppeteer/revisions.js").PUPPETEER_REVISIONS;
require("puppeteer-core/lib/cjs/puppeteer/revisions.js").PUPPETEER_REVISIONS;
const wantedRevision =
browserName === "chrome" ? revisions.chromium : revisions.firefox;