fix(deps): update dependency puppeteer to v4 #976
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.0.0
->^4.0.0
^3.0.0
->^4.0.0
Release Notes
puppeteer/puppeteer
v4.0.0
Compare Source
Breaking change: Puppeteer no longer uses Node’s EventEmitter library
As part of our work to make Puppeteer agnostic of its environment we are removing the dependency on Node’s EventEmitter in favour of an event emitter that is not tied to Node. Under the hood we use Mitt, but we extend Mitt with additional functionality to match most of the methods that Node’s EventEmitter provides. The following methods have been removed from Puppeteer classes that extend EventEmitter:
eventNames()
getMaxListeners()
listeners(eventName)
prependListener
prependOnceListener
setMaxListeners(n)
rawListeners(eventName)
Additionally all the static methods on the EventEmitter class are not supported:
listenerCount(emitter, eventName)
defaultMaxListeners
errorMonitor
Node’s EventEmitter emitted a
newListener
event when a listener was added and aremoveListener
event when one was removed. These are not supported and will not be emitted.New features and improvements
isJavaScriptEnabled()
on a Puppeteerpage
to find out if JS is enabled on the page (#5993)Bug fixes
Ctrl-C
(#6011)Behind the scenes
Raw notes
5493494
- chore: mark version 4.0.003ab1c1
- fix: improve Ctrl + C support (#6011)b659969
- chore: migrate away from Node's EventEmitter (#5979)6e060ce
- fix(connection): separate send/receive debug logging (#6017)c701ea1
- chore: fix npm test command (#6010)398c16d
- chore: fix docs linter (#6009)4205ff7
- docs(api): remove subheader for non-namespace3d56a9e
- chore: add test configuration options for running tests against multiple products (#5964)5c91dfb
- chore: moveindex.js
intosrc
(#6007)8a099a0
- docs: replace @return with @returns (#6006)23f18d8
- docs(new): start documenting the Page class (#6001)c1d7be3
- docs(api): add copy-pasting text example to Mouse class (#6000)91eb745
- chore: ensure new-docs are up to date (#5994)b86ff21
- feat(api): add Page.isJavaScriptEnabled + mark properties as private (#5993)354f942
- feat: improve error reporting on aarch64 (#5167)9c656d4
- chore: removeprefers-color-scheme: no-preference
(#5990)83c29d9
- chore: cleanlib
when running tsc (#5982)ca8b0d6
- feat(new-docs): migrate Dialog documentation to TSDoc (#5981)0b3d52a
- feat(new-docs): add TSDoc comments toAccessibility
(#5971)086c089
- chore: commit base new-docs (#5973)0032420
- chore: Introduce API Extractor and start generating documentation (#5967)ef63c64
- test: check installation with Firefox (#5965)c2d32b1
- chore: rename image assetsa84e07c
- chore: increase readability of Puppeteer diagram (#5947)58d1eab
- chore: mark version v3.3.0-post (#5960)Renovate configuration
📅 Schedule: "after 9am and before 3pm" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by WhiteSource Renovate. View repository job log here.