@marko/translator-default 5.20.9 → 5.21.2

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.
Files changed (154) hide show
  1. package/dist/cdata/index.js +1 -2
  2. package/dist/cdata/index[html].js +1 -2
  3. package/dist/cdata/index[vdom].js +1 -2
  4. package/dist/class.js +1 -2
  5. package/dist/comment/index.js +1 -2
  6. package/dist/comment/index[html].js +1 -2
  7. package/dist/comment/index[vdom].js +1 -2
  8. package/dist/declaration/index.js +1 -2
  9. package/dist/declaration/index[html].js +1 -2
  10. package/dist/declaration/index[vdom].js +1 -2
  11. package/dist/document-type/index.js +1 -2
  12. package/dist/document-type/index[html].js +1 -2
  13. package/dist/document-type/index[vdom].js +1 -2
  14. package/dist/index.js +38 -39
  15. package/dist/placeholder/index.js +1 -2
  16. package/dist/placeholder/index[html].js +1 -2
  17. package/dist/placeholder/index[vdom].js +1 -2
  18. package/dist/scriptlet.js +1 -2
  19. package/dist/tag/attribute/directives/class.js +1 -2
  20. package/dist/tag/attribute/directives/index.js +1 -2
  21. package/dist/tag/attribute/directives/no-update-body-if.js +1 -2
  22. package/dist/tag/attribute/directives/no-update-body.js +1 -2
  23. package/dist/tag/attribute/directives/no-update-if.js +1 -2
  24. package/dist/tag/attribute/directives/no-update.js +1 -2
  25. package/dist/tag/attribute/directives/style.js +1 -2
  26. package/dist/tag/attribute/index.js +1 -2
  27. package/dist/tag/attribute/modifiers/index.js +1 -2
  28. package/dist/tag/attribute/modifiers/no-update.js +1 -2
  29. package/dist/tag/attribute/modifiers/scoped.js +1 -2
  30. package/dist/tag/attribute-tag.js +1 -2
  31. package/dist/tag/custom-tag.js +1 -2
  32. package/dist/tag/dynamic-tag.js +1 -2
  33. package/dist/tag/index.js +1 -2
  34. package/dist/tag/macro-tag.js +1 -2
  35. package/dist/tag/native-tag.js +1 -2
  36. package/dist/tag/native-tag[html]/attributes.js +1 -2
  37. package/dist/tag/native-tag[html]/index.js +1 -2
  38. package/dist/tag/native-tag[vdom]/index.js +1 -2
  39. package/dist/tag/util.js +1 -2
  40. package/dist/taglib/core/conditional/translate-else-if.js +1 -2
  41. package/dist/taglib/core/conditional/translate-else.js +1 -2
  42. package/dist/taglib/core/conditional/translate-if.js +1 -2
  43. package/dist/taglib/core/conditional/util.js +1 -2
  44. package/dist/taglib/core/index.js +1 -2
  45. package/dist/taglib/core/macro/parse.js +1 -2
  46. package/dist/taglib/core/macro/translate.js +1 -2
  47. package/dist/taglib/core/parse-class.js +1 -2
  48. package/dist/taglib/core/parse-export.js +1 -2
  49. package/dist/taglib/core/parse-import.js +1 -2
  50. package/dist/taglib/core/parse-module-code.js +1 -2
  51. package/dist/taglib/core/parse-static.js +1 -2
  52. package/dist/taglib/core/parse-style.js +1 -2
  53. package/dist/taglib/core/transform-style.js +1 -2
  54. package/dist/taglib/core/translate-await.js +1 -2
  55. package/dist/taglib/core/translate-body.js +1 -2
  56. package/dist/taglib/core/translate-for.js +1 -2
  57. package/dist/taglib/core/translate-html-comment.js +1 -2
  58. package/dist/taglib/core/translate-include-content.js +1 -2
  59. package/dist/taglib/core/translate-server-only.js +1 -2
  60. package/dist/taglib/core/translate-while.js +1 -2
  61. package/dist/taglib/index.js +1 -2
  62. package/dist/taglib/migrate/all-templates.js +1 -2
  63. package/dist/taglib/migrate/index.js +1 -2
  64. package/dist/text/index.js +1 -2
  65. package/dist/text/index[html].js +1 -2
  66. package/dist/text/index[vdom].js +1 -2
  67. package/dist/util/add-dependencies.js +1 -2
  68. package/dist/util/get-component-files.js +1 -2
  69. package/dist/util/html-out-write.js +1 -2
  70. package/dist/util/key-manager.js +1 -2
  71. package/dist/util/optimize-html-writes.js +1 -2
  72. package/dist/util/optimize-vdom-create.js +1 -2
  73. package/dist/util/plugin-hooks.js +1 -2
  74. package/dist/util/runtime-flags.js +1 -2
  75. package/dist/util/vdom-out-write.js +1 -2
  76. package/dist/util/with-previous-location.js +1 -2
  77. package/package.json +5 -6
  78. package/LICENSE +0 -21
  79. package/dist/cdata/index.js.map +0 -1
  80. package/dist/cdata/index[html].js.map +0 -1
  81. package/dist/cdata/index[vdom].js.map +0 -1
  82. package/dist/class.js.map +0 -1
  83. package/dist/comment/index.js.map +0 -1
  84. package/dist/comment/index[html].js.map +0 -1
  85. package/dist/comment/index[vdom].js.map +0 -1
  86. package/dist/declaration/index.js.map +0 -1
  87. package/dist/declaration/index[html].js.map +0 -1
  88. package/dist/declaration/index[vdom].js.map +0 -1
  89. package/dist/document-type/index.js.map +0 -1
  90. package/dist/document-type/index[html].js.map +0 -1
  91. package/dist/document-type/index[vdom].js.map +0 -1
  92. package/dist/index.js.map +0 -1
  93. package/dist/placeholder/index.js.map +0 -1
  94. package/dist/placeholder/index[html].js.map +0 -1
  95. package/dist/placeholder/index[vdom].js.map +0 -1
  96. package/dist/scriptlet.js.map +0 -1
  97. package/dist/tag/attribute/directives/class.js.map +0 -1
  98. package/dist/tag/attribute/directives/index.js.map +0 -1
  99. package/dist/tag/attribute/directives/no-update-body-if.js.map +0 -1
  100. package/dist/tag/attribute/directives/no-update-body.js.map +0 -1
  101. package/dist/tag/attribute/directives/no-update-if.js.map +0 -1
  102. package/dist/tag/attribute/directives/no-update.js.map +0 -1
  103. package/dist/tag/attribute/directives/style.js.map +0 -1
  104. package/dist/tag/attribute/index.js.map +0 -1
  105. package/dist/tag/attribute/modifiers/index.js.map +0 -1
  106. package/dist/tag/attribute/modifiers/no-update.js.map +0 -1
  107. package/dist/tag/attribute/modifiers/scoped.js.map +0 -1
  108. package/dist/tag/attribute-tag.js.map +0 -1
  109. package/dist/tag/custom-tag.js.map +0 -1
  110. package/dist/tag/dynamic-tag.js.map +0 -1
  111. package/dist/tag/index.js.map +0 -1
  112. package/dist/tag/macro-tag.js.map +0 -1
  113. package/dist/tag/native-tag.js.map +0 -1
  114. package/dist/tag/native-tag[html]/attributes.js.map +0 -1
  115. package/dist/tag/native-tag[html]/index.js.map +0 -1
  116. package/dist/tag/native-tag[vdom]/index.js.map +0 -1
  117. package/dist/tag/util.js.map +0 -1
  118. package/dist/taglib/core/conditional/translate-else-if.js.map +0 -1
  119. package/dist/taglib/core/conditional/translate-else.js.map +0 -1
  120. package/dist/taglib/core/conditional/translate-if.js.map +0 -1
  121. package/dist/taglib/core/conditional/util.js.map +0 -1
  122. package/dist/taglib/core/index.js.map +0 -1
  123. package/dist/taglib/core/macro/parse.js.map +0 -1
  124. package/dist/taglib/core/macro/translate.js.map +0 -1
  125. package/dist/taglib/core/parse-class.js.map +0 -1
  126. package/dist/taglib/core/parse-export.js.map +0 -1
  127. package/dist/taglib/core/parse-import.js.map +0 -1
  128. package/dist/taglib/core/parse-module-code.js.map +0 -1
  129. package/dist/taglib/core/parse-static.js.map +0 -1
  130. package/dist/taglib/core/parse-style.js.map +0 -1
  131. package/dist/taglib/core/transform-style.js.map +0 -1
  132. package/dist/taglib/core/translate-await.js.map +0 -1
  133. package/dist/taglib/core/translate-body.js.map +0 -1
  134. package/dist/taglib/core/translate-for.js.map +0 -1
  135. package/dist/taglib/core/translate-html-comment.js.map +0 -1
  136. package/dist/taglib/core/translate-include-content.js.map +0 -1
  137. package/dist/taglib/core/translate-server-only.js.map +0 -1
  138. package/dist/taglib/core/translate-while.js.map +0 -1
  139. package/dist/taglib/index.js.map +0 -1
  140. package/dist/taglib/migrate/all-templates.js.map +0 -1
  141. package/dist/taglib/migrate/index.js.map +0 -1
  142. package/dist/text/index.js.map +0 -1
  143. package/dist/text/index[html].js.map +0 -1
  144. package/dist/text/index[vdom].js.map +0 -1
  145. package/dist/util/add-dependencies.js.map +0 -1
  146. package/dist/util/get-component-files.js.map +0 -1
  147. package/dist/util/html-out-write.js.map +0 -1
  148. package/dist/util/key-manager.js.map +0 -1
  149. package/dist/util/optimize-html-writes.js.map +0 -1
  150. package/dist/util/optimize-vdom-create.js.map +0 -1
  151. package/dist/util/plugin-hooks.js.map +0 -1
  152. package/dist/util/runtime-flags.js.map +0 -1
  153. package/dist/util/vdom-out-write.js.map +0 -1
  154. package/dist/util/with-previous-location.js.map +0 -1
