marko 6.0.65 → 6.0.66
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/html.js +18 -13
- package/dist/debug/html.mjs +18 -13
- package/dist/html.js +6 -4
- package/dist/html.mjs +6 -4
- package/package.json +1 -1
package/dist/debug/html.js
CHANGED
@@ -3346,19 +3346,24 @@ var compat = {
|
|
3346
3346
|
} else {
|
3347
3347
|
renderer(normalizedInput);
|
3348
3348
|
}
|
3349
|
-
const asyncOut = classAPIOut.beginAsync();
|
3350
|
-
|
3351
|
-
|
3352
|
-
|
3353
|
-
|
3354
|
-
|
3355
|
-
|
3356
|
-
|
3357
|
-
|
3358
|
-
|
3359
|
-
|
3360
|
-
|
3361
|
-
|
3349
|
+
const asyncOut = classAPIOut.beginAsync({ last: true, timeout: -1 });
|
3350
|
+
classAPIOut.onLast((next) => {
|
3351
|
+
(boundary.onNext = () => {
|
3352
|
+
if (boundary.signal.aborted) {
|
3353
|
+
asyncOut.error(boundary.signal.reason);
|
3354
|
+
boundary.onNext = NOOP3;
|
3355
|
+
} else if (!boundary.count) {
|
3356
|
+
boundary.onNext = NOOP3;
|
3357
|
+
head = head.consume();
|
3358
|
+
asyncOut.write(head.html);
|
3359
|
+
asyncOut.script(head.scripts);
|
3360
|
+
asyncOut.end();
|
3361
|
+
head.html = head.scripts = "";
|
3362
|
+
completeChunks.push(head);
|
3363
|
+
next();
|
3364
|
+
}
|
3365
|
+
})();
|
3366
|
+
});
|
3362
3367
|
});
|
3363
3368
|
},
|
3364
3369
|
registerRenderer(renderer, id) {
|
package/dist/debug/html.mjs
CHANGED
@@ -3262,19 +3262,24 @@ var compat = {
|
|
3262
3262
|
} else {
|
3263
3263
|
renderer(normalizedInput);
|
3264
3264
|
}
|
3265
|
-
const asyncOut = classAPIOut.beginAsync();
|
3266
|
-
|
3267
|
-
|
3268
|
-
|
3269
|
-
|
3270
|
-
|
3271
|
-
|
3272
|
-
|
3273
|
-
|
3274
|
-
|
3275
|
-
|
3276
|
-
|
3277
|
-
|
3265
|
+
const asyncOut = classAPIOut.beginAsync({ last: true, timeout: -1 });
|
3266
|
+
classAPIOut.onLast((next) => {
|
3267
|
+
(boundary.onNext = () => {
|
3268
|
+
if (boundary.signal.aborted) {
|
3269
|
+
asyncOut.error(boundary.signal.reason);
|
3270
|
+
boundary.onNext = NOOP3;
|
3271
|
+
} else if (!boundary.count) {
|
3272
|
+
boundary.onNext = NOOP3;
|
3273
|
+
head = head.consume();
|
3274
|
+
asyncOut.write(head.html);
|
3275
|
+
asyncOut.script(head.scripts);
|
3276
|
+
asyncOut.end();
|
3277
|
+
head.html = head.scripts = "";
|
3278
|
+
completeChunks.push(head);
|
3279
|
+
next();
|
3280
|
+
}
|
3281
|
+
})();
|
3282
|
+
});
|
3278
3283
|
});
|
3279
3284
|
},
|
3280
3285
|
registerRenderer(renderer, id) {
|
package/dist/html.js
CHANGED
@@ -2165,10 +2165,12 @@ var K_TAGS_API_STATE = Symbol(), COMPAT_REGISTRY = /* @__PURE__ */ new WeakMap()
|
|
2165
2165
|
writeScope(scopeId, { m5c: component.id }), _script(scopeId, SET_SCOPE_REGISTER_ID);
|
2166
2166
|
}
|
2167
2167
|
isTemplate(renderer) && willRerender ? renderer(normalizedInput, 1) : renderer(normalizedInput);
|
2168
|
-
let asyncOut = classAPIOut.beginAsync();
|
2169
|
-
|
2170
|
-
|
2171
|
-
|
2168
|
+
let asyncOut = classAPIOut.beginAsync({ last: !0, timeout: -1 });
|
2169
|
+
classAPIOut.onLast((next) => {
|
2170
|
+
(boundary.onNext = () => {
|
2171
|
+
boundary.signal.aborted ? (asyncOut.error(boundary.signal.reason), boundary.onNext = NOOP3) : boundary.count || (boundary.onNext = NOOP3, head = head.consume(), asyncOut.write(head.html), asyncOut.script(head.scripts), asyncOut.end(), head.html = head.scripts = "", completeChunks.push(head), next());
|
2172
|
+
})();
|
2173
|
+
});
|
2172
2174
|
});
|
2173
2175
|
},
|
2174
2176
|
registerRenderer(renderer, id) {
|
package/dist/html.mjs
CHANGED
@@ -2084,10 +2084,12 @@ var K_TAGS_API_STATE = Symbol(), COMPAT_REGISTRY = /* @__PURE__ */ new WeakMap()
|
|
2084
2084
|
writeScope(scopeId, { m5c: component.id }), _script(scopeId, SET_SCOPE_REGISTER_ID);
|
2085
2085
|
}
|
2086
2086
|
isTemplate(renderer) && willRerender ? renderer(normalizedInput, 1) : renderer(normalizedInput);
|
2087
|
-
let asyncOut = classAPIOut.beginAsync();
|
2088
|
-
|
2089
|
-
|
2090
|
-
|
2087
|
+
let asyncOut = classAPIOut.beginAsync({ last: !0, timeout: -1 });
|
2088
|
+
classAPIOut.onLast((next) => {
|
2089
|
+
(boundary.onNext = () => {
|
2090
|
+
boundary.signal.aborted ? (asyncOut.error(boundary.signal.reason), boundary.onNext = NOOP3) : boundary.count || (boundary.onNext = NOOP3, head = head.consume(), asyncOut.write(head.html), asyncOut.script(head.scripts), asyncOut.end(), head.html = head.scripts = "", completeChunks.push(head), next());
|
2091
|
+
})();
|
2092
|
+
});
|
2091
2093
|
});
|
2092
2094
|
},
|
2093
2095
|
registerRenderer(renderer, id) {
|