marko 5.33.8 → 5.33.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. package/dist/core-tags/core/await/AsyncValue.js +21 -21
  2. package/dist/core-tags/core/await/renderer.js +11 -11
  3. package/dist/core-tags/core/await/reorderer-renderer.js +3 -3
  4. package/dist/node_modules/@internal/components-beginComponent/index-browser.js +4 -4
  5. package/dist/node_modules/@internal/components-beginComponent/index.js +11 -11
  6. package/dist/node_modules/@internal/components-define-widget-legacy/index-browser.js +45 -45
  7. package/dist/node_modules/@internal/components-define-widget-legacy/index.js +3 -3
  8. package/dist/node_modules/@internal/components-endComponent/index.js +3 -3
  9. package/dist/node_modules/@internal/components-entry/index-browser.js +2 -2
  10. package/dist/node_modules/@internal/components-entry/index.js +16 -16
  11. package/dist/node_modules/@internal/components-entry-legacy/index-browser.js +6 -6
  12. package/dist/node_modules/@internal/components-registry/index-browser.js +46 -46
  13. package/dist/node_modules/@internal/components-registry/index.js +2 -2
  14. package/dist/node_modules/@internal/components-util/index-browser.js +20 -20
  15. package/dist/node_modules/@internal/components-util/index.js +10 -10
  16. package/dist/node_modules/@internal/create-readable/index-browser.js +1 -1
  17. package/dist/node_modules/@internal/create-readable/index.js +9 -9
  18. package/dist/node_modules/@internal/preserve-tag/index-browser.js +7 -7
  19. package/dist/node_modules/@internal/preserve-tag/index.js +5 -5
  20. package/dist/node_modules/@internal/set-immediate/index-browser.js +4 -2
  21. package/dist/node_modules/@internal/set-immediate/index-worker.js +31 -2
  22. package/dist/node_modules/@internal/set-immediate/index.js +3 -2
  23. package/dist/node_modules/@internal/set-immediate/queueMicrotask.js +8 -0
  24. package/dist/runtime/RenderResult.js +8 -8
  25. package/dist/runtime/components/Component.js +145 -145
  26. package/dist/runtime/components/ComponentDef.js +28 -28
  27. package/dist/runtime/components/ComponentsContext.js +15 -15
  28. package/dist/runtime/components/GlobalComponentsContext.js +4 -4
  29. package/dist/runtime/components/KeySequence.js +3 -3
  30. package/dist/runtime/components/ServerComponent.js +13 -13
  31. package/dist/runtime/components/State.js +26 -26
  32. package/dist/runtime/components/attach-detach.js +8 -8
  33. package/dist/runtime/components/defineComponent.js +5 -5
  34. package/dist/runtime/components/dom-data.js +5 -5
  35. package/dist/runtime/components/event-delegation.js +10 -10
  36. package/dist/runtime/components/legacy/defineComponent-legacy.js +1 -1
  37. package/dist/runtime/components/legacy/defineRenderer-legacy.js +16 -16
  38. package/dist/runtime/components/legacy/dependencies/index.js +7 -7
  39. package/dist/runtime/components/legacy/renderer-legacy.js +43 -43
  40. package/dist/runtime/components/renderer.js +36 -36
  41. package/dist/runtime/components/update-manager.js +4 -4
  42. package/dist/runtime/createOut.js +1 -1
  43. package/dist/runtime/dom-insert.js +5 -5
  44. package/dist/runtime/helpers/_change-case.js +2 -2
  45. package/dist/runtime/helpers/class-value.js +2 -5
  46. package/dist/runtime/helpers/dynamic-tag.js +16 -16
  47. package/dist/runtime/helpers/render-tag.js +1 -1
  48. package/dist/runtime/helpers/style-value.js +3 -3
  49. package/dist/runtime/helpers/tags-compat/runtime-dom.js +21 -21
  50. package/dist/runtime/helpers/tags-compat/runtime-html.js +8 -8
  51. package/dist/runtime/html/AsyncStream.js +31 -28
  52. package/dist/runtime/html/BufferedWriter.js +2 -2
  53. package/dist/runtime/html/StringWriter.js +1 -1
  54. package/dist/runtime/html/helpers/_dynamic-attr.js +2 -2
  55. package/dist/runtime/html/helpers/attr.js +4 -4
  56. package/dist/runtime/html/helpers/data-marko.js +6 -6
  57. package/dist/runtime/html/helpers/escape-quotes.js +2 -2
  58. package/dist/runtime/html/helpers/escape-xml.js +1 -1
  59. package/dist/runtime/html/helpers/props-script.js +1 -1
  60. package/dist/runtime/html/index.js +2 -2
  61. package/dist/runtime/renderable.js +5 -5
  62. package/dist/runtime/vdom/AsyncVDOMBuilder.js +96 -96
  63. package/dist/runtime/vdom/VComponent.js +5 -5
  64. package/dist/runtime/vdom/VDocumentFragment.js +7 -7
  65. package/dist/runtime/vdom/VElement.js +55 -51
  66. package/dist/runtime/vdom/VFragment.js +9 -9
  67. package/dist/runtime/vdom/VNode.js +22 -22
  68. package/dist/runtime/vdom/VText.js +4 -4
  69. package/dist/runtime/vdom/helpers/const-element.js +3 -3
  70. package/dist/runtime/vdom/hot-reload.js +19 -19
  71. package/dist/runtime/vdom/index.js +2 -2
  72. package/dist/runtime/vdom/morphdom/fragment.js +2 -2
  73. package/dist/runtime/vdom/morphdom/helpers.js +4 -4
  74. package/dist/runtime/vdom/morphdom/index.js +68 -68
  75. package/dist/runtime/vdom/vdom.js +12 -12
  76. package/package.json +3 -3
  77. package/src/core-tags/core/await/AsyncValue.js +1 -1
  78. package/src/node_modules/@internal/components-registry/index-browser.js +2 -2
  79. package/src/node_modules/@internal/set-immediate/index-browser.js +2 -0
  80. package/src/node_modules/@internal/set-immediate/index-worker.js +31 -2
  81. package/src/node_modules/@internal/set-immediate/index.js +1 -0
  82. package/src/node_modules/@internal/set-immediate/queueMicrotask.js +8 -0
  83. package/src/runtime/helpers/class-value.js +2 -5
  84. package/src/runtime/helpers/style-value.js +2 -2
  85. package/src/runtime/html/AsyncStream.js +4 -1
  86. package/src/runtime/vdom/VElement.js +15 -11
  87. package/src/runtime/vdom/hot-reload.js +2 -2
  88. package/dist/runtime/queueMicrotask.js +0 -14
  89. package/src/runtime/queueMicrotask.js +0 -14
@@ -1,14 +0,0 @@
1
- "use strict";var promise;
2
- module.exports =
3
- typeof queueMicrotask === "function" ?
4
- queueMicrotask :
5
- typeof Promise === "function" && (promise = Promise.resolve()) ?
6
- function (cb) {
7
- promise.then(cb).catch(rethrow);
8
- } :
9
- setTimeout;
10
- function rethrow(err) {
11
- setTimeout(function () {
12
- throw err;
13
- });
14
- }
@@ -1,14 +0,0 @@
1
- var promise;
2
- module.exports =
3
- typeof queueMicrotask === "function"
4
- ? queueMicrotask
5
- : typeof Promise === "function" && (promise = Promise.resolve())
6
- ? function (cb) {
7
- promise.then(cb).catch(rethrow);
8
- }
9
- : setTimeout;
10
- function rethrow(err) {
11
- setTimeout(function () {
12
- throw err;
13
- });
14
- }