@@ -12,5 +12,4 @@ function _default(path) {
12
12
  } else {
13
13
  (0, _indexVdom.default)(path);
14
14
  }
15
- }
16
- //# sourceMappingURL=index.js.map
15
+ }
@@ -11,5 +11,4 @@ function _default(path) {
11
11
  node));
12
12
 
13
13
 
14
- }
15
- //# sourceMappingURL=index[html].js.map
14
+ }
@@ -8,5 +8,4 @@ function _default(path) {
8
8
  path.replaceWith(
9
9
  (0, _withPreviousLocation.default)((0, _vdomOutWrite.default)("t", _compiler.types.stringLiteral(node.value)), node));
10
10
 
11
- }
12
- //# sourceMappingURL=index[vdom].js.map
11
+ }
package/dist/class.js CHANGED
@@ -60,5 +60,4 @@ function _default(path) {
60
60
 
61
61
  file._inlineComponentClass = _compiler.types.objectExpression(objectProperties);
62
62
  path.remove();
63
- }
64
- //# sourceMappingURL=class.js.map
63
+ }
@@ -12,5 +12,4 @@ function _default(path) {
12
12
  } else {
13
13
  (0, _indexVdom.default)(path);
14
14
  }
15
- }
16
- //# sourceMappingURL=index.js.map
15
+ }
@@ -13,5 +13,4 @@ function _default(path) {
13
13
  } else {
14
14
  path.remove();
15
15
  }
