pmcf 6.53.2 → 6.53.4

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": "6.53.2",
3
+ "version": "6.53.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -59,7 +59,7 @@
59
59
  "yaml": "^2.9.1"
60
60
  },
61
61
  "devDependencies": {
62
- "@types/node": "^26.5.1",
62
+ "@types/node": "^26.6.1",
63
63
  "ava": "^8.0.1",
64
64
  "c8": "^12.0.0",
65
65
  "documentation": "^14.0.3",
@@ -185,6 +185,7 @@ export class kea extends CoreService {
185
185
  endpoint =>
186
186
  endpoint.type === "dhcp" &&
187
187
  endpoint.family === family &&
188
+ endpoint.networkInterface.enabled &&
188
189
  endpoint.networkInterface.kind !== "loopback" &&
189
190
  endpoint.networkInterface.kind !== "tun"
190
191
  ).map(endpoint => `${endpoint.networkInterface.name}/${endpoint.address}`);
package/src/type.mjs CHANGED
@@ -84,7 +84,7 @@ export function assign(attribute, object, value) {
84
84
  }
85
85
  }
86
86
  } else {
87
- current.set(value[attribute.type.key || "name"], value);
87
+ current.set(value[attribute.type.key ?? "name"], value);
88
88
  }
89
89
  } else {
90
90
  if (typeof current.add === "function") {