pmcf 6.39.21 → 6.40.1
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/content.mjs +12 -1
package/package.json
CHANGED
package/src/content.mjs
CHANGED
|
@@ -96,6 +96,10 @@ export class content extends core {
|
|
|
96
96
|
_groups = new Set();
|
|
97
97
|
_hooks = new Set();
|
|
98
98
|
|
|
99
|
+
get host() {
|
|
100
|
+
return this.owner.host;
|
|
101
|
+
}
|
|
102
|
+
|
|
99
103
|
value(name) {
|
|
100
104
|
return super.value(name) ?? this.owner.value(name);
|
|
101
105
|
}
|
|
@@ -149,7 +153,14 @@ export class content extends core {
|
|
|
149
153
|
}
|
|
150
154
|
|
|
151
155
|
get packaging() {
|
|
152
|
-
|
|
156
|
+
const all = this.unionFromDirections(["this", "extends"], "_packaging");
|
|
157
|
+
if(all.size) {
|
|
158
|
+
return all;
|
|
159
|
+
}
|
|
160
|
+
const content = this.host.content;
|
|
161
|
+
if(content && content !== this) {
|
|
162
|
+
return content.packaging;
|
|
163
|
+
}
|
|
153
164
|
}
|
|
154
165
|
|
|
155
166
|
get outputs() {
|