16
- }
17
- //# sourceMappingURL=index[html].js.map
16
+ }
@@ -1,4 +1,3 @@
1
1
  "use strict";exports.__esModule = true;exports.default = _default;function _default(path) {
2
2
  path.remove();
3
- }
4
- //# sourceMappingURL=index[vdom].js.map
3
+ }
@@ -12,5 +12,4 @@ function _default(path) {
12
12
  } else {
13
13
  (0, _indexVdom.default)(path);
14
14
  }
15
- }
16
- //# sourceMappingURL=index.js.map
15
+ }
@@ -8,5 +8,4 @@ function _default(path) {
8
8
  path.replaceWith(
9
9
  (0, _withPreviousLocation.default)((0, _htmlOutWrite.default)`<?${_compiler.types.stringLiteral(node.value)}?>`, node));
10
10
 
11
- }
12
- //# sourceMappingURL=index[html].js.map
11
+ }
@@ -1,4 +1,3 @@
1
1
  "use strict";exports.__esModule = true;exports.default = _default;function _default(path) {
2
2
  path.remove();
3
- }
4
- //# sourceMappingURL=index[vdom].js.map
3
+ }
@@ -12,5 +12,4 @@ function _default(path) {
12
12
  } else {
13
13
  (0, _indexVdom.default)(path);
14
14
  }
