node-raspberrypi-usbboot
Advanced tools
Comparing version 0.3.1 to 1.0.0-update-node-usb-637cc97c6c4ffe4d2e55a1ab56ecd3cc8ee870eb
@@ -9,3 +9,3 @@ "use strict"; | ||
// tslint:disable:no-bitwise | ||
const usb = require("@balena.io/usb"); | ||
const usb = require("usb"); | ||
const _debug = require("debug"); | ||
@@ -33,3 +33,3 @@ const events_1 = require("events"); | ||
} | ||
const readFile = util_1.promisify(fs_1.readFile); | ||
const readFile = (0, util_1.promisify)(fs_1.readFile); | ||
const debug = _debug('node-raspberrypi-usbboot'); | ||
@@ -174,3 +174,3 @@ const POLLING_INTERVAL_MS = 2000; | ||
const isUsbBootCapableUSBDevice$ = (device) => { | ||
return exports.isUsbBootCapableUSBDevice(device.deviceDescriptor.idVendor, device.deviceDescriptor.idProduct); | ||
return (0, exports.isUsbBootCapableUSBDevice)(device.deviceDescriptor.idVendor, device.deviceDescriptor.idProduct); | ||
}; | ||
@@ -177,0 +177,0 @@ const isRaspberryPiInMassStorageMode = (device) => { |
@@ -7,2 +7,7 @@ # Change Log | ||
# v1.0.0 | ||
## (2021-09-30) | ||
* major: Switch to tessel/node-usb [Lorenzo Alberto Maria Ambrosi] | ||
# v0.3.1 | ||
@@ -9,0 +14,0 @@ ## (2021-03-29) |
{ | ||
"name": "node-raspberrypi-usbboot", | ||
"version": "0.3.1", | ||
"version": "1.0.0-update-node-usb-637cc97c6c4ffe4d2e55a1ab56ecd3cc8ee870eb", | ||
"description": "Transforms Raspberry Pi Compute Modules and Zeros to mass storage devices.", | ||
@@ -28,4 +28,4 @@ "main": "build/index.js", | ||
"dependencies": { | ||
"@balena.io/usb": "^1.3.14", | ||
"debug": "^4.1.1" | ||
"debug": "^4.1.1", | ||
"usb": "^1.7.2" | ||
}, | ||
@@ -40,3 +40,6 @@ "devDependencies": { | ||
"typescript": "^4.1.2" | ||
}, | ||
"versionist": { | ||
"publishedAt": "2021-09-30T14:35:19.730Z" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
NPM Shrinkwrap
Supply chain riskPackage contains a shrinkwrap file. This may allow the package to bypass normal install procedures.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28300996
26
2494
1
17
+ Addedusb@^1.7.2
+ Addednode-addon-api@4.3.0(transitive)
+ Addednode-gyp-build@4.8.4(transitive)
+ Addedusb@1.9.2(transitive)
- Removed@balena.io/usb@^1.3.14
- Removed@balena.io/usb@1.3.15(transitive)
- Removedabbrev@1.1.1(transitive)
- Removedansi-regex@2.1.1(transitive)
- Removedaproba@1.2.0(transitive)
- Removedare-we-there-yet@1.1.7(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedchownr@1.1.4(transitive)
- Removedcode-point-at@1.1.0(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedconsole-control-strings@1.1.0(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removeddebug@3.2.7(transitive)
- Removeddeep-extend@0.6.0(transitive)
- Removeddelegates@1.0.0(transitive)
- Removeddetect-libc@1.0.3(transitive)
- Removedfs-minipass@1.2.7(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedgauge@2.7.4(transitive)
- Removedglob@7.2.3(transitive)
- Removedhas-unicode@2.0.1(transitive)
- Removediconv-lite@0.4.24(transitive)
- Removedignore-walk@3.0.4(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedini@1.3.8(transitive)
- Removedis-fullwidth-code-point@1.0.0(transitive)
- Removedisarray@1.0.0(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedminimist@1.2.8(transitive)
- Removedminipass@2.9.0(transitive)
- Removedminizlib@1.3.3(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removednan@2.22.0(transitive)
- Removedneedle@2.9.1(transitive)
- Removednode-pre-gyp@0.14.0(transitive)
- Removednopt@4.0.3(transitive)
- Removednpm-bundled@1.1.2(transitive)
- Removednpm-normalize-package-bin@1.0.1(transitive)
- Removednpm-packlist@1.4.8(transitive)
- Removednpmlog@4.1.2(transitive)
- Removednumber-is-nan@1.0.1(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedonce@1.4.0(transitive)
- Removedos-homedir@1.0.2(transitive)
- Removedos-tmpdir@1.0.2(transitive)
- Removedosenv@0.1.5(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedrc@1.2.8(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedrimraf@2.7.1(transitive)
- Removedsafe-buffer@5.1.25.2.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsax@1.4.1(transitive)
- Removedsemver@5.7.2(transitive)
- Removedset-blocking@2.0.0(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedstring-width@1.0.2(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedstrip-json-comments@2.0.1(transitive)
- Removedtar@4.4.19(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedwide-align@1.1.5(transitive)
- Removedwrappy@1.0.2(transitive)
- Removedyallist@3.1.1(transitive)