@marko/translator-default 5.32.13 → 5.32.15

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.
@@ -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, file._componentDefIdentifier);
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.13",
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.11",
38
- "marko": "^5.33.13"
37
+ "@marko/compiler": "^5.35.13",
38
+ "marko": "^5.33.18"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@marko/compiler": "^5.16.1",