@torpor/view 0.1.8 → 0.1.10

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@torpor/view",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "Torpor's view library, for writing and mounting components",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -160,7 +160,6 @@ function buildHeadNode(node: ElementNode, status: BuildStatus, b: Builder) {
160
160
  }
161
161
  }
162
162
  b.append(`
163
- return () => alert("YO");
164
163
  });`);
165
164
  }
166
165
 
@@ -14,7 +14,7 @@ export default function runLayoutSlot(
14
14
  $context?: Record<PropertyKey, any>,
15
15
  ): Range {
16
16
  const range = newRange();
17
- const oldRange = pushRange(range, true);
17
+ const oldRange = pushRange(range);
18
18
 
19
19
  component(parent, anchor, $props, $context, {
20
20
  _: slot,