balena-image-fs 7.5.0-build-add-find-partition-util-80e4ad0ade71a1689f27812704a2ea729e9173ed-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/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, or index
19
- * of -1 if not found.
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, or index
13
- * of -1 if not found.
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-80e4ad0ade71a1689f27812704a2ea729e9173ed-1",
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-25T00:52:31.465Z"
62
+ "publishedAt": "2025-03-25T01:09:20.735Z"
63
63
  }
64
64
  }