marko 6.0.0-next.3.60 → 6.0.0-next.3.62

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/html.js CHANGED
@@ -1084,7 +1084,7 @@ function withContext(key, value, cb) {
1084
1084
  }
1085
1085
  }
1086
1086
  function setTagVar(parentScopeId, scopeOffsetAccessor, childScope, registryId) {
1087
- ensureScopeWithId(parentScopeId)[scopeOffsetAccessor] = nextScopeId(), childScope["/" /* TagVariable */] = register2(
1087
+ ensureScopeWithId(parentScopeId)[scopeOffsetAccessor] = nextScopeId(), childScope.e = register2(
1088
1088
  {},
1089
1089
  registryId,
1090
1090
  parentScopeId
@@ -1256,7 +1256,7 @@ function fork(scopeId, accessor, promise, content) {
1256
1256
  $chunk.writeHTML(
1257
1257
  $chunk.boundary.state.mark("[" /* BranchStart */, branchId + "")
1258
1258
  ), content(promise), writeScope(scopeId, {
1259
- [accessor + "!" /* ConditionalScope */]: writeScope(branchId, {})
1259
+ ["d" /* ConditionalScope */ + accessor]: writeScope(branchId, {})
1260
1260
  }), $chunk.writeHTML(
1261
1261
  $chunk.boundary.state.mark(
1262
1262
  "]" /* BranchEnd */,
@@ -1278,7 +1278,7 @@ function fork(scopeId, accessor, promise, content) {
1278
1278
  ), content(value), boundary.state.serializer.writeAssign(
1279
1279
  writeScope(branchId, {}),
1280
1280
  ensureScopeWithId(scopeId),
1281
- accessor + "!" /* ConditionalScope */
1281
+ "d" /* ConditionalScope */ + accessor
1282
1282
  ), $chunk.writeHTML(
1283
1283
  $chunk.boundary.state.mark(
1284
1284
  "]" /* BranchEnd */,
@@ -1302,11 +1302,11 @@ function tryContent(scopeId, accessor, content, input) {
1302
1302
  placeholderContent ? () => tryPlaceholder(content, placeholderContent) : content,
1303
1303
  catchContent
1304
1304
  ) : placeholderContent ? tryPlaceholder(content, placeholderContent) : content(), writeScope(branchId, {
1305
- "*": accessor,
1306
- "^": catchContent,
1307
- "%": placeholderContent
1305
+ a: accessor,
1306
+ b: catchContent,
1307
+ d: placeholderContent
1308
1308
  }), writeScope(scopeId, {
1309
- [accessor + "!" /* ConditionalScope */]: getScopeById(branchId)
1309
+ ["d" /* ConditionalScope */ + accessor]: getScopeById(branchId)
1310
1310
  }), $chunk.writeHTML(
1311
1311
  $chunk.boundary.state.mark(
1312
1312
  "]" /* BranchEnd */,
@@ -1703,7 +1703,7 @@ function attrs(data, nodeAccessor, scopeId, tagName) {
1703
1703
  break;
1704
1704
  default:
1705
1705
  isVoid(value) || (isEventHandler(name) ? (events || (events = {}, writeScope(scopeId, {
1706
- [nodeAccessor + "~" /* EventAttributes */]: events
1706
+ ["i" /* EventAttributes */ + nodeAccessor]: events
1707
1707
  })), events[getEventHandlerName(name)] = value) : skip.test(name) || (result += nonVoidAttr(name, value)));
1708
1708
  break;
1709
1709
  }
@@ -1718,9 +1718,9 @@ function partialAttrs(data, skip, nodeAccessor, scopeId, tagName) {
1718
1718
  }
1719
1719
  function writeControlledScope(type, scopeId, nodeAccessor, value, valueChange) {
1720
1720
  writeScope(scopeId, {
1721
- [nodeAccessor + "=" /* ControlledType */]: type,
1722
- [nodeAccessor + ":" /* ControlledValue */]: value,
1723
- [nodeAccessor + ";" /* ControlledHandler */]: valueChange
1721
+ ["f" /* ControlledType */ + nodeAccessor]: type,
1722
+ ["g" /* ControlledValue */ + nodeAccessor]: value,
1723
+ ["e" /* ControlledHandler */ + nodeAccessor]: valueChange
1724
1724
  });
1725
1725
  }
1726
1726
  function stringAttr(name, value) {
@@ -1774,7 +1774,7 @@ var DEFAULT_RUNTIME_ID = "M", DEFAULT_RENDER_ID = "_";
1774
1774
  var voidElementsReg = /^(?:area|b(?:ase|r)|col|embed|hr|i(?:mg|nput)|link|meta|param|source|track|wbr)$/;
1775
1775
  function dynamicTagId(tagName) {
1776
1776
  let normalizedRenderer = normalizeDynamicRenderer(tagName);
1777
- return normalizedRenderer?.a || normalizedRenderer;
1777
+ return normalizedRenderer?.g || normalizedRenderer;
1778
1778
  }
1779
1779
  var dynamicTagInput = (scopeId, accessor, tag, input, content) => {
1780
1780
  if (!tag && !content) {
@@ -1847,7 +1847,7 @@ var dynamicTagInput = (scopeId, accessor, tag, input, content) => {
1847
1847
  ), result;
1848
1848
  };
1849
1849
  function createContent(id, fn) {
1850
- return fn.a = id, fn;
1850
+ return fn.g = id, fn;
1851
1851
  }
1852
1852
  function registerContent(id, fn, scopeId) {
1853
1853
  return register2(createContent(id, fn), id, scopeId);
@@ -1874,7 +1874,7 @@ var K_TAGS_API_STATE = Symbol(), COMPAT_REGISTRY = /* @__PURE__ */ new WeakMap()
1874
1874
  writeScript,
1875
1875
  nextScopeId,
1876
1876
  isTagsAPI(fn) {
1877
- return !!fn.a;
1877
+ return !!fn.g;
1878
1878
  },
1879
1879
  patchDynamicTag,
1880
1880
  writeSetScopeForComponent(m5c) {
package/dist/html.mjs CHANGED
@@ -1003,7 +1003,7 @@ function withContext(key, value, cb) {
1003
1003
  }
1004
1004
  }
1005
1005
  function setTagVar(parentScopeId, scopeOffsetAccessor, childScope, registryId) {
1006
- ensureScopeWithId(parentScopeId)[scopeOffsetAccessor] = nextScopeId(), childScope["/" /* TagVariable */] = register2(
1006
+ ensureScopeWithId(parentScopeId)[scopeOffsetAccessor] = nextScopeId(), childScope.e = register2(
1007
1007
  {},
1008
1008
  registryId,
1009
1009
  parentScopeId
@@ -1175,7 +1175,7 @@ function fork(scopeId, accessor, promise, content) {
1175
1175
  $chunk.writeHTML(
1176
1176
  $chunk.boundary.state.mark("[" /* BranchStart */, branchId + "")
1177
1177
  ), content(promise), writeScope(scopeId, {
1178
- [accessor + "!" /* ConditionalScope */]: writeScope(branchId, {})
1178
+ ["d" /* ConditionalScope */ + accessor]: writeScope(branchId, {})
1179
1179
  }), $chunk.writeHTML(
1180
1180
  $chunk.boundary.state.mark(
1181
1181
  "]" /* BranchEnd */,
@@ -1197,7 +1197,7 @@ function fork(scopeId, accessor, promise, content) {
1197
1197
  ), content(value), boundary.state.serializer.writeAssign(
1198
1198
  writeScope(branchId, {}),
1199
1199
  ensureScopeWithId(scopeId),
1200
- accessor + "!" /* ConditionalScope */
1200
+ "d" /* ConditionalScope */ + accessor
1201
1201
  ), $chunk.writeHTML(
1202
1202
  $chunk.boundary.state.mark(
1203
1203
  "]" /* BranchEnd */,
@@ -1221,11 +1221,11 @@ function tryContent(scopeId, accessor, content, input) {
1221
1221
  placeholderContent ? () => tryPlaceholder(content, placeholderContent) : content,
1222
1222
  catchContent
1223
1223
  ) : placeholderContent ? tryPlaceholder(content, placeholderContent) : content(), writeScope(branchId, {
1224
- "*": accessor,
1225
- "^": catchContent,
1226
- "%": placeholderContent
1224
+ a: accessor,
1225
+ b: catchContent,
1226
+ d: placeholderContent
1227
1227
  }), writeScope(scopeId, {
1228
- [accessor + "!" /* ConditionalScope */]: getScopeById(branchId)
1228
+ ["d" /* ConditionalScope */ + accessor]: getScopeById(branchId)
1229
1229
  }), $chunk.writeHTML(
1230
1230
  $chunk.boundary.state.mark(
1231
1231
  "]" /* BranchEnd */,
@@ -1622,7 +1622,7 @@ function attrs(data, nodeAccessor, scopeId, tagName) {
1622
1622
  break;
1623
1623
  default:
1624
1624
  isVoid(value) || (isEventHandler(name) ? (events || (events = {}, writeScope(scopeId, {
1625
- [nodeAccessor + "~" /* EventAttributes */]: events
1625
+ ["i" /* EventAttributes */ + nodeAccessor]: events
1626
1626
  })), events[getEventHandlerName(name)] = value) : skip.test(name) || (result += nonVoidAttr(name, value)));
1627
1627
  break;
1628
1628
  }
@@ -1637,9 +1637,9 @@ function partialAttrs(data, skip, nodeAccessor, scopeId, tagName) {
1637
1637
  }
1638
1638
  function writeControlledScope(type, scopeId, nodeAccessor, value, valueChange) {
1639
1639
  writeScope(scopeId, {
1640
- [nodeAccessor + "=" /* ControlledType */]: type,
1641
- [nodeAccessor + ":" /* ControlledValue */]: value,
1642
- [nodeAccessor + ";" /* ControlledHandler */]: valueChange
1640
+ ["f" /* ControlledType */ + nodeAccessor]: type,
1641
+ ["g" /* ControlledValue */ + nodeAccessor]: value,
1642
+ ["e" /* ControlledHandler */ + nodeAccessor]: valueChange
1643
1643
  });
1644
1644
  }
1645
1645
  function stringAttr(name, value) {
@@ -1693,7 +1693,7 @@ var DEFAULT_RUNTIME_ID = "M", DEFAULT_RENDER_ID = "_";
1693
1693
  var voidElementsReg = /^(?:area|b(?:ase|r)|col|embed|hr|i(?:mg|nput)|link|meta|param|source|track|wbr)$/;
1694
1694
  function dynamicTagId(tagName) {
1695
1695
  let normalizedRenderer = normalizeDynamicRenderer(tagName);
1696
- return normalizedRenderer?.a || normalizedRenderer;
1696
+ return normalizedRenderer?.g || normalizedRenderer;
1697
1697
  }
1698
1698
  var dynamicTagInput = (scopeId, accessor, tag, input, content) => {
1699
1699
  if (!tag && !content) {
@@ -1766,7 +1766,7 @@ var dynamicTagInput = (scopeId, accessor, tag, input, content) => {
1766
1766
  ), result;
1767
1767
  };
1768
1768
  function createContent(id, fn) {
1769
- return fn.a = id, fn;
1769
+ return fn.g = id, fn;
1770
1770
  }
1771
1771
  function registerContent(id, fn, scopeId) {
1772
1772
  return register2(createContent(id, fn), id, scopeId);
@@ -1793,7 +1793,7 @@ var K_TAGS_API_STATE = Symbol(), COMPAT_REGISTRY = /* @__PURE__ */ new WeakMap()
1793
1793
  writeScript,
1794
1794
  nextScopeId,
1795
1795
  isTagsAPI(fn) {
1796
- return !!fn.a;
1796
+ return !!fn.g;
1797
1797
  },
1798
1798
  patchDynamicTag,
1799
1799
  writeSetScopeForComponent(m5c) {
@@ -112,6 +112,35 @@ var attrs_default = {
112
112
  var import_compiler23 = require("@marko/compiler");
113
113
  var import_babel_utils12 = require("@marko/compiler/babel-utils");
114
114
 
115
+ // src/common/accessor.debug.ts
116
+ var AccessorPrefix = /* @__PURE__ */ ((AccessorPrefix3) => {
117
+ AccessorPrefix3["ClosureScopes"] = "ClosureScopes:";
118
+ AccessorPrefix3["ClosureSignalIndex"] = "ClosureSignalIndex:";
119
+ AccessorPrefix3["ConditionalRenderer"] = "ConditionalRenderer:";
120
+ AccessorPrefix3["ConditionalScope"] = "ConditionalScope:";
121
+ AccessorPrefix3["ControlledHandler"] = "ControlledHandler:";
122
+ AccessorPrefix3["ControlledType"] = "ControlledType:";
123
+ AccessorPrefix3["ControlledValue"] = "ControlledValue:";
124
+ AccessorPrefix3["DynamicPlaceholderLastChild"] = "DynamicPlaceholderLastChild:";
125
+ AccessorPrefix3["EventAttributes"] = "EventAttributes:";
126
+ AccessorPrefix3["Getter"] = "Getter:";
127
+ AccessorPrefix3["LifecycleAbortController"] = "LifecycleAbortController:";
128
+ AccessorPrefix3["LoopScopeArray"] = "LoopScopeArray:";
129
+ AccessorPrefix3["LoopScopeMap"] = "LoopScopeMap:";
130
+ AccessorPrefix3["Promise"] = "Promise:";
131
+ AccessorPrefix3["TagVariableChange"] = "TagVariableChange:";
132
+ return AccessorPrefix3;
133
+ })(AccessorPrefix || {});
134
+ var AccessorProp = /* @__PURE__ */ ((AccessorProp3) => {
135
+ AccessorProp3["BranchAccessor"] = "#BranchAccessor";
136
+ AccessorProp3["CatchContent"] = "#CatchContent";
137
+ AccessorProp3["PlaceholderBranch"] = "#PlaceholderBranch";
138
+ AccessorProp3["PlaceholderContent"] = "#PlaceholderContent";
139
+ AccessorProp3["TagVariable"] = "#TagVariable";
140
+ AccessorProp3["TagVariableChange"] = "#TagVariableChange";
141
+ return AccessorProp3;
142
+ })(AccessorProp || {});
143
+
115
144
  // src/translator/util/evaluate.ts
116
145
  var import_babel_utils2 = require("@marko/compiler/babel-utils");
117
146
  function evaluate(value) {
@@ -1397,6 +1426,43 @@ var import_babel_utils9 = require("@marko/compiler/babel-utils");
1397
1426
  var import_compiler11 = require("@marko/compiler");
1398
1427
  var import_babel_utils8 = require("@marko/compiler/babel-utils");
1399
1428
 
1429
+ // src/common/accessor.ts
1430
+ var AccessorPrefix2 = /* @__PURE__ */ ((AccessorPrefix3) => {
1431
+ AccessorPrefix3["ClosureScopes"] = "a";
1432
+ AccessorPrefix3["ClosureSignalIndex"] = "b";
1433
+ AccessorPrefix3["ConditionalRenderer"] = "c";
1434
+ AccessorPrefix3["ConditionalScope"] = "d";
1435
+ AccessorPrefix3["ControlledHandler"] = "e";
1436
+ AccessorPrefix3["ControlledType"] = "f";
1437
+ AccessorPrefix3["ControlledValue"] = "g";
1438
+ AccessorPrefix3["DynamicPlaceholderLastChild"] = "h";
1439
+ AccessorPrefix3["EventAttributes"] = "i";
1440
+ AccessorPrefix3["Getter"] = "j";
1441
+ AccessorPrefix3["LifecycleAbortController"] = "k";
1442
+ AccessorPrefix3["LoopScopeArray"] = "l";
1443
+ AccessorPrefix3["LoopScopeMap"] = "m";
1444
+ AccessorPrefix3["Promise"] = "n";
1445
+ AccessorPrefix3["TagVariableChange"] = "o";
1446
+ return AccessorPrefix3;
1447
+ })(AccessorPrefix2 || {});
1448
+ var AccessorProp2 = /* @__PURE__ */ ((AccessorProp3) => {
1449
+ AccessorProp3["BranchAccessor"] = "a";
1450
+ AccessorProp3["CatchContent"] = "b";
1451
+ AccessorProp3["PlaceholderBranch"] = "c";
1452
+ AccessorProp3["PlaceholderContent"] = "d";
1453
+ AccessorProp3["TagVariable"] = "e";
1454
+ AccessorProp3["TagVariableChange"] = "f";
1455
+ return AccessorProp3;
1456
+ })(AccessorProp2 || {});
1457
+
1458
+ // src/translator/util/get-accessor-char.ts
1459
+ function getAccessorPrefix() {
1460
+ return isOptimize() ? AccessorPrefix2 : AccessorPrefix;
1461
+ }
1462
+ function getAccessorProp() {
1463
+ return isOptimize() ? AccessorProp2 : AccessorProp;
1464
+ }
1465
+
1400
1466
  // src/translator/util/get-known-attr-values.ts
1401
1467
  function getKnownAttrValues(tag) {
1402
1468
  const attrs2 = {};
@@ -1809,7 +1875,7 @@ var return_default = {
1809
1875
  if (attrs2.valueChange) {
1810
1876
  setSerializedProperty(
1811
1877
  section,
1812
- "@" /* TagVariableChange */,
1878
+ getAccessorProp().TagVariableChange,
1813
1879
  attrs2.valueChange
1814
1880
  );
1815
1881
  }
@@ -2502,7 +2568,9 @@ function writeSignals(section) {
2502
2568
  forEach(section.hoisted, (binding) => {
2503
2569
  for (const hoistedBinding of binding.hoists.values()) {
2504
2570
  const accessors = [
2505
- binding.type === 0 /* dom */ ? import_compiler17.types.stringLiteral(getScopeAccessor(binding) + ">" /* Getter */) : getScopeAccessorLiteral(binding)
2571
+ binding.type === 0 /* dom */ ? import_compiler17.types.stringLiteral(
2572
+ getAccessorPrefix().Getter + getScopeAccessor(binding)
2573
+ ) : getScopeAccessorLiteral(binding)
2506
2574
  ];
2507
2575
  let currentSection = section;
2508
2576
  while (currentSection && currentSection !== hoistedBinding.section) {
@@ -2720,13 +2788,13 @@ function writeHTMLResumeStatements(path5) {
2720
2788
  );
2721
2789
  setSerializedProperty(
2722
2790
  closure.section,
2723
- getScopeAccessor(closure) + "!" /* ClosureScopes */,
2791
+ getAccessorPrefix().ClosureScopes + getScopeAccessor(closure),
2724
2792
  identifier
2725
2793
  );
2726
2794
  }
2727
2795
  setSerializedProperty(
2728
2796
  section,
2729
- getScopeAccessor(closure) + "(" /* ClosureSignalIndex */,
2797
+ getAccessorPrefix().ClosureSignalIndex + getScopeAccessor(closure),
2730
2798
  import_compiler17.types.numericLiteral(getDynamicClosureIndex(closure, section))
2731
2799
  );
2732
2800
  addWriteScopeBuilder(
@@ -4179,7 +4247,7 @@ function getScopeAccessor(binding, includeId) {
4179
4247
  return binding.name + (includeId || binding.type === 0 /* dom */ ? `/${binding.id}` : "");
4180
4248
  }
4181
4249
  function getSectionInstancesAccessor(section) {
4182
- return section.sectionAccessor ? getScopeAccessor(section.sectionAccessor.binding) + section.sectionAccessor.suffix : section.id + "!" /* ClosureScopes */;
4250
+ return section.sectionAccessor ? section.sectionAccessor.prefix + getScopeAccessor(section.sectionAccessor.binding) : getAccessorPrefix().ClosureScopes + section.id;
4183
4251
  }
4184
4252
  function getSectionInstancesAccessorLiteral(section) {
4185
4253
  const accessor = getSectionInstancesAccessor(section);
@@ -5021,7 +5089,7 @@ var native_tag_default = {
5021
5089
  "nodeRef",
5022
5090
  import_compiler29.types.stringLiteral(getterId),
5023
5091
  import_compiler29.types.stringLiteral(
5024
- getScopeAccessorLiteral(nodeRef2).value + ">" /* Getter */
5092
+ getAccessorPrefix().Getter + getScopeAccessorLiteral(nodeRef2).value
5025
5093
  )
5026
5094
  )
5027
5095
  )
@@ -5049,7 +5117,7 @@ var native_tag_default = {
5049
5117
  import_compiler29.types.memberExpression(
5050
5118
  getScopeExpression(section, referenceSection),
5051
5119
  import_compiler29.types.stringLiteral(
5052
- getScopeAccessorLiteral(nodeRef2).value + ">" /* Getter */
5120
+ getAccessorPrefix().Getter + getScopeAccessorLiteral(nodeRef2).value
5053
5121
  ),
5054
5122
  true
5055
5123
  )
@@ -5508,7 +5576,7 @@ var for_default = {
5508
5576
  mergeReferences(section, tag.node, getAllTagReferenceNodes(tag.node));
5509
5577
  bodySection.sectionAccessor = {
5510
5578
  binding: getOptimizedOnlyChildNodeRef(tag, section),
5511
- suffix: "(" /* LoopScopeMap */
5579
+ prefix: getAccessorPrefix().LoopScopeMap
5512
5580
  };
5513
5581
  bodySection.upstreamExpression = tagExtra;
5514
5582
  bodySection.isBranch = true;
@@ -5630,7 +5698,7 @@ var for_default = {
5630
5698
  }
5631
5699
  setSerializedProperty(
5632
5700
  tagSection,
5633
- getScopeAccessor(nodeRef2) + "(" /* LoopScopeMap */,
5701
+ getAccessorPrefix().LoopScopeMap + getScopeAccessor(nodeRef2),
5634
5702
  import_compiler31.types.conditionalExpression(
5635
5703
  import_compiler31.types.memberExpression(forScopesIdentifier, import_compiler31.types.identifier("size")),
5636
5704
  forScopesIdentifier,
@@ -7387,7 +7455,7 @@ var IfTag = {
7387
7455
  section,
7388
7456
  branches.length
7389
7457
  ),
7390
- suffix: "!" /* ConditionalScope */
7458
+ prefix: getAccessorPrefix().ConditionalScope
7391
7459
  };
7392
7460
  rootExtra.singleNodeOptimization = singleNodeOptimization;
7393
7461
  }
@@ -7485,7 +7553,7 @@ var IfTag = {
7485
7553
  if (isStateful) {
7486
7554
  setSerializedProperty(
7487
7555
  section,
7488
- getScopeAccessor(nodeRef2) + "(" /* ConditionalRenderer */,
7556
+ getAccessorPrefix().ConditionalRenderer + getScopeAccessor(nodeRef2),
7489
7557
  ifBranchIdentifier
7490
7558
  );
7491
7559
  const cbNode = import_compiler40.types.arrowFunctionExpression(
@@ -7519,7 +7587,7 @@ var IfTag = {
7519
7587
  );
7520
7588
  setSerializedProperty(
7521
7589
  section,
7522
- getScopeAccessor(nodeRef2) + "!" /* ConditionalScope */,
7590
+ getAccessorPrefix().ConditionalScope + getScopeAccessor(nodeRef2),
7523
7591
  callRuntime("getScopeById", ifScopeIdIdentifier)
7524
7592
  );
7525
7593
  } else {
@@ -7807,7 +7875,7 @@ var let_default = {
7807
7875
  if (valueChangeAttr) {
7808
7876
  setSerializedProperty(
7809
7877
  section,
7810
- getScopeAccessor(binding) + "@" /* TagVariableChange */,
7878
+ getAccessorPrefix().TagVariableChange + getScopeAccessor(binding),
7811
7879
  valueChangeAttr.value
7812
7880
  );
7813
7881
  }
@@ -9703,12 +9771,12 @@ var dynamic_tag_default = {
9703
9771
  }
9704
9772
  setSerializedProperty(
9705
9773
  section,
9706
- getScopeAccessor(nodeRef2) + "!" /* ConditionalScope */,
9774
+ getAccessorPrefix().ConditionalScope + getScopeAccessor(nodeRef2),
9707
9775
  callRuntime("writeExistingScope", dynamicScopeIdentifier)
9708
9776
  );
9709
9777
  setSerializedProperty(
9710
9778
  section,
9711
- getScopeAccessor(nodeRef2) + "(" /* ConditionalRenderer */,
9779
+ getAccessorPrefix().ConditionalRenderer + getScopeAccessor(nodeRef2),
9712
9780
  callRuntime(
9713
9781
  "dynamicTagId",
9714
9782
  import_compiler54.types.isIdentifier(tagExpression) ? import_compiler54.types.identifier(tagExpression.name) : tagExpression
@@ -9733,7 +9801,7 @@ var dynamic_tag_default = {
9733
9801
  import_compiler54.types.memberExpression(
9734
9802
  getScopeExpression(tagVarSignal.section, valueSection),
9735
9803
  import_compiler54.types.stringLiteral(
9736
- getScopeAccessor(nodeRef2) + "!" /* ConditionalScope */
9804
+ getAccessorPrefix().ConditionalScope + getScopeAccessor(nodeRef2)
9737
9805
  ),
9738
9806
  true
9739
9807
  ),
@@ -0,0 +1,4 @@
1
+ import { AccessorPrefix as ProductionAccessorPrefix, AccessorProp as ProductionAccessorProp } from "../../common/accessor";
2
+ import { AccessorPrefix as DebugAccessorPrefix, AccessorProp as DebugAccessorProp } from "../../common/accessor.debug";
3
+ export declare function getAccessorPrefix(): typeof DebugAccessorPrefix | typeof ProductionAccessorPrefix;
4
+ export declare function getAccessorProp(): typeof DebugAccessorProp | typeof ProductionAccessorProp;
@@ -16,7 +16,7 @@ export interface Section {
16
16
  parent: Section | undefined;
17
17
  sectionAccessor: {
18
18
  binding: Binding;
19
- suffix: string;
19
+ prefix: string;
20
20
  } | undefined;
21
21
  params: undefined | Binding;
22
22
  referencedClosures: ReferencedBindings;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marko",
3
- "version": "6.0.0-next.3.60",
3
+ "version": "6.0.0-next.3.62",
4
4
  "description": "Optimized runtime for Marko templates.",
5
5
  "keywords": [
6
6
  "api",