react-markup 0.0.0-experimental-b9cfa0d3-20250505 → 0.0.0-experimental-0ff1d13b-20250507

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.
@@ -5499,14 +5499,7 @@
5499
5499
  case REACT_VIEW_TRANSITION_TYPE:
5500
5500
  var prevKeyPath$jscomp$3 = task.keyPath;
5501
5501
  task.keyPath = keyPath;
5502
- if (null != props.name && "auto" !== props.name)
5503
- renderNodeDestructive(request, task, props.children, -1);
5504
- else {
5505
- var prevTreeContext = task.treeContext;
5506
- task.treeContext = pushTreeContext(prevTreeContext, 1, 0);
5507
- renderNode(request, task, props.children, -1);
5508
- task.treeContext = prevTreeContext;
5509
- }
5502
+ renderNodeDestructive(request, task, props.children, -1);
5510
5503
  task.keyPath = prevKeyPath$jscomp$3;
5511
5504
  return;
5512
5505
  case REACT_SCOPE_TYPE:
@@ -9054,5 +9047,5 @@
9054
9047
  });
9055
9048
  });
9056
9049
  };
9057
- exports.version = "19.2.0-experimental-b9cfa0d3-20250505";
9050
+ exports.version = "19.2.0-experimental-0ff1d13b-20250507";
9058
9051
  })();
@@ -3986,12 +3986,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
3986
3986
  case REACT_VIEW_TRANSITION_TYPE:
3987
3987
  type = task.keyPath;
3988
3988
  task.keyPath = keyPath;
3989
- null != props.name && "auto" !== props.name
3990
- ? renderNodeDestructive(request, task, props.children, -1)
3991
- : ((keyPath = task.treeContext),
3992
- (task.treeContext = pushTreeContext(keyPath, 1, 0)),
3993
- renderNode(request, task, props.children, -1),
3994
- (task.treeContext = keyPath));
3989
+ renderNodeDestructive(request, task, props.children, -1);
3995
3990
  task.keyPath = type;
3996
3991
  return;
3997
3992
  case REACT_SCOPE_TYPE:
@@ -6089,4 +6084,4 @@ exports.experimental_renderToHTML = function (children, options) {
6089
6084
  });
6090
6085
  });
6091
6086
  };
6092
- exports.version = "19.2.0-experimental-b9cfa0d3-20250505";
6087
+ exports.version = "19.2.0-experimental-0ff1d13b-20250507";
@@ -136,10 +136,57 @@
136
136
  );
137
137
  });
138
138
  }
139
- function prepareStackTrace(error, structuredStackTrace) {
139
+ function collectStackTrace(error, structuredStackTrace) {
140
+ for (
141
+ var result = [], i = framesToSkip;
142
+ i < structuredStackTrace.length;
143
+ i++
144
+ ) {
145
+ var callSite = structuredStackTrace[i],
146
+ _name = callSite.getFunctionName() || "<anonymous>";
147
+ if ("react-stack-bottom-frame" === _name) break;
148
+ else if (callSite.isNative()) result.push([_name, "", 0, 0]);
149
+ else {
150
+ if (callSite.isConstructor()) _name = "new " + _name;
151
+ else if (!callSite.isToplevel()) {
152
+ var callSite$jscomp$0 = callSite;
153
+ _name = callSite$jscomp$0.getTypeName();
154
+ var methodName = callSite$jscomp$0.getMethodName();
155
+ callSite$jscomp$0 = callSite$jscomp$0.getFunctionName();
156
+ var result$jscomp$0 = "";
157
+ callSite$jscomp$0
158
+ ? (_name &&
159
+ identifierRegExp.test(callSite$jscomp$0) &&
160
+ callSite$jscomp$0 !== _name &&
161
+ (result$jscomp$0 += _name + "."),
162
+ (result$jscomp$0 += callSite$jscomp$0),
163
+ !methodName ||
164
+ callSite$jscomp$0 === methodName ||
165
+ callSite$jscomp$0.endsWith("." + methodName) ||
166
+ callSite$jscomp$0.endsWith(" " + methodName) ||
167
+ (result$jscomp$0 += " [as " + methodName + "]"))
168
+ : (_name && (result$jscomp$0 += _name + "."),
169
+ (result$jscomp$0 = methodName
170
+ ? result$jscomp$0 + methodName
171
+ : result$jscomp$0 + "<anonymous>"));
172
+ _name = result$jscomp$0;
173
+ }
174
+ "<anonymous>" === _name && (_name = "");
175
+ methodName = callSite.getScriptNameOrSourceURL() || "<anonymous>";
176
+ "<anonymous>" === methodName && (methodName = "");
177
+ callSite.isEval() &&
178
+ !methodName &&
179
+ (callSite$jscomp$0 = callSite.getEvalOrigin()) &&
180
+ (methodName = callSite$jscomp$0.toString() + ", <anonymous>");
181
+ callSite$jscomp$0 = callSite.getLineNumber() || 0;
182
+ callSite = callSite.getColumnNumber() || 0;
183
+ result.push([_name, methodName, callSite$jscomp$0, callSite]);
184
+ }
185
+ }
140
186
  error = (error.name || "Error") + ": " + (error.message || "");
141
- for (var i = 0; i < structuredStackTrace.length; i++)
187
+ for (i = 0; i < structuredStackTrace.length; i++)
142
188
  error += "\n at " + structuredStackTrace[i].toString();
189
+ collectedStackTrace = result;
143
190
  return error;
144
191
  }
145
192
  function isClientReference(reference) {
@@ -272,6 +319,12 @@
272
319
  "disabledDepth fell below zero. This is a bug in React. Please file an issue."
273
320
  );
274
321
  }
