svelte 5.43.1 → 5.43.2
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
|
@@ -105,7 +105,7 @@ export function process_children(nodes, initial, is_element, context) {
|
|
|
105
105
|
is_element &&
|
|
106
106
|
// In case it's wrapped in async the async logic will want to skip sibling nodes up until the end, hence we cannot make this controlled
|
|
107
107
|
// TODO switch this around and instead optimize for elements with a single block child and not require extra comments (neither for async nor normally)
|
|
108
|
-
!(node.body.metadata.has_await || node.metadata.expression.
|
|
108
|
+
!(node.body.metadata.has_await || node.metadata.expression.is_async())
|
|
109
109
|
) {
|
|
110
110
|
node.metadata.is_controlled = true;
|
|
111
111
|
} else {
|
package/src/version.js
CHANGED