pmcf 2.53.4 → 2.53.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 CHANGED
@@ -69,7 +69,7 @@ Type: ([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Glob
69
69
  * `options.endpoints` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)?** filter for endpoints
70
70
  * `options.select` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)?** mapper from Endpoint into result
71
71
  * `options.limit` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)?** upper limit of # result items
72
- * `options.join` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** jount result into a string
72
+ * `options.join` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** join result(s) into a string
73
73
 
74
74
  Returns **([string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | any)** 
75
75
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "2.53.4",
3
+ "version": "2.53.6",
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.4",
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.15.1"
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] jount result into a string
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 = {}) {
@@ -215,7 +215,7 @@ export class DHCPService extends Service {
215
215
  },
216
216
  "renew-timer": 900,
217
217
  "rebind-timer": 1800,
218
- "valid-lifetime": 3600,
218
+ "valid-lifetime": 86400,
219
219
  "hooks-libraries": [
220
220
  {
221
221
  library: "/usr/lib/kea/hooks/libdhcp_lease_cmds.so"
@@ -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] jount result into a string
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?: {