mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: bump dependencies (#2559)
This patch bumps dependencies so that `npm audit` doesn't yell at us. Drive-by: fix browsercontext test to run nicely in parallel mode.
This commit is contained in:
parent
de82b87cfa
commit
2d82e0891a
@ -27,13 +27,13 @@
|
|||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"debug": "^3.1.0",
|
"debug": "^3.1.0",
|
||||||
"extract-zip": "^1.6.5",
|
"extract-zip": "^1.6.6",
|
||||||
"https-proxy-agent": "^2.1.0",
|
"https-proxy-agent": "^2.2.1",
|
||||||
"mime": "^2.0.3",
|
"mime": "^2.0.3",
|
||||||
"progress": "^2.0.0",
|
"progress": "^2.0.0",
|
||||||
"proxy-from-env": "^1.0.0",
|
"proxy-from-env": "^1.0.0",
|
||||||
"rimraf": "^2.6.1",
|
"rimraf": "^2.6.1",
|
||||||
"ws": "^3.0.0"
|
"ws": "^5.1.1"
|
||||||
},
|
},
|
||||||
"puppeteer": {
|
"puppeteer": {
|
||||||
"chromium_revision": "557152"
|
"chromium_revision": "557152"
|
||||||
@ -47,7 +47,7 @@
|
|||||||
"@types/ws": "^3.0.2",
|
"@types/ws": "^3.0.2",
|
||||||
"commonmark": "^0.27.0",
|
"commonmark": "^0.27.0",
|
||||||
"cross-env": "^5.0.5",
|
"cross-env": "^5.0.5",
|
||||||
"eslint": "^4.0.0",
|
"eslint": "^4.19.1",
|
||||||
"esprima": "^4.0.0",
|
"esprima": "^4.0.0",
|
||||||
"markdown-toc": "^1.2.0",
|
"markdown-toc": "^1.2.0",
|
||||||
"minimist": "^1.2.0",
|
"minimist": "^1.2.0",
|
||||||
|
@ -63,14 +63,14 @@ module.exports.addTests = function({testRunner, expect, puppeteer}) {
|
|||||||
const events = [];
|
const events = [];
|
||||||
context.on('targetcreated', target => events.push('CREATED: ' + target.url()));
|
context.on('targetcreated', target => events.push('CREATED: ' + target.url()));
|
||||||
context.on('targetchanged', target => events.push('CHANGED: ' + target.url()));
|
context.on('targetchanged', target => events.push('CHANGED: ' + target.url()));
|
||||||
context.on('targetdestroyed', target => events.push('DESTRYOED: ' + target.url()));
|
context.on('targetdestroyed', target => events.push('DESTROYED: ' + target.url()));
|
||||||
const page = await context.newPage();
|
const page = await context.newPage();
|
||||||
await page.goto(server.EMPTY_PAGE);
|
await page.goto(server.EMPTY_PAGE);
|
||||||
await page.close();
|
await page.close();
|
||||||
expect(events).toEqual([
|
expect(events).toEqual([
|
||||||
'CREATED: about:blank',
|
'CREATED: about:blank',
|
||||||
'CHANGED: http://localhost:8907/empty.html',
|
`CHANGED: ${server.EMPTY_PAGE}`,
|
||||||
'DESTRYOED: http://localhost:8907/empty.html'
|
`DESTROYED: ${server.EMPTY_PAGE}`
|
||||||
]);
|
]);
|
||||||
await context.close();
|
await context.close();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user