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 1.2.1 to 1.2.2

.hound.yml

5

build/linux.js

@@ -33,3 +33,3 @@ var childProcess, tableParser, _;

return childProcess.exec("lsblk " + drive.device + " -d", {}, function(error, stdout, stderr) {
var result, _ref;
var result, rmFlag, _ref;
if (error != null) {

@@ -42,4 +42,5 @@ return callback(false);

result = tableParser.parse(stdout);
return callback(((_ref = result[0].RM) != null ? _ref[0] : void 0) !== '1');
rmFlag = ((_ref = result[0].RM) != null ? _ref[0] : void 0) || result[0]['MAJ:MIN'][1];
return callback(rmFlag !== '1');
});
};

2

package.json
{
"name": "drivelist",
"version": "1.2.1",
"version": "1.2.2",
"description": "List all connected drives in your computer, in all major operating systems",

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

@@ -7,2 +7,3 @@ drivelist

[![Build Status](https://travis-ci.org/resin-io/drivelist.svg?branch=master)](https://travis-ci.org/resin-io/drivelist)
[![Build status](https://ci.appveyor.com/api/projects/status/63x4eai5c8qiyvwh?svg=true)](https://ci.appveyor.com/project/jviotti/drivelist)

@@ -151,2 +152,6 @@ List all connected drives in your computer, in all major operating systems.

### v1.2.2
- Fix issue where a removable drive was detected as a system drive in Linux.
### v1.2.1

@@ -153,0 +158,0 @@

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