2020-10-29 21:24:35 +00:00
|
|
|
/**
|
2024-01-03 10:11:33 +00:00
|
|
|
* @license
|
|
|
|
* Copyright 2020 Google Inc.
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2020-10-29 21:24:35 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
const versionsPerRelease = new Map([
|
2023-05-02 06:53:40 +00:00
|
|
|
// This is a mapping from Chrome version => Puppeteer version.
|
|
|
|
// In Chrome roll patches, use `NEXT` for the Puppeteer version.
|
2024-01-24 13:28:45 +00:00
|
|
|
['121.0.6167.85', 'NEXT'],
|
2024-01-24 13:01:55 +00:00
|
|
|
['120.0.6099.109', 'v21.8.0'],
|
2023-11-02 15:51:26 +00:00
|
|
|
['119.0.6045.105', 'v21.5.0'],
|
2023-10-20 10:20:50 +00:00
|
|
|
['118.0.5993.70', 'v21.4.0'],
|
2023-10-05 13:39:23 +00:00
|
|
|
['117.0.5938.149', 'v21.3.7'],
|
2023-09-22 12:08:46 +00:00
|
|
|
['117.0.5938.92', 'v21.3.2'],
|
2023-09-22 11:11:12 +00:00
|
|
|
['117.0.5938.62', 'v21.3.0'],
|
2023-08-18 09:03:27 +00:00
|
|
|
['116.0.5845.96', 'v21.1.0'],
|
2023-08-08 14:05:17 +00:00
|
|
|
['115.0.5790.170', 'v21.0.2'],
|
2023-08-02 12:50:46 +00:00
|
|
|
['115.0.5790.102', 'v21.0.0'],
|
2023-07-20 07:36:56 +00:00
|
|
|
['115.0.5790.98', 'v20.9.0'],
|
2023-06-16 07:45:43 +00:00
|
|
|
['114.0.5735.133', 'v20.7.2'],
|
2023-06-12 08:11:43 +00:00
|
|
|
['114.0.5735.90', 'v20.6.0'],
|
2023-05-03 16:37:42 +00:00
|
|
|
['113.0.5672.63', 'v20.1.0'],
|
2023-05-02 16:56:03 +00:00
|
|
|
['112.0.5615.121', 'v20.0.0'],
|
2023-03-24 10:22:06 +00:00
|
|
|
['112.0.5614.0', 'v19.8.0'],
|
2023-02-13 10:16:54 +00:00
|
|
|
['111.0.5556.0', 'v19.7.0'],
|
2023-01-23 16:48:02 +00:00
|
|
|
['110.0.5479.0', 'v19.6.0'],
|
2022-12-07 18:35:29 +00:00
|
|
|
['109.0.5412.0', 'v19.4.0'],
|
2022-10-26 07:51:16 +00:00
|
|
|
['108.0.5351.0', 'v19.2.0'],
|
2022-10-05 08:27:19 +00:00
|
|
|
['107.0.5296.0', 'v18.1.0'],
|
2022-09-02 11:28:00 +00:00
|
|
|
['106.0.5249.0', 'v17.1.0'],
|
2022-08-10 09:51:54 +00:00
|
|
|
['105.0.5173.0', 'v15.5.0'],
|
2022-06-24 16:42:31 +00:00
|
|
|
['104.0.5109.0', 'v15.1.0'],
|
2022-06-01 20:11:58 +00:00
|
|
|
['103.0.5059.0', 'v14.2.0'],
|
2022-05-09 13:13:07 +00:00
|
|
|
['102.0.5002.0', 'v14.0.0'],
|
2022-04-20 08:07:34 +00:00
|
|
|
['101.0.4950.0', 'v13.6.0'],
|
2022-03-07 12:58:56 +00:00
|
|
|
['100.0.4889.0', 'v13.5.0'],
|
2022-02-07 14:35:33 +00:00
|
|
|
['99.0.4844.16', 'v13.2.0'],
|
2022-01-17 14:40:56 +00:00
|
|
|
['98.0.4758.0', 'v13.1.0'],
|
2021-11-26 08:58:29 +00:00
|
|
|
['97.0.4692.0', 'v12.0.0'],
|
2021-08-04 12:45:31 +00:00
|
|
|
['93.0.4577.0', 'v10.2.0'],
|
2021-05-31 12:34:04 +00:00
|
|
|
['92.0.4512.0', 'v10.0.0'],
|
2021-04-21 11:18:09 +00:00
|
|
|
['91.0.4469.0', 'v9.0.0'],
|
2021-03-04 06:50:08 +00:00
|
|
|
['90.0.4427.0', 'v8.0.0'],
|
2021-02-03 15:33:32 +00:00
|
|
|
['90.0.4403.0', 'v7.0.0'],
|
2021-02-02 12:32:13 +00:00
|
|
|
['89.0.4389.0', 'v6.0.0'],
|
2021-01-25 06:33:45 +00:00
|
|
|
['88.0.4298.0', 'v5.5.0'],
|
2020-10-29 21:24:35 +00:00
|
|
|
['87.0.4272.0', 'v5.4.0'],
|
|
|
|
['86.0.4240.0', 'v5.3.0'],
|
|
|
|
['85.0.4182.0', 'v5.2.1'],
|
|
|
|
['84.0.4147.0', 'v5.1.0'],
|
|
|
|
['83.0.4103.0', 'v3.1.0'],
|
|
|
|
['81.0.4044.0', 'v3.0.0'],
|
|
|
|
['80.0.3987.0', 'v2.1.0'],
|
|
|
|
['79.0.3942.0', 'v2.0.0'],
|
|
|
|
['78.0.3882.0', 'v1.20.0'],
|
|
|
|
['77.0.3803.0', 'v1.19.0'],
|
|
|
|
['76.0.3803.0', 'v1.17.0'],
|
|
|
|
['75.0.3765.0', 'v1.15.0'],
|
|
|
|
['74.0.3723.0', 'v1.13.0'],
|
|
|
|
['73.0.3679.0', 'v1.12.2'],
|
|
|
|
]);
|
|
|
|
|
2023-01-12 10:31:20 +00:00
|
|
|
// Should not be more than 2 major versions behind Chrome Stable (https://chromestatus.com/roadmap).
|
2024-01-24 13:28:45 +00:00
|
|
|
const lastMaintainedChromeVersion = '119.0.6045.105';
|
2022-01-26 11:22:20 +00:00
|
|
|
|
2023-05-02 06:53:40 +00:00
|
|
|
if (!versionsPerRelease.has(lastMaintainedChromeVersion)) {
|
2022-01-26 11:22:20 +00:00
|
|
|
throw new Error(
|
2023-05-02 06:53:40 +00:00
|
|
|
'lastMaintainedChromeVersion is missing from versionsPerRelease'
|
2022-01-26 11:22:20 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
versionsPerRelease,
|
2023-05-02 06:53:40 +00:00
|
|
|
lastMaintainedChromeVersion,
|
2022-01-26 11:22:20 +00:00
|
|
|
};
|