marko 5.37.21 → 5.37.23
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.
|
@@ -63,7 +63,7 @@ exports.p = function (htmlCompat) {
|
|
|
63
63
|
{}
|
|
64
64
|
);
|
|
65
65
|
|
|
66
|
-
htmlCompat.patchDynamicTag(function getRenderer(tag) {
|
|
66
|
+
htmlCompat.patchDynamicTag(function getRenderer(scopeId, accessor, tag) {
|
|
67
67
|
const renderer = tag._ || tag.renderBody || tag;
|
|
68
68
|
if (isMarko6(renderer)) return renderer;
|
|
69
69
|
|
|
@@ -124,7 +124,7 @@ exports.p = function (htmlCompat) {
|
|
|
124
124
|
|
|
125
125
|
if (async !== false) {
|
|
126
126
|
async = true;
|
|
127
|
-
htmlCompat.fork(out, writeHTML);
|
|
127
|
+
htmlCompat.fork(scopeId, accessor, out, writeHTML);
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
130
|
});
|
package/dist/translator/index.js
CHANGED
|
@@ -457,13 +457,15 @@ const translate = exports.translate = {
|
|
|
457
457
|
if (meta.implicitSplitComponent && isHTML) {
|
|
458
458
|
renderBlock.unshiftContainer(
|
|
459
459
|
"body",
|
|
460
|
-
_compiler.types.
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
460
|
+
_compiler.types.expressionStatement(
|
|
461
|
+
_compiler.types.callExpression(
|
|
462
|
+
(0, _babelUtils.importDefault)(
|
|
463
|
+
file,
|
|
464
|
+
"marko/src/runtime/helpers/skip-serialize.js",
|
|
465
|
+
"marko_skip_serialize"
|
|
466
|
+
),
|
|
467
|
+
[_compiler.types.identifier("input")]
|
|
468
|
+
)
|
|
467
469
|
)
|
|
468
470
|
);
|
|
469
471
|
}
|
package/package.json
CHANGED
|
@@ -63,7 +63,7 @@ exports.p = function (htmlCompat) {
|
|
|
63
63
|
{},
|
|
64
64
|
);
|
|
65
65
|
|
|
66
|
-
htmlCompat.patchDynamicTag(function getRenderer(tag) {
|
|
66
|
+
htmlCompat.patchDynamicTag(function getRenderer(scopeId, accessor, tag) {
|
|
67
67
|
const renderer = tag._ || tag.renderBody || tag;
|
|
68
68
|
if (isMarko6(renderer)) return renderer;
|
|
69
69
|
|
|
@@ -124,7 +124,7 @@ exports.p = function (htmlCompat) {
|
|
|
124
124
|
|
|
125
125
|
if (async !== false) {
|
|
126
126
|
async = true;
|
|
127
|
-
htmlCompat.fork(out, writeHTML);
|
|
127
|
+
htmlCompat.fork(scopeId, accessor, out, writeHTML);
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
130
|
});
|
package/src/translator/index.js
CHANGED
|
@@ -457,13 +457,15 @@ export const translate = {
|
|
|
457
457
|
if (meta.implicitSplitComponent && isHTML) {
|
|
458
458
|
renderBlock.unshiftContainer(
|
|
459
459
|
"body",
|
|
460
|
-
t.
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
460
|
+
t.expressionStatement(
|
|
461
|
+
t.callExpression(
|
|
462
|
+
importDefault(
|
|
463
|
+
file,
|
|
464
|
+
"marko/src/runtime/helpers/skip-serialize.js",
|
|
465
|
+
"marko_skip_serialize",
|
|
466
|
+
),
|
|
467
|
+
[t.identifier("input")],
|
|
465
468
|
),
|
|
466
|
-
[t.identifier("input")],
|
|
467
469
|
),
|
|
468
470
|
);
|
|
469
471
|
}
|