drivelist
Advanced tools
Comparing version 9.1.0-apfs-is-virtual-d6b69de7f2a00d823547f4989191e129cee4c095 to 9.1.0
@@ -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 @@ |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
116944
999
0