pmcf 4.18.0 → 4.18.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 +1 -1
- package/src/base.mjs +6 -2
- package/src/services/alpm.mjs +1 -4
package/package.json
CHANGED
package/src/base.mjs
CHANGED
|
@@ -131,7 +131,11 @@ export class Base {
|
|
|
131
131
|
|
|
132
132
|
switch (typeof current) {
|
|
133
133
|
case "undefined":
|
|
134
|
-
|
|
134
|
+
if (attribute.constructor === value.constructor) {
|
|
135
|
+
this[name] = value;
|
|
136
|
+
} else {
|
|
137
|
+
this[name] = asArray(value);
|
|
138
|
+
}
|
|
135
139
|
break;
|
|
136
140
|
case "object":
|
|
137
141
|
if (Array.isArray(current)) {
|
|
@@ -574,7 +578,7 @@ export class Base {
|
|
|
574
578
|
name: `${this.typeName}-${this.owner.name}-${this.name}`,
|
|
575
579
|
access: "private",
|
|
576
580
|
dependencies: this.depends,
|
|
577
|
-
groups: [this.
|
|
581
|
+
groups: [this.typeName]
|
|
578
582
|
}
|
|
579
583
|
};
|
|
580
584
|
}
|