@marko/translator-default 5.23.0 → 5.23.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/class.js +1 -1
  2. package/package.json +1 -1
package/dist/class.js CHANGED
@@ -29,7 +29,7 @@ function _default(path) {
29
29
  _compiler.types.assignmentExpression(
30
30
  "=",
31
31
  _compiler.types.memberExpression(_compiler.types.thisExpression(), prop.key, prop.computed),
32
- prop.value));
32
+ prop.value || _compiler.types.unaryExpression("void", _compiler.types.numericLiteral(0))));
33
33
 
34
34
 
35
35
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@marko/translator-default",
3
3
  "description": "Translates Marko templates to the default Marko runtime.",
4
- "version": "5.23.0",
4
+ "version": "5.23.1",
5
5
  "author": "Dylan Piercey <dpiercey@ebay.com>",
6
6
  "bugs": "https://github.com/marko-js/marko/issues/new?template=Bug_report.md",
7
7
  "dependencies": {