Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

chromedriver

Package Overview
Dependencies
Maintainers
1
Versions
223
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chromedriver - npm Package Compare versions

Comparing version 2.9.0 to 2.9.1-0

26

install.js

@@ -183,13 +183,21 @@ 'use strict'

var deferred = kew.defer()
// Look for the extracted directory, so we can rename it.
var files = fs.readdirSync(tmpPath)
for (var i = 0; i < files.length; i++) {
var file = path.join(tmpPath, files[i]);
var targetFile = path.join(targetPath, files[i]);
fs.createReadStream(file).pipe(fs.createWriteStream(targetFile));
}
deferred.resolve(true)
var files = fs.readdirSync(tmpPath);
var promises = files.map(function (name) {
var deferred = kew.defer();
return deferred.promise
var file = path.join(tmpPath, name);
var reader = fs.createReadStream(file);
var targetFile = path.join(targetPath, name);
var writer = fs.createWriteStream(targetFile);
writer.on("finish", function() {
deferred.resolve(true);
});
reader.pipe(writer);
return deferred.promise;
});
return kew.all(promises);
}

@@ -196,0 +204,0 @@

{
"name": "chromedriver",
"version": "2.9.0",
"version": "2.9.1-0",
"keywords": ["chromedriver", "selenium"],

@@ -5,0 +5,0 @@ "description": "ChromeDriver for Selenium",

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