[Snyk] Upgrade puppeteer from 1.20.0 to 2.0.0 #12
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.
Snyk has created this PR to upgrade puppeteer from 1.20.0 to 2.0.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.Warning: This is a major version upgrade, and may be a breaking change.
The recommended version fixes:
SNYK-JS-HTTPSPROXYAGENT-469131
Release notes
Package name: puppeteer
Big changes
page.screenshot
now clips elements to the viewport (#5080)page.emulateTimezone(timezoneId)
page.emulateMediaType(type)
(superseding the oldpage.emulateMedia(type)
API)page.emulateMediaFeatures(features)
API changes
page.emulateTimezone(timezoneId)
(#4949)page.emulateMediaType(type)
(#5012)page.emulateMedia(type)
is now obsolete. Usepage.emulateMediaType(type)
instead. (#5012)page.emulateMediaFeatures(features)
(#5012)Raw notes
aa24697 - chore: mark version v2.0.0 (#5078)
360c1b4 - test: add page.screenshot viewport clipping test (#5079)
7f3e372 - docs(api): improve page.waitFor docs for the
options
object (#5021)8132b39 - test: remove duplicate code from an example (#5072)
1248a19 - feat(api): add
page.emulateTimezone(timezoneId)
(#4949)a86363f - feat(api): add
page.emulateMedia{Type,Features}
(#5012)06dbb72 - chore: use map instead of plain object (#5068)
81d2600 - feat(chromium): roll Chromium to r705776 (#5058)
3773229 - fix: avoid unnecessary zero-delays in input code (#4934)
11ff374 - chore: drop Node.js v6 support (#5045)
c0ba8f9 - docs(troubleshooting): update Alpine Chromium versions (#4980)
2506169 - docs(contributing): mention manual docs/api updates (#5023)
83c327a - docs(readme): correct Slack link
4c62e09 - fix(comment): fix typo in Launcher.js (#4959)
7dbb108 - docs(api): list Chromium version for Puppeteer v1.20.0 (#5015)
5b34028 - chore: bump https-proxy-agent to mitigate a security issue (#5016)
dc57d03 - docs(api): clarify
type
method examples (#5010)fff2737 - doc(contributing): clarify release instructions (#4940)
387a532 - chore: bump version to v1.20.0-post (#4939)
Big changes
element.evaluate
,element.evaluateHandle
,element.select
,jsHandle.evaluate
,jsHandle.evaluateHandle
API changes
Added
element.evaluate
(#4892)element.evaluateHandle
(#4892)element.select
(#4892)jsHandle.evaluate
(#4892)jsHandle.evaluateHandle
(#4892)Bug fixes
e0c8d46 - fix: abort
page.waitFor{Request,Response}
when page closes (#4865)417981a - fix(firefox): fix cookies in default browser context (#4850)
b9b6ca1 - fix(network): enable removing headers using
request.continue
(#4797)4acce55 - fix(test): enable cross-process viewport test (#4806)
f2056a8 - fix(test): enable redirect inside sync XHR test (#4805)
f4f2189 - fix(page): fix typo in
page.screenshot
method (#4786)e2db16f - fix(tests): make eval test resilient to error format (#4793)
1b4a030 - fix(test): make sure selection is not empty before running copy command (#4772)
7a60746 - fix(tests): background page tests should wait for the page (#4769)
Raw notes
a5f03ce - chore: mark version v1.20.0 (#4928)
f504c04 - test: mark Page.close test as failing in Firefox (#4929)
e17d38c - docs(readme): explain significance of Chromium revision (#4811)
9384359 - docs(troubleshooting): fix Alpine version link (#4927)
fca9d45 - docs(contributing): clarify release process (#4923)
97ff359 - docs(contributing): fix some typos (#4917)
c2651c2 - refactor: Pass FrameManager to NetworkManager constructor (#4907)
73fd7ff - feat(api): add element.select and element.evaluate for consistency (#4892)
135bb42 - docs: update README.md (#4857)
cba0f98 - docs(troubleshooting): Fix missing package in Docker instructions (#4877)
07eaad9 - fix(api): tbd release date (#4872)
e0c8d46 - fix: abort page.waitForRequest/Response when page closes (#4865)
faa4527 - chore(testrunner): bump TestRunner version to v0.8.0 (#4856)
498492d - test: add a test for errors inside promise (#4838)
417981a - fix(firefox): fix cookies in default browser context (#4850)
b6b2950 - feat(chromium): roll Chromium to r686378 (#4841)
01b8880 - test(firefox): disable BigInt tests for Firefox (#4849)
f595bc0 - test: fix tests to work on node6 (#4851)
f47ed16 - feat: update DeviceDescriptors to include 6.5 inch iPhone XR and similar (#4846)
0e0a679 - feat(chromium): roll Chromium to r682225 (#4844)
ff6d2a3 - docs(puppeteer-chromium): docker alpine switch to Alpine 3.10 (#4644)
2871bcd - chore(bisect): inherit parent ENV when launching script (#4842)
d687c81 - chore(flakiness-dashboard): skip API Coverage for realz (#4843)
5d2378f - chore(ci): fix firefox tests on Travis (#4828)
85bd4a8 - chore(flakiness): fix flakiness on Appveyour and Travis (#4827)
8f5117b - chore(flakiness): another travis attempt (#4826)
d347fcb - chore(flakiness): add travis to flakiness dashboard (#4825)
763e390 - chore(flaky): save build result (#4819)
608b15f - chore(flakiness): limit max builds to 100 (#4818)
f753ec6 - chore(testrunner): distinguish between TERMINATED and CRASHED (#4821)
c047624 - chore: generate testIds on CIs only (#4817)
656fe46 - docs(circleci): Improve CircleCI troubleshooting docs (#4813)
374177b - docs(circleci): Add CircleCI to troubleshooting docs (#4810)
dcff850 - chore(flakiness): update flakiness format (#4808)
b9b6ca1 - fix(network): be able to remove headers using request.continue (#4797)
4acce55 - fix(test): enable cross process viewport test (#4806)
a95ec70 - chore(test): label coverage+debuger test with upstream bug (#4807)
f2056a8 - fix(test): enable redirect inside sync XHR test (#4805)
f4f2189 - fix(page): fix page.screenshot method (#4786)
eb44e26 - test: add page.bringToFront test (#4778)
f733c33 - chore(flakiness): revert compression for dashboard.json (#4794)
5c7c45f - chore(coverage): fix coverage for events (#4787)
7ee9af4 - chore(flakiness): enable flakiness dashboard on Appveyor (#4789)
e252dcf - chore(flakiness): Flakiness Dashboard fixes (#4788)
e2db16f - fix(tests): make eval test resilient to error format (#4793)
932c8cb - chore: introduce initial version of flakiness dashboard (#4781)
2f205a4 - feat(chromium): roll Chromium to r681777 (#4771)
1b4a030 - fix(test): make sure selection is not empty before running copy command (#4772)
7406b18 - chore(testrunner): introduce tests for TestRunner (#4773)
3bbc45a - chore: improve //utils/check_availability.js (#4770)
7fded54 - docs(api): fix typo (#4761)
7a60746 - fix(tests): background page tests should wait for the page (#4769)
62f5dc7 - chore: bump version to v1.19.0-post (#4745)
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs