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.3-init-error-99-fd4b6fcb28e15e850b9444caecaec3f050db794c to 0.2.3

9

build/index.js

@@ -329,11 +329,2 @@ "use strict";

this.boundDetachDevice = this.detachDevice.bind(this);
// This is an undocumented property
// Code -99 means that there is no available USB interface,
// in which case it would be an expected error in i.e. CI.
// @ts-ignore
if (usb.INIT_ERROR && usb.INIT_ERROR !== -99) {
throw new Error(
// @ts-ignore
`USB failed to initialize, libusb_init returned ${usb.INIT_ERROR}`);
}
}

@@ -340,0 +331,0 @@ start() {

2

CHANGELOG.md

@@ -9,3 +9,3 @@ # Change Log

* Don't throw if libusb_init() returns -99 [Juan Cruz Viotti]
* Don't crash on initialization [Juan Cruz Viotti]

@@ -12,0 +12,0 @@ ## 0.2.2 - 2019-03-20

{
"name": "node-raspberrypi-usbboot",
"version": "0.2.3-init-error-99-fd4b6fcb28e15e850b9444caecaec3f050db794c",
"version": "0.2.3",
"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