@xapp/arachne
Advanced tools
Comparing version 0.2.1 to 0.2.3
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.2.3](https://github.com/xapp-ai/arachne/compare/v0.2.2...v0.2.3) (2021-01-05) | ||
**Note:** Version bump only for package @xapp/arachne | ||
## [0.2.1](https://github.com/xapp-ai/arachne/compare/v0.2.0...v0.2.1) (2020-11-30) | ||
@@ -8,0 +16,0 @@ |
@@ -190,8 +190,16 @@ "use strict"; | ||
// Create and launch the browser! | ||
this.browser = yield puppeteer.launch(this.launchOptions); | ||
try { | ||
this.browser = yield puppeteer.launch(this.launchOptions); | ||
} | ||
catch (e) { | ||
console.error(e); | ||
reject(e); | ||
} | ||
} | ||
// Fill up the pool! | ||
this.pool = new ArachnePool_1.ArachnePool(this.browser, { maxPages: this.maxConcurrentPages }); | ||
// kick off the run loop | ||
this.requestCurrentQueue(); | ||
if (this.browser) { | ||
// Fill up the pool! | ||
this.pool = new ArachnePool_1.ArachnePool(this.browser, { maxPages: this.maxConcurrentPages }); | ||
// kick off the run loop | ||
this.requestCurrentQueue(); | ||
} | ||
})).then(() => { | ||
@@ -198,0 +206,0 @@ // Before we fully resolve the promise, we end it |
{ | ||
"name": "@xapp/arachne", | ||
"version": "0.2.1", | ||
"version": "0.2.3", | ||
"types": "lib/index", | ||
@@ -36,5 +36,4 @@ "main": "lib/index", | ||
"@types/puppeteer": "1.3.0", | ||
"@xapp/arachne-utils": "0.2.0", | ||
"generic-pool": "3.7.1", | ||
"normalize-url": "5.1.0" | ||
"@xapp/arachne-utils": "0.2.3", | ||
"generic-pool": "3.7.1" | ||
}, | ||
@@ -50,3 +49,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "613981422085541c1a5ed5d5fa8bf30e21cb6984" | ||
"gitHead": "e9d242f473256806cafd7020f298883f5fc0c363" | ||
} |
Sorry, the diff of this file is not supported yet
56407
4
977
+ Added@xapp/arachne-utils@0.2.3(transitive)
+ Addednormalize-url@4.5.0(transitive)
- Removednormalize-url@5.1.0
- Removed@xapp/arachne-utils@0.2.0(transitive)
- Removednormalize-url@5.1.0(transitive)
Updated@xapp/arachne-utils@0.2.3