pmcf 6.40.6 → 6.40.7

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/bin/pmcf-package CHANGED
@@ -43,7 +43,9 @@ const publishingDetails = createPublishingDetails(
43
43
 
44
44
  let suffixId = 1;
45
45
 
46
- for (const object of [...args.map(arg => root.expression(arg))].flat()) {
46
+ for (const object of [
47
+ ...args.map(arg => asArray(root.expression(arg)))
48
+ ].flat()) {
47
49
  if (object.isTemplate) {
48
50
  continue;
49
51
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "6.40.6",
3
+ "version": "6.40.7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/content.mjs CHANGED
@@ -155,7 +155,7 @@ export class content extends core {
155
155
  get packaging() {
156
156
  const all = this.unionFromDirections(["this", "extends"], "_packaging");
157
157
  if (all.size === 0) {
158
- const content = this.host.content;
158
+ const content = this.host?.content;
159
159
  if (content && content !== this) {
160
160
  return content.packaging;
161
161
  }
@@ -188,6 +188,8 @@ class bind_zone_config extends base {
188
188
  " "
189
189
  )
190
190
  );
191
+
192
+ // content.push(`update-policy { grant updates zonesub ANY; };`);
191
193
  break;
192
194
  case SECONDARY:
193
195
  const primaries = endpointAddresses(this.service.primaries);