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.2.2 to 0.2.3

9

CHANGELOG.md

@@ -0,1 +1,10 @@

# 0.2.3
* update package versions (archiver)
# 0.2.2
* fixed other Windows path issues (contribution from [testingBot](https://github.com/testingbot))
# 0.2.1

@@ -2,0 +11,0 @@

14

lib/firefox_profile.js

@@ -292,3 +292,2 @@ 'use strict';

tmpFolder = this._createTempFolder(),
files = wrench.readdirSyncRecursive(this.profileDir),
zipStream = fs.createWriteStream(path.join(tmpFolder,'profile.zip')),

@@ -301,12 +300,5 @@ archive = archiver('zip', { forceUTC: true });

archive.pipe(zipStream);
files.forEach(function(filePath) {
if (fs.statSync(path.join(self.profileDir, filePath)).isFile()) {
var srcStream = new Readable(function() {
return fs.createReadStream(path.join(self.profileDir, filePath));
});
archive.append(srcStream, { name: filePath });
}
});
archive.bulk([
{ cwd: self.profileDir, src: ['**'], expand: true }
]);
archive.finalize();

@@ -313,0 +305,0 @@ };

{
"name": "firefox-profile",
"version": "0.2.2",
"version": "0.2.3",
"description": "firefox profile for selenium WebDriverJs, admc/wd or any other node selenium driver that supports capabilities",

@@ -41,3 +41,3 @@ "main": "lib/firefox_profile",

"devDependencies": {
"mocha": "~1.14.0",
"mocha": "~1.17.0",
"chai": "~1.8.0",

@@ -53,4 +53,4 @@ "sinon": "~1.7.3",

"chai-as-promised": "~4.1.0",
"grunt-mocha-cov": "0.0.7",
"request": "~2.27.0"
"grunt-mocha-cov": "0.1.1",
"request": "~2.31.0"
},

@@ -62,3 +62,3 @@ "dependencies": {

"node-uuid": "~1.4.1",
"archiver": "~0.4.10",
"archiver": "~0.5.1",
"lazystream": "~0.1.0",

@@ -65,0 +65,0 @@ "async": "~0.2.9"

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