pmcf 2.22.2 → 2.22.3
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 +2 -2
- package/package.json +1 -1
package/bin/pmcf-diagram
CHANGED
|
@@ -10,7 +10,7 @@ function q(str) {
|
|
|
10
10
|
return str.match(/^\w+$/) ? str : `"${str}"`;
|
|
11
11
|
}
|
|
12
12
|
function id(str) {
|
|
13
|
-
return str.replaceAll(/-/g, "");
|
|
13
|
+
return q(str.replaceAll(/-/g, ""));
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
console.log("graph G {");
|
|
@@ -40,7 +40,7 @@ for await (const network of location.networks()) {
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
|
|
43
|
+
|
|
44
44
|
for await (const na of network.networkAddresses(
|
|
45
45
|
na =>
|
|
46
46
|
na.networkInterface.network === network &&
|