@xapp/arachne
Advanced tools
Comparing version 1.8.3 to 1.8.6
@@ -63,3 +63,3 @@ /*! Copyright (c) 2020, XAPP AI */ | ||
*/ | ||
browser?: Pick<Browser, "close" | "newPage">; | ||
browser?: Pick<Browser, "close" | "newPage" | "pages">; | ||
} | ||
@@ -66,0 +66,0 @@ /** |
@@ -261,2 +261,7 @@ "use strict"; | ||
if (this.browser) { | ||
// first close any pages still open | ||
const pages = yield this.browser.pages(); | ||
for (const page of pages) { | ||
yield page.close(); | ||
} | ||
yield this.browser.close(); | ||
@@ -263,0 +268,0 @@ } |
{ | ||
"name": "@xapp/arachne", | ||
"version": "1.8.3", | ||
"version": "1.8.6", | ||
"types": "lib/index", | ||
@@ -49,3 +49,3 @@ "main": "lib/index", | ||
}, | ||
"gitHead": "f506e88fbc093e8db03beaafadc4057f3647aece" | ||
"gitHead": "79983e00bcc78459c4e243795362cb90f3bbb3ff" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74222
1014