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 Versions

1
2527

2.0.4

Diff

Changelog

Source

v2.0.4

  • Support running inside Electron.
jviotti
published 2.0.3 •

Changelog

Source

v2.0.3

  • Treat multiple mountpoint as a comma separated list of paths in GNU/Linux.
jviotti
published 2.0.2 •

Changelog

Source

v2.0.2

  • Escape paths including spaces in unix based operating systems.
jviotti
published 2.0.1 •

Changelog

Source

v2.0.1

  • Escape backslashes in Windows devices to avoid weird characters.
jviotti
published 2.0.0 •

Changelog

Source

v2.0.0

  • Add example file for easy testing.
  • Redesign Windows script to match the new output scheme.
  • Refer to osx as Darwin everywhere.
  • Implement GNU/Linux scanning bash script.
  • Unify parsing between all supported operating systems.
  • Add system property to returned drives.
  • Remove drivelist.isSystem() predicate.
  • Fix issue that caused some OS X drives to not be detected.
jviotti
published 1.3.2 •

Changelog

Source

v1.3.2

  • Handle edge case where OS X drives contain a description within parenthesis in diskutil list.
jviotti
published 1.3.1 •

Changelog

Source

v1.3.1

  • Surround Windows script path in double quotes to avoid issues with paths incuding white space.
jviotti
published 1.3.0 •

Changelog

Source

v1.3.0

  • Add mountpoint attribute to drives.
jviotti
published 1.2.2 •

Changelog

Source

v1.2.2

  • Fix issue where a removable drive was detected as a system drive in Linux.
jviotti
published 1.2.1 •

Changelog

Source

v1.2.1

  • Fix win32 issue where DeviceID gets part of the device description.
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