Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-raspberrypi-usbboot

Package Overview
Dependencies
Maintainers
3
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-raspberrypi-usbboot - npm Package Compare versions

Comparing version 0.2.1-usbboot-stalls-e80ac7df3a8e37f15a4e7229742f81020f4386c4 to 0.2.1-usbboot-stalls-ff0793617ee5e87aa90f311ebec7ea43b6261bb8

1

build/index.d.ts

@@ -18,2 +18,3 @@ /// <reference types="node" />

private interval;
private devices;
constructor();

@@ -20,0 +21,0 @@ start(): void;

@@ -326,2 +326,3 @@ "use strict";

this.boundDetachDevice = this.detachDevice.bind(this);
this.devices = {};
// This is an undocumented property

@@ -352,2 +353,3 @@ if (usb.INIT_ERROR) {

if (step === UsbbootDevice.LAST_STEP) {
Reflect.deleteProperty(this.devices, `${device.busNumber}:${device.deviceAddress}`);
this.remove(device);

@@ -388,2 +390,6 @@ }

}
if (this.devices[`${device.busNumber}:${device.deviceAddress}`]) {
return;
}
this.devices[`${device.busNumber}:${device.deviceAddress}`] = true;
debug('Found serial number', device.deviceDescriptor.iSerialNumber);

@@ -390,0 +396,0 @@ debug('port id', devicePortId(device));

@@ -9,2 +9,5 @@ # Change Log

* WIP fix [Juan Cruz Viotti]
* WIP fix [Juan Cruz Viotti]
* Keep track of devices [Juan Cruz Viotti]
* Fix typings [Juan Cruz Viotti]

@@ -11,0 +14,0 @@ * WIP polling [Juan Cruz Viotti]

2

package.json
{
"name": "node-raspberrypi-usbboot",
"version": "0.2.1-usbboot-stalls-e80ac7df3a8e37f15a4e7229742f81020f4386c4",
"version": "0.2.1-usbboot-stalls-ff0793617ee5e87aa90f311ebec7ea43b6261bb8",
"description": "Transforms Raspberry Pi Compute Modules and Zeros to mass storage devices.",

@@ -5,0 +5,0 @@ "main": "build/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