mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: fix version number (#6803)
This commit is contained in:
parent
20526b57b8
commit
03db2cbf2f
@ -7,7 +7,7 @@
|
|||||||
- Troubleshooting: [troubleshooting.md](https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md)
|
- Troubleshooting: [troubleshooting.md](https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md)
|
||||||
<!-- GEN:versions-per-release -->
|
<!-- GEN:versions-per-release -->
|
||||||
- Releases per Chromium version:
|
- Releases per Chromium version:
|
||||||
* Chromium 89.0.4389.0 - [Puppeteer 6.0.0](https://github.com/puppeteer/puppeteer/blob/6.0.0/docs/api.md)
|
* Chromium 89.0.4389.0 - [Puppeteer v6.0.0](https://github.com/puppeteer/puppeteer/blob/v6.0.0/docs/api.md)
|
||||||
* Chromium 88.0.4298.0 - [Puppeteer v5.5.0](https://github.com/puppeteer/puppeteer/blob/v5.5.0/docs/api.md)
|
* Chromium 88.0.4298.0 - [Puppeteer v5.5.0](https://github.com/puppeteer/puppeteer/blob/v5.5.0/docs/api.md)
|
||||||
* Chromium 87.0.4272.0 - [Puppeteer v5.4.0](https://github.com/puppeteer/puppeteer/blob/v5.4.0/docs/api.md)
|
* Chromium 87.0.4272.0 - [Puppeteer v5.4.0](https://github.com/puppeteer/puppeteer/blob/v5.4.0/docs/api.md)
|
||||||
* Chromium 86.0.4240.0 - [Puppeteer v5.3.0](https://github.com/puppeteer/puppeteer/blob/v5.3.0/docs/api.md)
|
* Chromium 86.0.4240.0 - [Puppeteer v5.3.0](https://github.com/puppeteer/puppeteer/blob/v5.3.0/docs/api.md)
|
||||||
@ -1464,7 +1464,7 @@ await page.evaluate(() => matchMedia('print').matches);
|
|||||||
// → false
|
// → false
|
||||||
```
|
```
|
||||||
|
|
||||||
#### page.emulateNetworkConditions(networkConditions)
|
#### page.emulateNetworkConditions(networkConditions)
|
||||||
- `networkConditions` <?[Object]> Passing `null` disables network condition emulation.
|
- `networkConditions` <?[Object]> Passing `null` disables network condition emulation.
|
||||||
- `download` <[number]> Download speed (bytes/s), `-1` to disable
|
- `download` <[number]> Download speed (bytes/s), `-1` to disable
|
||||||
- `upload` <[number]> Upload speed (bytes/s), `-1` to disable
|
- `upload` <[number]> Upload speed (bytes/s), `-1` to disable
|
||||||
|
@ -41,7 +41,9 @@ async function run() {
|
|||||||
const versions = await Source.readFile(
|
const versions = await Source.readFile(
|
||||||
path.join(PROJECT_DIR, 'versions.js')
|
path.join(PROJECT_DIR, 'versions.js')
|
||||||
);
|
);
|
||||||
versions.setText(versions.text().replace(`, 'NEXT'],`, `, '${VERSION}'],`));
|
versions.setText(
|
||||||
|
versions.text().replace(`, 'NEXT'],`, `, 'v${VERSION}'],`)
|
||||||
|
);
|
||||||
await versions.save();
|
await versions.save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +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.
|
||||||
['89.0.4389.0', '6.0.0'],
|
['89.0.4389.0', 'v6.0.0'],
|
||||||
['88.0.4298.0', 'v5.5.0'],
|
['88.0.4298.0', 'v5.5.0'],
|
||||||
['87.0.4272.0', 'v5.4.0'],
|
['87.0.4272.0', 'v5.4.0'],
|
||||||
['86.0.4240.0', 'v5.3.0'],
|
['86.0.4240.0', 'v5.3.0'],
|
||||||
|
Loading…
Reference in New Issue
Block a user