15
- }
16
- //# sourceMappingURL=index.js.map
15
+ }
@@ -8,5 +8,4 @@ function _default(path) {
8
8
  path.replaceWith(
9
9
  (0, _withPreviousLocation.default)((0, _htmlOutWrite.default)`<!${_compiler.types.stringLiteral(node.value)}>`, node));
10
10
 
11
- }
12
- //# sourceMappingURL=index[html].js.map
11
+ }
@@ -1,4 +1,3 @@
1
1
  "use strict";exports.__esModule = true;exports.default = _default;function _default(path) {
2
2
  path.remove();
3
- }
4
- //# sourceMappingURL=index[vdom].js.map
3
+ }
package/dist/index.js CHANGED
@@ -457,49 +457,49 @@ function getRuntimeEntryFiles(output, optimize) {
457
457
  const base = `marko/${optimize ? "dist" : "src"}/`;
458
458
 
459
459
  return [
460
- `${base}runtime/components`,
461
- `${base}runtime/components/defineComponent`,
462
- `${base}runtime/components/renderer`,
460
+ `${base}runtime/components/index.js`,
461
+ `${base}runtime/components/defineComponent.js`,
462
+ `${base}runtime/components/renderer.js`,
463
463
  `${base}runtime/components/registry`,
464
- `${base}runtime/components/attach-detach`,
465
- `${base}runtime/helpers/assign`,
466
- `${base}runtime/helpers/class-value`,
467
- `${base}runtime/helpers/dynamic-tag`,
468
- `${base}runtime/helpers/load-nested-tag`,
469
- `${base}runtime/helpers/merge`,
470
- `${base}runtime/helpers/render-tag`,
471
- `${base}runtime/helpers/style-value`,
472
- `${base}runtime/helpers/to-string`,
464
+ `${base}runtime/components/attach-detach.js`,
465
+ `${base}runtime/helpers/assign.js`,
466
+ `${base}runtime/helpers/class-value.js`,
467
+ `${base}runtime/helpers/dynamic-tag.js`,
468
+ `${base}runtime/helpers/load-nested-tag.js`,
469
+ `${base}runtime/helpers/merge.js`,
470
+ `${base}runtime/helpers/render-tag.js`,
471
+ `${base}runtime/helpers/style-value.js`,
472
+ `${base}runtime/helpers/to-string.js`,
473
473
  `${base}core-tags/components/preserve-tag`,
474
- `${base}core-tags/components/init-components-tag`,
475
- `${base}core-tags/components/preferred-script-location-tag`,
476
- `${base}core-tags/core/__flush_here_and_after__`,
477
- `${base}core-tags/core/await/renderer`,
478
- `${base}core-tags/core/await/reorderer-renderer`,
479
474
  ...(output === "html" ?
480
475
  [
481
- `${base}runtime/html`,
482
- `${base}runtime/html/hot-reload`,
483
- `${base}runtime/html/helpers/attr`,
484
- `${base}runtime/html/helpers/attrs`,
485
- `${base}runtime/html/helpers/class-attr`,
486
- `${base}runtime/html/helpers/data-marko`,
487
- `${base}runtime/html/helpers/escape-quotes`,
488
- `${base}runtime/html/helpers/escape-script-placeholder`,
489
- `${base}runtime/html/helpers/escape-style-placeholder`,
490
- `${base}runtime/html/helpers/escape-xml`,
491
- `${base}runtime/html/helpers/merge-attrs`,
492
- `${base}runtime/html/helpers/props-script`,
493
- `${base}runtime/html/helpers/style-attr`] :
476
+ `${base}runtime/html/index.js`,
477
+ `${base}runtime/html/hot-reload.js`,
478
+ `${base}runtime/html/helpers/attr.js`,
479
+ `${base}runtime/html/helpers/attrs.js`,
480
+ `${base}runtime/html/helpers/class-attr.js`,
481
+ `${base}runtime/html/helpers/data-marko.js`,
482
+ `${base}runtime/html/helpers/escape-quotes.js`,
483
+ `${base}runtime/html/helpers/escape-script-placeholder.js`,
484
+ `${base}runtime/html/helpers/escape-style-placeholder.js`,
485
+ `${base}runtime/html/helpers/escape-xml.js`,
486
+ `${base}runtime/html/helpers/merge-attrs.js`,
487
+ `${base}runtime/html/helpers/props-script.js`,
488
+ `${base}runtime/html/helpers/style-attr.js`,
489
+ `${base}core-tags/components/init-components-tag.js`,
490
+ `${base}core-tags/components/preferred-script-location-tag.js`,
491
+ `${base}core-tags/core/__flush_here_and_after__.js`,
492
+ `${base}core-tags/core/await/renderer.js`,
493
+ `${base}core-tags/core/await/reorderer-renderer.js`] :
494
494
 
495
495
  [
496
- `${base}runtime/vdom`,
497
- `${base}runtime/vdom/hot-reload`,
498
- `${base}runtime/vdom/helpers/attrs`,
499
- `${base}runtime/vdom/helpers/const`,
500
- `${base}runtime/vdom/helpers/v-element`,
501
- `${base}runtime/vdom/helpers/v-text`,
502
- `${base}runtime/vdom/preserve-attrs`])];
496
+ `${base}runtime/vdom/index.js`,
497
+ `${base}runtime/vdom/hot-reload.js`,
498
+ `${base}runtime/vdom/helpers/attrs.js`,
499
+ `${base}runtime/vdom/helpers/const.js`,
500
+ `${base}runtime/vdom/helpers/v-element.js`,
501
+ `${base}runtime/vdom/helpers/v-text.js`,
502
+ `${base}runtime/vdom/preserve-attrs.js`])];
503
503
 
