Skip to content

Commit d28a33b

Browse files
committed
Upgrade Puppeteer to version 1.4.0
1 parent 979288b commit d28a33b

File tree

3 files changed

+25
-23
lines changed

3 files changed

+25
-23
lines changed

decktape.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,9 @@ process.on('unhandledRejection', error => {
204204
const load = page.waitForNavigation({ waitUntil: 'load', timeout: 20000 });
205205
page.goto(options.url, { waitUntil: 'networkidle0', timeout: 60000 })
206206
// wait until the load event is dispatched
207-
.then(response => load.catch(error => response.status() !== 200 ? Promise.reject(error) : response))
207+
.then(response => load
208+
.catch(error => response.status() !== 200 ? Promise.reject(error) : response)
209+
.then(_ => response))
208210
.then(response => console.log('Loading page finished with status:', response.status()))
209211
.then(delay(options.loadPause))
210212
.then(_ => createPlugin(page))

npm-shrinkwrap.json

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"chalk": "^2.1.0",
2424
"fonteditor-core": "^1.0.2",
2525
"hummus": "^1.0.86",
26-
"puppeteer": "^1.2.0",
26+
"puppeteer": "^1.4.0",
2727
"urijs": "^1.18.12"
2828
},
2929
"engines": {

0 commit comments

Comments
 (0)