tutuca 0.9.52 → 0.9.53

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.
@@ -7836,9 +7836,6 @@ class Renderer {
7836
7836
  this.comps = comps;
7837
7837
  this.cache = new WeakMapDomCache;
7838
7838
  }
7839
- getSeqInfo(seq) {
7840
- return isIndexed(seq) ? imIndexedIter : isKeyed(seq) ? imKeyedIter : seq?.[SEQ_INFO] ?? unkIter;
7841
- }
7842
7839
  renderTag(tag, attrs, childs) {
7843
7840
  return h(tag, attrs, childs);
7844
7841
  }
@@ -7896,7 +7893,7 @@ class Renderer {
7896
7893
  const { seq, filter, loopWith } = iterInfo.eval(stack);
7897
7894
  const r = [];
7898
7895
  const iterData = loopWith.call(stack.it, seq);
7899
- this.getSeqInfo(seq)(seq, (key, value, attrName) => {
7896
+ getSeqInfo(seq)(seq, (key, value, attrName) => {
7900
7897
  if (filter.call(stack.it, key, value, iterData)) {
7901
7898
  const dom = this.renderIt(stack.enter(value, { key }, true), nodeId, key, viewName);
7902
7899
  this.pushEachEntry(r, nodeId, attrName, key, dom);
@@ -7909,7 +7906,7 @@ class Renderer {
7909
7906
  const r = [];
7910
7907
  const it = stack.it;
7911
7908
  const iterData = loopWith.call(it, seq);
7912
- this.getSeqInfo(seq)(seq, (key, value, attrName) => {
7909
+ getSeqInfo(seq)(seq, (key, value, attrName) => {
7913
7910
  if (filter.call(it, key, value, iterData)) {
7914
7911
  const cachePath = enricher ? [it, value] : [value];
7915
7912
  const binds = { key, value };
@@ -7946,6 +7943,7 @@ class Renderer {
7946
7943
  return new VComment(`§${JSON.stringify(info)}§`);
7947
7944
  }
7948
7945
  }
7946
+ var getSeqInfo = (seq) => isIndexed(seq) ? imIndexedIter : isKeyed(seq) ? imKeyedIter : seq?.[SEQ_INFO] ?? unkIter;
7949
7947
  var imIndexedIter = (seq, visit) => {
7950
7948
  let i = 0;
7951
7949
  for (const v of seq)