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

drivelist

Package Overview
Dependencies
Maintainers
1
Versions
265
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drivelist - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

scripts/win32.bat

12

build/scripts.js

@@ -1,2 +0,2 @@

var child_process, path, scriptsPath, _;
var child_process, os, path, scriptsPath, _;

@@ -11,12 +11,14 @@ _ = require('lodash');

os = require('os');
scriptsPath = path.join(__dirname, '..', 'scripts');
exports.paths = {
win32: "cscript \"" + (path.join(scriptsPath, 'win32.vbs')) + "\" //Nologo",
darwin: path.join("\"" + scriptsPath + "\"", 'darwin.sh'),
linux: path.join("\"" + scriptsPath + "\"", 'linux.sh')
win32: path.join(scriptsPath, 'win32.bat'),
darwin: path.join(scriptsPath, 'darwin.sh'),
linux: path.join(scriptsPath, 'linux.sh')
};
exports.run = function(script, callback) {
return child_process.exec(script, function(error, stdout, stderr) {
return child_process.execFile(script, function(error, stdout, stderr) {
if (error != null) {

@@ -23,0 +25,0 @@ return callback(error);

ChangeLog
---------
### v2.0.4
- Support running inside Electron.
### v2.0.3

@@ -5,0 +9,0 @@

{
"name": "drivelist",
"version": "2.0.3",
"version": "2.0.4",
"description": "List all connected drives in your computer, in all major operating systems",

@@ -5,0 +5,0 @@ "main": "build/drivelist.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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