Skip to content

Commit 0a5f25c

Browse files
committed
Updated CHANGELOG and a small linter correction.
1 parent e86e39c commit 0a5f25c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.puppeteerrc.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
const {join} = require('path');
1+
const { join } = require('path');
22

33
/**
44
* @type {import("puppeteer").Configuration}
55
*/
66
module.exports = {
7-
cacheDirectory: join(__dirname, 'node_modules', '.puppeteer-cache'),
7+
cacheDirectory: join(__dirname, 'node_modules', '.puppeteer-cache')
88
};

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ _Enhancements:_
2020
- Optimized code by reducing evaluate function calls to enhance performance and minimize jumping between NodeJS and browser processes.
2121
- Optimized and moved chart creation initialization scripts from the HTML template to a separate module named `highcharts.js`.
2222
- Optimized the `clearPage` function to ensure content cleaning is only performed once, during resource release.
23-
- Introduced `hardResetPage` option for resetting the page's content (including Highcharts scripts) each time the page is released to the pool (defaulting to `false`).
23+
- Introduced the `hardResetPage` option for resetting the page's content (including Highcharts scripts) each time the page is released to the pool (defaulting to `false`).
24+
- Introduced the `browserShellMode` option for controlling the mode in which the browser runs (new or old, `shell` mode).
2425
- Optimized creating and acquiring pages from the pool.
2526
- Optimized adding and releasing additional JS and CSS resources.
2627
- Made corrections for gracefully shutting down resources, including running servers, ongoing intervals, browser instance, created pages, and workers pool.

0 commit comments

Comments
 (0)