Skip to content
Snippets Groups Projects
Commit eb036a11 authored by Fred Chasen's avatar Fred Chasen
Browse files

Merge branch 'update_to_puppeteer_10' into 'master'

Update to puppeteer v10

See merge request tools/pagedjs-cli!24
parents 12b97247 41ee6226
No related branches found
No related tags found
1 merge request!24Update to puppeteer v10
Pipeline #30183 passed with stages
in 1 minute and 20 seconds
This diff is collapsed.
...@@ -16,20 +16,20 @@ ...@@ -16,20 +16,20 @@
}, },
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"commander": "^6.1.0", "commander": "^8.2.0",
"express": "^4.17.1", "express": "^4.17.1",
"hyphenopoly": "^4.7.0", "hyphenopoly": "^4.12.0",
"katex": "^0.12.0", "katex": "^0.13.18",
"lodash": "^4.17.20", "lodash": "^4.17.21",
"mathjax": "^3.1.0", "mathjax": "^3.2.0",
"node-fetch": "^2.6.0", "node-fetch": "^2.6.0",
"ora": "^5.0.0", "ora": "^5.0.0",
"pagedjs": "^0.2.0", "pagedjs": "^0.2.0",
"pdf-lib": "0.6.4", "pdf-lib": "0.6.4",
"puppeteer": "^5.2.1", "puppeteer": "^10.4.0",
"replace-ext": "^2.0.0" "replace-ext": "^2.0.0"
}, },
"devDependencies": { "devDependencies": {
"eslint": "^7.7.0" "eslint": "^7.32.0"
} }
} }
...@@ -21,7 +21,7 @@ class Printer extends EventEmitter { ...@@ -21,7 +21,7 @@ class Printer extends EventEmitter {
this.headless = options.headless !== false; this.headless = options.headless !== false;
this.allowLocal = options.allowLocal; this.allowLocal = options.allowLocal;
this.allowRemote = options.allowRemote; this.allowRemote = options.allowRemote;
this.additionalScripts = options.additionalScripts; this.additionalScripts = options.additionalScripts || [];
this.allowedPaths = options.allowedPaths || []; this.allowedPaths = options.allowedPaths || [];
this.allowedDomains = options.allowedDomains || []; this.allowedDomains = options.allowedDomains || [];
this.ignoreHTTPSErrors = options.ignoreHTTPSErrors; this.ignoreHTTPSErrors = options.ignoreHTTPSErrors;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment