malinajs 0.6.54 → 0.6.55

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.
Files changed (3) hide show
  1. package/compile.js +1 -1
  2. package/malina.js +2 -2
  3. package/package.json +1 -1
package/compile.js CHANGED
@@ -5308,7 +5308,7 @@ function attachSlot(slotName, label, node) {
5308
5308
  ctx.build(n.placeholder);
5309
5309
  });
5310
5310
  ctx.write(true, '}');
5311
- } else if(hasDynProps && !this.config.immutable) ctx.write(`, 0`);
5311
+ } else if(hasDynProps && !this.config.immutable) ctx.write(`, null`);
5312
5312
  if(hasDynProps && !this.config.immutable) ctx.write(`, $runtime.$$compareDeep`);
5313
5313
  ctx.write(');\n');
5314
5314
  });
package/malina.js CHANGED
@@ -5309,7 +5309,7 @@
5309
5309
  ctx.build(n.placeholder);
5310
5310
  });
5311
5311
  ctx.write(true, '}');
5312
- } else if(hasDynProps && !this.config.immutable) ctx.write(`, 0`);
5312
+ } else if(hasDynProps && !this.config.immutable) ctx.write(`, null`);
5313
5313
  if(hasDynProps && !this.config.immutable) ctx.write(`, $runtime.$$compareDeep`);
5314
5314
  ctx.write(');\n');
5315
5315
  });
@@ -5888,7 +5888,7 @@
5888
5888
  return {event, fn};
5889
5889
  }
5890
5890
 
5891
- const version = '0.6.54';
5891
+ const version = '0.6.55';
5892
5892
 
5893
5893
 
5894
5894
  async function compile(source, config = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "malinajs",
3
- "version": "0.6.54",
3
+ "version": "0.6.55",
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "prepare": "npm run build",