firefox-profile
Advanced tools
Comparing version 0.3.7 to 0.3.8
@@ -516,7 +516,7 @@ /** | ||
var self = this, | ||
regExp = /user_pref\('(.*)',\s(.*)\)/, | ||
contentLines = fs.readFileSync(this.userPrefs).split('\n'); | ||
regExp = /user_pref\(['"](.*)["'],\s*['"]?(.*)["']?\)/, | ||
contentLines = fs.readFileSync(this.userPrefs, "utf8").split('\n'); | ||
contentLines.forEach(function(line) { | ||
var found = line.match(regExp); | ||
if (found[1]) { | ||
if (found) { | ||
self.defaultPreferences[found[1]] = found[2]; | ||
@@ -523,0 +523,0 @@ } |
{ | ||
"name": "firefox-profile", | ||
"version": "0.3.7", | ||
"version": "0.3.8", | ||
"description": "firefox profile for selenium WebDriverJs, admc/wd or any other node selenium driver that supports capabilities", | ||
@@ -75,3 +75,3 @@ "main": "lib/firefox_profile", | ||
"lazystream": "~0.1.0", | ||
"lodash": "~3.3.1", | ||
"lodash": "~3.5.0", | ||
"node-uuid": "~1.4.1", | ||
@@ -78,0 +78,0 @@ "wrench": "~1.5.8", |
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 3 instances 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
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
9076927
14
+ Addedlodash@3.5.0(transitive)
- Removedlodash@3.3.1(transitive)
Updatedlodash@~3.5.0