mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-02-08 00:21:11 +01:00
The original `trimCache` functionality was intended to be exposed on the top-level `puppeteer` module, but due to a bug in Puppeteer this didn't work correctly and we had to call `trimCache` on the default Puppeteer node instance instead, which was fortunately exposed. However, since this didn't feel like intended API usage, this bug was reported and is now fixed in Puppeteer 20.5.0, so this commits updates Puppeteer to that version so we can use the intended API. The full history of this issue can be found at https://github.com/puppeteer/puppeteer/issues/10174.