504
504
 
505
505
  }
@@ -513,5 +513,4 @@ function resolveRelativeTagEntry(file, tagDef) {
513
513
  // TODO: support transform and other entries.
514
514
  const entry = tagDef.template || tagDef.renderer;
515
515
  return entry && (0, _babelUtils.resolveRelativePath)(file, entry);
516
- }
517
- //# sourceMappingURL=index.js.map
516
+ }
@@ -12,5 +12,4 @@ function _default(path) {
12
12
  } else {
13
13
  (0, _indexVdom.default)(path);
14
14
  }
15
- }
16
- //# sourceMappingURL=index.js.map
15
+ }
@@ -84,5 +84,4 @@ function findParentTagName(path) {
84
84
  return tagDef && tagDef.html && path.get("name.value").node;
85
85
  }
86
86
  }
87
- }
88
- //# sourceMappingURL=index[html].js.map
87
+ }
@@ -17,5 +17,4 @@ function _default(path) {
17
17
 
18
18
 
19
19
  }
20
- }
21
- //# sourceMappingURL=index[vdom].js.map
20
+ }
package/dist/scriptlet.js CHANGED
@@ -1,5 +1,4 @@
1
1
  "use strict";exports.__esModule = true;exports.default = _default;function _default(path) {
2
2
  const { node } = path;
3
3
  path.replaceWithMultiple(node.body);
4
- }
5
- //# sourceMappingURL=scriptlet.js.map
4
+ }
@@ -31,5 +31,4 @@ var _withPreviousLocation = _interopRequireDefault(require("../../../util/with-p
31
31
  value.node));
32
32
 
33
33
 
34
- } };exports.default = _default;
35
- //# sourceMappingURL=class.js.map
34
+ } };exports.default = _default;
@@ -11,5 +11,4 @@ var _noUpdateBodyIf = _interopRequireDefault(require("./no-update-body-if"));var
11
11
  "no-update": _noUpdate.default,
12
12
  "no-update-if": _noUpdateIf.default,
13
13
  "no-update-body": _noUpdateBody.default,
14
- "no-update-body-if": _noUpdateBodyIf.default };exports.default = _default;
15
- //# sourceMappingURL=index.js.map
14
+ "no-update-body-if": _noUpdateBodyIf.default };exports.default = _default;
@@ -7,5 +7,4 @@ var _babelUtils = require("@marko/babel-utils");var _default =
7
7
  if: (0, _babelUtils.getArgOrSequence)(attr),
8
8
  bodyOnly: true });
9
9
 
10
- } };exports.default = _default;
11
- //# sourceMappingURL=no-update-body-if.js.map
10
+ } };exports.default = _default;
@@ -3,5 +3,4 @@
3
3
  {
4
4
  exit(tag, attr, value) {
5
5
  _noUpdate.default.exit(tag, attr, value, { bodyOnly: true });
6
- } };exports.default = _default;
7
- //# sourceMappingURL=no-update-body.js.map
6
+ } };exports.default = _default;
@@ -4,5 +4,4 @@ var _babelUtils = require("@marko/babel-utils");var _default =
4
4
  {
5
5
  exit(tag, attr, value) {
6
6
  _noUpdate.default.exit(tag, attr, value, { if: (0, _babelUtils.getArgOrSequence)(attr) });
7
- } };exports.default = _default;
8
- //# sourceMappingURL=no-update-if.js.map
7
+ } };exports.default = _default;
@@ -38,5 +38,4 @@ const EMPTY_OBJECT = {};var _default =
38
38
  } else {
39
39
  tag.replaceWith(replacement);
40
40
  }
