firefox-profile
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -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 @@ |
@@ -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" |
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
2279189
830
+ Addedarchiver@0.5.2(transitive)
+ Addedfile-utils@0.1.5(transitive)
+ Addedfindup-sync@0.1.3(transitive)
+ Addedglob@3.2.11(transitive)
+ Addedisbinaryfile@0.1.9(transitive)
+ Addedlodash@2.1.02.4.2(transitive)
+ Addedlodash._isnative@2.4.1(transitive)
+ Addedlodash._objecttypes@2.4.1(transitive)
+ Addedlodash._shimkeys@2.4.1(transitive)
+ Addedlodash.defaults@2.4.1(transitive)
+ Addedlodash.isobject@2.4.1(transitive)
+ Addedlodash.keys@2.4.1(transitive)
+ Addedlru-cache@2.7.3(transitive)
+ Addedminimatch@0.2.140.3.0(transitive)
+ Addedrimraf@2.2.8(transitive)
+ Addedsigmund@1.0.1(transitive)
+ Addedzip-stream@0.1.4(transitive)
- Removedarchiver@0.4.10(transitive)
Updatedarchiver@~0.5.1