@schukai/monster 2.2.0 → 2.2.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": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "Monster is a simple library for creating fast, robust and lightweight websites.",
5
5
  "keywords": [
6
6
  "framework",
@@ -24,7 +24,7 @@ export {Datasource}
24
24
  * @license AGPLv3
25
25
  * @since 1.24.0
26
26
  */
27
- const internalDataSymbol = Symbol.for('@schukai/monster/data/datasource/data');
27
+ const internalDataSymbol = Symbol.for('@schukai/monster/data/datasource/@@data');
28
28
 
29
29
  /**
30
30
  * The datasource class is the basis for dealing with different data sources.
@@ -372,7 +372,7 @@ function retrieveFromBindings() {
372
372
  const self = this;
373
373
 
374
374
  if (self[internalSymbol].element.matches('[' + ATTRIBUTE_UPDATER_BIND + ']')) {
375
- retrieveAndSetValue.call(self, element)
375
+ retrieveAndSetValue.call(self, self[internalSymbol].element)
376
376
  }
377
377
 
378
378
  for (const [, element] of self[internalSymbol].element.querySelectorAll('[' + ATTRIBUTE_UPDATER_BIND + ']').entries()) {
@@ -149,7 +149,7 @@ function getMonsterVersion() {
149
149
  }
150
150
 
151
151
  /** don't touch, replaced by make with package.json version */
152
- monsterVersion = new Version('2.2.0')
152
+ monsterVersion = new Version('2.2.1')
153
153
 
154
154
  return monsterVersion;
155
155
 
@@ -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('2.2.0')
10
+ monsterVersion = new Version('2.2.1')
11
11
 
12
12
  let m = getMonsterVersion();
13
13