@marko/runtime-tags 6.0.99 → 6.0.100
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/dist/translator/index.js +7 -2
- package/package.json +1 -1
package/dist/translator/index.js
CHANGED
|
@@ -8484,6 +8484,8 @@ function resolveBindingSources(binding) {
|
|
|
8484
8484
|
binding.sources = aliasRoot2.sources;
|
|
8485
8485
|
} else if (binding.assignmentSections) {
|
|
8486
8486
|
binding.sources = createSources(binding, void 0);
|
|
8487
|
+
} else {
|
|
8488
|
+
resolveDerivedSources(binding);
|
|
8487
8489
|
}
|
|
8488
8490
|
return;
|
|
8489
8491
|
}
|
|
@@ -9227,7 +9229,7 @@ var const_default = {
|
|
|
9227
9229
|
}
|
|
9228
9230
|
}
|
|
9229
9231
|
if (!valueExtra.nullable) binding.nullable = false;
|
|
9230
|
-
setBindingDownstream(binding, valueExtra);
|
|
9232
|
+
if (!upstreamAlias) setBindingDownstream(binding, valueExtra);
|
|
9231
9233
|
}
|
|
9232
9234
|
},
|
|
9233
9235
|
translate: {
|
|
@@ -10830,17 +10832,20 @@ var let_default = {
|
|
|
10830
10832
|
}
|
|
10831
10833
|
const tagSection = getOrCreateSection(tag);
|
|
10832
10834
|
const binding = trackVarReferences(tag, 1 /* let */);
|
|
10833
|
-
mergeReferences(tagSection, tag.node, [
|
|
10835
|
+
const tagExtra = mergeReferences(tagSection, tag.node, [
|
|
10834
10836
|
valueAttr?.value,
|
|
10835
10837
|
valueChangeAttr?.value
|
|
10836
10838
|
]);
|
|
10837
10839
|
if (valueChangeAttr) {
|
|
10840
|
+
setBindingDownstream(binding, tagExtra);
|
|
10838
10841
|
addSerializeReason(
|
|
10839
10842
|
tagSection,
|
|
10840
10843
|
true,
|
|
10841
10844
|
binding,
|
|
10842
10845
|
getAccessorPrefix().TagVariableChange
|
|
10843
10846
|
);
|
|
10847
|
+
} else {
|
|
10848
|
+
setBindingDownstream(binding, false);
|
|
10844
10849
|
}
|
|
10845
10850
|
},
|
|
10846
10851
|
translate: {
|