New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

detect-usb

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detect-usb - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

6

package.json
{
"name": "detect-usb",
"version": "2.0.0",
"version": "3.0.0",
"description": "Detect USB and get mount points/paths",

@@ -16,4 +16,4 @@ "main": "index.js",

"dependencies": {
"drivelist": "^8.0.10",
"usb-detection": "^4.7.0"
"drivelist": "^11.1.0",
"usb-detection": "^4.14.2"
},

@@ -20,0 +20,0 @@ "repository": {

# detect-usb
Detect USB and get mount points/paths
Usage
## Usage
```
```javascript
const usbEvents = require('detect-usb');

@@ -29,5 +29,5 @@

Sample Data
## Sample Data
```
```json5
{

@@ -47,5 +47,5 @@ event: 'insert',

Note
## Note
* Verified on Windows & Linux
* Uses [usb-detection](https://www.npmjs.com/package/usb-detection) & [drivelist](https://www.npmjs.com/package/drivelist)
* Uses [usb-detection](https://www.npmjs.com/package/usb-detection) & [drivelist](https://www.npmjs.com/package/drivelist)
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