From 50e72a4d1164af7d53e31b8b83117f695ede7ae4 Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Tue, 30 May 2023 11:10:45 +0200 Subject: [PATCH] fix: bind trimCache to the instance (#10270) --- packages/puppeteer-core/src/node/PuppeteerNode.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/puppeteer-core/src/node/PuppeteerNode.ts b/packages/puppeteer-core/src/node/PuppeteerNode.ts index 63db737b..125e8f98 100644 --- a/packages/puppeteer-core/src/node/PuppeteerNode.ts +++ b/packages/puppeteer-core/src/node/PuppeteerNode.ts @@ -129,6 +129,7 @@ export class PuppeteerNode extends Puppeteer { this.launch = this.launch.bind(this); this.executablePath = this.executablePath.bind(this); this.defaultArgs = this.defaultArgs.bind(this); + this.trimCache = this.trimCache.bind(this); } /**