node-raspberrypi-usbboot
Advanced tools
Comparing version 1.0.7 to 1.0.8-build-aethernet-bump-deps-1dd44c0ccdbff79a925267aeb3f33ca397f4e3f3-1
@@ -13,5 +13,4 @@ "use strict"; | ||
const events_1 = require("events"); | ||
const fs_1 = require("fs"); | ||
const promises_1 = require("fs/promises"); | ||
const Path = require("path"); | ||
const util_1 = require("util"); | ||
async function delay(ms) { | ||
@@ -34,3 +33,2 @@ await new Promise((resolve) => { | ||
} | ||
const readFile = (0, util_1.promisify)(fs_1.readFile); | ||
const debug = _debug('node-raspberrypi-usbboot'); | ||
@@ -257,3 +255,3 @@ const POLLING_INTERVAL_MS = 2000; | ||
try { | ||
return await readFile(Path.join(__dirname, '..', 'blobs', filename)); | ||
return await (0, promises_1.readFile)(Path.join(__dirname, '..', 'blobs', filename)); | ||
} | ||
@@ -260,0 +258,0 @@ catch (e) { |
@@ -7,2 +7,7 @@ # Change Log | ||
# v1.0.8 | ||
## (2024-04-12) | ||
* patch: bump all dependencies to latest [Edwin Joassart] | ||
# v1.0.7 | ||
@@ -9,0 +14,0 @@ ## (2023-05-31) |
{ | ||
"name": "node-raspberrypi-usbboot", | ||
"version": "1.0.7", | ||
"version": "1.0.8-build-aethernet-bump-deps-1dd44c0ccdbff79a925267aeb3f33ca397f4e3f3-1", | ||
"description": "Transforms Raspberry Pi Compute Modules and Zeros to mass storage devices.", | ||
@@ -30,16 +30,16 @@ "main": "build/index.js", | ||
"debug": "^4.3.4", | ||
"usb": "^2.5.2" | ||
"usb": "^2.12.1" | ||
}, | ||
"devDependencies": { | ||
"@balena/lint": "^6.2.0", | ||
"@types/debug": "^4.1.7", | ||
"@types/node": "^8.10.61", | ||
"node-gyp-build": "^4.5.0", | ||
"rimraf": "^3.0.2", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.8.4" | ||
"@balena/lint": "8.0.1", | ||
"@types/debug": "^4.1.12", | ||
"@types/node": "^20.12.7", | ||
"node-gyp-build": "^4.8.0", | ||
"rimraf": "^5.0.5", | ||
"ts-node": "^10.9.2", | ||
"typescript": "^5.4.5" | ||
}, | ||
"versionist": { | ||
"publishedAt": "2023-05-31T15:24:34.311Z" | ||
"publishedAt": "2024-04-12T10:09:10.968Z" | ||
} | ||
} |
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
28086629
3856
585
2
+ Addednode-addon-api@8.3.0(transitive)
- Removednode-addon-api@8.2.2(transitive)
Updatedusb@^2.12.1