iwa / Q-Bot

Custom Discord Bot made for Qumu's Discord Server
0 stars 0 forks source link

Bump puppeteer from 4.0.1 to 5.0.0 #112

Closed dependabot[bot] closed 4 years ago

dependabot[bot] commented 4 years ago

Bumps puppeteer from 4.0.1 to 5.0.0.

Release notes

Sourced from puppeteer's releases.

v5.0.0

Breaking changes

Removal of page.emulateMedia (#6084)

This method was deprecated and is now removed from Puppeteer. Swap to page.emulateMediaType which behaves identically.

Removal of require('puppeteer/DeviceDescriptors') (#6043)

This top level file has been removed from the Puppeteer package. The same data is exposed via puppeteer.devices, so swap to that:

// before
const devices = require('puppeteer/DeviceDescriptors');

// after const puppeteer = require('puppeteer'); const devices = puppeteer.devices

Removal of require('puppeteer/Errors') (#6043)

This top level file has been removed from the Puppeteer package. The same data is exposed via puppeteer.errors, so swap to that:

// before
const errors = require('puppeteer/Errors');

// after const puppeteer = require('puppeteer'); const errors = puppeteer.errors

Behind the scenes

  • We've continued our drive to migrate to a new documentation system using TSDoc. These docs are available in the new-docs directory on GitHub. These aren't ready for use just yet but we're making great progress. You can track this work in #6118.

  • We've continued improving our TypeScript definitions. Our tests are now migrated to TypeScript (#5830) so that we're consuming our own API. Work continues to ship built-in type definitions in a future version. You can track this work in #6124.

  • We've started restructuring Puppeteer to work towards being able to better support an environment agnostic Puppeteer module. You can track this work in #6125.

Raw notes

85d8dbf - chore: mark v5.0.0 29f7e16 - chore(docs): reduce warnings when generating docs (#6138) 221d172 - chore: add typecheck command (#6140) 6474edb - feat(types): add types for $eval (#6135) 8370ec8 - feat(types): add (and fix) evaluateHandle types (#6130) 3c0dc45 - chore: update Windows skipped tests. (#6133)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually