@marko/compiler 5.39.57 → 5.39.58
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.
|
@@ -278,10 +278,11 @@ function getMarkoFile(code, fileOpts, markoOpts) {
|
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
280
|
|
|
281
|
+
if (markoOpts.stripTypes) {
|
|
282
|
+
stripTypes(file);
|
|
283
|
+
}
|
|
284
|
+
|
|
281
285
|
if (isMigrate) {
|
|
282
|
-
if (markoOpts.stripTypes) {
|
|
283
|
-
stripTypes(file);
|
|
284
|
-
}
|
|
285
286
|
return file;
|
|
286
287
|
}
|
|
287
288
|
|
|
@@ -299,11 +300,6 @@ function getMarkoFile(code, fileOpts, markoOpts) {
|
|
|
299
300
|
rootTransformers.push(translator.transform);
|
|
300
301
|
}
|
|
301
302
|
traverseAll(file, rootTransformers);
|
|
302
|
-
|
|
303
|
-
if (markoOpts.stripTypes) {
|
|
304
|
-
stripTypes(file);
|
|
305
|
-
}
|
|
306
|
-
|
|
307
303
|
file.path.scope.crawl();
|
|
308
304
|
|
|
309
305
|
for (const taglibId in taglibLookup.taglibsById) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marko/compiler",
|
|
3
|
-
"version": "5.39.
|
|
3
|
+
"version": "5.39.58",
|
|
4
4
|
"description": "Marko template to JS compiler.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"babel",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"source-map-support": "^0.5.21"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
|
-
"marko": "^5.38.
|
|
85
|
+
"marko": "^5.38.27"
|
|
86
86
|
},
|
|
87
87
|
"engines": {
|
|
88
88
|
"node": "18 || 20 || >=22"
|