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

4

build/index.js

@@ -330,4 +330,6 @@ "use strict";

// 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) {
if (usb.INIT_ERROR && usb.INIT_ERROR !== -99) {
throw new Error(

@@ -334,0 +336,0 @@ // @ts-ignore

@@ -7,2 +7,6 @@ # Change Log

## 0.2.3 - 2019-03-20
* Don't throw if libusb_init() returns -99 [Juan Cruz Viotti]
## 0.2.2 - 2019-03-20

@@ -9,0 +13,0 @@

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