pmcf 6.54.5 → 6.54.6
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/README.md +0 -1
- package/package.json +1 -1
- package/src/core-service.mjs +5 -6
- package/src/services/bind.mjs +2 -2
package/README.md
CHANGED
|
@@ -402,7 +402,6 @@ Type: ([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Glob
|
|
|
402
402
|
* `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
403
403
|
|
|
404
404
|
* `options.aggregate` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** 
|
|
405
|
-
* `options.filter` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** 
|
|
406
405
|
|
|
407
406
|
Returns **Iterable<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** addresses
|
|
408
407
|
|
package/package.json
CHANGED
package/src/core-service.mjs
CHANGED
|
@@ -18,9 +18,9 @@ import {
|
|
|
18
18
|
Endpoint,
|
|
19
19
|
DomainNameEndpoint,
|
|
20
20
|
HTTPEndpoint,
|
|
21
|
-
unix_endpoint
|
|
22
|
-
addType
|
|
21
|
+
unix_endpoint
|
|
23
22
|
} from "pmcf";
|
|
23
|
+
import { addType } from "./type.mjs";
|
|
24
24
|
import { FAMILY_UNIX, FAMILY_DNS } from "./constants.mjs";
|
|
25
25
|
import {
|
|
26
26
|
networkAddressAttributes,
|
|
@@ -116,8 +116,7 @@ export class CoreService extends base {
|
|
|
116
116
|
return this.host?.domainName;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
networkAddresses(filter)
|
|
120
|
-
{
|
|
119
|
+
networkAddresses(filter) {
|
|
121
120
|
return this.owner.networkAddresses(filter);
|
|
122
121
|
}
|
|
123
122
|
|
|
@@ -169,7 +168,7 @@ export class CoreService extends base {
|
|
|
169
168
|
) {
|
|
170
169
|
continue;
|
|
171
170
|
}
|
|
172
|
-
|
|
171
|
+
|
|
173
172
|
if (e.pathname) {
|
|
174
173
|
result.push(new HTTPEndpoint(this, na, options));
|
|
175
174
|
} else {
|
|
@@ -406,7 +405,7 @@ export function serviceEndpoints(sources, options = {}) {
|
|
|
406
405
|
return options.join ? res.join(options.join) : res;
|
|
407
406
|
}
|
|
408
407
|
|
|
409
|
-
export function endpoints(entries,filter) {
|
|
408
|
+
export function endpoints(entries, filter) {
|
|
410
409
|
return asArray(entries)
|
|
411
410
|
.map(e => e.endpoints(filter))
|
|
412
411
|
.flat();
|
package/src/services/bind.mjs
CHANGED
|
@@ -799,7 +799,7 @@ export class bind extends CoreService {
|
|
|
799
799
|
systemGroupName: "named",
|
|
800
800
|
services: {
|
|
801
801
|
"bind-statistics": {
|
|
802
|
-
//
|
|
802
|
+
//extends: ["http"],
|
|
803
803
|
endpoints: [
|
|
804
804
|
{
|
|
805
805
|
family: FAMILY_IPV4_IPV6,
|
|
@@ -811,7 +811,7 @@ export class bind extends CoreService {
|
|
|
811
811
|
}
|
|
812
812
|
]
|
|
813
813
|
},
|
|
814
|
-
"bind-
|
|
814
|
+
"bind-control": {
|
|
815
815
|
endpoints: [
|
|
816
816
|
{
|
|
817
817
|
family: FAMILY_IPV4_IPV6,
|