Skip to content

Commit

Permalink
feat!: upgrade puppeteer to v13.5.1
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Upgrade the headless Chrome version to `v100.0.4889.0`.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Ref: https://github.com/puppeteer/puppeteer/releases/tag/v13.5.1

Close: #297
  • Loading branch information
sf-v committed Apr 7, 2022
1 parent 809dbe7 commit 0beeb1a
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 29 deletions.
2 changes: 1 addition & 1 deletion packages/@best/runner-headless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dependencies": {
"@best/runner-abstract": "5.0.4",
"@best/types": "5.0.4",
"puppeteer": "13.0.0"
"puppeteer": "13.5.1"
},
"devDependencies": {
"@types/puppeteer": "5.4.4"
Expand Down
4 changes: 2 additions & 2 deletions packages/@best/runner-headless/src/headless.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ export default class HeadlessBrowser {
static async getSpecs(): Promise<BrowserSpec[]> {
// TODO: Create pupeteer test so we fail when upgrading
return [
{ name: 'chrome.headless', version: '97' },
{ name: 'chrome', version: '97' }
{ name: 'chrome.headless', version: '99' },
{ name: 'chrome', version: '99' }
];
}
}
2 changes: 1 addition & 1 deletion packages/best-benchmarks/best.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
module.exports = {
projectName: 'best-benchmark',
metrics: ['script', 'aggregate', 'paint', 'layout'],
specs: { name: 'chrome.headless', version: 97 },
specs: { name: 'chrome.headless', version: 99 },
runners: [
{
runner: "@best/runner-headless",
Expand Down
2 changes: 1 addition & 1 deletion packages/lwc-example/best.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
}],
['rollup-plugin-replace', { 'process.env.NODE_ENV': JSON.stringify('production') }]
],
specs: { name: 'chrome.headless', version: 97 },
specs: { name: 'chrome.headless', version: 99 },
runners: [
{
runner: "@best/runner-headless",
Expand Down
55 changes: 31 additions & 24 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6700,6 +6700,13 @@ cross-env@^5.2.0:
dependencies:
cross-spawn "^6.0.5"

cross-fetch@3.1.5:
version "3.1.5"
resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.5.tgz#e1389f44d9e7ba767907f7af8454787952ab534f"
integrity sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==
dependencies:
node-fetch "2.6.7"

cross-spawn@6.0.5, cross-spawn@^6.0.0, cross-spawn@^6.0.5:
version "6.0.5"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
Expand Down Expand Up @@ -6973,10 +6980,10 @@ debug@4, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@~4.1.0:
dependencies:
ms "^2.1.1"

debug@4.3.2:
version "4.3.2"
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.2.tgz#f0a49c18ac8779e31d4a0c6029dfb76873c7428b"
integrity sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==
debug@4.3.3:
version "4.3.3"
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.3.tgz#04266e0b70a98d4462e6e288e38259213332b664"
integrity sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==
dependencies:
ms "2.1.2"

Expand Down Expand Up @@ -7212,10 +7219,10 @@ detect-port-alt@1.1.6:
address "^1.0.1"
debug "^2.6.0"

devtools-protocol@0.0.937139:
version "0.0.937139"
resolved "https://registry.yarnpkg.com/devtools-protocol/-/devtools-protocol-0.0.937139.tgz#bdee3751fdfdb81cb701fd3afa94b1065dafafcf"
integrity sha512-daj+rzR3QSxsPRy5vjjthn58axO8c11j58uY0lG5vvlJk/EiOdCWOptGdkXDjtuRHr78emKq0udHCXM4trhoDQ==
devtools-protocol@0.0.969999:
version "0.0.969999"
resolved "https://registry.yarnpkg.com/devtools-protocol/-/devtools-protocol-0.0.969999.tgz#3d6be0a126b3607bb399ae2719b471dda71f3478"
integrity sha512-6GfzuDWU0OFAuOvBokXpXPLxjOJ5DZ157Ue3sGQQM3LgAamb8m0R0ruSfN0DDu+XG5XJgT50i6zZ/0o8RglreQ==

dezalgo@^1.0.0:
version "1.0.3"
Expand Down Expand Up @@ -13387,10 +13394,10 @@ node-fetch-npm@^2.0.2:
json-parse-better-errors "^1.0.0"
safe-buffer "^5.1.1"

node-fetch@2.6.5:
version "2.6.5"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.5.tgz#42735537d7f080a7e5f78b6c549b7146be1742fd"
integrity sha512-mmlIVHJEu5rnIxgEgez6b9GgWXbkZj5YZ7fx+2r94a2E+Uirsp6HsPTPlomfdHtpt/B0cdKviwkoaM6pyvUOpQ==
node-fetch@2.6.7:
version "2.6.7"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad"
integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==
dependencies:
whatwg-url "^5.0.0"

Expand Down Expand Up @@ -15077,23 +15084,23 @@ punycode@^1.2.4, punycode@^1.4.1:
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e"
integrity sha1-wNWmOycYgArY4esPpSachN1BhF4=

puppeteer@13.0.0:
version "13.0.0"
resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-13.0.0.tgz#f241d9bbbe5c8388da922f4f6ea3f84866e17f81"
integrity sha512-kZfGAieIVSo4bFqYuvY2KvhgP9txzmPbbnpZIzLlfdt8nEu9evXEwsbBt1BHocVQM4fJmCiS+FRyw7c8aWadNg==
puppeteer@13.5.1:
version "13.5.1"
resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-13.5.1.tgz#d0f751bf36120efc2ebf74c7562a204a84e500e9"
integrity sha512-wWxO//vMiqxlvuzHMAJ0pRJeDHvDtM7DQpW1GKdStz2nZo2G42kOXBDgkmQ+zqjwMCFofKGesBeeKxIkX9BO+w==
dependencies:
debug "4.3.2"
devtools-protocol "0.0.937139"
cross-fetch "3.1.5"
debug "4.3.3"
devtools-protocol "0.0.969999"
extract-zip "2.0.1"
https-proxy-agent "5.0.0"
node-fetch "2.6.5"
pkg-dir "4.2.0"
progress "2.0.3"
proxy-from-env "1.1.0"
rimraf "3.0.2"
tar-fs "2.1.1"
unbzip2-stream "1.4.3"
ws "8.2.3"
ws "8.5.0"

q@^1.1.2, q@^1.5.1:
version "1.5.1"
Expand Down Expand Up @@ -18854,10 +18861,10 @@ write@1.0.3:
dependencies:
mkdirp "^0.5.1"

ws@8.2.3:
version "8.2.3"
resolved "https://registry.yarnpkg.com/ws/-/ws-8.2.3.tgz#63a56456db1b04367d0b721a0b80cae6d8becbba"
integrity sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA==
ws@8.5.0:
version "8.5.0"
resolved "https://registry.yarnpkg.com/ws/-/ws-8.5.0.tgz#bfb4be96600757fe5382de12c670dab984a1ed4f"
integrity sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==

ws@^5.2.0:
version "5.2.2"
Expand Down

0 comments on commit 0beeb1a

Please sign in to comment.