@marko/translator-default 5.20.9 → 5.21.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cdata/index.js +1 -2
- package/dist/cdata/index[html].js +1 -2
- package/dist/cdata/index[vdom].js +1 -2
- package/dist/class.js +1 -2
- package/dist/comment/index.js +1 -2
- package/dist/comment/index[html].js +1 -2
- package/dist/comment/index[vdom].js +1 -2
- package/dist/declaration/index.js +1 -2
- package/dist/declaration/index[html].js +1 -2
- package/dist/declaration/index[vdom].js +1 -2
- package/dist/document-type/index.js +1 -2
- package/dist/document-type/index[html].js +1 -2
- package/dist/document-type/index[vdom].js +1 -2
- package/dist/index.js +38 -39
- package/dist/placeholder/index.js +1 -2
- package/dist/placeholder/index[html].js +1 -2
- package/dist/placeholder/index[vdom].js +1 -2
- package/dist/scriptlet.js +1 -2
- package/dist/tag/attribute/directives/class.js +1 -2
- package/dist/tag/attribute/directives/index.js +1 -2
- package/dist/tag/attribute/directives/no-update-body-if.js +1 -2
- package/dist/tag/attribute/directives/no-update-body.js +1 -2
- package/dist/tag/attribute/directives/no-update-if.js +1 -2
- package/dist/tag/attribute/directives/no-update.js +1 -2
- package/dist/tag/attribute/directives/style.js +1 -2
- package/dist/tag/attribute/index.js +1 -2
- package/dist/tag/attribute/modifiers/index.js +1 -2
- package/dist/tag/attribute/modifiers/no-update.js +1 -2
- package/dist/tag/attribute/modifiers/scoped.js +1 -2
- package/dist/tag/attribute-tag.js +1 -2
- package/dist/tag/custom-tag.js +1 -2
- package/dist/tag/dynamic-tag.js +1 -2
- package/dist/tag/index.js +1 -2
- package/dist/tag/macro-tag.js +1 -2
- package/dist/tag/native-tag.js +1 -2
- package/dist/tag/native-tag[html]/attributes.js +1 -2
- package/dist/tag/native-tag[html]/index.js +1 -2
- package/dist/tag/native-tag[vdom]/index.js +1 -2
- package/dist/tag/util.js +1 -2
- package/dist/taglib/core/conditional/translate-else-if.js +1 -2
- package/dist/taglib/core/conditional/translate-else.js +1 -2
- package/dist/taglib/core/conditional/translate-if.js +1 -2
- package/dist/taglib/core/conditional/util.js +1 -2
- package/dist/taglib/core/index.js +1 -2
- package/dist/taglib/core/macro/parse.js +1 -2
- package/dist/taglib/core/macro/translate.js +1 -2
- package/dist/taglib/core/parse-class.js +1 -2
- package/dist/taglib/core/parse-export.js +1 -2
- package/dist/taglib/core/parse-import.js +1 -2
- package/dist/taglib/core/parse-module-code.js +1 -2
- package/dist/taglib/core/parse-static.js +1 -2
- package/dist/taglib/core/parse-style.js +1 -2
- package/dist/taglib/core/transform-style.js +1 -2
- package/dist/taglib/core/translate-await.js +1 -2
- package/dist/taglib/core/translate-body.js +1 -2
- package/dist/taglib/core/translate-for.js +1 -2
- package/dist/taglib/core/translate-html-comment.js +1 -2
- package/dist/taglib/core/translate-include-content.js +1 -2
- package/dist/taglib/core/translate-server-only.js +1 -2
- package/dist/taglib/core/translate-while.js +1 -2
- package/dist/taglib/index.js +1 -2
- package/dist/taglib/migrate/all-templates.js +1 -2
- package/dist/taglib/migrate/index.js +1 -2
- package/dist/text/index.js +1 -2
- package/dist/text/index[html].js +1 -2
- package/dist/text/index[vdom].js +1 -2
- package/dist/util/add-dependencies.js +1 -2
- package/dist/util/get-component-files.js +1 -2
- package/dist/util/html-out-write.js +1 -2
- package/dist/util/key-manager.js +1 -2
- package/dist/util/optimize-html-writes.js +1 -2
- package/dist/util/optimize-vdom-create.js +1 -2
- package/dist/util/plugin-hooks.js +1 -2
- package/dist/util/runtime-flags.js +1 -2
- package/dist/util/vdom-out-write.js +1 -2
- package/dist/util/with-previous-location.js +1 -2
- package/package.json +5 -6
- package/LICENSE +0 -21
- package/dist/cdata/index.js.map +0 -1
- package/dist/cdata/index[html].js.map +0 -1
- package/dist/cdata/index[vdom].js.map +0 -1
- package/dist/class.js.map +0 -1
- package/dist/comment/index.js.map +0 -1
- package/dist/comment/index[html].js.map +0 -1
- package/dist/comment/index[vdom].js.map +0 -1
- package/dist/declaration/index.js.map +0 -1
- package/dist/declaration/index[html].js.map +0 -1
- package/dist/declaration/index[vdom].js.map +0 -1
- package/dist/document-type/index.js.map +0 -1
- package/dist/document-type/index[html].js.map +0 -1
- package/dist/document-type/index[vdom].js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/placeholder/index.js.map +0 -1
- package/dist/placeholder/index[html].js.map +0 -1
- package/dist/placeholder/index[vdom].js.map +0 -1
- package/dist/scriptlet.js.map +0 -1
- package/dist/tag/attribute/directives/class.js.map +0 -1
- package/dist/tag/attribute/directives/index.js.map +0 -1
- package/dist/tag/attribute/directives/no-update-body-if.js.map +0 -1
- package/dist/tag/attribute/directives/no-update-body.js.map +0 -1
- package/dist/tag/attribute/directives/no-update-if.js.map +0 -1
- package/dist/tag/attribute/directives/no-update.js.map +0 -1
- package/dist/tag/attribute/directives/style.js.map +0 -1
- package/dist/tag/attribute/index.js.map +0 -1
- package/dist/tag/attribute/modifiers/index.js.map +0 -1
- package/dist/tag/attribute/modifiers/no-update.js.map +0 -1
- package/dist/tag/attribute/modifiers/scoped.js.map +0 -1
- package/dist/tag/attribute-tag.js.map +0 -1
- package/dist/tag/custom-tag.js.map +0 -1
- package/dist/tag/dynamic-tag.js.map +0 -1
- package/dist/tag/index.js.map +0 -1
- package/dist/tag/macro-tag.js.map +0 -1
- package/dist/tag/native-tag.js.map +0 -1
- package/dist/tag/native-tag[html]/attributes.js.map +0 -1
- package/dist/tag/native-tag[html]/index.js.map +0 -1
- package/dist/tag/native-tag[vdom]/index.js.map +0 -1
- package/dist/tag/util.js.map +0 -1
- package/dist/taglib/core/conditional/translate-else-if.js.map +0 -1
- package/dist/taglib/core/conditional/translate-else.js.map +0 -1
- package/dist/taglib/core/conditional/translate-if.js.map +0 -1
- package/dist/taglib/core/conditional/util.js.map +0 -1
- package/dist/taglib/core/index.js.map +0 -1
- package/dist/taglib/core/macro/parse.js.map +0 -1
- package/dist/taglib/core/macro/translate.js.map +0 -1
- package/dist/taglib/core/parse-class.js.map +0 -1
- package/dist/taglib/core/parse-export.js.map +0 -1
- package/dist/taglib/core/parse-import.js.map +0 -1
- package/dist/taglib/core/parse-module-code.js.map +0 -1
- package/dist/taglib/core/parse-static.js.map +0 -1
- package/dist/taglib/core/parse-style.js.map +0 -1
- package/dist/taglib/core/transform-style.js.map +0 -1
- package/dist/taglib/core/translate-await.js.map +0 -1
- package/dist/taglib/core/translate-body.js.map +0 -1
- package/dist/taglib/core/translate-for.js.map +0 -1
- package/dist/taglib/core/translate-html-comment.js.map +0 -1
- package/dist/taglib/core/translate-include-content.js.map +0 -1
- package/dist/taglib/core/translate-server-only.js.map +0 -1
- package/dist/taglib/core/translate-while.js.map +0 -1
- package/dist/taglib/index.js.map +0 -1
- package/dist/taglib/migrate/all-templates.js.map +0 -1
- package/dist/taglib/migrate/index.js.map +0 -1
- package/dist/text/index.js.map +0 -1
- package/dist/text/index[html].js.map +0 -1
- package/dist/text/index[vdom].js.map +0 -1
- package/dist/util/add-dependencies.js.map +0 -1
- package/dist/util/get-component-files.js.map +0 -1
- package/dist/util/html-out-write.js.map +0 -1
- package/dist/util/key-manager.js.map +0 -1
- package/dist/util/optimize-html-writes.js.map +0 -1
- package/dist/util/optimize-vdom-create.js.map +0 -1
- package/dist/util/plugin-hooks.js.map +0 -1
- package/dist/util/runtime-flags.js.map +0 -1
- package/dist/util/vdom-out-write.js.map +0 -1
- package/dist/util/with-previous-location.js.map +0 -1
package/dist/cdata/index.js
CHANGED
package/dist/class.js
CHANGED
package/dist/comment/index.js
CHANGED
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
|
+
}
|
package/dist/scriptlet.js
CHANGED
@@ -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;
|
@@ -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;
|
@@ -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;
|
package/dist/tag/custom-tag.js
CHANGED
package/dist/tag/dynamic-tag.js
CHANGED
package/dist/tag/index.js
CHANGED
package/dist/tag/macro-tag.js
CHANGED
package/dist/tag/native-tag.js
CHANGED
package/dist/tag/util.js
CHANGED
@@ -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;
|
package/dist/taglib/index.js
CHANGED
@@ -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;
|
package/dist/text/index.js
CHANGED
package/dist/text/index[html].js
CHANGED
package/dist/text/index[vdom].js
CHANGED