webdriver-manager
Advanced tools
Comparing version 12.1.5 to 12.1.6
@@ -5,3 +5,3 @@ { | ||
"chromedriver": "2.27", | ||
"maxChromedriver": "75", | ||
"maxChromedriver": "76", | ||
"geckodriver": "v0.13.0", | ||
@@ -8,0 +8,0 @@ "iedriver": "2.53.1", |
@@ -103,2 +103,5 @@ "use strict"; | ||
const specificVersion = getValidSemver(inputVersion); | ||
if (specificVersion === '') { | ||
throw new Error(`version ${inputVersion} ChromeDriver does not exist`); | ||
} | ||
let itemFound = ''; | ||
@@ -105,0 +108,0 @@ for (let item of list) { |
@@ -227,4 +227,9 @@ "use strict"; | ||
if (fileName.slice(-4) == '.zip') { | ||
let zip = new AdmZip(path.resolve(outputDir, fileName)); | ||
zip.extractAllTo(outputDir, true); | ||
try { | ||
let zip = new AdmZip(path.resolve(outputDir, fileName)); | ||
zip.extractAllTo(outputDir, true); | ||
} | ||
catch (e) { | ||
throw new Error(`Invalid filename: ${path.resolve(outputDir, fileName)}`); | ||
} | ||
} | ||
@@ -231,0 +236,0 @@ else { |
@@ -98,3 +98,3 @@ "use strict"; | ||
.catch(error => { | ||
logger.error(error.msg); | ||
logger.error(error.msg || error.message); | ||
}); | ||
@@ -101,0 +101,0 @@ } |
{ | ||
"name": "webdriver-manager", | ||
"version": "12.1.5", | ||
"version": "12.1.6", | ||
"description": "A selenium server and browser driver manager for your end to end tests.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -0,1 +1,5 @@ | ||
# 12.1.6 | ||
Update the max Chrome version to 76. | ||
# 12.1.5 | ||
@@ -2,0 +6,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"chromedriver": "2.27", | ||
"maxChromedriver": "75", | ||
"maxChromedriver": "76", | ||
"geckodriver": "v0.13.0", | ||
@@ -8,0 +8,0 @@ "iedriver": "2.53.1", |
{ | ||
"name": "webdriver-manager", | ||
"version": "12.1.5", | ||
"version": "12.1.6", | ||
"description": "A selenium server and browser driver manager for your end to end tests.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
350378
4622