From 7e2bc89615f65dbf6f0e22453796a80fd3de6716 Mon Sep 17 00:00:00 2001 From: Colin Daly Date: Tue, 4 May 2021 14:59:36 -0400 Subject: [PATCH 1/3] repair using options instead of this.options --- src/concurrency/built-in/Browser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/concurrency/built-in/Browser.ts b/src/concurrency/built-in/Browser.ts index 945aba76..fbff0e31 100644 --- a/src/concurrency/built-in/Browser.ts +++ b/src/concurrency/built-in/Browser.ts @@ -49,7 +49,7 @@ export default class Browser extends ConcurrencyImplementation { } catch (e) {} // just relaunch as there is only one page per browser - chrome = await this.puppeteer.launch(this.options); + chrome = await this.puppeteer.launch(options); }, }; } From d7c4847e37cdd6688bf8ebfaa7fef94650b2fdd1 Mon Sep 17 00:00:00 2001 From: Colin Daly Date: Tue, 4 May 2021 15:22:28 -0400 Subject: [PATCH 2/3] add prepack --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 24aff95e..a8b1523b 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "types": "dist/index.d.ts", "scripts": { "build": "tsc", + "prepack": "npm i && npm run build", "test": "./node_modules/.bin/jest", "coverage": "./node_modules/.bin/jest --coverage", "dev": "./node_modules/.bin/tsc --watch", From a760bac63deb2ad6be89369d8e47c5caa79a9a4d Mon Sep 17 00:00:00 2001 From: Colin Daly Date: Wed, 5 May 2021 16:37:22 -0400 Subject: [PATCH 3/3] remove prepack --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index a8b1523b..24aff95e 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,6 @@ "types": "dist/index.d.ts", "scripts": { "build": "tsc", - "prepack": "npm i && npm run build", "test": "./node_modules/.bin/jest", "coverage": "./node_modules/.bin/jest --coverage", "dev": "./node_modules/.bin/tsc --watch",