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:
parent
e0cf25d109
commit
7bd484ebd3
3 changed files with 217 additions and 210 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue