Skip to content

Update dependency puppeteer to v5.2.1

Administrator requested to merge renovate/puppeteer-5.x into master

Created by: renovate[bot]

This PR contains the following updates:

Package Type Update New value References Sourcegraph
puppeteer devDependencies minor 5.2.1 source code search for "puppeteer"

Release Notes

puppeteer/puppeteer

v5.2.1

Compare Source

Highlights

  • Chromium 85.0.4182.0 (r782078)
  • We now allow configuring the browser debug logging behavior (#​6210)

Raw notes

4ee4649 - chore: mark v5.2.1 (#​6254) e89e264 - feat(chromium): roll Chromium to r782078 (#​6250) b2f6918 - fix: configure debug logging in browser (#​6210) 040f37e - docs: fix link text (#​6245) 9fdf2ba - chore(docs): migrate page.pdf() docs (#​6228) 2331584 - docs(troubleshooting): install libXss in Dockerfile (#​6236) 042c4a2 - chore: mark 5.2.0-post (#​6240)

v5.2.0

Compare Source

Feature changes

The experimental API for registering custom query handlers is slightly changed such that one registers query handlers containing two strategies: one for querying a single element and one for querying all matching elements.

The API for custom query handlers is unchanged:

__experimental_registerCustomQueryHandler(name: string, queryHandler: QueryHandler): void;
__experimental_unregisterCustomQueryHandler(name: string): void;
__experimental_customQueryHandlers(): Map<string, QueryHandler>;
__experimental_clearQueryHandlers(): void;

but QueryHandler is now defined as:

export interface QueryHandler {
  queryOne?: (element: Element | Document, selector: string) => Element | null;
  queryAll?: (element: Element | Document, selector: string) => Element[] | NodeListOf<Element>;
}

Bug fixes and improvements

  • The ESM build now includes file extensions in its import statements to match the ESM spec. Note that the ESM build is still considered experimental and should not be relied on.
  • The docs on running Firefox Nightly are now much clearer.
  • We now vendor in common dependencies such as Mitt so they can be used more easily outside of the Node module resolution ecosystem.

Raw notes

028f144 - chore: mark v5.2.0 (#​6238) 313774c - feat: change QueryHandler to contain QueryOne and QueryAll methods (#​6218) 82645e8 - docs: better describe how to install Firefox Nightly with Puppeteer (#​6226) f1a6b8d - chore: vendor Mitt & update project structure (#​6209) fb80610 - docs(troubleshooting): drops obsolete dependencies (#​5354) 3effcaf - chore: generate docs for the protocol (#​6213) ffec247 - chore: enforce file extensions on imports (#​6202) 8d6e0d8 - chore: mark version to v5.1.0-post (#​6208)


Renovate configuration

📅 Schedule: "on the 1st through 7th day of the month" in timezone America/Los_Angeles.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

Merge request reports

Loading