322
+ function prepareStackTrace(error, structuredStackTrace) {
323
+ error = (error.name || "Error") + ": " + (error.message || "");
324
+ for (var i = 0; i < structuredStackTrace.length; i++)
325
+ error += "\n at " + structuredStackTrace[i].toString();
326
+ return error;
327
+ }
275
328
  function describeBuiltInComponentFrame(name) {
276
329
  if (void 0 === prefix)
277
330
  try {
@@ -688,52 +741,64 @@
688
741
  );
689
742
  }
690
743
  function filterStackTrace(request, error, skipFrames) {
744
+ var existing = stackTraceCache.get(error);
745
+ if (void 0 !== existing) {
746
+ error = existing.slice(0);
747
+ for (request = 0; request < error.length; request++)
748
+ error[request] = error[request].slice(0);
749
+ return error;
750
+ }
691
751
  request = request.filterStackFrame;
692
- a: {
693
- var previousPrepare = Error.prepareStackTrace;
694
- Error.prepareStackTrace = prepareStackTrace;
695
- try {
696
- var stack = String(error.stack);
697
- break a;
698
- } finally {
699
- Error.prepareStackTrace = previousPrepare;
700
- }
701
- stack = void 0;
702
- }
703
- stack.startsWith("Error: react-stack-top-frame\n") &&
704
- (stack = stack.slice(29));
705
- error = stack.indexOf("react-stack-bottom-frame");
706
- -1 !== error && (error = stack.lastIndexOf("\n", error));
707
- -1 !== error && (stack = stack.slice(0, error));
708
- error = stack.split("\n");
709
- for (stack = []; skipFrames < error.length; skipFrames++)
710
- if ((previousPrepare = frameRegExp.exec(error[skipFrames]))) {
711
- var name = previousPrepare[1] || "";
712
- "<anonymous>" === name && (name = "");
713
- var filename = previousPrepare[2] || previousPrepare[5] || "";
714
- "<anonymous>" === filename && (filename = "");
715
- stack.push([
716
- name,
717
- filename,
718
- +(previousPrepare[3] || previousPrepare[6]),
719
- +(previousPrepare[4] || previousPrepare[7])
720
- ]);
752
+ collectedStackTrace = null;
753
+ framesToSkip = skipFrames;
754
+ existing = Error.prepareStackTrace;
755
+ Error.prepareStackTrace = collectStackTrace;
756
+ try {
757
+ var stack = String(error.stack);
758
+ } finally {
759
+ Error.prepareStackTrace = existing;
760
+ }
761
+ if (null !== collectedStackTrace)
762
+ (skipFrames = collectedStackTrace), (collectedStackTrace = null);
763
+ else {
764
+ stack.startsWith("Error: react-stack-top-frame\n") &&
765
+ (stack = stack.slice(29));
766
+ existing = stack.indexOf("react-stack-bottom-frame");
767
+ -1 !== existing && (existing = stack.lastIndexOf("\n", existing));
768
+ -1 !== existing && (stack = stack.slice(0, existing));
769
+ stack = stack.split("\n");
770
+ for (existing = []; skipFrames < stack.length; skipFrames++) {
771
+ var parsed = frameRegExp.exec(stack[skipFrames]);
772
+ if (parsed) {
773
+ var name = parsed[1] || "";
774
+ "<anonymous>" === name && (name = "");
775
+ var filename = parsed[2] || parsed[5] || "";
776
+ "<anonymous>" === filename && (filename = "");
777
+ existing.push([
778
+ name,
779
+ filename,
780
+ +(parsed[3] || parsed[6]),
781
+ +(parsed[4] || parsed[7])
782
+ ]);
783
+ }
721
784
  }
722
- for (skipFrames = 0; skipFrames < stack.length; skipFrames++) {
723
- error = stack[skipFrames];
724
- previousPrepare = error[0];
725
- name = error[1];
785
+ skipFrames = existing;
786
+ }
787
+ for (stack = 0; stack < skipFrames.length; stack++) {
788
+ existing = skipFrames[stack];
789
+ parsed = existing[0];
790
+ name = existing[1];
726
791
  if (name.startsWith("rsc://React/")) {
727
792
  filename = name.indexOf("/", 12);
728
793
  var suffixIdx = name.lastIndexOf("?");
729
794
  -1 < filename &&
730
795
  -1 < suffixIdx &&
731
- (name = error[1] = name.slice(filename + 1, suffixIdx));
796
+ (name = existing[1] = name.slice(filename + 1, suffixIdx));
732
797
  }
733
- request(name, previousPrepare) ||
734
- (stack.splice(skipFrames, 1), skipFrames--);
798
+ request(name, parsed) || (skipFrames.splice(stack, 1), stack--);
735
799
  }
736
- return stack;
800
+ stackTraceCache.set(error, skipFrames);
801
+ return skipFrames;
737
802
  }
738
803
  function patchConsole(consoleInst, methodName) {
739
804
  var descriptor = Object.getOwnPropertyDescriptor(consoleInst, methodName);
@@ -9885,14 +9950,7 @@
9885
9950
  case REACT_VIEW_TRANSITION_TYPE:
9886
9951
  var prevKeyPath$jscomp$3 = task.keyPath;
9887
9952
  task.keyPath = keyPath;
9888
- if (null != props.name && "auto" !== props.name)
9889
- renderNodeDestructive(request, task, props.children, -1);
9890
- else {
9891
- var prevTreeContext = task.treeContext;
9892
- task.treeContext = pushTreeContext(prevTreeContext, 1, 0);
9893
- renderNode(request, task, props.children, -1);
9894
- task.treeContext = prevTreeContext;
9895
- }
9953
+ renderNodeDestructive(request, task, props.children, -1);
9896
9954
  task.keyPath = prevKeyPath$jscomp$3;
9897
9955
  return;
9898
9956
  case REACT_SCOPE_TYPE:
@@ -12430,6 +12488,9 @@
12430
12488
  getCurrentStack: null,
12431
12489
  recentlyCreatedOwnerStacks: 0
12432
12490
  },
12491
+ framesToSkip = 0,
12492
+ collectedStackTrace = null,
12493
+ identifierRegExp = /^[a-zA-Z_$][0-9a-zA-Z_$]*$/,
12433
12494
  frameRegExp =
12434
12495
  /^ {3} at (?:(.+) \((?:(.+):(\d+):(\d+)|<anonymous>)\)|(?:async )?(.+):(\d+):(\d+)|<anonymous>)$/,
12435
12496
  CLIENT_REFERENCE_TAG$1 = Symbol.for("react.client.reference"),
@@ -12618,7 +12679,8 @@
12618
12679
  jsxPropsParents = new WeakMap(),
12619
12680
  jsxChildrenParents = new WeakMap(),
12620
12681
  CLIENT_REFERENCE_TAG = Symbol.for("react.client.reference"),
12621
- doNotLimit = new WeakSet();
12682
+ doNotLimit = new WeakSet(),
12683
+ stackTraceCache = new WeakMap();
12622
12684
  "object" === typeof console &&
12623
12685
  null !== console &&
12624
12686
  (patchConsole(console, "assert"),
@@ -13889,5 +13951,5 @@
13889
13951
  });
13890
13952
  });
