[9.0] Upgrade Puppeteer to v24.8.1 (#220310) (#222992)

# Backport

This will backport the following commits from `main` to `9.0`:
- [Upgrade Puppeteer to v24.8.1
(#220310)](https://github.com/elastic/kibana/pull/220310)

<!--- Backport version: 10.0.0 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Ersin
Erdal","email":"92688503+ersin-erdal@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-05-22T14:46:48Z","message":"Upgrade
Puppeteer to v24.8.1 (#220310)\n\nThis PR upgrades Puppeteer version to
v24.8.1.\n\nBelow is a screenshot to successful download of the new
version.\n\n<img width=\"1543\" alt=\"Screenshot 2025-05-07 at 14 31
23\"\nsrc=\"https://github.com/user-attachments/assets/e81d70ae-3df3-4371-ab4d-090fecf93d67\"\n/>\n\n\n---\n\nTested
on CI, PNG and PDF reports were successfully generated:\n<img
width=\"911\" alt=\"Screenshot 2025-05-09 at 16 55
30\"\nsrc=\"https://github.com/user-attachments/assets/fa65cfe8-5af0-4114-bbb7-b324951e5d41\"\n/>\n\n---\n\nTested
on Windows in a VM. PNG and PDF reports were
successfully\ngenerated:\n\n<img width=\"1129\" alt=\"Screenshot
2025-05-21 at 20 28
40\"\nsrc=\"https://github.com/user-attachments/assets/9e3c16f2-03d6-4b00-a402-4d007bcd1685\"\n/>\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"8ec7546a561e434cf04082e23dcb7846ce657093","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","ci:cloud-deploy","backport:version","v7.17.28","v9.1.0","v8.19.0","v8.17.7","v8.18.2","v9.0.2"],"title":"Upgrade
Puppeteer to
v24.8.1","number":220310,"url":"https://github.com/elastic/kibana/pull/220310","mergeCommit":{"message":"Upgrade
Puppeteer to v24.8.1 (#220310)\n\nThis PR upgrades Puppeteer version to
v24.8.1.\n\nBelow is a screenshot to successful download of the new
version.\n\n<img width=\"1543\" alt=\"Screenshot 2025-05-07 at 14 31
23\"\nsrc=\"https://github.com/user-attachments/assets/e81d70ae-3df3-4371-ab4d-090fecf93d67\"\n/>\n\n\n---\n\nTested
on CI, PNG and PDF reports were successfully generated:\n<img
width=\"911\" alt=\"Screenshot 2025-05-09 at 16 55
30\"\nsrc=\"https://github.com/user-attachments/assets/fa65cfe8-5af0-4114-bbb7-b324951e5d41\"\n/>\n\n---\n\nTested
on Windows in a VM. PNG and PDF reports were
successfully\ngenerated:\n\n<img width=\"1129\" alt=\"Screenshot
2025-05-21 at 20 28
40\"\nsrc=\"https://github.com/user-attachments/assets/9e3c16f2-03d6-4b00-a402-4d007bcd1685\"\n/>\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"8ec7546a561e434cf04082e23dcb7846ce657093"}},"sourceBranch":"main","suggestedTargetBranches":["7.17","8.17","8.18","9.0"],"targetPullRequestStates":[{"branch":"7.17","label":"v7.17.28","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/220310","number":220310,"mergeCommit":{"message":"Upgrade
Puppeteer to v24.8.1 (#220310)\n\nThis PR upgrades Puppeteer version to
v24.8.1.\n\nBelow is a screenshot to successful download of the new
version.\n\n<img width=\"1543\" alt=\"Screenshot 2025-05-07 at 14 31
23\"\nsrc=\"https://github.com/user-attachments/assets/e81d70ae-3df3-4371-ab4d-090fecf93d67\"\n/>\n\n\n---\n\nTested
on CI, PNG and PDF reports were successfully generated:\n<img
width=\"911\" alt=\"Screenshot 2025-05-09 at 16 55
30\"\nsrc=\"https://github.com/user-attachments/assets/fa65cfe8-5af0-4114-bbb7-b324951e5d41\"\n/>\n\n---\n\nTested
on Windows in a VM. PNG and PDF reports were
successfully\ngenerated:\n\n<img width=\"1129\" alt=\"Screenshot
2025-05-21 at 20 28
40\"\nsrc=\"https://github.com/user-attachments/assets/9e3c16f2-03d6-4b00-a402-4d007bcd1685\"\n/>\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"8ec7546a561e434cf04082e23dcb7846ce657093"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/221272","number":221272,"state":"MERGED","mergeCommit":{"sha":"4a9b8e451333db25e6d4700817ac86620be60a2d","message":"[8.19]
Upgrade Puppeteer to v24.8.1 (#220310) (#221272)\n\n# Backport\n\nThis
will backport the following commits from `main` to `8.19`:\n- [Upgrade
Puppeteer to
v24.8.1\n(#220310)](https://github.com/elastic/kibana/pull/220310)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Ersin Erdal
<92688503+ersin-erdal@users.noreply.github.com>"}},{"branch":"8.17","label":"v8.17.7","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Ersin Erdal 2025-06-06 18:48:51 +02:00 committed by GitHub
parent 5029a22454
commit 865fa67b21
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 49 additions and 49 deletions

View file

@ -1217,7 +1217,7 @@
"pretty-ms": "6.0.0",
"prop-types": "^15.8.1",
"proxy-from-env": "1.1.0",
"puppeteer": "24.4.0",
"puppeteer": "24.8.1",
"query-string": "^6.13.2",
"rbush": "^4.0.1",
"re-resizable": "^6.11.2",

View file

@ -48,10 +48,10 @@ export class ChromiumArchivePaths {
platform: 'darwin',
architecture: 'x64',
archiveFilename: 'chrome-headless-shell-mac-x64.zip',
archiveChecksum: 'e09bd8cc7b381a20d7738c3026a359e5ddd6a587ecb33f8326c0818f243f50e2',
binaryChecksum: '7bef5a84fe90d2a243e1e9c45e86f53525b1a3adec598c0b6ce009792abd5f34',
archiveChecksum: '772b1fec39826e0604d21e515ee27c47bdfb7a5d69e8674d818b0c159c3dfcb2',
binaryChecksum: '493f63172a7b76d12c844427bfdc67d391175e42cba99025277ffce31a7587f7',
binaryRelativePath: 'chrome-headless-shell-mac-x64/chrome-headless-shell',
version: '134.0.6998.35',
version: '136.0.7103.49',
location: 'chromeForTesting',
archivePath: 'mac-x64',
isPreInstalled: false,
@ -60,10 +60,10 @@ export class ChromiumArchivePaths {
platform: 'darwin',
architecture: 'arm64',
archiveFilename: 'chrome-headless-shell-mac-arm64.zip',
archiveChecksum: 'ead60a22ae13e93a74b88fe43df3aa547ca599d9f9b7fd4b060e5c595fd890cb',
binaryChecksum: '8f60afb3cabee80b3e7efa6898d589997d5f6e3669b1bdc1bca4b8685e500e7f',
archiveChecksum: '30c5215f2b3caa3321de7c0e0de7225b13cbdd970f7c3f68c774be0ca34fc4e3',
binaryChecksum: '6ada593813656a62560680f510a34f0937537ce8518cb60dcdd0c3ceace97f50',
binaryRelativePath: 'chrome-headless-shell-mac-arm64/chrome-headless-shell',
version: '134.0.6998.35',
version: '136.0.7103.49',
location: 'chromeForTesting',
archivePath: 'mac-arm64',
isPreInstalled: false,
@ -71,9 +71,9 @@ export class ChromiumArchivePaths {
{
platform: 'linux',
architecture: 'x64',
archiveFilename: 'chromium-ea6ef4c-locales-linux_x64.zip',
archiveChecksum: '98db5f4ae704a0cf4d1612721334b0466908bf642ac547798aa303d17105e782',
binaryChecksum: '2ed0cbce8358e86b5c44719d1ccd50f711b879088946b6ffdeed22b4ce2e47ea',
archiveFilename: 'chromium-031848b-locales-linux_x64.zip',
archiveChecksum: '2f8ede6c874cbf71f6d64ad5c88b33e0f91bdddb4f5684fa6148702ce85550d7',
binaryChecksum: '12ba32eadf7dc1e3bd2c72707dfc100d4c9dd6eaddd5568f407a2ed66156e1d1',
binaryRelativePath: 'headless_shell-linux_x64/headless_shell',
location: 'custom',
isPreInstalled: true,
@ -81,9 +81,9 @@ export class ChromiumArchivePaths {
{
platform: 'linux',
architecture: 'arm64',
archiveFilename: 'chromium-ea6ef4c-locales-linux_arm64.zip',
archiveChecksum: '9b3bf295794f0d4fe5e52813aa31a5ed4ca4389384f7fff2a8465777709174ea',
binaryChecksum: '382c7f30a57b1096c7567d3a2cba0353aae80ec11790cd271601fb1b2ebb85cd',
archiveFilename: 'chromium-031848b-locales-linux_arm64.zip',
archiveChecksum: 'de7571709d3b25cd15c48949bb5d72665b98ed527d73dbffbb96116dd5aeaae9',
binaryChecksum: 'c2cee1a7906e0c0905153bcc40ece031be5028d075b88736629280ac80877246',
binaryRelativePath: 'headless_shell-linux_arm64/headless_shell',
location: 'custom',
isPreInstalled: true,
@ -92,10 +92,10 @@ export class ChromiumArchivePaths {
platform: 'win32',
architecture: 'x64',
archiveFilename: 'chrome-headless-shell-win64.zip',
archiveChecksum: '3bda1b7b1dc59fe4d79d68c5ca2384f8e7a743253e041eb731664b05a1e73343',
binaryChecksum: 'fffdc5e77fae67391e154d92f2084f84fec410632a48211ae0ab652dc64aeacf',
archiveChecksum: 'a4a82311596166c6148df6d1d1497d9bb5397895c47f67abcde4b368180418bc',
binaryChecksum: '574d3b27846bdeaafb73632f1f6aac001dc895165465ae11bcd3fedb35cfa9dd',
binaryRelativePath: path.join('chrome-headless-shell-win64', 'chrome-headless-shell.exe'),
version: '134.0.6998.35',
version: '136.0.7103.49',
location: 'chromeForTesting',
archivePath: 'win64',
isPreInstalled: true,

View file

@ -9100,10 +9100,10 @@
resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570"
integrity sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=
"@puppeteer/browsers@2.8.0":
version "2.8.0"
resolved "https://registry.yarnpkg.com/@puppeteer/browsers/-/browsers-2.8.0.tgz#9d592933cbefc66c37823770844b8cbac52607dd"
integrity sha512-yTwt2KWRmCQAfhvbCRjebaSX8pV1//I0Y3g+A7f/eS7gf0l4eRJoUCvcYdVtboeU4CTOZQuqYbZNS8aBYb8ROQ==
"@puppeteer/browsers@2.10.3":
version "2.10.3"
resolved "https://registry.yarnpkg.com/@puppeteer/browsers/-/browsers-2.10.3.tgz#4d89b3520359da6f7016ff96316c2c243be2b3ee"
integrity sha512-iPpnFpX25gKIVsHsqVjHV+/GzW36xPgsscWkCnrrETndcdxNsXLdCrTwhkCJNR/FGWr122dJUBeyV4niz/j3TA==
dependencies:
debug "^4.4.0"
extract-zip "^2.0.1"
@ -14492,10 +14492,10 @@ chromedriver@^137.0.0:
proxy-from-env "^1.1.0"
tcp-port-used "^1.0.2"
chromium-bidi@2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/chromium-bidi/-/chromium-bidi-2.1.2.tgz#b0710279f993128d4e0b41c892209ea093217d97"
integrity sha512-vtRWBK2uImo5/W2oG6/cDkkHSm+2t6VHgnj+Rcwhb0pP74OoUb4GipyRX/T/y39gYQPhioP0DPShn+A7P6CHNw==
chromium-bidi@5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/chromium-bidi/-/chromium-bidi-5.1.0.tgz#8d0e47f7ac9270262df29792318dd5378e983e62"
integrity sha512-9MSRhWRVoRPDG0TgzkHrshFSJJNZzfY5UFqUMuksg7zL1yoZIZ3jLB0YAgHclbiAxPI86pBnwDX1tbzoiV8aFw==
dependencies:
mitt "^3.0.1"
zod "^3.24.1"
@ -16566,16 +16566,16 @@ detective@^5.0.2:
defined "^1.0.0"
minimist "^1.1.1"
devtools-protocol@0.0.1413902:
version "0.0.1413902"
resolved "https://registry.yarnpkg.com/devtools-protocol/-/devtools-protocol-0.0.1413902.tgz#a0f00fe9eb25ab337a8f9656a29e0a1a69f42401"
integrity sha512-yRtvFD8Oyk7C9Os3GmnFZLu53yAfsnyw1s+mLmHHUK0GQEc9zthHWvS1r67Zqzm5t7v56PILHIVZ7kmFMaL2yQ==
devtools-protocol@0.0.1423531:
version "0.0.1423531"
resolved "https://registry.yarnpkg.com/devtools-protocol/-/devtools-protocol-0.0.1423531.tgz#43ba906340fb8ffbda566711ead31f139b2a150a"
integrity sha512-z6cOcajZWxk80zvFnkTGa7tj3oqF+C5SnOF1KSMeAr5/WW/nLNHlEpKr7voSzMz8IaUoq5rjdI0Mqv5k/BUkhg==
devtools-protocol@0.0.1439962:
version "0.0.1439962"
resolved "https://registry.yarnpkg.com/devtools-protocol/-/devtools-protocol-0.0.1439962.tgz#395c5ca1cd83aa451c667056a025f9873c4598c1"
integrity sha512-jJF48UdryzKiWhJ1bLKr7BFWUQCEIT5uCNbDLqkQJBtkFxYzILJH44WN0PDKMIlGDN7Utb8vyUY85C3w4R/t2g==
dezalgo@^1.0.0, dezalgo@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/dezalgo/-/dezalgo-1.0.4.tgz#751235260469084c132157dfa857f386d4c33d81"
@ -25876,28 +25876,28 @@ punycode@^2.1.0, punycode@^2.1.1:
resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"
integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==
puppeteer-core@24.4.0, puppeteer-core@^24.3.0:
version "24.4.0"
resolved "https://registry.yarnpkg.com/puppeteer-core/-/puppeteer-core-24.4.0.tgz#a301c58344fe939b487704593681ea9f913fe6f8"
integrity sha512-eFw66gCnWo0X8Hyf9KxxJtms7a61NJVMiSaWfItsFPzFBsjsWdmcNlBdsA1WVwln6neoHhsG+uTVesKmTREn/g==
puppeteer-core@24.8.1, puppeteer-core@^24.3.0:
version "24.8.1"
resolved "https://registry.yarnpkg.com/puppeteer-core/-/puppeteer-core-24.8.1.tgz#20728f431f4ed2daba23515df1f1a586c663b4ba"
integrity sha512-UP/VIxVk/Akrgql3a55ZAIuAIx7+yQevz6qEXFUtSTIynEcgsCJ6tlRdi7uKAAlovmNQG4iNMzq9f8WxZLnGGg==
dependencies:
"@puppeteer/browsers" "2.8.0"
chromium-bidi "2.1.2"
"@puppeteer/browsers" "2.10.3"
chromium-bidi "5.1.0"
debug "^4.4.0"
devtools-protocol "0.0.1413902"
devtools-protocol "0.0.1439962"
typed-query-selector "^2.12.0"
ws "^8.18.1"
ws "^8.18.2"
puppeteer@24.4.0:
version "24.4.0"
resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-24.4.0.tgz#fb45a67e72f4e6e34db8f404ef61cdd42099e6e6"
integrity sha512-E4JhJzjS8AAI+6N/b+Utwarhz6zWl3+MR725fal+s3UlOlX2eWdsvYYU+Q5bXMjs9eZEGkNQroLkn7j11s2k1Q==
puppeteer@24.8.1:
version "24.8.1"
resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-24.8.1.tgz#820ecaec7a793ab5b8fa30269ae5e1b8e7c68cc8"
integrity sha512-5OvJCe6tQ09EWf35qqyoH/cr9YGMbLj0ZpoT2pEImF9Ox35JXyAn8kIqj8eBgpDfyzuEwXYIMUwIAIkdgO/gDA==
dependencies:
"@puppeteer/browsers" "2.8.0"
chromium-bidi "2.1.2"
"@puppeteer/browsers" "2.10.3"
chromium-bidi "5.1.0"
cosmiconfig "^9.0.0"
devtools-protocol "0.0.1413902"
puppeteer-core "24.4.0"
devtools-protocol "0.0.1439962"
puppeteer-core "24.8.1"
typed-query-selector "^2.12.0"
pure-rand@^6.0.0:
@ -31739,10 +31739,10 @@ ws@^7.0.0, ws@^7.3.1, ws@^7.4.2:
resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.10.tgz#58b5c20dc281633f6c19113f39b349bd8bd558d9"
integrity sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==
ws@^8.16.0, ws@^8.18.0, ws@^8.18.1, ws@^8.2.3, ws@^8.9.0:
version "8.18.1"
resolved "https://registry.yarnpkg.com/ws/-/ws-8.18.1.tgz#ea131d3784e1dfdff91adb0a4a116b127515e3cb"
integrity sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w==
ws@^8.16.0, ws@^8.18.0, ws@^8.18.2, ws@^8.2.3, ws@^8.9.0:
version "8.18.2"
resolved "https://registry.yarnpkg.com/ws/-/ws-8.18.2.tgz#42738b2be57ced85f46154320aabb51ab003705a"
integrity sha512-DMricUmwGZUVr++AEAe2uiVM7UoO9MAVZMDu05UQOaUII0lp+zOzLLU4Xqh/JvTqklB1T4uELaaPBKyjE1r4fQ==
xdg-basedir@^4.0.0:
version "4.0.0"