@schukai/monster 3.28.0 → 3.29.0

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.28.0",
3
+ "version": "3.29.0",
4
4
  "description": "Monster is a simple library for creating fast, robust and lightweight websites.",
5
5
  "keywords": [
6
6
  "framework",
@@ -33,9 +33,11 @@ function fireEvent(element, type) {
33
33
  return;
34
34
  }
35
35
 
36
+ // https://developer.mozilla.org/en-US/docs/Web/API/Event/Event
36
37
  let event = new Event(validateString(type), {
37
38
  bubbles: true,
38
39
  cancelable: true,
40
+ composed: true,
39
41
  });
40
42
 
41
43
  element.dispatchEvent(event);
@@ -72,6 +74,7 @@ function fireCustomEvent(element, type, detail) {
72
74
  let event = new CustomEvent(validateString(type), {
73
75
  bubbles: true,
74
76
  cancelable: true,
77
+ composed: true,
75
78
  detail,
76
79
  });
77
80
 
@@ -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.28.0");
145
+ monsterVersion = new Version("3.29.0");
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.28.0")
10
+ monsterVersion = new Version("3.29.0")
11
11
 
12
12
  let m = getMonsterVersion();
13
13