13891
13953
  };
13892
- exports.version = "19.2.0-experimental-b9cfa0d3-20250505";
13954
+ exports.version = "19.2.0-experimental-0ff1d13b-20250507";
13893
13955
  })();
@@ -108,12 +108,6 @@ function readAsDataURL(blob) {
108
108
  );
109
109
  });
110
110
  }
111
- function prepareStackTrace(error, structuredStackTrace) {
112
- error = (error.name || "Error") + ": " + (error.message || "");
113
- for (var i = 0; i < structuredStackTrace.length; i++)
114
- error += "\n at " + structuredStackTrace[i].toString();
115
- return error;
116
- }
117
111
  var CLIENT_REFERENCE_TAG$1 = Symbol.for("react.client.reference"),
118
112
  SERVER_REFERENCE_TAG = Symbol.for("react.server.reference"),
119
113
  TEMPORARY_REFERENCE_TAG = Symbol.for("react.temporary.reference"),
@@ -300,9 +294,14 @@ var DefaultAsyncDispatcher$1 = {
300
294
  return entry;
301
295
  }
302
296
  },
303
- assign = Object.assign,
304
- prefix,
305
- suffix;
297
+ assign = Object.assign;
298
+ function prepareStackTrace(error, structuredStackTrace) {
299
+ error = (error.name || "Error") + ": " + (error.message || "");
300
+ for (var i = 0; i < structuredStackTrace.length; i++)
301
+ error += "\n at " + structuredStackTrace[i].toString();
302
+ return error;
303
+ }
304
+ var prefix, suffix;
306
305
  function describeBuiltInComponentFrame(name) {
307
306
  if (void 0 === prefix)
308
307
  try {
@@ -348,16 +347,16 @@ function describeNativeComponentFrame(fn, construct) {
348
347
  } else {
349
348
  try {
350
349
  Fake.call();
351
- } catch (x$3) {
352
- control = x$3;
350
+ } catch (x$5) {
351
+ control = x$5;
353
352
  }
354
353
  fn.call(Fake.prototype);
355
354
  }
356
355
  } else {
357
356
  try {
358
357
  throw Error();
359
- } catch (x$4) {
360
- control = x$4;
358
+ } catch (x$6) {
359
+ control = x$6;
361
360
  }
362
361
  (Fake = fn()) &&
363
362
  "function" === typeof Fake.catch &&
@@ -720,8 +719,8 @@ function serializeReadableStream(request, task, stream) {
720
719
  tryStreamTask(request, streamTask),
721
720
  enqueueFlush(request),
722
721
  reader.read().then(progress, error);
723
- } catch (x$9) {
724
- error(x$9);
722
+ } catch (x$12) {
723
+ error(x$12);
725
724
  }
726
725
  }
727
726
  function error(reason) {
@@ -795,8 +794,8 @@ function serializeAsyncIterable(request, task, iterable, iterator) {
795
794
  tryStreamTask(request, streamTask),
796
795
  enqueueFlush(request),
797
796
  iterator.next().then(progress, error);
798
- } catch (x$10) {
799
- error(x$10);
797
+ } catch (x$13) {
798
+ error(x$13);
800
799
  }
801
800
  }
802
801
  function error(reason) {
@@ -1759,12 +1758,12 @@ function abort$1(request, reason) {
1759
1758
  ? Error("The render was aborted by the server with a promise.")
1760
1759
  : reason,
1761
1760
  digest = logRecoverableError$1(request, error, null),
1762
- errorId$27 = request.nextChunkId++;
1763
- request.fatalError = errorId$27;
1761
+ errorId$30 = request.nextChunkId++;
1762
+ request.fatalError = errorId$30;
1764
1763
  request.pendingChunks++;
1765
- emitErrorChunk(request, errorId$27, digest, error);
1764
+ emitErrorChunk(request, errorId$30, digest, error);
1766
1765
  abortableTasks.forEach(function (task) {
1767
- return abortTask$1(task, request, errorId$27);
1766
+ return abortTask$1(task, request, errorId$30);
1768
1767
  });
1769
1768
  }
1770
1769
  abortableTasks.clear();
@@ -1772,7 +1771,7 @@ function abort$1(request, reason) {
1772
1771
  }
1773
1772
  var abortListeners = request.abortListeners;
1774
1773
  if (0 < abortListeners.size) {
1775
- var error$28 =
1774
+ var error$31 =
1776
1775
  "object" === typeof reason &&
1777
1776
  null !== reason &&
1778
1777
  reason.$$typeof === REACT_POSTPONE_TYPE
@@ -1785,16 +1784,16 @@ function abort$1(request, reason) {
1785
1784
  ? Error("The render was aborted by the server with a promise.")
1786
1785
  : reason;
1787
1786
  abortListeners.forEach(function (callback) {
1788
- return callback(error$28);
1787
+ return callback(error$31);
1789
1788
  });
1790
1789
  abortListeners.clear();
1791
1790
  callOnAllReadyIfReady(request);
1792
1791
  }
1793
1792
  null !== request.destination &&
1794
1793
  flushCompletedChunks(request, request.destination);
1795
- } catch (error$29) {
1796
- logRecoverableError$1(request, error$29, null),
1797
- fatalError$1(request, error$29);
1794
+ } catch (error$32) {
1795
+ logRecoverableError$1(request, error$32, null),
1796
+ fatalError$1(request, error$32);
1798
1797
  }
1799
1798
  }
1800
1799
  var bind$1 = Function.prototype.bind,
@@ -1901,11 +1900,11 @@ function processReply(
1901
1900
  0 === pendingParts && resolve(data);
1902
1901
  } else
1903
1902
  try {
1904
- var partJSON$30 = JSON.stringify(entry.value, resolveToJSON);
1905
- data.append(formFieldPrefix + streamId, partJSON$30);
1903
+ var partJSON$33 = JSON.stringify(entry.value, resolveToJSON);
1904
+ data.append(formFieldPrefix + streamId, partJSON$33);
1906
1905
  iterator.next().then(progress, reject);
1907
- } catch (x$31) {
1908
- reject(x$31);
1906
+ } catch (x$34) {
1907
+ reject(x$34);
1909
1908
  }
1910
1909
  }
