marko 6.0.45 → 6.0.47
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/translator/index.js +7 -1
- package/package.json +2 -2
- package/tags/await.d.marko +8 -0
- package/tags/const.d.marko +7 -0
- package/tags/debug.d.marko +5 -0
- package/tags/define.d.marko +5 -0
- package/tags/do.d.marko +5 -0
- package/tags/effect.d.marko +5 -0
- package/tags/id.d.marko +3 -0
- package/tags/let.d.marko +8 -0
- package/tags/lifecycle.d.marko +7 -0
- package/tags/log.d.marko +5 -0
- package/tags/script.d.marko +5 -0
- package/tags/try.d.marko +7 -0
package/dist/translator/index.js
CHANGED
@@ -1213,8 +1213,14 @@ var entry_builder_default = {
|
|
1213
1213
|
)
|
1214
1214
|
)
|
1215
1215
|
);
|
1216
|
+
const { runtimeId } = entryFile.markoOpts;
|
1216
1217
|
body.push(
|
1217
|
-
import_compiler5.types.expressionStatement(
|
1218
|
+
import_compiler5.types.expressionStatement(
|
1219
|
+
import_compiler5.types.callExpression(
|
1220
|
+
import_compiler5.types.identifier("init"),
|
1221
|
+
runtimeId ? [import_compiler5.types.stringLiteral(runtimeId)] : []
|
1222
|
+
)
|
1223
|
+
)
|
1218
1224
|
);
|
1219
1225
|
}
|
1220
1226
|
return body;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "marko",
|
3
|
-
"version": "6.0.
|
3
|
+
"version": "6.0.47",
|
4
4
|
"description": "Optimized runtime for Marko templates.",
|
5
5
|
"keywords": [
|
6
6
|
"api",
|
@@ -37,7 +37,7 @@
|
|
37
37
|
"types": "index.d.ts",
|
38
38
|
"files": [
|
39
39
|
"dist",
|
40
|
-
"
|
40
|
+
"tags",
|
41
41
|
"index.d.ts",
|
42
42
|
"tags-html.d.ts",
|
43
43
|
"!**/meta.*.json",
|
package/tags/do.d.marko
ADDED
package/tags/id.d.marko
ADDED
package/tags/let.d.marko
ADDED
package/tags/log.d.marko
ADDED