@schukai/monster 3.42.0 → 3.42.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
CHANGED
|
@@ -614,6 +614,10 @@ function initAttributeChangeMutationObserver() {
|
|
|
614
614
|
if (self[attributeObserverSymbol] === undefined) {
|
|
615
615
|
self[attributeObserverSymbol] = {};
|
|
616
616
|
}
|
|
617
|
+
|
|
618
|
+
if(Object.keys(self[attributeObserverSymbol]).length === 0) {
|
|
619
|
+
return;
|
|
620
|
+
}
|
|
617
621
|
|
|
618
622
|
new MutationObserver(function (mutations) {
|
|
619
623
|
for (const mutation of mutations) {
|
package/source/types/version.mjs
CHANGED
package/test/cases/monster.mjs
CHANGED