41
- } };exports.default = _default;
42
- //# sourceMappingURL=no-update.js.map
41
+ } };exports.default = _default;
@@ -27,5 +27,4 @@ var _withPreviousLocation = _interopRequireDefault(require("../../../util/with-p
27
27
  value.node));
28
28
 
29
29
 
30
- } };exports.default = _default;
31
- //# sourceMappingURL=style.js.map
30
+ } };exports.default = _default;
@@ -142,5 +142,4 @@ function execModifiersAndDirectives(type, tag, attr, value) {
142
142
  if (tag.node !== tagNode || attr.node !== attrNode) return true;
143
143
  }
144
144
  }
145
- }
146
- //# sourceMappingURL=index.js.map
145
+ }
@@ -3,5 +3,4 @@ var _noUpdate = _interopRequireDefault(require("./no-update"));var _default =
3
3
 
4
4
  {
5
5
  scoped: _scoped.default,
6
- "no-update": _noUpdate.default };exports.default = _default;
7
- //# sourceMappingURL=index.js.map
6
+ "no-update": _noUpdate.default };exports.default = _default;
@@ -23,5 +23,4 @@ const hasMonkeyPatch = new WeakSet();
23
23
  }
24
24
 
25
25
  node.preserveAttrs.push(attr.node.name);
26
- } };exports.default = _default;
27
- //# sourceMappingURL=no-update.js.map
26
+ } };exports.default = _default;
@@ -18,5 +18,4 @@ var _withPreviousLocation = _interopRequireDefault(require("../../../util/with-p
18
18
  value.node));
19
19
 
20
20
 
21
- } };exports.default = _default;
22
- //# sourceMappingURL=scoped.js.map
21
+ } };exports.default = _default;
@@ -137,5 +137,4 @@ function isAttributeTagChild(tag) {
137
137
  }
138
138
 
139
139
  return false;
140
- }
141
- //# sourceMappingURL=attribute-tag.js.map
140
+ }
@@ -126,5 +126,4 @@ function _default(path, isNullable) {
126
126
  } else {
127
127
  path.replaceWith(customTagRenderCall);
128
128
  }
129
- }
130
- //# sourceMappingURL=custom-tag.js.map
129
+ }
@@ -61,5 +61,4 @@ function _default(path) {
61
61
 
62
62
 
63
63
  path.replaceWith((0, _withPreviousLocation.default)(dynamicTagRenderCall, node));
64
- }
65
- //# sourceMappingURL=dynamic-tag.js.map
64
+ }
package/dist/tag/index.js CHANGED
@@ -233,5 +233,4 @@ function findDynamicTagTypes(root) {
233
233
 
234
234
  function isMarkoFile(request) {
235
235
  return _path.default.extname(request) === ".marko" || /^<.*>$/.test(request);
236
- }
237
- //# sourceMappingURL=index.js.map
236
+ }
@@ -5,5 +5,4 @@ function _default(path) {
5
5
  path.node.name = (0, _babelUtils.getMacroIdentifier)(path);
6
6
  path.node._isMacroTagCall = true;
7
7
  path.requeue();
8
- }
9
- //# sourceMappingURL=macro-tag.js.map
8
+ }
@@ -23,5 +23,4 @@ function _default(path, isNullable) {
23
23
  } else {
24
24
  (0, _nativeTagVdom.default)(path, isNullable);
25
25
  }
26
- }
27
- //# sourceMappingURL=native-tag.js.map
26
+ }
@@ -105,5 +105,4 @@ function mergeSpread(properties, value) {
105
105
  } else {
106
106
  properties.push(_compiler.types.spreadElement(value));
107
107
  }
108
- }
109
- //# sourceMappingURL=attributes.js.map
108
+ }
@@ -207,5 +207,4 @@ function isPreserved(path) {
207
207
  } while (_compiler.types.isMarkoTag(parentTag));
208
208
 
209
209
  return false;
210
- }
211
- //# sourceMappingURL=index.js.map
210
+ }
@@ -235,5 +235,4 @@ function isPropertyName({ key }, names) {
235
235
  } else if (_compiler.types.isIdentifier(key)) {
236
236
  return names.includes(key.name);
237
237
  }
238
- }
239
- //# sourceMappingURL=index.js.map
238
+ }
package/dist/tag/util.js CHANGED
@@ -207,5 +207,4 @@ function mergeSpread(properties, value) {
207
207
  } else {
208
208
  properties.push(_compiler.types.spreadElement(value));
209
209
  }
