partitioninfo
Advanced tools
Comparing version 6.0.0 to 6.0.1-nothing-2-f840b5ffdacefe0380b97672c46758f9b22a4478
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getPartitions = exports.get = exports.PartitionNotFound = void 0; | ||
const bluebird_1 = require("bluebird"); | ||
const file_disk_1 = require("file-disk"); | ||
@@ -170,3 +169,3 @@ const GPT = require("gpt"); | ||
if (isString(pathOrBufferOrDisk)) { | ||
return await bluebird_1.using(file_disk_1.openFile(pathOrBufferOrDisk, 'r'), async (fd) => { | ||
return await file_disk_1.withOpenFile(pathOrBufferOrDisk, 'r', async (fd) => { | ||
return await fn(new file_disk_1.FileDisk(fd), arg); | ||
@@ -173,0 +172,0 @@ }); |
@@ -7,2 +7,9 @@ # Change Log | ||
# v6.0.1 | ||
## (2020-07-27) | ||
* Nothing [Alexis Svinartchouk] | ||
* Resin.io -> balena.io [Alexis Svinartchouk] | ||
* Remove bluebird dependency, update file-disk [Alexis Svinartchouk] | ||
# v6.0.0 | ||
@@ -9,0 +16,0 @@ ## (2020-07-24) |
{ | ||
"name": "partitioninfo", | ||
"version": "6.0.0", | ||
"version": "6.0.1-nothing-2-f840b5ffdacefe0380b97672c46758f9b22a4478", | ||
"description": "Get information about a partition from an image file", | ||
@@ -44,3 +44,2 @@ "main": "build/partitioninfo.js", | ||
"@balena/lint": "^5.1.0", | ||
"@types/bluebird": "^3.5.32", | ||
"@types/chai": "^4.2.11", | ||
@@ -55,4 +54,3 @@ "@types/mocha": "^8.0.0", | ||
"dependencies": { | ||
"bluebird": "^3.7.2", | ||
"file-disk": "^7.0.1", | ||
"file-disk": "^8.0.0", | ||
"gpt": "^2.0.4", | ||
@@ -59,0 +57,0 @@ "mbr": "^1.1.3", |
@@ -98,3 +98,3 @@ partitioninfo | ||
If you're having any problem, please [raise an issue](https://github.com/balena-io-modules/partitioninfo/issues/new) on GitHub and the Resin.io team will be happy to help. | ||
If you're having any problem, please [raise an issue](https://github.com/balena-io-modules/partitioninfo/issues/new) on GitHub and the balena.io team will be happy to help. | ||
@@ -101,0 +101,0 @@ Tests |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
38166
5
8
342
1
+ Addedfile-disk@8.0.1(transitive)
- Removedbluebird@^3.7.2
- Removedbluebird@3.7.2(transitive)
- Removedfile-disk@7.0.1(transitive)
Updatedfile-disk@^8.0.0