marko 6.0.0-next.3.68 → 6.0.0-next.3.70
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/debug/dom.js +1 -1
- package/dist/debug/dom.mjs +1 -1
- package/dist/debug/html.js +390 -345
- package/dist/debug/html.mjs +389 -342
- package/dist/dom.js +1 -1
- package/dist/dom.mjs +1 -1
- package/dist/html/dynamic-tag.d.ts +2 -4
- package/dist/html/writer.d.ts +14 -12
- package/dist/html.d.ts +1 -1
- package/dist/html.js +220 -212
- package/dist/html.mjs +219 -209
- package/dist/translator/index.js +49 -211
- package/package.json +1 -1
package/dist/debug/dom.js
CHANGED
@@ -290,7 +290,7 @@ function init(runtimeId = DEFAULT_RUNTIME_ID) {
|
|
290
290
|
const branchEnd = (branchId, reference) => {
|
291
291
|
const branch = scopeLookup[branchId] ||= {};
|
292
292
|
let endNode = reference;
|
293
|
-
while (visitNodes.has(endNode = endNode.previousSibling)) ;
|
293
|
+
while (endNode.previousSibling !== branch.___startNode && visitNodes.has(endNode = endNode.previousSibling)) ;
|
294
294
|
if (endNode === lastEndNode) {
|
295
295
|
endNode = reference.parentNode.insertBefore(
|
296
296
|
new Text(),
|
package/dist/debug/dom.mjs
CHANGED
@@ -202,7 +202,7 @@ function init(runtimeId = DEFAULT_RUNTIME_ID) {
|
|
202
202
|
const branchEnd = (branchId, reference) => {
|
203
203
|
const branch = scopeLookup[branchId] ||= {};
|
204
204
|
let endNode = reference;
|
205
|
-
while (visitNodes.has(endNode = endNode.previousSibling)) ;
|
205
|
+
while (endNode.previousSibling !== branch.___startNode && visitNodes.has(endNode = endNode.previousSibling)) ;
|
206
206
|
if (endNode === lastEndNode) {
|
207
207
|
endNode = reference.parentNode.insertBefore(
|
208
208
|
new Text(),
|