marko 5.31.14 → 5.31.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -320,7 +320,7 @@ module.exports = function defineWidget(def, renderer) {
320
320
  template = req(template);
321
321
  }
322
322
 
323
- registry.r(template.Q_, function () {
323
+ registry.r((template.default || template).Q_, function () {
324
324
  return Component;
325
325
  });
326
326
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marko",
3
- "version": "5.31.14",
3
+ "version": "5.31.15",
4
4
  "description": "UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.",
5
5
  "keywords": [
6
6
  "front-end",
@@ -64,8 +64,8 @@
64
64
  "build": "babel ./src --out-dir ./dist --delete-dir-on-start --copy-files --config-file ../../babel.config.js --env-name=production"
65
65
  },
66
66
  "dependencies": {
67
- "@marko/compiler": "^5.33.4",
68
- "@marko/translator-default": "^5.31.4",
67
+ "@marko/compiler": "^5.33.5",
68
+ "@marko/translator-default": "^5.31.5",
69
69
  "app-module-path": "^2.2.0",
70
70
  "argly": "^1.2.0",
71
71
  "browser-refresh-client": "1.1.4",
@@ -320,7 +320,7 @@ module.exports = function defineWidget(def, renderer) {
320
320
  template = req(template);
321
321
  }
322
322
 
323
- registry.r(template.___typeName, function () {
323
+ registry.r((template.default || template).___typeName, function () {
324
324
  return Component;
325
325
  });
326
326
  }