210
- }
211
- //# sourceMappingURL=util.js.map
210
+ }
@@ -16,5 +16,4 @@ function exit(path) {
16
16
 
17
17
  ifStatement.alternate = (0, _util.buildIfStatement)(path, args);
18
18
  path.remove();
19
- }
20
- //# sourceMappingURL=translate-else-if.js.map
19
+ }
@@ -20,5 +20,4 @@ function exit(path) {
20
20
 
21
21
  ifStatement.alternate = _compiler.types.blockStatement(body);
22
22
  path.remove();
23
- }
24
- //# sourceMappingURL=translate-else.js.map
23
+ }
@@ -4,5 +4,4 @@ var _util = require("./util");
4
4
  function exit(path) {
5
5
  (0, _babelUtils.assertNoAttributes)(path);
6
6
  path.replaceWith((0, _util.buildIfStatement)(path, path.node.arguments));
7
- }
8
- //# sourceMappingURL=translate-if.js.map
7
+ }
@@ -28,5 +28,4 @@ function buildIfStatement(path, args) {
28
28
  }
29
29
 
30
30
  return (0, _withPreviousLocation.default)(ifStatement, path.node);
31
- }
32
- //# sourceMappingURL=util.js.map
31
+ }
@@ -464,5 +464,4 @@ var parseModuleCode = _interopRequireWildcard(require("./parse-module-code"));fu
464
464
  {
465
465
  snippet: "no-update-body-if(${1:condition})",
466
466
  descriptionMoreURL:
467
- "http://markojs.com/docs/marko-components/#preserving-dom-nodes-during-re-render" }] } } };exports.default = _default;
468
- //# sourceMappingURL=index.js.map
467
+ "http://markojs.com/docs/marko-components/#preserving-dom-nodes-during-re-render" }] } } };exports.default = _default;
@@ -32,5 +32,4 @@
32
32
  }
33
33
 
34
34
  file.metadata.marko.macros[name] = file.scope.generateUid(name);
35
- }
36
- //# sourceMappingURL=parse.js.map
35
+ }
@@ -16,5 +16,4 @@ function exit(path) {
16
16
  node));
17
17
 
18
18
 
19
- }
20
- //# sourceMappingURL=translate.js.map
19
+ }
@@ -57,5 +57,4 @@ function _default(path) {
57
57
 
58
58
  meta.hasComponent = true;
59
59
  path.replaceWith(_compiler.types.markoClass(parsed.body));
60
- }
61
- //# sourceMappingURL=parse-class.js.map
60
+ }
@@ -11,5 +11,4 @@ function _default(path) {
11
11
  node;
12
12
  const [exportNode] = (0, _babelUtils.parseScript)(file, rawValue, start).body;
13
13
  path.replaceWith(exportNode);
14
- }
15
- //# sourceMappingURL=parse-export.js.map
14
+ }
@@ -11,5 +11,4 @@ function _default(path) {
11
11
  node;
12
12
  const [importNode] = (0, _babelUtils.parseScript)(file, rawValue, start).body;
13
13
  path.replaceWith(importNode);
14
- }
15
- //# sourceMappingURL=parse-import.js.map
14
+ }
@@ -15,5 +15,4 @@ function _default(tag) {
15
15
  const fn = eval(rawValue.slice(startOffset));
16
16
  const source = fn(relativeRequire, file.markoOpts);
17
17
  file.metadata.marko.moduleCode = source;
18
- }
19
- //# sourceMappingURL=parse-module-code.js.map
18
+ }
@@ -15,5 +15,4 @@ function _default(path) {
15
15
  }
16
16
 
17
17
  path.replaceWith(_compiler.types.MarkoScriptlet(body, true));
18
- }
19
- //# sourceMappingURL=parse-static.js.map
18
+ }
@@ -3,5 +3,4 @@
3
3
  const { node } = path;
4
4
  const extra = node.extra = node.extra || {};
5
5
  extra.nameStart = node.name.start;
6
- }
7
- //# sourceMappingURL=parse-style.js.map
6
+ }
@@ -54,5 +54,4 @@ function _default(tag) {
54
54
 
55
55
 
56
56
  tag.remove();
57
- }
58
- //# sourceMappingURL=transform-style.js.map
57
+ }
@@ -36,5 +36,4 @@ function enter(path) {
36
36
  }
37
37
 
38
38
  path.set("arguments", undefined);
39
- }
40
- //# sourceMappingURL=translate-await.js.map
39
+ }
@@ -14,5 +14,4 @@ function enter(path) {
14
14
 
15
15
 
16
16
  }
