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.
package/dist/tutuca.js CHANGED
@@ -7356,9 +7356,6 @@ class Renderer {
7356
7356
  this.comps = comps;
7357
7357
  this.cache = new WeakMapDomCache;
7358
7358
  }
7359
- getSeqInfo(seq) {
7360
- return isIndexed(seq) ? imIndexedIter : isKeyed(seq) ? imKeyedIter : seq?.[SEQ_INFO] ?? unkIter;
7361
- }
7362
7359
  renderTag(tag, attrs, childs) {
7363
7360
  return h(tag, attrs, childs);
7364
7361
  }
@@ -7416,7 +7413,7 @@ class Renderer {
7416
7413
  const { seq, filter, loopWith } = iterInfo.eval(stack);
7417
7414
  const r = [];
7418
7415
  const iterData = loopWith.call(stack.it, seq);
7419
- this.getSeqInfo(seq)(seq, (key, value, attrName) => {
7416
+ getSeqInfo(seq)(seq, (key, value, attrName) => {
7420
7417
  if (filter.call(stack.it, key, value, iterData)) {
7421
7418
  const dom = this.renderIt(stack.enter(value, { key }, true), nodeId, key, viewName);
7422
7419
  this.pushEachEntry(r, nodeId, attrName, key, dom);
@@ -7429,7 +7426,7 @@ class Renderer {
7429
7426
  const r = [];
7430
7427
  const it = stack.it;
7431
7428
  const iterData = loopWith.call(it, seq);
7432
- this.getSeqInfo(seq)(seq, (key, value, attrName) => {
7429
+ getSeqInfo(seq)(seq, (key, value, attrName) => {
7433
7430
  if (filter.call(it, key, value, iterData)) {
7434
7431
  const cachePath = enricher ? [it, value] : [value];
7435
7432
  const binds = { key, value };
@@ -7466,6 +7463,7 @@ class Renderer {
7466
7463
  return new VComment(`§${JSON.stringify(info)}§`);
7467
7464
  }
7468
7465
  }
7466
+ var getSeqInfo = (seq) => isIndexed(seq) ? imIndexedIter : isKeyed(seq) ? imKeyedIter : seq?.[SEQ_INFO] ?? unkIter;
7469
7467
  var imIndexedIter = (seq, visit) => {
7470
7468
  let i = 0;
7471
7469
  for (const v of seq)