@marko/translator-default 5.32.14 → 5.32.15
Sign up to get free protection for your applications and to get access to all the features.
@@ -102,12 +102,12 @@ function _default(path, isNullable) {
|
|
102
102
|
dataMarkoArgs.push(_compiler.types.objectExpression(tagProperties));
|
103
103
|
}
|
104
104
|
|
105
|
-
if ((0, _keyManager.hasUserKey)(path)) {
|
105
|
+
if ((0, _keyManager.hasUserKey)(path) || key && node.isPreserved) {
|
106
106
|
if (dataMarkoArgs.length === 2) {
|
107
107
|
dataMarkoArgs.push(_compiler.types.numericLiteral(0));
|
108
108
|
}
|
109
109
|
|
110
|
-
dataMarkoArgs.push(key
|
110
|
+
dataMarkoArgs.push(key);
|
111
111
|
}
|
112
112
|
|
113
113
|
if (dataMarkoArgs.length > 2) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@marko/translator-default",
|
3
|
-
"version": "5.32.
|
3
|
+
"version": "5.32.15",
|
4
4
|
"description": "Translates Marko templates to the default Marko runtime.",
|
5
5
|
"keywords": [
|
6
6
|
"babel",
|
@@ -34,8 +34,8 @@
|
|
34
34
|
"self-closing-tags": "^1.0.1"
|
35
35
|
},
|
36
36
|
"devDependencies": {
|
37
|
-
"@marko/compiler": "^5.35.
|
38
|
-
"marko": "^5.33.
|
37
|
+
"@marko/compiler": "^5.35.13",
|
38
|
+
"marko": "^5.33.18"
|
39
39
|
},
|
40
40
|
"peerDependencies": {
|
41
41
|
"@marko/compiler": "^5.16.1",
|