pmcf 6.28.0 → 6.28.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 +1 -1
- package/src/core-service.mjs +2 -2
- package/src/endpoint.mjs +1 -2
- package/src/services/bind.mjs +2 -6
package/package.json
CHANGED
package/src/core-service.mjs
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
Endpoint,
|
|
15
15
|
DomainNameEndpoint,
|
|
16
16
|
HTTPEndpoint,
|
|
17
|
-
|
|
17
|
+
unix_endpoint,
|
|
18
18
|
addType,
|
|
19
19
|
FAMILY_UNIX,
|
|
20
20
|
FAMILY_DNS
|
|
@@ -137,7 +137,7 @@ export class CoreService extends Base {
|
|
|
137
137
|
for (const e of data) {
|
|
138
138
|
switch (e.family) {
|
|
139
139
|
case FAMILY_UNIX:
|
|
140
|
-
result.push(new
|
|
140
|
+
result.push(new unix_endpoint(this, e.path, e));
|
|
141
141
|
break;
|
|
142
142
|
|
|
143
143
|
case undefined:
|
package/src/endpoint.mjs
CHANGED
|
@@ -240,8 +240,7 @@ export class HTTPEndpoint extends BaseEndpoint {
|
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
export class
|
|
244
|
-
static name = "unix_endpoint";
|
|
243
|
+
export class unix_endpoint extends BaseEndpoint {
|
|
245
244
|
static attributes = {
|
|
246
245
|
url: url_attribute
|
|
247
246
|
};
|
package/src/services/bind.mjs
CHANGED
|
@@ -369,11 +369,7 @@ class bind_group extends Base {
|
|
|
369
369
|
const address = na.address;
|
|
370
370
|
const host = na.host;
|
|
371
371
|
|
|
372
|
-
if (host
|
|
373
|
-
console.log("NO HOST", na);
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
if (!addresses.has(address)) {
|
|
372
|
+
if (host && !addresses.has(address)) {
|
|
377
373
|
addresses.add(address);
|
|
378
374
|
|
|
379
375
|
const locationName = host.owner.name;
|
|
@@ -403,7 +399,7 @@ class bind_group extends Base {
|
|
|
403
399
|
)
|
|
404
400
|
);
|
|
405
401
|
|
|
406
|
-
if (
|
|
402
|
+
if (!hosts.has(host)) {
|
|
407
403
|
hosts.add(host);
|
|
408
404
|
|
|
409
405
|
for (let foreignDomain of host.foreignDomainNames) {
|