pmcf 4.18.9 → 4.18.11
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/bin/pmcf-diagram +1 -1
- package/package.json +4 -4
- package/src/base.mjs +2 -1
- package/src/owner.mjs +1 -1
- package/types/owner.d.mts +1 -1
package/bin/pmcf-diagram
CHANGED
|
@@ -25,7 +25,7 @@ for await (const host of location.hosts()) {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
for await (const network of location.networks
|
|
28
|
+
for await (const network of location.networks) {
|
|
29
29
|
console.log(
|
|
30
30
|
` ${q(network.name)} [label="${network.name}\\n${[...network.subnets()]
|
|
31
31
|
.map(s => s.address)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmcf",
|
|
3
|
-
"version": "4.18.
|
|
3
|
+
"version": "4.18.11",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"content-entry-transform": "^1.6.4",
|
|
57
57
|
"ip-utilties": "^3.0.0",
|
|
58
|
-
"npm-pkgbuild": "^20.6.
|
|
59
|
-
"pacc": "^8.11.
|
|
58
|
+
"npm-pkgbuild": "^20.6.2",
|
|
59
|
+
"pacc": "^8.11.2",
|
|
60
60
|
"package-directory": "^8.2.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"typescript": "^5.9.3"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
|
-
"node": ">=24.13.
|
|
71
|
+
"node": ">=24.13.1"
|
|
72
72
|
},
|
|
73
73
|
"repository": {
|
|
74
74
|
"type": "git",
|
package/src/base.mjs
CHANGED
|
@@ -751,7 +751,7 @@ export function extractFrom(
|
|
|
751
751
|
}
|
|
752
752
|
|
|
753
753
|
if (typeof object[Symbol.iterator] === "function") {
|
|
754
|
-
object = [...object];
|
|
754
|
+
object = [...object].map(o => o instanceof Base ? extractFrom(o) : o);
|
|
755
755
|
|
|
756
756
|
if (object.length === 0) {
|
|
757
757
|
return undefined;
|
|
@@ -805,6 +805,7 @@ export function extractFrom(
|
|
|
805
805
|
} else {
|
|
806
806
|
if (typeof value[Symbol.iterator] === "function") {
|
|
807
807
|
value = extractFrom(value);
|
|
808
|
+
|
|
808
809
|
if (value !== undefined) {
|
|
809
810
|
json[name] = value;
|
|
810
811
|
}
|
package/src/owner.mjs
CHANGED
package/types/owner.d.mts
CHANGED
|
@@ -197,7 +197,7 @@ export class Owner extends Base {
|
|
|
197
197
|
directHosts(): Set<any>;
|
|
198
198
|
hosts(): Set<any>;
|
|
199
199
|
networkNamed(name: any): any;
|
|
200
|
-
networks(): any;
|
|
200
|
+
get networks(): any;
|
|
201
201
|
subnetNamed(name: any): any;
|
|
202
202
|
subnets(): Generator<any, void, any>;
|
|
203
203
|
addSubnet(address: any): any;
|