@torpor/view 0.0.8 → 0.0.9

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @torpor/view
2
2
 
3
+ ## 0.0.9
4
+
5
+ ### Patch Changes
6
+
7
+ - 47c5277: Chore: update dependencies
8
+
3
9
  ## 0.0.8
4
10
 
5
11
  ### Patch Changes
package/dist/compile.cjs CHANGED
@@ -1710,12 +1710,7 @@ function buildSlotNode(node, status, b) {
1710
1710
  const slotParentName = node.parentName;
1711
1711
  const slotAnchorName = node.varName;
1712
1712
  b.append(`if ($slots && $slots["${slotName}"]) {`);
1713
- let params = [
1714
- slotParentName,
1715
- slotAnchorName,
1716
- slotHasProps ? propsName : "undefined",
1717
- status.contextProps.length ? "$context" : "undefined"
1718
- ];
1713
+ let params = [slotParentName, slotAnchorName, slotHasProps ? propsName : "undefined", "$context"];
1719
1714
  b.append(`$slots["${slotName}"](${params.join(", ")})`);
1720
1715
  const fill = node.children.find((c) => isSpecialNode(c) && c.tagName === ":fill");
1721
1716
  if (fill && isSpecialNode(fill) && fill.children.length) {