revojs 0.0.26 → 0.0.27

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 (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -377,7 +377,7 @@ const defineComponent = (options) => {
377
377
  return findParent(node.parentNode);
378
378
  }
379
379
  };
380
- const parentNode = findParent(this.host);
380
+ const parentNode = findParent(this.host?.parentNode);
381
381
  if (parentNode) this.scope.parentScope = parentNode.component.scope;
382
382
  return options.setup(this);
383
383
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revojs",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "type": "module",
5
5
  "repository": "coverbase/revojs",
6
6
  "license": "MIT",