Socket
Socket
Sign inDemoInstall

firefox-profile

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

firefox-profile - npm Package Compare versions

Comparing version 0.3.7 to 0.3.8

6

lib/firefox_profile.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc