pmcf 2.53.0 → 2.53.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "2.53.0",
3
+ "version": "2.53.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -51,7 +51,7 @@
51
51
  "pkg-dir": "^8.0.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@types/node": "^22.15.20",
54
+ "@types/node": "^22.15.21",
55
55
  "ava": "^6.3.0",
56
56
  "c8": "^10.1.3",
57
57
  "documentation": "^14.0.3",
@@ -479,17 +479,20 @@ export class BINDService extends ExtraSourceService {
479
479
  );
480
480
  }
481
481
 
482
- // console.log(host._services.map(s=>s.name));
482
+ const sm = new Map();
483
+
483
484
  for (const service of host._services) {
484
485
  for (const record of service.dnsRecordsForDomainName(
485
486
  host.domainName,
486
487
  this.hasSVRRecords
487
488
  )) {
488
- //console.log("SERVICE",service.toString(),record.toString())
489
-
490
- zone.records.add(record);
489
+ sm.set(record.toString(), record);
491
490
  }
492
491
  }
492
+
493
+ for (const r of sm.values()) {
494
+ zone.records.add(r);
495
+ }
493
496
  }
494
497
  }
495
498
  }
@@ -146,7 +146,7 @@ export class DHCPService extends Service {
146
146
  name: `kea-${this.location.name}-${name}`,
147
147
  description: `kea definitions for ${this.fullName}@${name}`,
148
148
  access: "private",
149
- dependencies: ["kea>=${keaVersion}"]
149
+ dependencies: [`kea>=${keaVersion}`]
150
150
  }
151
151
  };
152
152