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.10 to 2.0.11

8

build/parse.js

@@ -50,2 +50,10 @@ var yaml, _;

var result;
device = _.chain(device).split('\n').map(function(line) {
return line.replace(/"/g, function(match, index, string) {
if (_.any([string.indexOf('"') === index, string.lastIndexOf('"') === index])) {
return match;
}
return '\\"';
});
}).join('\n').value();
result = yaml.safeLoad(device);

@@ -52,0 +60,0 @@ if (_.isString(result)) {

4

CHANGELOG.md
ChangeLog
---------
### v2.0.11
- Escape double quotes in description to prevent YAML errors.
### v2.0.10

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

2

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

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

@@ -12,3 +12,3 @@ drivelist

Notice that this module **does not require** admin privileges to get the drives in any operating system supported.
Notice that this module **does not require** admin privileges to get the drives in any supported operating system.

@@ -15,0 +15,0 @@ Supports:

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