Socket
Socket
Sign inDemoInstall

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 9.1.0-apfs-is-virtual-d6b69de7f2a00d823547f4989191e129cee4c095 to 9.1.0

1

CHANGELOG.md

@@ -10,2 +10,3 @@ # Change Log

* Load bindings once [Alexis Svinartchouk]
* Mark APFS media as virtual and assign its mountpoints to the source drive [Alexis Svinartchouk]

@@ -12,0 +13,0 @@

3

js/index.js

@@ -25,5 +25,6 @@ "use strict";

const lsblk_1 = require("./lsblk");
const drivelistBindings = bindings('drivelist');
function bindingsList() {
return new Promise((resolve, reject) => {
bindings('drivelist').list((error, drives) => {
drivelistBindings.list((error, drives) => {
if (error != null) {

@@ -30,0 +31,0 @@ reject(error);

@@ -54,5 +54,7 @@ /*

const drivelistBindings = bindings('drivelist');
function bindingsList(): Promise<Drive[]> {
return new Promise((resolve, reject) => {
bindings('drivelist').list((error: Error, drives: Drive[]) => {
drivelistBindings.list((error: Error, drives: Drive[]) => {
if (error != null) {

@@ -59,0 +61,0 @@ reject(error);

{
"name": "drivelist",
"version": "9.1.0-apfs-is-virtual-d6b69de7f2a00d823547f4989191e129cee4c095",
"version": "9.1.0",
"description": "List all connected drives in your computer, in all major operating systems",

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

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