pmcf 2.53.3 → 2.53.5
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 +3 -3
- package/src/endpoint.mjs +1 -2
- package/src/service.mjs +1 -1
- package/src/services/dhcp.mjs +1 -1
- package/types/service.d.mts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmcf",
|
|
3
|
-
"version": "2.53.
|
|
3
|
+
"version": "2.53.5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"ip-utilties": "^1.3.3",
|
|
49
|
-
"npm-pkgbuild": "^18.2.
|
|
49
|
+
"npm-pkgbuild": "^18.2.5",
|
|
50
50
|
"pacc": "^3.4.2",
|
|
51
51
|
"pkg-dir": "^8.0.0"
|
|
52
52
|
},
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"typescript": "^5.8.3"
|
|
60
60
|
},
|
|
61
61
|
"engines": {
|
|
62
|
-
"node": ">=22.
|
|
62
|
+
"node": ">=22.16.0"
|
|
63
63
|
},
|
|
64
64
|
"repository": {
|
|
65
65
|
"type": "git",
|
package/src/endpoint.mjs
CHANGED
|
@@ -113,9 +113,8 @@ export class HTTPEndpoint extends BaseEndpoint {
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
get port() {
|
|
116
|
-
|
|
117
116
|
const port = this.url.port;
|
|
118
|
-
if(port.length) {
|
|
117
|
+
if (port.length) {
|
|
119
118
|
return parseInt(port);
|
|
120
119
|
}
|
|
121
120
|
return this.url.toString().startsWith("https:") ? 443 : 80;
|
package/src/service.mjs
CHANGED
|
@@ -344,7 +344,7 @@ export const sortInverseByPriority = (a, b) => b.priority - a.priority;
|
|
|
344
344
|
* @param {Function} [options.endpoints] filter for endpoints
|
|
345
345
|
* @param {Function} [options.select] mapper from Endpoint into result
|
|
346
346
|
* @param {number} [options.limit] upper limit of # result items
|
|
347
|
-
* @param {string} [options.join]
|
|
347
|
+
* @param {string} [options.join] join result(s) into a string
|
|
348
348
|
* @returns {string|any}
|
|
349
349
|
*/
|
|
350
350
|
export function serviceEndpoints(sources, options = {}) {
|
package/src/services/dhcp.mjs
CHANGED
|
@@ -228,7 +228,7 @@ export class DHCPService extends Service {
|
|
|
228
228
|
"this-server-name": name,
|
|
229
229
|
mode: "hot-standby",
|
|
230
230
|
"heartbeat-delay": 60000,
|
|
231
|
-
"max-response-delay":
|
|
231
|
+
"max-response-delay": 60000,
|
|
232
232
|
"max-ack-delay": 10000,
|
|
233
233
|
/*
|
|
234
234
|
"multi-threading": {
|
package/types/service.d.mts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @param {Function} [options.endpoints] filter for endpoints
|
|
7
7
|
* @param {Function} [options.select] mapper from Endpoint into result
|
|
8
8
|
* @param {number} [options.limit] upper limit of # result items
|
|
9
|
-
* @param {string} [options.join]
|
|
9
|
+
* @param {string} [options.join] join result(s) into a string
|
|
10
10
|
* @returns {string|any}
|
|
11
11
|
*/
|
|
12
12
|
export function serviceEndpoints(sources: any, options?: {
|