revojs 0.0.17 → 0.0.18

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
@@ -315,7 +315,7 @@ const renderToNode = async (scope, slot) => {
315
315
  const children = await Promise.all(slot.map((child) => renderToNode(scope, child)));
316
316
  return toFragment(children);
317
317
  }
318
- return document.createComment("");
318
+ return document.createDocumentFragment();
319
319
  }
320
320
  if (isTemplate(slot)) {
321
321
  const element = document.createElementNS(namespace(slot.tag), slot.tag);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revojs",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "type": "module",
5
5
  "repository": "coverbase/revojs",
6
6
  "license": "MIT",