Replace node-disk-info library
Paste the command
N/A
Describe the bug
node-disk-info hasn't had an update in 4.5 years, and the author has stopped responding to GitHub issues.
It relies on the wmic command on Windows, which is going away: https://support.microsoft.com/en-us/topic/windows-management-instrumentation-command-line-wmic-removal-from-windows-e9e83c7f-4992-477f-ba1d-96f694b8665d
RE: https://github.com/cristiammercado/node-disk-info/issues/29
Expected behavior
Igir should work on all modern OSes.
Debug logs
N/A
DAT(s) used
No response
igir version
v4.2.0
Node.js version
N/A
Operating system
Windows
Additional context
No response
https://github.com/balena-io-modules/drivelist looks like a good option, and it uses native addons instead of parsing CLI output.
https://github.com/balena-io-modules/drivelist doesn't have any prebuilds (https://github.com/balena-io-modules/drivelist/issues/419), and it suffers from https://github.com/nodejs/node-gyp/issues/65 (can't have spaces in the path name).