pmcf 6.71.2 → 6.72.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/package.json +2 -2
- package/src/base.mjs +12 -0
- package/src/host.mjs +5 -4
- package/src/network.mjs +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmcf",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.72.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"content-entry-transform": "^1.7.11",
|
|
55
55
|
"filtered-map": "^1.0.0",
|
|
56
56
|
"ip-utilties": "^3.13.1",
|
|
57
|
-
"npm-pkgbuild": "^22.2.
|
|
57
|
+
"npm-pkgbuild": "^22.2.23",
|
|
58
58
|
"pacc": "^14.4.0",
|
|
59
59
|
"package-directory": "^8.2.0",
|
|
60
60
|
"yaml": "^2.9.1"
|
package/src/base.mjs
CHANGED
|
@@ -110,6 +110,18 @@ export class base extends core {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
+
get isHost() {
|
|
114
|
+
return false;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
get isCluster() {
|
|
118
|
+
return false;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
get isNetwork() {
|
|
122
|
+
return false;
|
|
123
|
+
}
|
|
124
|
+
|
|
113
125
|
get host() {
|
|
114
126
|
return this.owner?.host;
|
|
115
127
|
}
|
package/src/host.mjs
CHANGED
|
@@ -100,6 +100,11 @@ export class host extends ServiceOwner {
|
|
|
100
100
|
|
|
101
101
|
_networkInterfaces = new Map();
|
|
102
102
|
|
|
103
|
+
get isHost()
|
|
104
|
+
{
|
|
105
|
+
return true;
|
|
106
|
+
}
|
|
107
|
+
|
|
103
108
|
get isTemplate() {
|
|
104
109
|
return this.isModel || super.isTemplate;
|
|
105
110
|
}
|
|
@@ -125,10 +130,6 @@ export class host extends ServiceOwner {
|
|
|
125
130
|
return parts[parts.length - 1].toLowerCase();
|
|
126
131
|
}
|
|
127
132
|
|
|
128
|
-
get isCluster() {
|
|
129
|
-
return false;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
133
|
isMember(host) {
|
|
133
134
|
return this === host;
|
|
134
135
|
}
|