@schukai/monster 3.42.0 → 3.42.1

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schukai/monster",
3
- "version": "3.42.0",
3
+ "version": "3.42.1",
4
4
  "description": "Monster is a simple library for creating fast, robust and lightweight websites.",
5
5
  "keywords": [
6
6
  "framework",
@@ -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) {
@@ -142,7 +142,7 @@ function getMonsterVersion() {
142
142
  }
143
143
 
144
144
  /** don't touch, replaced by make with package.json version */
145
- monsterVersion = new Version("3.42.0");
145
+ monsterVersion = new Version("3.42.1");
146
146
 
147
147
  return monsterVersion;
148
148
  }
@@ -7,7 +7,7 @@ describe('Monster', function () {
7
7
  let monsterVersion
8
8
 
9
9
  /** don´t touch, replaced by make with package.json version */
10
- monsterVersion = new Version("3.42.0")
10
+ monsterVersion = new Version("3.42.1")
11
11
 
12
12
  let m = getMonsterVersion();
13
13