pmcf 6.49.12 → 6.49.13

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": "6.49.12",
3
+ "version": "6.49.13",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -6,7 +6,9 @@ import {
6
6
  resolveTypeLinks,
7
7
  create
8
8
  } from "pacc";
9
- import { core, root, assign } from "pmcf";
9
+ import { core } from "./core.mjs";
10
+ import { root } from "./root.mjs";
11
+ import { assign } from "./type.mjs";
10
12
 
11
13
  /**
12
14
  * Keeps track of all in flight object creations and loose ends during config initialization.
@@ -71,7 +73,10 @@ export class InitializationContext {
71
73
  }
72
74
  if (value !== undefined) {
73
75
  if (typeof value === "object") {
74
- if (typeof attribute.type === 'function' && value instanceof attribute.type) {
76
+ if (
77
+ typeof attribute.type === "function" &&
78
+ value instanceof attribute.type
79
+ ) {
75
80
  return assign(attribute, object, value);
76
81
  }
77
82
  } else {
@@ -125,7 +130,9 @@ export class InitializationContext {
125
130
  if (value instanceof core) {
126
131
  assign(attribute, object, value);
127
132
  } else {
128
- for (const [objectIdentifier, objectData] of Object.entries(value)) {
133
+ for (const [objectIdentifier, objectData] of Object.entries(
134
+ value
135
+ )) {
129
136
  if (typeof objectData === "object") {
130
137
  objectData[attribute.type.key] = objectIdentifier;
131
138
  }
@@ -1,5 +1,5 @@
1
1
  import { duration_attribute_writable } from "pacc";
2
- import { addType } from "pmcf";
2
+ import { addType } from "./type.mjs";
3
3
  import { cluster } from "./cluster.mjs";
4
4
 
5
5
  export class keepalived extends cluster {
package/src/module.mjs CHANGED
@@ -1,5 +1,7 @@
1
1
  export * from "./type.mjs";
2
2
  export * from "./core.mjs";
3
+ export * from "./content.mjs";
4
+ export * from "./common-attributes.mjs";
3
5
  export * from "./base.mjs";
4
6
  export * from "./cluster.mjs";
5
7
  export * from "./keepalived.mjs";
@@ -10,8 +12,6 @@ export * from "./subnet.mjs";
10
12
  export * from "./service-owner.mjs";
11
13
  export * from "./network.mjs";
12
14
  export * from "./network-address.mjs";
13
- export * from "./common-attributes.mjs";
14
- export * from "./content.mjs";
15
15
  export * from "./host.mjs";
16
16
  export * from "./interfaces/network-interface.mjs";
17
17
  export * from "./interfaces/loopback.mjs";