pmcf 4.22.1 → 4.22.3
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 +12 -12
- package/package.json +4 -3
- package/src/service.mjs +1 -1
package/README.md
CHANGED
|
@@ -71,11 +71,11 @@ generates config packages for:
|
|
|
71
71
|
* [Parameters](#parameters-11)
|
|
72
72
|
* [port](#port-1)
|
|
73
73
|
* [id](#id)
|
|
74
|
+
* [InitializationContext](#initializationcontext)
|
|
75
|
+
* [Parameters](#parameters-12)
|
|
74
76
|
* [SkeletonNetworkInterface](#skeletonnetworkinterface)
|
|
75
77
|
* [networkAddresses](#networkaddresses)
|
|
76
|
-
* [Parameters](#parameters-
|
|
77
|
-
* [InitializationContext](#initializationcontext)
|
|
78
|
-
* [Parameters](#parameters-13)
|
|
78
|
+
* [Parameters](#parameters-13)
|
|
79
79
|
* [SystemdJournalRemoteService](#systemdjournalremoteservice)
|
|
80
80
|
* [Properties](#properties)
|
|
81
81
|
* [systemdConfigs](#systemdconfigs)
|
|
@@ -126,7 +126,7 @@ Deliver union set of all property values.
|
|
|
126
126
|
|
|
127
127
|
#### Parameters
|
|
128
128
|
|
|
129
|
-
* `directions` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)
|
|
129
|
+
* `directions` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** 
|
|
130
130
|
* `property` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
131
131
|
|
|
132
132
|
Returns **[Set](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set)\<any>** 
|
|
@@ -250,6 +250,14 @@ Returns **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/G
|
|
|
250
250
|
|
|
251
251
|
Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
252
252
|
|
|
253
|
+
## InitializationContext
|
|
254
|
+
|
|
255
|
+
Keeps track of all in flight object creations and loose ends during config initialization.
|
|
256
|
+
|
|
257
|
+
### Parameters
|
|
258
|
+
|
|
259
|
+
* `directory` (optional, default `"/"`)
|
|
260
|
+
|
|
253
261
|
## SkeletonNetworkInterface
|
|
254
262
|
|
|
255
263
|
**Extends ServiceOwner**
|
|
@@ -262,14 +270,6 @@ Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/G
|
|
|
262
270
|
|
|
263
271
|
Returns **Iterable<[NetworkAddress](#networkaddress)>** 
|
|
264
272
|
|
|
265
|
-
## InitializationContext
|
|
266
|
-
|
|
267
|
-
Keeps track of all in flight object creations and loose ends during config initialization.
|
|
268
|
-
|
|
269
|
-
### Parameters
|
|
270
|
-
|
|
271
|
-
* `directory` (optional, default `"/"`)
|
|
272
|
-
|
|
273
273
|
## SystemdJournalRemoteService
|
|
274
274
|
|
|
275
275
|
**Extends Service**
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmcf",
|
|
3
|
-
"version": "4.22.
|
|
3
|
+
"version": "4.22.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"packageManager": "npm@11.
|
|
7
|
+
"packageManager": "npm@11.16.0",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"default": "./src/module.mjs"
|
|
@@ -50,10 +50,11 @@
|
|
|
50
50
|
"lint:docs": "documentation lint ./src**/*.mjs"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
+
"aggregated-map": "^1.0.3",
|
|
53
54
|
"content-entry-transform": "^1.6.9",
|
|
54
55
|
"ip-utilties": "^3.0.4",
|
|
55
56
|
"npm-pkgbuild": "^20.6.4",
|
|
56
|
-
"pacc": "^9.2.
|
|
57
|
+
"pacc": "^9.2.12",
|
|
57
58
|
"package-directory": "^8.2.0"
|
|
58
59
|
},
|
|
59
60
|
"devDependencies": {
|
package/src/service.mjs
CHANGED
|
@@ -221,7 +221,7 @@ export class Service extends Base {
|
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
get port() {
|
|
224
|
-
return this._port ?? serviceTypeEndpoints(ServiceTypes[this.type])[0]?.port;
|
|
224
|
+
return this.extendedAttribute("_port") ?? serviceTypeEndpoints(ServiceTypes[this.type])[0]?.port;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
set weight(value) {
|