pmcf 3.20.2 → 3.20.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "3.20.2",
3
+ "version": "3.20.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -55,7 +55,7 @@
55
55
  "dependencies": {
56
56
  "ip-utilties": "^2.0.2",
57
57
  "npm-pkgbuild": "^19.1.3",
58
- "pacc": "^7.0.0",
58
+ "pacc": "^7.0.3",
59
59
  "package-directory": "^8.1.0"
60
60
  },
61
61
  "devDependencies": {
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  addType,
3
+ toExternal,
3
4
  duration_attribute_writable,
4
5
  string_attribute_writable,
5
6
  boolean_attribute_writable,
@@ -32,7 +33,7 @@ const SystemdResolvedServiceTypeDefinition = {
32
33
  ResolveUnicastSingleLabel: boolean_attribute_writable,
33
34
  StaleRetentionSec: duration_attribute_writable,
34
35
  RefuseRecordTypes: string_attribute_writable,
35
- DNSSEC: yesno_attribute_writable,
36
+ DNSSEC: { ...yesno_attribute_writable, default: false },
36
37
  DNSOverTLS: yesno_attribute_writable,
37
38
  LLMNR: yesno_attribute_writable
38
39
  }
@@ -80,16 +81,12 @@ export class SystemdResolvedService extends ExtraSourceService {
80
81
  Domains: [...this.localDomains].join(" "),
81
82
  MulticastDNS: yesno(this.network.multicastDNS),
82
83
 
83
- DNSSEC: yesno(this.DNSSEC),
84
-
85
84
  // TODO extendet properties with getAttribute()
86
85
  ...Object.fromEntries(
87
86
  Object.entries(SystemdResolvedServiceTypeDefinition.attributes)
88
- .map(([k, v]) => [k, this.extendedProperty(k)])
87
+ .map(([k, v]) => [k, toExternal(this.extendedProperty(k), v)])
89
88
  .filter(([k, v]) => v !== undefined)
90
- ),
91
- LLMNR: yesno(this.LLMNR),
92
-
89
+ )
93
90
  }
94
91
  ]
95
92
  };
@@ -1247,7 +1247,11 @@ export class SystemdResolvedService extends ExtraSourceService {
1247
1247
  ResolveUnicastSingleLabel: import("pacc").AttributeDefinition;
1248
1248
  StaleRetentionSec: import("pacc").AttributeDefinition;
1249
1249
  RefuseRecordTypes: import("pacc").AttributeDefinition;
1250
- DNSSEC: typeof yesno_attribute_writable;
1250
+ DNSSEC: {
1251
+ default: boolean;
1252
+ writable: boolean;
1253
+ collection: boolean;
1254
+ };
1251
1255
  DNSOverTLS: typeof yesno_attribute_writable;
1252
1256
  LLMNR: typeof yesno_attribute_writable;
1253
1257
  };