mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
feat(chromium): roll to Chromium 112.0.5614.0 (r1108766) (#9841)
This commit is contained in:
parent
7b8f80ade8
commit
eddb1f6ec3
@ -291,8 +291,8 @@ The following steps are needed to update the Chromium version.
|
|||||||
You can find the corresponding version by going to [omahaproxy.appspot.com](https://omahaproxy.appspot.com/) then
|
You can find the corresponding version by going to [omahaproxy.appspot.com](https://omahaproxy.appspot.com/) then
|
||||||
searching in `Find Releases` for `r<revision>`.
|
searching in `Find Releases` for `r<revision>`.
|
||||||
4. Run `npm run check`. If it fails, update
|
4. Run `npm run check`. If it fails, update
|
||||||
`packages/puppeteer-core/package.json` and `packages/puppeteer/package.json`
|
`packages/puppeteer-core/package.json`
|
||||||
with the expected `devtools-protocol` version.
|
with the expected `devtools-protocol` version and run `npm install` to generate an updated `package-lock.json`.
|
||||||
5. Run `npm run clean`, `npm run build` and `npm install`.
|
5. Run `npm run clean`, `npm run build` and `npm install`.
|
||||||
6. Run `npm test` and ensure that all tests pass. If a test fails,
|
6. Run `npm test` and ensure that all tests pass. If a test fails,
|
||||||
[bisect](#bisecting-upstream-changes) the upstream cause of the failure, and
|
[bisect](#bisecting-upstream-changes) the upstream cause of the failure, and
|
||||||
|
13
package-lock.json
generated
13
package-lock.json
generated
@ -3045,8 +3045,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/devtools-protocol": {
|
"node_modules/devtools-protocol": {
|
||||||
"version": "0.0.1094867",
|
"version": "0.0.1107588",
|
||||||
"license": "BSD-3-Clause"
|
"resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1107588.tgz",
|
||||||
|
"integrity": "sha512-yIR+pG9x65Xko7bErCUSQaDLrO/P1p3JUzEk7JCU4DowPcGHkTGUGQapcfcLc4qj0UaALwZ+cr0riFgiqpixcg=="
|
||||||
},
|
},
|
||||||
"node_modules/diff": {
|
"node_modules/diff": {
|
||||||
"version": "5.1.0",
|
"version": "5.1.0",
|
||||||
@ -9227,7 +9228,7 @@
|
|||||||
"chromium-bidi": "0.4.5",
|
"chromium-bidi": "0.4.5",
|
||||||
"cross-fetch": "3.1.5",
|
"cross-fetch": "3.1.5",
|
||||||
"debug": "4.3.4",
|
"debug": "4.3.4",
|
||||||
"devtools-protocol": "0.0.1094867",
|
"devtools-protocol": "0.0.1107588",
|
||||||
"extract-zip": "2.0.1",
|
"extract-zip": "2.0.1",
|
||||||
"https-proxy-agent": "5.0.1",
|
"https-proxy-agent": "5.0.1",
|
||||||
"proxy-from-env": "1.1.0",
|
"proxy-from-env": "1.1.0",
|
||||||
@ -11266,7 +11267,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"devtools-protocol": {
|
"devtools-protocol": {
|
||||||
"version": "0.0.1094867"
|
"version": "0.0.1107588",
|
||||||
|
"resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1107588.tgz",
|
||||||
|
"integrity": "sha512-yIR+pG9x65Xko7bErCUSQaDLrO/P1p3JUzEk7JCU4DowPcGHkTGUGQapcfcLc4qj0UaALwZ+cr0riFgiqpixcg=="
|
||||||
},
|
},
|
||||||
"diff": {
|
"diff": {
|
||||||
"version": "5.1.0",
|
"version": "5.1.0",
|
||||||
@ -13978,7 +13981,7 @@
|
|||||||
"chromium-bidi": "0.4.5",
|
"chromium-bidi": "0.4.5",
|
||||||
"cross-fetch": "3.1.5",
|
"cross-fetch": "3.1.5",
|
||||||
"debug": "4.3.4",
|
"debug": "4.3.4",
|
||||||
"devtools-protocol": "0.0.1094867",
|
"devtools-protocol": "0.0.1107588",
|
||||||
"extract-zip": "2.0.1",
|
"extract-zip": "2.0.1",
|
||||||
"https-proxy-agent": "5.0.1",
|
"https-proxy-agent": "5.0.1",
|
||||||
"mitt": "3.0.0",
|
"mitt": "3.0.0",
|
||||||
|
@ -134,7 +134,7 @@
|
|||||||
"chromium-bidi": "0.4.5",
|
"chromium-bidi": "0.4.5",
|
||||||
"cross-fetch": "3.1.5",
|
"cross-fetch": "3.1.5",
|
||||||
"debug": "4.3.4",
|
"debug": "4.3.4",
|
||||||
"devtools-protocol": "0.0.1094867",
|
"devtools-protocol": "0.0.1107588",
|
||||||
"extract-zip": "2.0.1",
|
"extract-zip": "2.0.1",
|
||||||
"https-proxy-agent": "5.0.1",
|
"https-proxy-agent": "5.0.1",
|
||||||
"proxy-from-env": "1.1.0",
|
"proxy-from-env": "1.1.0",
|
||||||
|
@ -18,6 +18,6 @@
|
|||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
export const PUPPETEER_REVISIONS = Object.freeze({
|
export const PUPPETEER_REVISIONS = Object.freeze({
|
||||||
chromium: '1095492',
|
chromium: '1108766',
|
||||||
firefox: 'latest',
|
firefox: 'latest',
|
||||||
});
|
});
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
const versionsPerRelease = new Map([
|
const versionsPerRelease = new Map([
|
||||||
// This is a mapping from Chromium version => Puppeteer version.
|
// This is a mapping from Chromium version => Puppeteer version.
|
||||||
// In Chromium roll patches, use `NEXT` for the Puppeteer version.
|
// In Chromium roll patches, use `NEXT` for the Puppeteer version.
|
||||||
|
['112.0.5614.0', 'NEXT'],
|
||||||
['111.0.5556.0', 'v19.7.0'],
|
['111.0.5556.0', 'v19.7.0'],
|
||||||
['110.0.5479.0', 'v19.6.0'],
|
['110.0.5479.0', 'v19.6.0'],
|
||||||
['109.0.5412.0', 'v19.4.0'],
|
['109.0.5412.0', 'v19.4.0'],
|
||||||
@ -56,7 +57,7 @@ const versionsPerRelease = new Map([
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
// Should not be more than 2 major versions behind Chrome Stable (https://chromestatus.com/roadmap).
|
// Should not be more than 2 major versions behind Chrome Stable (https://chromestatus.com/roadmap).
|
||||||
const lastMaintainedChromiumVersion = '108.0.5351.0';
|
const lastMaintainedChromiumVersion = '109.0.5412.0';
|
||||||
|
|
||||||
if (!versionsPerRelease.has(lastMaintainedChromiumVersion)) {
|
if (!versionsPerRelease.has(lastMaintainedChromiumVersion)) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
|
Loading…
Reference in New Issue
Block a user