dependencies: Add xvfb dependency.

The node package allow use to control xvfb apt package in puppeteer
tests. This help us create a fake display so we can run puppeteer in
headful (headless: false) mode, which is required to use the chrome
extension desktop capture API.
This commit is contained in:
Priyank Patel 2020-08-04 23:53:47 +00:00 committed by Tim Abbott
parent 78774e5f1b
commit c1ba648b4f
4 changed files with 18 additions and 2 deletions

View File

@ -76,6 +76,7 @@
"webpack4-bundle-tracker": "^0.0.1-beta",
"winchan": "^0.2.1",
"xdate": "^0.8.2",
"xvfb": "^0.4.0",
"zxcvbn": "^4.4.2"
},
"devDependencies": {

View File

@ -141,6 +141,7 @@ COMMON_DEPENDENCIES = [
"fonts-freefont-ttf",
"libappindicator1",
"xdg-utils",
"xvfb",
# Puppeteer dependencies end here.
]

View File

@ -44,4 +44,4 @@ API_FEATURE_LEVEL = 32
# historical commits sharing the same major version, in which case a
# minor version bump suffices.
PROVISION_VERSION = '100.0'
PROVISION_VERSION = '100.1'

View File

@ -7961,7 +7961,7 @@ namespace-emitter@^2.0.1:
resolved "https://registry.yarnpkg.com/namespace-emitter/-/namespace-emitter-2.0.1.tgz#978d51361c61313b4e6b8cf6f3853d08dfa2b17c"
integrity sha512-N/sMKHniSDJBjfrkbS/tpkPj4RAbvW3mr8UAzvlMHyun93XEm83IAvhWtJVHo+RHn/oO8Job5YN4b+wRjSVp5g==
nan@^2.10.0, nan@^2.12.1:
nan@^2.10.0, nan@^2.12.1, nan@^2.13.2:
version "2.14.1"
resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.1.tgz#d7be34dfa3105b91494c3147089315eff8874b01"
integrity sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw==
@ -10835,6 +10835,13 @@ slash@^3.0.0:
resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"
integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==
sleep@6.1.0:
version "6.1.0"
resolved "https://registry.yarnpkg.com/sleep/-/sleep-6.1.0.tgz#5507b520556a82ffb983d39123c5459470fa2a9e"
integrity sha512-Z1x4JjJxsru75Tqn8F4tnOFeEu3HjtITTsumYUiuz54sGKdISgLCek9AUlXlVVrkhltRFhNUsJDJE76SFHTDIQ==
dependencies:
nan "^2.13.2"
slice-ansi@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-2.1.0.tgz#cacd7693461a637a5788d92a7dd4fba068e81636"
@ -13031,6 +13038,13 @@ xtend@^2.1.2:
resolved "https://registry.yarnpkg.com/xtend/-/xtend-2.2.0.tgz#eef6b1f198c1c8deafad8b1765a04dad4a01c5a9"
integrity sha1-7vax8ZjByN6vrYsXZaBNrUoBxak=
xvfb@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/xvfb/-/xvfb-0.4.0.tgz#52c4ddb991b7c5ae9d175d35452718b734781e85"
integrity sha512-g55AbjcBL4Bztfn7kiUrR0ne8mMUsFODDJ+HFGf5OuHJqKKccpExX2Qgn7VF2eImw1eoh6+riXHser1J4agrFA==
optionalDependencies:
sleep "6.1.0"
y18n@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b"