pmcf 6.58.0 → 6.58.2
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 +21 -21
- package/package.json +3 -3
- package/src/content.mjs +7 -7
- package/src/network.mjs +9 -5
package/README.md
CHANGED
|
@@ -81,30 +81,30 @@ generates config packages for:
|
|
|
81
81
|
* [domainNames](#domainnames)
|
|
82
82
|
* [InitializationContext](#initializationcontext)
|
|
83
83
|
* [Parameters](#parameters-14)
|
|
84
|
+
* [SkeletonNetworkInterface](#skeletonnetworkinterface)
|
|
85
|
+
* [networkAddresses](#networkaddresses)
|
|
86
|
+
* [Parameters](#parameters-15)
|
|
84
87
|
* [Interface](#interface)
|
|
85
88
|
* [zones](#zones)
|
|
86
89
|
* [addressesStatement](#addressesstatement)
|
|
87
|
-
* [Parameters](#parameters-
|
|
90
|
+
* [Parameters](#parameters-16)
|
|
88
91
|
* [SystemdJournalRemoteService](#systemdjournalremoteservice)
|
|
89
92
|
* [Properties](#properties)
|
|
90
93
|
* [systemdConfigs](#systemdconfigs)
|
|
91
|
-
* [Parameters](#parameters-
|
|
94
|
+
* [Parameters](#parameters-17)
|
|
92
95
|
* [SystemdJournalUploadService](#systemdjournaluploadservice)
|
|
93
96
|
* [Properties](#properties-1)
|
|
94
97
|
* [systemdConfigs](#systemdconfigs-1)
|
|
95
|
-
* [Parameters](#parameters-
|
|
98
|
+
* [Parameters](#parameters-18)
|
|
96
99
|
* [NetworkAddress](#networkaddress)
|
|
97
|
-
* [Parameters](#parameters-
|
|
100
|
+
* [Parameters](#parameters-19)
|
|
98
101
|
* [subnet](#subnet)
|
|
99
102
|
* [networkInterface](#networkinterface)
|
|
100
103
|
* [address](#address)
|
|
101
104
|
* [addresses](#addresses)
|
|
102
|
-
* [Parameters](#parameters-19)
|
|
103
|
-
* [cidrAddresses](#cidraddresses)
|
|
104
105
|
* [Parameters](#parameters-20)
|
|
105
|
-
* [
|
|
106
|
-
* [
|
|
107
|
-
* [Parameters](#parameters-21)
|
|
106
|
+
* [cidrAddresses](#cidraddresses)
|
|
107
|
+
* [Parameters](#parameters-21)
|
|
108
108
|
* [families](#families)
|
|
109
109
|
* [secretName](#secretname)
|
|
110
110
|
* [directHosts](#directhosts)
|
|
@@ -308,6 +308,18 @@ Keeps track of all in flight object creations and loose ends during config initi
|
|
|
308
308
|
|
|
309
309
|
* `directory` (optional, default `"/"`)
|
|
310
310
|
|
|
311
|
+
## SkeletonNetworkInterface
|
|
312
|
+
|
|
313
|
+
**Extends Interface**
|
|
314
|
+
|
|
315
|
+
### networkAddresses
|
|
316
|
+
|
|
317
|
+
#### Parameters
|
|
318
|
+
|
|
319
|
+
* `filter` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** (optional, default `n=>true`)
|
|
320
|
+
|
|
321
|
+
Returns **Iterable<[NetworkAddress](#networkaddress)>** 
|
|
322
|
+
|
|
311
323
|
## Interface
|
|
312
324
|
|
|
313
325
|
**Extends ServiceOwner**
|
|
@@ -401,18 +413,6 @@ Returns **Iterable<[string](https://developer.mozilla.org/docs/Web/JavaScript/Re
|
|
|
401
413
|
|
|
402
414
|
Returns **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** 
|
|
403
415
|
|
|
404
|
-
## SkeletonNetworkInterface
|
|
405
|
-
|
|
406
|
-
**Extends Interface**
|
|
407
|
-
|
|
408
|
-
### networkAddresses
|
|
409
|
-
|
|
410
|
-
#### Parameters
|
|
411
|
-
|
|
412
|
-
* `filter` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** (optional, default `n=>true`)
|
|
413
|
-
|
|
414
|
-
Returns **Iterable<[NetworkAddress](#networkaddress)>** 
|
|
415
|
-
|
|
416
416
|
## families
|
|
417
417
|
|
|
418
418
|
Returns **[Set](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** 
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmcf",
|
|
3
|
-
"version": "6.58.
|
|
3
|
+
"version": "6.58.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"aggregated-map": "^1.0.11",
|
|
54
|
-
"content-entry-transform": "^1.7.
|
|
54
|
+
"content-entry-transform": "^1.7.8",
|
|
55
55
|
"ip-utilties": "^3.13.1",
|
|
56
56
|
"npm-pkgbuild": "^22.2.5",
|
|
57
57
|
"pacc": "^11.15.0",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"semantic-release": "^25.0.9"
|
|
67
67
|
},
|
|
68
68
|
"engines": {
|
|
69
|
-
"node": ">=26.
|
|
69
|
+
"node": ">=26.9.0"
|
|
70
70
|
},
|
|
71
71
|
"repository": {
|
|
72
72
|
"type": "git",
|
package/src/content.mjs
CHANGED
|
@@ -52,9 +52,9 @@ export class content extends core {
|
|
|
52
52
|
default: "private",
|
|
53
53
|
packagingProperty: true
|
|
54
54
|
},
|
|
55
|
-
|
|
55
|
+
dependencies: {
|
|
56
56
|
...string_set_attribute_writable,
|
|
57
|
-
name: "
|
|
57
|
+
name: "dependencies",
|
|
58
58
|
packagingProperty: true
|
|
59
59
|
},
|
|
60
60
|
provides: {
|
|
@@ -104,7 +104,7 @@ export class content extends core {
|
|
|
104
104
|
_packaging = new Set();
|
|
105
105
|
_provides = new Set();
|
|
106
106
|
_replaces = new Set();
|
|
107
|
-
|
|
107
|
+
_dependencies = new Set();
|
|
108
108
|
_optional = new Set();
|
|
109
109
|
_groups = new Set();
|
|
110
110
|
_hooks = new Set();
|
|
@@ -201,13 +201,13 @@ export class content extends core {
|
|
|
201
201
|
);
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
set
|
|
205
|
-
this.
|
|
204
|
+
set dependencies(value) {
|
|
205
|
+
this._dependencies = union(value, this._dependencies);
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
get
|
|
208
|
+
get dependencies() {
|
|
209
209
|
return this.expand(
|
|
210
|
-
this.unionFromDirections(["this", "extends"], "
|
|
210
|
+
this.unionFromDirections(["this", "extends"], "_dependencies")
|
|
211
211
|
);
|
|
212
212
|
}
|
|
213
213
|
|
package/src/network.mjs
CHANGED
|
@@ -57,11 +57,15 @@ export class network extends owner {
|
|
|
57
57
|
//assign(subnets_attribute, this, linkLocal);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
60
|
+
for (const other of this.bridges) {
|
|
61
|
+
for (const a of other._subnets.keys()) {
|
|
62
|
+
if (!this._subnets.get(a)) {
|
|
63
|
+
this._subnets.set(a, other._subnets.get(a));
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return super.subnets;
|
|
65
69
|
}
|
|
66
70
|
|
|
67
71
|
/**
|