balena-image-fs 7.5.0-build-add-find-partition-util-f660bf87639aecd7fd665903a7ad84e97825293c-1 → 7.5.0-build-add-find-partition-util-4e9b1cfb2739b738dd12bda7d1623e08ad208b46-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/build/utils.d.ts +2 -2
- package/build/utils.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file
|
|
|
4
4
|
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
|
|
5
5
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
6
6
|
|
|
7
|
-
## 7.5.0 - 2025-03-
|
|
7
|
+
## 7.5.0 - 2025-03-25
|
|
8
8
|
|
|
9
9
|
* Add function to find a partition by name/label [Ken Bannister]
|
|
10
10
|
|
package/build/utils.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export type FindPartitionResult = {
|
|
|
15
15
|
* Matches on partition name for GPT partitions or on filesystem label for MBR
|
|
16
16
|
* partitions.
|
|
17
17
|
*
|
|
18
|
-
* @returns A FindPartitionResult with the found index and name/label
|
|
19
|
-
*
|
|
18
|
+
* @returns A FindPartitionResult with the found index and name/label; otherwise
|
|
19
|
+
* undefined
|
|
20
20
|
*/
|
|
21
21
|
export declare function findPartition(fileDisk: FileDisk, partitionInfo: GetPartitionsResult, names: string[]): Promise<FindPartitionResult | undefined>;
|
package/build/utils.js
CHANGED
|
@@ -9,8 +9,8 @@ const fsLabel_1 = require("./fsLabel");
|
|
|
9
9
|
* Matches on partition name for GPT partitions or on filesystem label for MBR
|
|
10
10
|
* partitions.
|
|
11
11
|
*
|
|
12
|
-
* @returns A FindPartitionResult with the found index and name/label
|
|
13
|
-
*
|
|
12
|
+
* @returns A FindPartitionResult with the found index and name/label; otherwise
|
|
13
|
+
* undefined
|
|
14
14
|
*/
|
|
15
15
|
async function findPartition(fileDisk, partitionInfo, names) {
|
|
16
16
|
const { partitions } = partitionInfo;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "balena-image-fs",
|
|
3
|
-
"version": "7.5.0-build-add-find-partition-util-
|
|
3
|
+
"version": "7.5.0-build-add-find-partition-util-4e9b1cfb2739b738dd12bda7d1623e08ad208b46-1",
|
|
4
4
|
"description": "Image filesystem manipulation utilities",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"homepage": "https://github.com/balena-io-modules/balena-image-fs",
|
|
@@ -59,6 +59,6 @@
|
|
|
59
59
|
"node": ">=16"
|
|
60
60
|
},
|
|
61
61
|
"versionist": {
|
|
62
|
-
"publishedAt": "2025-03-
|
|
62
|
+
"publishedAt": "2025-03-25T01:09:20.735Z"
|
|
63
63
|
}
|
|
64
64
|
}
|