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.1.0 to 1.1.1

.travis.yml

8

build/win32.js

@@ -20,8 +20,8 @@ var childProcess, tableParser, _;

result = _.map(result, function(row) {
var size;
size = _.parseInt(row.Size[0]) / 1e+9;
var size, _ref;
size = _.parseInt((_ref = row.Size) != null ? _ref[0] : void 0) / 1e+9 || void 0;
return {
device: _.first(row.DeviceID),
size: "" + (Math.floor(size)) + " GB",
description: row.Caption.join(' ')
description: row.Caption.join(' '),
size: size != null ? "" + (Math.floor(size)) + " GB" : void 0
};

@@ -28,0 +28,0 @@ });

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

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

@@ -6,2 +6,3 @@ drivelist

[![dependencies](https://david-dm.org/resin-io/drivelist.png)](https://david-dm.org/resin-io/drivelist.png)
[![Build Status](https://travis-ci.org/resin-io/drivelist.svg?branch=master)](https://travis-ci.org/resin-io/drivelist)

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

### v1.1.1
- Prevent empty wmic size crash the module. Return `undefined` size instead.
### v1.1.0

@@ -143,0 +148,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