pmcf 3.10.6 → 3.10.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "3.10.6",
3
+ "version": "3.10.8",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -53,11 +53,11 @@
53
53
  "dependencies": {
54
54
  "ip-utilties": "^1.4.9",
55
55
  "npm-pkgbuild": "^18.2.30",
56
- "pacc": "^4.18.2",
56
+ "pacc": "^4.18.3",
57
57
  "package-directory": "^8.1.0"
58
58
  },
59
59
  "devDependencies": {
60
- "@types/node": "^24.4.0",
60
+ "@types/node": "^24.5.0",
61
61
  "ava": "^6.4.1",
62
62
  "c8": "^10.1.3",
63
63
  "documentation": "^14.0.3",
package/src/host.mjs CHANGED
@@ -18,8 +18,7 @@ import {
18
18
  sectionLines,
19
19
  asArray
20
20
  } from "./utils.mjs";
21
- import { objectFilter } from "./filter.mjs";
22
- import { addType, types } from "./types.mjs";
21
+ import { addType } from "./types.mjs";
23
22
  import { loadHooks } from "./hooks.mjs";
24
23
  import { generateMachineInfo, generateKnownHosts } from "./host-utils.mjs";
25
24
  import { NetworkInterfaceTypeDefinition } from "./network-interfaces/network-interface.mjs";
@@ -404,24 +403,6 @@ export class Host extends ServiceOwner {
404
403
  );
405
404
  }
406
405
 
407
- *findNetworkInterfaces(filter) {
408
- yield* objectFilter(
409
- types.network_interface,
410
- this._networkInterfaces.values(),
411
- filter
412
- );
413
- }
414
-
415
- findNetworkInterface(filter) {
416
- for (const ni of objectFilter(
417
- types.network_interface,
418
- this._networkInterfaces.values(),
419
- filter
420
- )) {
421
- return ni;
422
- }
423
- }
424
-
425
406
  get networkInterfaces() {
426
407
  return this._networkInterfaces;
427
408
  }
package/types/host.d.mts CHANGED
@@ -396,8 +396,6 @@ export class Host extends ServiceOwner {
396
396
  get host(): this;
397
397
  hosts(): Generator<this, void, unknown>;
398
398
  get networks(): Set<any>;
399
- findNetworkInterfaces(filter: any): Generator<any, void, any>;
400
- findNetworkInterface(filter: any): any;
401
399
  set networkInterfaces(networkInterface: Map<any, any>);
402
400
  get networkInterfaces(): Map<any, any>;
403
401
  networkAddresses(filter: any): Generator<any, void, any>;