17
- }
18
- //# sourceMappingURL=translate-body.js.map
17
+ }
@@ -142,5 +142,4 @@ function exit(path) {
142
142
 
143
143
  function findName(arr, value) {
144
144
  return arr.find((obj) => obj.name === value);
145
- }
146
- //# sourceMappingURL=translate-for.js.map
145
+ }
@@ -15,5 +15,4 @@ function enter(path) {
15
15
  } else {
16
16
  path.remove();
17
17
  }
18
- }
19
- //# sourceMappingURL=translate-html-comment.js.map
18
+ }
@@ -47,5 +47,4 @@ function enter(tag) {
47
47
  tagName === "include-text"));
48
48
 
49
49
 
50
- }
51
- //# sourceMappingURL=translate-include-content.js.map
50
+ }
@@ -2,5 +2,4 @@
2
2
  if (path.hub.file.markoOpts.output !== "html") {
3
3
  path.remove();
4
4
  }
5
- }
6
- //# sourceMappingURL=translate-server-only.js.map
5
+ }
@@ -28,5 +28,4 @@ function exit(path) {
28
28
  path.node));
29
29
 
30
30
 
31
- }
32
- //# sourceMappingURL=translate-while.js.map
31
+ }
@@ -2,5 +2,4 @@
2
2
  var _migrate = _interopRequireDefault(require("./migrate"));var _default =
3
3
  [
4
4
  ["marko/core", _core.default],
5
- ["marko/migrate", _migrate.default]];exports.default = _default;
6
- //# sourceMappingURL=index.js.map
5
+ ["marko/migrate", _migrate.default]];exports.default = _default;
@@ -6,5 +6,4 @@ var _withPreviousLocation = _interopRequireDefault(require("../../util/with-prev
6
6
  if (path.node.name === "data" && !path.scope.hasBinding("data")) {
7
7
  path.replaceWith((0, _withPreviousLocation.default)(_compiler.types.identifier("input"), path.node));
8
8
  }
9
- } };exports.default = _default;
10
- //# sourceMappingURL=all-templates.js.map
9
+ } };exports.default = _default;
@@ -1,5 +1,4 @@
1
1
  "use strict";exports.__esModule = true;exports.default = void 0;var migrateAllTemplates = _interopRequireWildcard(require("./all-templates"));function _getRequireWildcardCache(nodeInterop) {if (typeof WeakMap !== "function") return null;var cacheBabelInterop = new WeakMap();var cacheNodeInterop = new WeakMap();return (_getRequireWildcardCache = function (nodeInterop) {return nodeInterop ? cacheNodeInterop : cacheBabelInterop;})(nodeInterop);}function _interopRequireWildcard(obj, nodeInterop) {if (!nodeInterop && obj && obj.__esModule) {return obj;}if (obj === null || typeof obj !== "object" && typeof obj !== "function") {return { default: obj };}var cache = _getRequireWildcardCache(nodeInterop);if (cache && cache.has(obj)) {return cache.get(obj);}var newObj = {};var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;for (var key in obj) {if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;if (desc && (desc.get || desc.set)) {Object.defineProperty(newObj, key, desc);} else {newObj[key] = obj[key];}}}newObj.default = obj;if (cache) {cache.set(obj, newObj);}return newObj;}var _default =
2
2
  {
3
3
  "taglib-id": "marko-default-migrate",
4
- migrator: migrateAllTemplates };exports.default = _default;
5
- //# sourceMappingURL=index.js.map
4
+ migrator: migrateAllTemplates };exports.default = _default;
@@ -7,5 +7,4 @@ function _default(path) {
7
7
  } else {
8
8
  (0, _indexVdom.default)(path);
9
9
  }
10
- }
11
- //# sourceMappingURL=index.js.map
10
+ }
@@ -8,5 +8,4 @@ function _default(path) {
8
8
  path.replaceWith(
9
9
  (0, _withPreviousLocation.default)((0, _htmlOutWrite.default)`${_compiler.types.stringLiteral(node.value)}`, node));
10
10
 
11
- }
12
- //# sourceMappingURL=index[html].js.map
11
+ }
@@ -16,5 +16,4 @@ function _default(path) {
16
16
  node));
17
17
 
18
18
 
19
- }
20
- //# sourceMappingURL=index[vdom].js.map
19
+ }
@@ -180,5 +180,4 @@ function toTestFn(val) {
180
180
  }
181
181
 
182
182
  return val.test.bind(val);
183
- }
184
- //# sourceMappingURL=add-dependencies.js.map
183
+ }