marko 6.0.34 → 6.0.35
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 +6 -2
- package/package.json +1 -1
package/dist/translator/index.js
CHANGED
@@ -4474,8 +4474,12 @@ function createBinding(name2, type, section, upstreamAlias, property, excludePro
|
|
4474
4474
|
function trackVarReferences(tag, type, upstreamAlias) {
|
4475
4475
|
const tagVar = tag.node.var;
|
4476
4476
|
if (tagVar) {
|
4477
|
-
|
4477
|
+
let canonicalUpstreamAlias = getCanonicalBinding(upstreamAlias);
|
4478
4478
|
if (canonicalUpstreamAlias) {
|
4479
|
+
const { excludeProperties } = canonicalUpstreamAlias;
|
4480
|
+
if (excludeProperties !== void 0) {
|
4481
|
+
canonicalUpstreamAlias = canonicalUpstreamAlias.upstreamAlias;
|
4482
|
+
}
|
4479
4483
|
createBindingsAndTrackReferences(
|
4480
4484
|
tagVar,
|
4481
4485
|
canonicalUpstreamAlias.type,
|
@@ -4483,7 +4487,7 @@ function trackVarReferences(tag, type, upstreamAlias) {
|
|
4483
4487
|
canonicalUpstreamAlias.section,
|
4484
4488
|
canonicalUpstreamAlias,
|
4485
4489
|
void 0,
|
4486
|
-
|
4490
|
+
excludeProperties
|
4487
4491
|
);
|
4488
4492
|
return canonicalUpstreamAlias;
|
4489
4493
|
}
|