soprano-saxophone
Advanced tools
Comparing version 0.11.1 to 0.12.0
@@ -9,3 +9,8 @@ 'use strict'; | ||
function getGeckodriverUrl() { | ||
var urlBase = `https://github.com/mozilla/geckodriver/releases/download/v${version}/`; | ||
var urlBase; | ||
if (process.env.GECKODRIVER_BASE_URL) { | ||
urlBase = process.env.GECKODRIVER_BASE_URL; | ||
} else { | ||
urlBase = `https://github.com/mozilla/geckodriver/releases/download/v${version}/`; | ||
} | ||
@@ -12,0 +17,0 @@ switch (os.platform()) { |
{ | ||
"name": "soprano-saxophone", | ||
"version": "0.11.1", | ||
"version": "0.12.0", | ||
"description": "Install and launch Geckodriver for Mac, Linux or Windows.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -17,1 +17,3 @@ # Soprano Saxophone - Geckodriver install | ||
``` | ||
You can ovveride the download location by setting *process.env.GECKODRIVER_BASE_URL*. |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
3653
58
18
2