1911
1910
  null === formData && (formData = new FormData());
@@ -1950,20 +1949,20 @@ function processReply(
1950
1949
  "function" === typeof x.then
1951
1950
  ) {
1952
1951
  pendingParts++;
1953
- var lazyId$32 = nextPartId++;
1952
+ var lazyId$35 = nextPartId++;
1954
1953
  parentReference = function () {
1955
1954
  try {
1956
- var partJSON$33 = serializeModel(value, lazyId$32),
1957
- data$34 = formData;
1958
- data$34.append(formFieldPrefix + lazyId$32, partJSON$33);
1955
+ var partJSON$36 = serializeModel(value, lazyId$35),
1956
+ data$37 = formData;
1957
+ data$37.append(formFieldPrefix + lazyId$35, partJSON$36);
1959
1958
  pendingParts--;
1960
- 0 === pendingParts && resolve(data$34);
1959
+ 0 === pendingParts && resolve(data$37);
1961
1960
  } catch (reason) {
1962
1961
  reject(reason);
1963
1962
  }
1964
1963
  };
1965
1964
  x.then(parentReference, parentReference);
1966
- return "$" + lazyId$32.toString(16);
1965
+ return "$" + lazyId$35.toString(16);
1967
1966
  }
1968
1967
  reject(x);
