marko 5.37.2 → 5.37.4

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 (91) hide show
  1. package/dist/compiler/index.js +11 -11
  2. package/dist/core-tags/components/init-components-tag.js +4 -4
  3. package/dist/core-tags/components/preferred-script-location-tag.js +2 -2
  4. package/dist/core-tags/core/__flush_here_and_after__.js +1 -1
  5. package/dist/core-tags/core/await/AsyncValue.js +21 -21
  6. package/dist/core-tags/core/await/renderer.js +24 -24
  7. package/dist/core-tags/core/await/reorderer-renderer.js +6 -6
  8. package/dist/node-require/browser-refresh.js +1 -18
  9. package/dist/node-require/index.js +7 -7
  10. package/dist/node_modules/@internal/components-beginComponent/index-browser.js +5 -5
  11. package/dist/node_modules/@internal/components-beginComponent/index.js +12 -12
  12. package/dist/node_modules/@internal/components-define-widget-legacy/index-browser.js +99 -99
  13. package/dist/node_modules/@internal/components-define-widget-legacy/index.js +3 -3
  14. package/dist/node_modules/@internal/components-endComponent/index.js +3 -3
  15. package/dist/node_modules/@internal/components-entry/index-browser.js +2 -2
  16. package/dist/node_modules/@internal/components-entry/index.js +29 -29
  17. package/dist/node_modules/@internal/components-entry-legacy/index-browser.js +13 -13
  18. package/dist/node_modules/@internal/components-entry-legacy/index.js +1 -1
  19. package/dist/node_modules/@internal/components-registry/index-browser.js +102 -102
  20. package/dist/node_modules/@internal/components-registry/index.js +2 -2
  21. package/dist/node_modules/@internal/components-util/index-browser.js +20 -20
  22. package/dist/node_modules/@internal/components-util/index.js +20 -24
  23. package/dist/node_modules/@internal/create-readable/index-browser.js +1 -1
  24. package/dist/node_modules/@internal/create-readable/index.js +9 -9
  25. package/dist/node_modules/@internal/preserve-tag/index-browser.js +8 -8
  26. package/dist/node_modules/@internal/preserve-tag/index.js +6 -6
  27. package/dist/node_modules/@internal/set-immediate/index-browser.js +2 -2
  28. package/dist/node_modules/@internal/set-immediate/index-worker.js +3 -3
  29. package/dist/node_modules/@internal/set-immediate/index.js +3 -3
  30. package/dist/runtime/RenderResult.js +24 -24
  31. package/dist/runtime/components/Component.js +163 -163
  32. package/dist/runtime/components/ComponentDef.js +34 -34
  33. package/dist/runtime/components/ComponentsContext.js +20 -20
  34. package/dist/runtime/components/GlobalComponentsContext.js +4 -4
  35. package/dist/runtime/components/KeySequence.js +3 -3
  36. package/dist/runtime/components/ServerComponent.js +17 -17
  37. package/dist/runtime/components/State.js +28 -28
  38. package/dist/runtime/components/attach-detach.js +8 -8
  39. package/dist/runtime/components/defineComponent.js +5 -5
  40. package/dist/runtime/components/dom-data.js +6 -6
  41. package/dist/runtime/components/event-delegation.js +10 -10
  42. package/dist/runtime/components/legacy/defineComponent-legacy.js +1 -1
  43. package/dist/runtime/components/legacy/defineRenderer-legacy.js +25 -25
  44. package/dist/runtime/components/legacy/dependencies/index.js +10 -10
  45. package/dist/runtime/components/legacy/renderer-legacy.js +56 -56
  46. package/dist/runtime/components/renderer.js +45 -45
  47. package/dist/runtime/components/update-manager.js +4 -4
  48. package/dist/runtime/createOut.js +1 -1
  49. package/dist/runtime/dom-insert.js +5 -5
  50. package/dist/runtime/helpers/_change-case.js +2 -2
  51. package/dist/runtime/helpers/dynamic-tag.js +33 -33
  52. package/dist/runtime/helpers/render-tag.js +1 -1
  53. package/dist/runtime/helpers/serialize-noop.js +2 -2
  54. package/dist/runtime/helpers/style-value.js +1 -1
  55. package/dist/runtime/helpers/tags-compat/runtime-dom.js +35 -35
  56. package/dist/runtime/helpers/tags-compat/runtime-html.js +16 -16
  57. package/dist/runtime/html/AsyncStream.js +28 -28
  58. package/dist/runtime/html/BufferedWriter.js +2 -2
  59. package/dist/runtime/html/StringWriter.js +2 -2
  60. package/dist/runtime/html/helpers/_dynamic-attr.js +2 -2
  61. package/dist/runtime/html/helpers/attr.js +11 -11
  62. package/dist/runtime/html/helpers/attrs.js +6 -6
  63. package/dist/runtime/html/helpers/data-marko.js +6 -6
  64. package/dist/runtime/html/helpers/escape-quotes.js +2 -2
  65. package/dist/runtime/html/helpers/escape-xml.js +1 -1
  66. package/dist/runtime/html/helpers/merge-attrs.js +11 -11
  67. package/dist/runtime/html/helpers/props-script.js +1 -1
  68. package/dist/runtime/html/index.js +2 -2
  69. package/dist/runtime/renderable.js +5 -5
  70. package/dist/runtime/vdom/AsyncVDOMBuilder.js +100 -100
  71. package/dist/runtime/vdom/VComment.js +7 -7
  72. package/dist/runtime/vdom/VComponent.js +5 -5
  73. package/dist/runtime/vdom/VDocumentFragment.js +8 -8
  74. package/dist/runtime/vdom/VElement.js +52 -52
  75. package/dist/runtime/vdom/VFragment.js +9 -9
  76. package/dist/runtime/vdom/VNode.js +34 -34
  77. package/dist/runtime/vdom/VText.js +8 -8
  78. package/dist/runtime/vdom/helpers/attrs.js +6 -6
  79. package/dist/runtime/vdom/helpers/const-element.js +3 -3
  80. package/dist/runtime/vdom/hot-reload.js +20 -20
  81. package/dist/runtime/vdom/index.js +2 -2
  82. package/dist/runtime/vdom/morphdom/fragment.js +10 -10
  83. package/dist/runtime/vdom/morphdom/helpers.js +5 -5
  84. package/dist/runtime/vdom/morphdom/index.js +81 -81
  85. package/dist/runtime/vdom/vdom.js +15 -15
  86. package/dist/taglib/index.js +6 -6
  87. package/dist/translator/index.js +2 -1
  88. package/dist/translator/util/get-component-files.js +1 -1
  89. package/docs/typescript.md +1 -1
  90. package/package.json +2 -2
  91. package/src/translator/index.js +1 -0
