pmcf 4.6.0 → 4.6.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/base.mjs +5 -1
package/package.json
CHANGED
package/src/base.mjs
CHANGED
|
@@ -365,9 +365,13 @@ export class Base {
|
|
|
365
365
|
if (!seen.has(this)) {
|
|
366
366
|
seen.add(this);
|
|
367
367
|
|
|
368
|
-
const value = getAttribute(
|
|
368
|
+
const value = getAttribute(this, propertyName);
|
|
369
369
|
if (value !== undefined) {
|
|
370
370
|
yield value;
|
|
371
|
+
} else {
|
|
372
|
+
if (this._properties?.[propertyName] !== undefined) {
|
|
373
|
+
yield this._properties?.[propertyName];
|
|
374
|
+
}
|
|
371
375
|
}
|
|
372
376
|
|
|
373
377
|
for (const e of this.allExtends()) {
|