1969
1968
  return null;
@@ -1977,9 +1976,9 @@ function processReply(
1977
1976
  var promiseId = nextPartId++;
1978
1977
  value.then(function (partValue) {
1979
1978
  try {
1980
- var partJSON$36 = serializeModel(partValue, promiseId);
1979
+ var partJSON$39 = serializeModel(partValue, promiseId);
1981
1980
  partValue = formData;
1982
- partValue.append(formFieldPrefix + promiseId, partJSON$36);
1981
+ partValue.append(formFieldPrefix + promiseId, partJSON$39);
1983
1982
  pendingParts--;
1984
1983
  0 === pendingParts && resolve(partValue);
1985
1984
  } catch (reason) {
@@ -2003,11 +2002,11 @@ function processReply(
2003
2002
  if (isArrayImpl(value)) return value;
2004
2003
  if (value instanceof FormData) {
2005
2004
  null === formData && (formData = new FormData());
2006
- var data$40 = formData;
2005
+ var data$43 = formData;
2007
2006
  key = nextPartId++;
2008
- var prefix$41 = formFieldPrefix + key + "_";
2007
+ var prefix$44 = formFieldPrefix + key + "_";
2009
2008
  value.forEach(function (originalValue, originalKey) {
2010
- data$40.append(prefix$41 + originalKey, originalValue);
2009
+ data$43.append(prefix$44 + originalKey, originalValue);
2011
2010
  });
2012
2011
  return "$K" + key.toString(16);
2013
2012
  }
@@ -2896,8 +2895,8 @@ function startReadableStream(response, id, type) {
2896
2895
  (previousBlockedChunk = chunk));
2897
2896
  } else {
2898
2897
  chunk = previousBlockedChunk;
2899
- var chunk$61 = createPendingChunk(response);
2900
- chunk$61.then(
2898
+ var chunk$64 = createPendingChunk(response);
2899
+ chunk$64.then(
2901
2900
  function (v) {
2902
2901
  return controller.enqueue(v);
2903
2902
  },
@@ -2905,10 +2904,10 @@ function startReadableStream(response, id, type) {
2905
2904
  return controller.error(e);
2906
2905
  }
2907
2906
  );
2908
- previousBlockedChunk = chunk$61;
2907
+ previousBlockedChunk = chunk$64;
2909
2908
  chunk.then(function () {
2910
- previousBlockedChunk === chunk$61 && (previousBlockedChunk = null);
2911
- resolveModelChunk(chunk$61, json);
2909
+ previousBlockedChunk === chunk$64 && (previousBlockedChunk = null);
2910
+ resolveModelChunk(chunk$64, json);
2912
2911
  });
2913
2912
  }
2914
2913
  },
@@ -3844,8 +3843,8 @@ function pushAttribute(target, name, value) {
3844
3843
  case "symbol":
3845
3844
  return;
3846
3845
  case "boolean":
3847
- var prefix$71 = name.toLowerCase().slice(0, 5);
3848
- if ("data-" !== prefix$71 && "aria-" !== prefix$71) return;
3846
+ var prefix$74 = name.toLowerCase().slice(0, 5);
3847
+ if ("data-" !== prefix$74 && "aria-" !== prefix$74) return;
3849
3848
  }
3850
3849
  target.push(" ", name, '="', escapeTextForBrowser(value), '"');
3851
3850
  }
@@ -4618,10 +4617,10 @@ function pushStartInstance$1(
4618
4617
  styleQueue.sheets.set(href, resource);
4619
4618
  hoistableState && hoistableState.stylesheets.add(resource);
4620
4619
  } else if (styleQueue) {
4621
- var resource$72 = styleQueue.sheets.get(href);
4622
- resource$72 &&
4620
+ var resource$75 = styleQueue.sheets.get(href);
4621
+ resource$75 &&
4623
4622
  hoistableState &&
4624
- hoistableState.stylesheets.add(resource$72);
4623
+ hoistableState.stylesheets.add(resource$75);
4625
4624
  }
4626
4625
  textEmbedded && target$jscomp$0.push("\x3c!-- --\x3e");
4627
4626
  JSCompiler_inline_result$jscomp$4 = null;
@@ -5888,10 +5887,10 @@ function useActionState(action, initialState, permalink) {
5888
5887
  var nextPostbackStateKey = null,
5889
5888
  componentKeyPath = currentlyRenderingKeyPath;
5890
5889
  request = request.formState;
5891
- var isSignatureEqual$75 = action.$$IS_SIGNATURE_EQUAL;
5892
- if (null !== request && "function" === typeof isSignatureEqual$75) {
5890
+ var isSignatureEqual$78 = action.$$IS_SIGNATURE_EQUAL;
5891
+ if (null !== request && "function" === typeof isSignatureEqual$78) {
5893
5892
  var postbackKey = request[1];
5894
- isSignatureEqual$75.call(action, request[2], request[3]) &&
5893
+ isSignatureEqual$78.call(action, request[2], request[3]) &&
5895
5894
  ((nextPostbackStateKey =
5896
5895
  void 0 !== permalink
5897
5896
  ? "p" + permalink
@@ -5933,11 +5932,11 @@ function useActionState(action, initialState, permalink) {
5933
5932
  });
5934
5933
  return [initialState, action, !1];
5935
5934
  }
5936
- var boundAction$76 = action.bind(null, initialState);
5935
+ var boundAction$79 = action.bind(null, initialState);
5937
5936
  return [
5938
5937
  initialState,
5939
5938
  function (payload) {
5940
- boundAction$76(payload);
5939
+ boundAction$79(payload);
5941
5940
  },
5942
5941
  !1
5943
5942
  ];
@@ -6467,9 +6466,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
6467
6466
  var defaultProps = type.defaultProps;
6468
6467
  if (defaultProps) {
6469
6468
  newProps === props && (newProps = assign({}, newProps, props));
6470
- for (var propName$85 in defaultProps)
6471
- void 0 === newProps[propName$85] &&
6472
- (newProps[propName$85] = defaultProps[propName$85]);
6469
+ for (var propName$88 in defaultProps)
6470
+ void 0 === newProps[propName$88] &&
6471
+ (newProps[propName$88] = defaultProps[propName$88]);
6473
6472
  }
6474
6473
  props = newProps;
6475
6474
  newProps = emptyContextObject;
@@ -6579,7 +6578,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
6579
6578
  defaultProps = newProps.chunks;
6580
6579
  initialState = request.resumableState;
6581
6580
  ref = request.renderState;
6582
- propName$85 = task.blockedPreamble;
6581
+ propName$88 = task.blockedPreamble;
6583
6582
  propName = task.hoistableState;
6584
6583
  var formatContext = task.formatContext,
6585
6584
  textEmbedded = newProps.lastPushedText,
@@ -6604,7 +6603,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
6604
6603
  props,
6605
6604
  initialState,
6606
6605
  ref,
6607
- propName$85,
6606
+ propName$88,
6608
6607
  propName,
6609
6608
  formatContext,
6610
6609
  textEmbedded,
@@ -6726,12 +6725,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
6726
6725
  case REACT_VIEW_TRANSITION_TYPE:
6727
6726
  type = task.keyPath;
6728
6727
  task.keyPath = keyPath;
6729
- null != props.name && "auto" !== props.name
6730
- ? renderNodeDestructive(request, task, props.children, -1)
6731
- : ((keyPath = task.treeContext),
6732
- (task.treeContext = pushTreeContext(keyPath, 1, 0)),
6733
- renderNode(request, task, props.children, -1),
6734
- (task.treeContext = keyPath));
6728
+ renderNodeDestructive(request, task, props.children, -1);
6735
6729
  task.keyPath = type;
6736
6730
  return;
6737
6731
  case REACT_SCOPE_TYPE:
@@ -6752,7 +6746,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
6752
6746
  contextType = task.blockedPreamble;
6753
6747
  propValue = task.hoistableState;
6754
6748
  ref = task.blockedSegment;
6755
- propName$85 = props.fallback;
6749
+ propName$88 = props.fallback;
6756
6750
  props = props.children;
6757
6751
  var fallbackAbortSet = new Set();
6758
6752
  propName =
@@ -6795,7 +6789,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
6795
6789
  task.keyPath = newProps;
6796
6790
  formatContext.status = 6;
6797
6791
  try {
6798
- renderNode(request, task, propName$85, -1),
6792
+ renderNode(request, task, propName$88, -1),
6799
6793
  (formatContext.status = 1);
6800
6794
  } catch (thrownValue) {
6801
6795
  throw (
@@ -6847,11 +6841,11 @@ function renderElement(request, task, keyPath, type, props, ref) {
6847
6841
  preparePreamble(request);
6848
6842
  break a;
6849
6843
  }
6850
- } catch (thrownValue$80) {
6844
+ } catch (thrownValue$83) {
6851
6845
  (propName.status = 4),
6852
6846
  12 === request.status
6853
6847
  ? ((textEmbedded.status = 3), (newProps = request.fatalError))
6854
- : ((textEmbedded.status = 4), (newProps = thrownValue$80)),
6848
+ : ((textEmbedded.status = 4), (newProps = thrownValue$83)),
6855
6849
  (defaultProps = getThrownInfo(task.componentStack)),
6856
6850
  "object" === typeof newProps &&
6857
6851
  null !== newProps &&
@@ -6875,7 +6869,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
6875
6869
  task = createRenderTask(
6876
6870
  request,
6877
6871
  null,
6878
- propName$85,
6872
+ propName$88,
6879
6873
  -1,
6880
6874
  isFallback,
6881
6875
  formatContext,
@@ -7395,9 +7389,9 @@ function trackPostpone(request, trackedPostpones, task, segment) {
7395
7389
  addToReplayParent(segment, boundaryKeyPath[0], trackedPostpones);
7396
7390
  return;
7397
7391
  }
7398
- var boundaryNode$97 = trackedPostpones.workingMap.get(boundaryKeyPath);
7399
- void 0 === boundaryNode$97
7400
- ? ((boundaryNode$97 = [
7392
+ var boundaryNode$100 = trackedPostpones.workingMap.get(boundaryKeyPath);
7393
+ void 0 === boundaryNode$100
7394
+ ? ((boundaryNode$100 = [
7401
7395
  boundaryKeyPath[1],
7402
7396
  boundaryKeyPath[2],
7403
7397
  children,
@@ -7405,13 +7399,13 @@ function trackPostpone(request, trackedPostpones, task, segment) {
7405
7399
  fallbackReplayNode,
7406
7400
  boundary.rootSegmentID
7407
7401
  ]),
7408
- trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$97),
7402
+ trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$100),
7409
7403
  addToReplayParent(
7410
- boundaryNode$97,
7404
+ boundaryNode$100,
7411
7405
  boundaryKeyPath[0],
7412
7406
  trackedPostpones
7413
7407
  ))
7414
- : ((boundaryKeyPath = boundaryNode$97),
7408
+ : ((boundaryKeyPath = boundaryNode$100),
7415
7409
  (boundaryKeyPath[4] = fallbackReplayNode),
7416
7410
  (boundaryKeyPath[5] = boundary.rootSegmentID));
7417
7411
  }
@@ -7565,15 +7559,15 @@ function renderNode(request, task, node, childIndex) {
7565
7559
  chunkLength = segment.chunks.length;
7566
7560
  try {
7567
7561
  return renderNodeDestructive(request, task, node, childIndex);
7568
- } catch (thrownValue$109) {
7562
+ } catch (thrownValue$112) {
7569
7563
  if (
7570
7564
  (resetHooksState(),
7571
7565
  (segment.children.length = childrenLength),
7572
7566
  (segment.chunks.length = chunkLength),
7573
7567
  (childIndex =
7574
- thrownValue$109 === SuspenseException
7568
+ thrownValue$112 === SuspenseException
7575
7569
  ? getSuspendedThenable()
7576
- : thrownValue$109),
7570
+ : thrownValue$112),
7577
7571
  "object" === typeof childIndex && null !== childIndex)
7578
7572
  ) {
7579
7573
  if ("function" === typeof childIndex.then) {
@@ -7774,16 +7768,16 @@ function abortTask(task, request, error) {
7774
7768
  }
7775
7769
  } else {
7776
7770
  boundary.pendingTasks--;
7777
- var trackedPostpones$112 = request.trackedPostpones;
7771
+ var trackedPostpones$115 = request.trackedPostpones;
7778
7772
  if (4 !== boundary.status) {
7779
- if (null !== trackedPostpones$112 && null !== segment)
7773
+ if (null !== trackedPostpones$115 && null !== segment)
7780
7774
  return (
7781
7775
  "object" === typeof error &&
7782
7776
  null !== error &&
7783
7777
  error.$$typeof === REACT_POSTPONE_TYPE
7784
7778
  ? logPostpone(request, error.message, errorInfo)
7785
7779
  : logRecoverableError(request, error, errorInfo),
7786
- trackPostpone(request, trackedPostpones$112, task, segment),
7780
+ trackPostpone(request, trackedPostpones$115, task, segment),
7787
7781
  boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
7788
7782
  return abortTask(fallbackTask, request, error);
7789
7783
  }),
@@ -8091,13 +8085,13 @@ function performWork(request$jscomp$1) {
8091
8085
  null !== request.trackedPostpones &&
8092
8086
  x$jscomp$0.$$typeof === REACT_POSTPONE_TYPE
8093
8087
  ) {
8094
- var trackedPostpones$116 = request.trackedPostpones;
8088
+ var trackedPostpones$119 = request.trackedPostpones;
8095
8089
  task.abortSet.delete(task);
8096
8090
  var postponeInfo = getThrownInfo(task.componentStack);
8097
8091
  logPostpone(request, x$jscomp$0.message, postponeInfo);
8098
8092
  trackPostpone(
8099
8093
  request,
8100
- trackedPostpones$116,
8094
+ trackedPostpones$119,
8101
8095
  task,
8102
8096
  segment$jscomp$0
8103
8097
  );
@@ -8651,12 +8645,12 @@ function flushCompletedQueues(request, destination) {
8651
8645
  completedBoundaries.splice(0, i);
8652
8646
  var partialBoundaries = request.partialBoundaries;
8653
8647
  for (i = 0; i < partialBoundaries.length; i++) {
8654
- var boundary$119 = partialBoundaries[i];
8648
+ var boundary$122 = partialBoundaries[i];
8655
8649
  a: {
8656
8650
  clientRenderedBoundaries = request;
8657
8651
  boundary = destination;
8658
- flushedByteSize = boundary$119.byteSize;
8659
- var completedSegments = boundary$119.completedSegments;
8652
+ flushedByteSize = boundary$122.byteSize;
8653
+ var completedSegments = boundary$122.completedSegments;
8660
8654
  for (
8661
8655
  JSCompiler_inline_result = 0;
8662
8656
  JSCompiler_inline_result < completedSegments.length;
@@ -8666,7 +8660,7 @@ function flushCompletedQueues(request, destination) {
8666
8660
  !flushPartiallyCompletedSegment(
8667
8661
  clientRenderedBoundaries,
8668
8662
  boundary,
8669
- boundary$119,
8663
+ boundary$122,
8670
8664
  completedSegments[JSCompiler_inline_result]
8671
8665
  )
8672
8666
  ) {
@@ -8678,7 +8672,7 @@ function flushCompletedQueues(request, destination) {
8678
8672
  completedSegments.splice(0, JSCompiler_inline_result);
8679
8673
  JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
8680
8674
  boundary,
8681
- boundary$119.contentState,
8675
+ boundary$122.contentState,
8682
8676
  clientRenderedBoundaries.renderState
8683
8677
  );
8684
8678
  }
@@ -8749,8 +8743,8 @@ function abort(request, reason) {
8749
8743
  }
8750
8744
  null !== request.destination &&
8751
8745
  flushCompletedQueues(request, request.destination);
8752
- } catch (error$121) {
8753
- logRecoverableError(request, error$121, {}), fatalError(request, error$121);
8746
+ } catch (error$124) {
8747
+ logRecoverableError(request, error$124, {}), fatalError(request, error$124);
8754
8748
  }
8755
8749
  }
8756
8750
  function addToReplayParent(node, parentKeyPath, trackedPostpones) {
@@ -9061,4 +9055,4 @@ exports.experimental_renderToHTML = function (children, options) {
9061
9055
  });
9062
9056
  });
9063
9057
  };
9064
- exports.version = "19.2.0-experimental-b9cfa0d3-20250505";
9058
+ exports.version = "19.2.0-experimental-0ff1d13b-20250507";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-markup",
3
- "version": "0.0.0-experimental-b9cfa0d3-20250505",
3
+ "version": "0.0.0-experimental-0ff1d13b-20250507",
4
4
  "description": "React package generating embedded markup such as e-mails with support for Server Components.",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "homepage": "https://react.dev/",
19
19
  "peerDependencies": {
20
- "react": "0.0.0-experimental-b9cfa0d3-20250505"
20
+ "react": "0.0.0-experimental-0ff1d13b-20250507"
21
21
  },
22
22
  "files": [
23
23
  "LICENSE",