@@ -4,7 +4,7 @@ var ok = require("assert").ok;
4
4
  var fs = require("fs");
5
5
 
6
6
  // eslint-disable-next-line no-constant-binary-expression
7
- var complain = "MARKO_DEBUG" && require("complain");
7
+
8
8
  var compiler = require("@marko/compiler");
9
9
  var extend = require("raptor-util/extend");
10
10
  var taglib = require("../taglib");
@@ -12,16 +12,16 @@ var globalConfig = require("./config");
12
12
  var defaults = extend({}, globalConfig);
13
13
 
14
14
  // eslint-disable-next-line no-constant-condition
15
- if ("MARKO_DEBUG") {
16
- if (
17
- require.main &&
18
- require.main.filename !== require.resolve("../../bin/markoc"))
19
- {
20
- complain(
21
- "Using `marko/compiler` has been deprecated, please upgrade to the `@marko/compiler` module."
22
- );
23
- }
24
- }
15
+
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
25
 
26
26
  var defaultOptionsExportDefinition = {
27
27
  get: function () {
@@ -3,14 +3,14 @@
3
3
  const INIT_COMPONENTS_KEY = Symbol();
4
4
 
5
5
  const addComponentsFromContext =
6
- require("../../runtime/components").___addComponentsFromContext;
6
+ require("../../runtime/components").__;
7
7
  const getInitComponentsCode =
8
- require("../../runtime/components").___getInitComponentsCode;
8
+ require("../../runtime/components").a_;
9
9
 
10
10
  function addComponentsFromOut(source, target) {
11
11
  const sourceOut = source.out || source;
12
12
  const targetOut = target || sourceOut;
13
- const componentsContext = sourceOut.___components;
13
+ const componentsContext = sourceOut.b_;
14
14
  const componentDefs = targetOut.writer.get("componentDefs");
15
15
  addComponentsFromContext(componentsContext, componentDefs);
16
16
  }
@@ -27,7 +27,7 @@ module.exports = function render(input, out) {
27
27
  $global[INIT_COMPONENTS_KEY] = true;
28
28
 
29
29
  out.on("await:finish", addComponentsFromOut);
30
- out.on("___toString", addInitScript);
30
+ out.on("c_", addInitScript);
31
31
 
32
32
  if (out.isSync() === true) {
33
33
  // Generate initialization code for any of the UI components that were
@@ -3,9 +3,9 @@
3
3
  function forceScriptTagAtThisPoint(out) {
4
4
  const writer = out.writer;
5
5
 
6
- out.global.___isLastFlush = true;
6
+ out.global.d_ = true;
7
7
  const htmlSoFar = writer.toString();
8
- out.global.___isLastFlush = undefined;
8
+ out.global.d_ = undefined;
9
9
 
10
10
  writer.clear();
11
11
  writer.write(htmlSoFar);
@@ -16,7 +16,7 @@ module.exports = function __flushHereAndAfter__(input, out) {
16
16
  const asyncOut = out.beginAsync({ last: true });
17
17
  const nextWriter = out.writer;
18
18
 
19
- out.on("___toString", (writer) => {
19
+ out.on("c_", (writer) => {
20
20
  if (writer instanceof BufferedWriter) {
21
21
  if (flushed) {
22
22
  const detachedOut = out.createOut();
@@ -1,34 +1,34 @@
1
- "use strict";var queueMicrotask = require("@internal/set-immediate").___queueMicrotask;
1
+ "use strict";var queueMicrotask = require("@internal/set-immediate").e_;
2
2
 
3
3
  function AsyncValue() {
4
4
  /**
5
5
  * The data that was provided via call to resolve(data).
6
6
  * This property is assumed to be public and available for inspection.
7
7
  */
8
- this.___value = undefined;
8
+ this.f_ = undefined;
9
9
 
10
10
  /**
11
11
  * The data that was provided via call to reject(err)
12
12
  * This property is assumed to be public and available for inspection.
13
13
  */
14
- this.___error = undefined;
14
+ this.g_ = undefined;
15
15
 
16
16
  /**
17
17
  * The queue of callbacks that are waiting for data
18
18
  */
19
- this.___callbacks = undefined;
19
+ this.h_ = undefined;
20
20
 
21
21
  /**
22
22
  * The state of the data holder (STATE_INITIAL, STATE_RESOLVED, or STATE_REJECTED)
23
23
  */
24
- this.___settled = false;
24
+ this.i_ = false;
25
25
  }
26
26
 
27
27
  function notifyCallbacks(asyncValue, err, value) {
28
- var callbacks = asyncValue.___callbacks;
28
+ var callbacks = asyncValue.h_;
29
29
  if (callbacks) {
30
30
  // clear out the registered callbacks (we still have reference to the original value)
31
- asyncValue.___callbacks = undefined;
31
+ asyncValue.h_ = undefined;
32
32
 
33
33
  // invoke all of the callbacks and use their scope
34
34
  for (var i = 0; i < callbacks.length; i++) {
@@ -46,14 +46,14 @@ AsyncValue.prototype = {
46
46
  * The given callback will be invoked when there is an error or resolved data
47
47
  * available.
48
48
  */
49
- ___done: function (callback) {
49
+ j_: function (callback) {
50
50
  // Do we already have data or error?
51
- if (this.___settled) {
51
+ if (this.i_) {
52
52
  // invoke the callback immediately
53
- return callback(this.___error, this.___value);
53
+ return callback(this.g_, this.f_);
54
54
  }
55
55
 
56
- var callbacks = this.___callbacks || (this.___callbacks = []);
56
+ var callbacks = this.h_ || (this.h_ = []);
57
57
  callbacks.push(callback);
58
58
  },
59
59
 
@@ -63,19 +63,19 @@ AsyncValue.prototype = {
63
63
  * its initial state so that any future requests to load data will trigger a
64
64
  * new load call.
65
65
  */
66
- ___reject: function (err) {
67
- if (this.___settled) {
66
+ k_: function (err) {
67
+ if (this.i_) {
68
68
  return;
69
69
  }
70
70
 
71
71
  // remember the error
72
- this.___error = err;
72
+ this.g_ = err;
73
73
 
74
74
  // Go to the rejected state if we don't have a loader.
75
75
  // If we do have a loader then return to the initial state
76
76
  // (we do this so that next call to done() will trigger load
77
77
  // again in case the error was transient).
78
- this.___settled = true;
78
+ this.i_ = true;
79
79
 
80
80
  // always notify callbacks regardless of whether or not we return to the initial state
81
81
  notifyCallbacks(this, err, null);
@@ -84,8 +84,8 @@ AsyncValue.prototype = {
84
84
  /**
85
85
  * This method will trigger any callbacks to be notified of data.
86
86
  */
87
- ___resolve: function (value) {
88
- if (this.___settled) {
87
+ l_: function (value) {
88
+ if (this.i_) {
89
89
  return;
90
90
  }
91
91
 
@@ -95,10 +95,10 @@ AsyncValue.prototype = {
95
95
 
96
96
  var finalPromise = value.then(
97
97
  function onFulfilled(value) {
98
- queueMicrotask(asyncValue.___resolve.bind(asyncValue, value));
98
+ queueMicrotask(asyncValue.l_.bind(asyncValue, value));
99
99
  },
100
100
  function onRejected(err) {
101
- queueMicrotask(asyncValue.___reject.bind(asyncValue, err));
101
+ queueMicrotask(asyncValue.k_.bind(asyncValue, err));
102
102
  }
103
103
  );
104
104
 
@@ -107,10 +107,10 @@ AsyncValue.prototype = {
107
107
  }
108
108
  } else {
109
109
  // remember the state
110
- this.___value = value;
110
+ this.f_ = value;
111
111
 
112
112
  // go to the resolved state
113
- this.___settled = true;
113
+ this.i_ = true;
114
114
 
115
115
  // notify callbacks
116
116
  notifyCallbacks(this, null, value);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  // eslint-disable-next-line no-constant-binary-expression
3
- var complain = "MARKO_DEBUG" && require("complain");
3
+
4
4
  var AsyncValue = require("./AsyncValue");
5
5
 
6
6
  function safeRenderBody(renderBody, targetOut, data) {
@@ -16,18 +16,18 @@ function requestData(provider, timeout) {
16
16
 
17
17
  if (typeof provider === "function") {
18
18
  // eslint-disable-next-line no-constant-condition
19
- if ("MARKO_DEBUG") {
20
- complain(
21
- "Passing a callback function to the <await> tag has been deprecated, please use a promise instead.",
22
- { level: 1, locationIndex: 3 }
23
- );
24
- }
19
+
20
+
21
+
22
+
23
+
24
+
25
25
 
26
26
  var callback = function (err, data) {
27
27
  if (err) {
28
- asyncValue.___reject(err);
28
+ asyncValue.k_(err);
29
29
  } else {
30
- asyncValue.___resolve(data);
30
+ asyncValue.l_(data);
31
31
  }
32
32
  };
33
33
 
@@ -39,11 +39,11 @@ function requestData(provider, timeout) {
39
39
  provider(null, callback);
40
40
 
41
41
  if (value !== undefined) {
42
- asyncValue.___resolve(value);
42
+ asyncValue.l_(value);
43
43
  }
44
44
  } else {
45
45
  // Assume the provider is a data object...
46
- asyncValue.___resolve(provider);
46
+ asyncValue.l_(provider);
47
47
  }
48
48
 
49
49
  if (timeout == null) {
@@ -53,22 +53,22 @@ function requestData(provider, timeout) {
53
53
  var error;
54
54
  var errorMsg = "Timed out after " + timeout + "ms";
55
55
  // eslint-disable-next-line no-constant-condition
56
- if ("MARKO_DEBUG") {
57
- // Make sure we have a meaningful stack trace in development preparing the stacktrace upfront.
58
- // If we create it inside the setTimeout, we will end up with a short, not meaningful, stack trace
59
- // We only do it in development to avoid overhead in production
60
- error = new Error(errorMsg);
61
- }
56
+
57
+
58
+
59
+
60
+
61
+
62
62
  if (timeout > 0) {
63
63
  let timeoutId = setTimeout(function () {
64
64
  timeoutId = null;
65
65
  if (!error) error = new Error(errorMsg);
66
66
  error.code = "ERR_AWAIT_TIMEDOUT";
67
67
  error.name = "TimeoutError";
68
- asyncValue.___reject(error);
68
+ asyncValue.k_(error);
69
69
  }, timeout);
70
70
 
71
- asyncValue.___done(function () {
71
+ asyncValue.j_(function () {
72
72
  if (timeoutId != null) {
73
73
  clearTimeout(timeoutId);
74
74
  }
@@ -92,8 +92,8 @@ module.exports = function awaitTag(input, out) {
92
92
  var asyncValue = requestData(provider, timeout);
93
93
  var placeholderRenderer = input.placeholder && input.placeholder.renderBody;
94
94
 
95
- if (asyncValue.___settled) {
96
- renderContents(asyncValue.___error, asyncValue.___value, input, out);
95
+ if (asyncValue.i_) {
96
+ renderContents(asyncValue.g_, asyncValue.f_, input, out);
97
97
  return;
98
98
  }
99
99
 
@@ -111,8 +111,8 @@ module.exports = function awaitTag(input, out) {
111
111
  awaitInfo.after = input.showAfter;
112
112
 
113
113
  clientReorderContext =
114
- out.global.___clientReorderContext || (
115
- out.global.___clientReorderContext = {
114
+ out.global.m_ || (
115
+ out.global.m_ = {
116
116
  instances: [],
117
117
  nextId: 0
118
118
  });
@@ -218,7 +218,7 @@ module.exports = function awaitTag(input, out) {
218
218
  }
219
219
  }
220
220
 
221
- asyncValue.___done(renderBody);
221
+ asyncValue.j_(renderBody);
222
222
  };
223
223
 
224
224
  function renderContents(err, data, input, out) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  var escapeDoubleQuotes =
4
- require("../../../runtime/html/helpers/escape-quotes").___escapeDoubleQuotes;
4
+ require("../../../runtime/html/helpers/escape-quotes").n_;
5
5
 
6
6
  module.exports = function (input, out) {
7
7
  // We cannot call beginSync() when using renderSync(). In this case we will
@@ -20,7 +20,7 @@ module.exports = function (input, out) {
20
20
 
21
21
  global.__awaitReordererInvoked = true;
22
22
 
23
- if (out.global.___clientReorderContext) {
23
+ if (out.global.m_) {
24
24
  out.flush();
25
25
  }
26
26
 
@@ -35,7 +35,7 @@ module.exports = function (input, out) {
35
35
  });
36
36
 
37
37
  out.onLast(function (next) {
38
- var awaitContext = global.___clientReorderContext;
38
+ var awaitContext = global.m_;
39
39
  var remaining;
40
40
 
41
41
  // Validate that we have remaining <await> instances that need handled
@@ -55,11 +55,11 @@ module.exports = function (input, out) {
55
55
  let flushedPlaceholder = awaitInfo.parent._state.finished;
56
56
  if (flushedPlaceholder) {
57
57
  if (awaitInfo.out._state.finished) {
58
- writeResult(awaitInfo.out.___getResult());
58
+ writeResult(awaitInfo.out.o_());
59
59
  return;
60
60
  }
61
61
  } else {
62
- awaitInfo.parent.on("___toString", () => {
62
+ awaitInfo.parent.on("c_", () => {
63
63
  flushedPlaceholder = true;
64
64
  if (!flushedScript && flushedContent) {
65
65
  flushedScript = true;
@@ -76,7 +76,7 @@ module.exports = function (input, out) {
76
76
  }
77
77
 
78
78
  awaitInfo.out.
79
- on("___toString", out.emit.bind(out, "___toString")).
79
+ on("c_", out.emit.bind(out, "c_")).
80
80
  on("finish", writeResult).
81
81
  on("error", function (err) {
82
82
  asyncOut.error(err);
@@ -1,18 +1 @@
1
- "use strict"; // eslint-disable-next-line no-constant-condition
2
- if ("MARKO_DEBUG") {
3
- const browserRefreshClient = require("browser-refresh-client");
4
- if (browserRefreshClient.isBrowserRefreshEnabled()) {
5
- const extensions = require(".").getExtensions();
6
- const hotReload = require("./hot-reload");
7
-
8
- browserRefreshClient.
9
- enableSpecialReload(
10
- `${extensions.
11
- map((ext) => `*${ext}`).
12
- join(" ")} marko.json marko-tag.json`
13
- ).
14
- onFileModified((path) => {
15
- hotReload.handleFileModified(path);
16
- });
17
- }
18
- }
1
+ "use strict";
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  // eslint-disable-next-line no-constant-binary-expression
3
- const complain = "MARKO_DEBUG" && require("complain");
3
+
4
4
  const path = require("path");
5
5
  const resolveFrom = require("resolve-from");
6
6
  const requiredCompilerOptions = { modules: "cjs" };
7
7
  const defaultCompilerOptions = {
8
8
  // eslint-disable-next-line no-constant-condition
9
- sourceMaps: "MARKO_DEBUG" ? "inline" : false,
9
+ sourceMaps: false,
10
10
  meta: true,
11
11
  babelConfig: {
12
12
  babelrc: false,
@@ -17,11 +17,11 @@ const defaultCompilerOptions = {
17
17
  const MARKO_EXTENSIONS = Symbol("MARKO_EXTENSIONS");
18
18
 
19
19
  // eslint-disable-next-line no-constant-condition
20
- if ("MARKO_DEBUG") {
21
- complain(
22
- 'Using "marko/node-require" has been replaced with "@marko/compiler/register".'
23
- );
24
- }
20
+
21
+
22
+
23
+
24
+
25
25
 
26
26
  function normalizeExtension(extension) {
27
27
  if (extension.charAt(0) !== ".") {
@@ -7,17 +7,17 @@ key,
7
7
  ownerComponentDef)
8
8
  {
9
9
  var componentId = component.id;
10
- var componentDef = componentsContext.___componentDef = new ComponentDef(
10
+ var componentDef = componentsContext.p_ = new ComponentDef(
11
11
  component,
12
12
  componentId,
13
13
  componentsContext
14
14
  );
15
- componentsContext.___globalContext.___renderedComponentsById[
15
+ componentsContext.q_.r_[
16
16
  componentId] =
17
17
  true;
18
- componentsContext.___components.push(componentDef);
18
+ componentsContext.b_.push(componentDef);
19
19
 
20
- var out = componentsContext.___out;
21
- out.bc(component, key, ownerComponentDef && ownerComponentDef.___component);
20
+ var out = componentsContext.s_;
21
+ out.bc(component, key, ownerComponentDef && ownerComponentDef.t_);
22
22
  return componentDef;
23
23
  };
@@ -21,20 +21,20 @@ existingComponentDef)
21
21
  // widget. It should be removed when the legacy compat layer is removed.
22
22
  var componentDef =
23
23
  existingComponentDef || (
24
- componentsContext.___componentDef = new ComponentDef(
24
+ componentsContext.p_ = new ComponentDef(
25
25
  component,
26
26
  componentId,
27
27
  componentsContext
28
28
  ));
29
29
 
30
30
  var ownerIsRenderBoundary =
31
- ownerComponentDef && ownerComponentDef.___renderBoundary;
31
+ ownerComponentDef && ownerComponentDef.u_;
32
32
  var ownerWillRerender =
33
33
  ownerComponentDef &&
34
- ownerComponentDef.___flags & FLAG_WILL_RERENDER_IN_BROWSER;
34
+ ownerComponentDef.v_ & FLAG_WILL_RERENDER_IN_BROWSER;
35
35
  // On the server
36
- if (!componentsContext.___isPreserved && ownerWillRerender) {
37
- componentDef.___flags |= FLAG_WILL_RERENDER_IN_BROWSER;
36
+ if (!componentsContext.w_ && ownerWillRerender) {
37
+ componentDef.v_ |= FLAG_WILL_RERENDER_IN_BROWSER;
38
38
  componentDef._wrr = true;
39
39
  return componentDef;
40
40
  }
@@ -46,22 +46,22 @@ existingComponentDef)
46
46
  return componentDef;
47
47
  }
48
48
 
49
- componentsContext.___components.push(componentDef);
49
+ componentsContext.b_.push(componentDef);
50
50
 
51
- let out = componentsContext.___out;
51
+ let out = componentsContext.s_;
52
52
  let runtimeId = out.global.runtimeId;
53
53
 
54
- componentDef.___renderBoundary = true;
55
- componentDef.___parentPreserved = componentsContext.___isPreserved;
54
+ componentDef.u_ = true;
55
+ componentDef.x_ = componentsContext.w_;
56
56
 
57
57
  if (isSplitComponent === false && out.global.noBrowserRerender !== true) {
58
- componentDef.___flags |= FLAG_WILL_RERENDER_IN_BROWSER;
58
+ componentDef.v_ |= FLAG_WILL_RERENDER_IN_BROWSER;
59
59
  componentDef._wrr = true;
60
- componentsContext.___isPreserved = false;
60
+ componentsContext.w_ = false;
61
61
  }
62
62
 
63
63
  if (out.global.oldHydrateNoCreate === true) {
64
- componentDef.___flags |= FLAG_OLD_HYDRATE_NO_CREATE;
64
+ componentDef.v_ |= FLAG_OLD_HYDRATE_NO_CREATE;
65
65
  }
66
66
 
67
67
  if ((ownerIsRenderBoundary || ownerWillRerender) && key != null) {