node-raspberrypi-usbboot
Advanced tools
Comparing version 1.0.8-build-bump-usb-f29f3a930779771033220a84a219c1c66f40c5f8-1 to 1.0.8
@@ -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) { |
@@ -8,5 +8,5 @@ # Change Log | ||
# v1.0.8 | ||
## (2024-04-08) | ||
## (2024-04-12) | ||
* Bump usb package [Otavio Jacobi] | ||
* patch: bump all dependencies to latest [Edwin Joassart] | ||
@@ -13,0 +13,0 @@ # v1.0.7 |
{ | ||
"name": "node-raspberrypi-usbboot", | ||
"version": "1.0.8-build-bump-usb-f29f3a930779771033220a84a219c1c66f40c5f8-1", | ||
"version": "1.0.8", | ||
"description": "Transforms Raspberry Pi Compute Modules and Zeros to mass storage devices.", | ||
@@ -33,13 +33,13 @@ "main": "build/index.js", | ||
"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": "2024-04-08T19:02:52.436Z" | ||
"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
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
28086560
1
3856
585