react-markup 0.0.0-experimental-ea05b750-20250408 → 0.0.0-experimental-3fbfb9ba-20250409

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.
@@ -5443,18 +5443,30 @@
5443
5443
  task.keyPath = prevKeyPath$jscomp$1;
5444
5444
  return;
5445
5445
  case REACT_ACTIVITY_TYPE:
5446
- if ("hidden" !== props.mode) {
5447
- var prevKeyPath$jscomp$2 = task.keyPath;
5448
- task.keyPath = keyPath;
5449
- renderNodeDestructive(request, task, props.children, -1);
5450
- task.keyPath = prevKeyPath$jscomp$2;
5446
+ var segment$jscomp$0 = task.blockedSegment;
5447
+ if (null === segment$jscomp$0) {
5448
+ if ("hidden" !== props.mode) {
5449
+ var prevKeyPath$jscomp$2 = task.keyPath;
5450
+ task.keyPath = keyPath;
5451
+ renderNode(request, task, props.children, -1);
5452
+ task.keyPath = prevKeyPath$jscomp$2;
5453
+ }
5454
+ } else {
5455
+ segment$jscomp$0.lastPushedText = !1;
5456
+ if ("hidden" !== props.mode) {
5457
+ var _prevKeyPath3 = task.keyPath;
5458
+ task.keyPath = keyPath;
5459
+ renderNode(request, task, props.children, -1);
5460
+ task.keyPath = _prevKeyPath3;
5461
+ }
5462
+ segment$jscomp$0.lastPushedText = !1;
5451
5463
  }
5452
5464
  return;
5453
5465
  case REACT_SUSPENSE_LIST_TYPE:
5454
- var _prevKeyPath3 = task.keyPath;
5466
+ var _prevKeyPath4 = task.keyPath;
5455
5467
  task.keyPath = keyPath;
5456
5468
  renderNodeDestructive(request, task, props.children, -1);
5457
- task.keyPath = _prevKeyPath3;
5469
+ task.keyPath = _prevKeyPath4;
5458
5470
  return;
5459
5471
  case REACT_VIEW_TRANSITION_TYPE:
5460
5472
  var prevKeyPath$jscomp$3 = task.keyPath;
@@ -8999,5 +9011,5 @@
8999
9011
  });
9000
9012
  });
9001
9013
  };
9002
- exports.version = "19.2.0-experimental-ea05b750-20250408";
9014
+ exports.version = "19.2.0-experimental-3fbfb9ba-20250409";
9003
9015
  })();
@@ -3936,11 +3936,20 @@ function renderElement(request, task, keyPath, type, props, ref) {
3936
3936
  task.keyPath = type;
3937
3937
  return;
3938
3938
  case REACT_ACTIVITY_TYPE:
3939
- "hidden" !== props.mode &&
3940
- ((type = task.keyPath),
3941
- (task.keyPath = keyPath),
3942
- renderNodeDestructive(request, task, props.children, -1),
3943
- (task.keyPath = type));
3939
+ type = task.blockedSegment;
3940
+ null === type
3941
+ ? "hidden" !== props.mode &&
3942
+ ((type = task.keyPath),
3943
+ (task.keyPath = keyPath),
3944
+ renderNode(request, task, props.children, -1),
3945
+ (task.keyPath = type))
3946
+ : ((type.lastPushedText = !1),
3947
+ "hidden" !== props.mode &&
3948
+ ((newProps = task.keyPath),
3949
+ (task.keyPath = keyPath),
3950
+ renderNode(request, task, props.children, -1),
3951
+ (task.keyPath = newProps)),
3952
+ (type.lastPushedText = !1));
3944
3953
  return;
3945
3954
  case REACT_SUSPENSE_LIST_TYPE:
3946
3955
  type = task.keyPath;
@@ -4624,9 +4633,9 @@ function trackPostpone(request, trackedPostpones, task, segment) {
4624
4633
  addToReplayParent(segment, boundaryKeyPath[0], trackedPostpones);
4625
4634
  return;
4626
4635
  }
4627
- var boundaryNode$33 = trackedPostpones.workingMap.get(boundaryKeyPath);
4628
- void 0 === boundaryNode$33
4629
- ? ((boundaryNode$33 = [
4636
+ var boundaryNode$35 = trackedPostpones.workingMap.get(boundaryKeyPath);
4637
+ void 0 === boundaryNode$35
4638
+ ? ((boundaryNode$35 = [
4630
4639
  boundaryKeyPath[1],
4631
4640
  boundaryKeyPath[2],
4632
4641
  children,
@@ -4634,13 +4643,13 @@ function trackPostpone(request, trackedPostpones, task, segment) {
4634
4643
  fallbackReplayNode,
4635
4644
  boundary.rootSegmentID
4636
4645
  ]),
4637
- trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$33),
4646
+ trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$35),
4638
4647
  addToReplayParent(
4639
- boundaryNode$33,
4648
+ boundaryNode$35,
4640
4649
  boundaryKeyPath[0],
4641
4650
  trackedPostpones
4642
4651
  ))
4643
- : ((boundaryKeyPath = boundaryNode$33),
4652
+ : ((boundaryKeyPath = boundaryNode$35),
4644
4653
  (boundaryKeyPath[4] = fallbackReplayNode),
4645
4654
  (boundaryKeyPath[5] = boundary.rootSegmentID));
4646
4655
  }
@@ -4794,15 +4803,15 @@ function renderNode(request, task, node, childIndex) {
4794
4803
  chunkLength = segment.chunks.length;
4795
4804
  try {
4796
4805
  return renderNodeDestructive(request, task, node, childIndex);
4797
- } catch (thrownValue$45) {
4806
+ } catch (thrownValue$47) {
4798
4807
  if (
4799
4808
  (resetHooksState(),
4800
4809
  (segment.children.length = childrenLength),
4801
4810
  (segment.chunks.length = chunkLength),
4802
4811
  (childIndex =
4803
- thrownValue$45 === SuspenseException
4812
+ thrownValue$47 === SuspenseException
4804
4813
  ? getSuspendedThenable()
4805
- : thrownValue$45),
4814
+ : thrownValue$47),
4806
4815
  "object" === typeof childIndex && null !== childIndex)
4807
4816
  ) {
4808
4817
  if ("function" === typeof childIndex.then) {
@@ -5003,16 +5012,16 @@ function abortTask(task, request, error) {
5003
5012
  }
5004
5013
  } else {
5005
5014
  boundary.pendingTasks--;
5006
- var trackedPostpones$48 = request.trackedPostpones;
5015
+ var trackedPostpones$50 = request.trackedPostpones;
5007
5016
  if (4 !== boundary.status) {
5008
- if (null !== trackedPostpones$48 && null !== segment)
5017
+ if (null !== trackedPostpones$50 && null !== segment)
5009
5018
  return (
5010
5019
  "object" === typeof error &&
5011
5020
  null !== error &&
5012
5021
  error.$$typeof === REACT_POSTPONE_TYPE
5013
5022
  ? logPostpone(request, error.message, errorInfo)
5014
5023
  : logRecoverableError(request, error, errorInfo),
5015
- trackPostpone(request, trackedPostpones$48, task, segment),
5024
+ trackPostpone(request, trackedPostpones$50, task, segment),
5016
5025
  boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
5017
5026
  return abortTask(fallbackTask, request, error);
5018
5027
  }),
@@ -5316,13 +5325,13 @@ function performWork(request$jscomp$1) {
5316
5325
  null !== request.trackedPostpones &&
5317
5326
  x$jscomp$0.$$typeof === REACT_POSTPONE_TYPE
5318
5327
  ) {
5319
- var trackedPostpones$52 = request.trackedPostpones;
5328
+ var trackedPostpones$54 = request.trackedPostpones;
5320
5329
  task.abortSet.delete(task);
5321
5330
  var postponeInfo = getThrownInfo(task.componentStack);
5322
5331
  logPostpone(request, x$jscomp$0.message, postponeInfo);
5323
5332
  trackPostpone(
5324
5333
  request,
5325
- trackedPostpones$52,
5334
+ trackedPostpones$54,
5326
5335
  task,
5327
5336
  segment$jscomp$0
5328
5337
  );
@@ -5867,11 +5876,11 @@ function flushCompletedQueues(request, destination) {
5867
5876
  completedBoundaries.splice(0, i);
5868
5877
  var partialBoundaries = request.partialBoundaries;
5869
5878
  for (i = 0; i < partialBoundaries.length; i++) {
5870
- var boundary$55 = partialBoundaries[i];
5879
+ var boundary$57 = partialBoundaries[i];
5871
5880
  a: {
5872
5881
  clientRenderedBoundaries = request;
5873
5882
  boundary = destination;
5874
- var completedSegments = boundary$55.completedSegments;
5883
+ var completedSegments = boundary$57.completedSegments;
5875
5884
  for (
5876
5885
  JSCompiler_inline_result = 0;
5877
5886
  JSCompiler_inline_result < completedSegments.length;
@@ -5881,7 +5890,7 @@ function flushCompletedQueues(request, destination) {
5881
5890
  !flushPartiallyCompletedSegment(
5882
5891
  clientRenderedBoundaries,
5883
5892
  boundary,
5884
- boundary$55,
5893
+ boundary$57,
5885
5894
  completedSegments[JSCompiler_inline_result]
5886
5895
  )
5887
5896
  ) {
@@ -5893,7 +5902,7 @@ function flushCompletedQueues(request, destination) {
5893
5902
  completedSegments.splice(0, JSCompiler_inline_result);
5894
5903
  JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
5895
5904
  boundary,
5896
- boundary$55.contentState,
5905
+ boundary$57.contentState,
5897
5906
  clientRenderedBoundaries.renderState
5898
5907
  );
5899
5908
  }
@@ -5965,8 +5974,8 @@ function abort(request, reason) {
5965
5974
  }
5966
5975
  null !== request.destination &&
5967
5976
  flushCompletedQueues(request, request.destination);
5968
- } catch (error$57) {
5969
- logRecoverableError(request, error$57, {}), fatalError(request, error$57);
5977
+ } catch (error$59) {
5978
+ logRecoverableError(request, error$59, {}), fatalError(request, error$59);
5970
5979
  }
5971
5980
  }
5972
5981
  function addToReplayParent(node, parentKeyPath, trackedPostpones) {
@@ -6040,4 +6049,4 @@ exports.experimental_renderToHTML = function (children, options) {
6040
6049
  });
6041
6050
  });
6042
6051
  };
6043
- exports.version = "19.2.0-experimental-ea05b750-20250408";
6052
+ exports.version = "19.2.0-experimental-3fbfb9ba-20250409";
@@ -9749,18 +9749,30 @@
9749
9749
  task.keyPath = prevKeyPath$jscomp$1;
9750
9750
  return;
9751
9751
  case REACT_ACTIVITY_TYPE:
9752
- if ("hidden" !== props.mode) {
9753
- var prevKeyPath$jscomp$2 = task.keyPath;
9754
- task.keyPath = keyPath;
9755
- renderNodeDestructive(request, task, props.children, -1);
9756
- task.keyPath = prevKeyPath$jscomp$2;
9752
+ var segment$jscomp$0 = task.blockedSegment;
9753
+ if (null === segment$jscomp$0) {
9754
+ if ("hidden" !== props.mode) {
9755
+ var prevKeyPath$jscomp$2 = task.keyPath;
9756
+ task.keyPath = keyPath;
9757
+ renderNode(request, task, props.children, -1);
9758
+ task.keyPath = prevKeyPath$jscomp$2;
9759
+ }
9760
+ } else {
9761
+ segment$jscomp$0.lastPushedText = !1;
9762
+ if ("hidden" !== props.mode) {
9763
+ var _prevKeyPath3 = task.keyPath;
9764
+ task.keyPath = keyPath;
9765
+ renderNode(request, task, props.children, -1);
9766
+ task.keyPath = _prevKeyPath3;
9767
+ }
9768
+ segment$jscomp$0.lastPushedText = !1;
9757
9769
  }
9758
9770
  return;
9759
9771
  case REACT_SUSPENSE_LIST_TYPE:
9760
- var _prevKeyPath3 = task.keyPath;
9772
+ var _prevKeyPath4 = task.keyPath;
9761
9773
  task.keyPath = keyPath;
9762
9774
  renderNodeDestructive(request, task, props.children, -1);
9763
- task.keyPath = _prevKeyPath3;
9775
+ task.keyPath = _prevKeyPath4;
9764
9776
  return;
9765
9777
  case REACT_VIEW_TRANSITION_TYPE:
9766
9778
  var prevKeyPath$jscomp$3 = task.keyPath;
@@ -13772,5 +13784,5 @@
13772
13784
  });
13773
13785
  });
13774
13786
  };
13775
- exports.version = "19.2.0-experimental-ea05b750-20250408";
13787
+ exports.version = "19.2.0-experimental-3fbfb9ba-20250409";
13776
13788
  })();
@@ -6641,11 +6641,20 @@ function renderElement(request, task, keyPath, type, props, ref) {
6641
6641
  task.keyPath = type;
6642
6642
  return;
6643
6643
  case REACT_ACTIVITY_TYPE:
6644
- "hidden" !== props.mode &&
6645
- ((type = task.keyPath),
6646
- (task.keyPath = keyPath),
6647
- renderNodeDestructive(request, task, props.children, -1),
6648
- (task.keyPath = type));
6644
+ type = task.blockedSegment;
6645
+ null === type
6646
+ ? "hidden" !== props.mode &&
6647
+ ((type = task.keyPath),
6648
+ (task.keyPath = keyPath),
6649
+ renderNode(request, task, props.children, -1),
6650
+ (task.keyPath = type))
6651
+ : ((type.lastPushedText = !1),
6652
+ "hidden" !== props.mode &&
6653
+ ((newProps = task.keyPath),
6654
+ (task.keyPath = keyPath),
6655
+ renderNode(request, task, props.children, -1),
6656
+ (task.keyPath = newProps)),
6657
+ (type.lastPushedText = !1));
6649
6658
  return;
6650
6659
  case REACT_SUSPENSE_LIST_TYPE:
6651
6660
  type = task.keyPath;
@@ -7324,9 +7333,9 @@ function trackPostpone(request, trackedPostpones, task, segment) {
7324
7333
  addToReplayParent(segment, boundaryKeyPath[0], trackedPostpones);
7325
7334
  return;
7326
7335
  }
7327
- var boundaryNode$95 = trackedPostpones.workingMap.get(boundaryKeyPath);
7328
- void 0 === boundaryNode$95
7329
- ? ((boundaryNode$95 = [
7336
+ var boundaryNode$97 = trackedPostpones.workingMap.get(boundaryKeyPath);
7337
+ void 0 === boundaryNode$97
7338
+ ? ((boundaryNode$97 = [
7330
7339
  boundaryKeyPath[1],
7331
7340
  boundaryKeyPath[2],
7332
7341
  children,
@@ -7334,13 +7343,13 @@ function trackPostpone(request, trackedPostpones, task, segment) {
7334
7343
  fallbackReplayNode,
7335
7344
  boundary.rootSegmentID
7336
7345
  ]),
7337
- trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$95),
7346
+ trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$97),
7338
7347
  addToReplayParent(
7339
- boundaryNode$95,
7348
+ boundaryNode$97,
7340
7349
  boundaryKeyPath[0],
7341
7350
  trackedPostpones
7342
7351
  ))
7343
- : ((boundaryKeyPath = boundaryNode$95),
7352
+ : ((boundaryKeyPath = boundaryNode$97),
7344
7353
  (boundaryKeyPath[4] = fallbackReplayNode),
7345
7354
  (boundaryKeyPath[5] = boundary.rootSegmentID));
7346
7355
  }
@@ -7494,15 +7503,15 @@ function renderNode(request, task, node, childIndex) {
7494
7503
  chunkLength = segment.chunks.length;
7495
7504
  try {
7496
7505
  return renderNodeDestructive(request, task, node, childIndex);
7497
- } catch (thrownValue$107) {
7506
+ } catch (thrownValue$109) {
7498
7507
  if (
7499
7508
  (resetHooksState(),
7500
7509
  (segment.children.length = childrenLength),
7501
7510
  (segment.chunks.length = chunkLength),
7502
7511
  (childIndex =
7503
- thrownValue$107 === SuspenseException
7512
+ thrownValue$109 === SuspenseException
7504
7513
  ? getSuspendedThenable()
7505
- : thrownValue$107),
7514
+ : thrownValue$109),
7506
7515
  "object" === typeof childIndex && null !== childIndex)
7507
7516
  ) {
7508
7517
  if ("function" === typeof childIndex.then) {
@@ -7703,16 +7712,16 @@ function abortTask(task, request, error) {
7703
7712
  }
7704
7713
  } else {
7705
7714
  boundary.pendingTasks--;
7706
- var trackedPostpones$110 = request.trackedPostpones;
7715
+ var trackedPostpones$112 = request.trackedPostpones;
7707
7716
  if (4 !== boundary.status) {
7708
- if (null !== trackedPostpones$110 && null !== segment)
7717
+ if (null !== trackedPostpones$112 && null !== segment)
7709
7718
  return (
7710
7719
  "object" === typeof error &&
7711
7720
  null !== error &&
7712
7721
  error.$$typeof === REACT_POSTPONE_TYPE
7713
7722
  ? logPostpone(request, error.message, errorInfo)
7714
7723
  : logRecoverableError(request, error, errorInfo),
7715
- trackPostpone(request, trackedPostpones$110, task, segment),
7724
+ trackPostpone(request, trackedPostpones$112, task, segment),
7716
7725
  boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
7717
7726
  return abortTask(fallbackTask, request, error);
7718
7727
  }),
@@ -8016,13 +8025,13 @@ function performWork(request$jscomp$1) {
8016
8025
  null !== request.trackedPostpones &&
8017
8026
  x$jscomp$0.$$typeof === REACT_POSTPONE_TYPE
8018
8027
  ) {
8019
- var trackedPostpones$114 = request.trackedPostpones;
8028
+ var trackedPostpones$116 = request.trackedPostpones;
8020
8029
  task.abortSet.delete(task);
8021
8030
  var postponeInfo = getThrownInfo(task.componentStack);
8022
8031
  logPostpone(request, x$jscomp$0.message, postponeInfo);
8023
8032
  trackPostpone(
8024
8033
  request,
8025
- trackedPostpones$114,
8034
+ trackedPostpones$116,
8026
8035
  task,
8027
8036
  segment$jscomp$0
8028
8037
  );
@@ -8567,11 +8576,11 @@ function flushCompletedQueues(request, destination) {
8567
8576
  completedBoundaries.splice(0, i);
8568
8577
  var partialBoundaries = request.partialBoundaries;
8569
8578
  for (i = 0; i < partialBoundaries.length; i++) {
8570
- var boundary$117 = partialBoundaries[i];
8579
+ var boundary$119 = partialBoundaries[i];
8571
8580
  a: {
8572
8581
  clientRenderedBoundaries = request;
8573
8582
  boundary = destination;
8574
- var completedSegments = boundary$117.completedSegments;
8583
+ var completedSegments = boundary$119.completedSegments;
8575
8584
  for (
8576
8585
  JSCompiler_inline_result = 0;
8577
8586
  JSCompiler_inline_result < completedSegments.length;
@@ -8581,7 +8590,7 @@ function flushCompletedQueues(request, destination) {
8581
8590
  !flushPartiallyCompletedSegment(
8582
8591
  clientRenderedBoundaries,
8583
8592
  boundary,
8584
- boundary$117,
8593
+ boundary$119,
8585
8594
  completedSegments[JSCompiler_inline_result]
8586
8595
  )
8587
8596
  ) {
@@ -8593,7 +8602,7 @@ function flushCompletedQueues(request, destination) {
8593
8602
  completedSegments.splice(0, JSCompiler_inline_result);
8594
8603
  JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
8595
8604
  boundary,
8596
- boundary$117.contentState,
8605
+ boundary$119.contentState,
8597
8606
  clientRenderedBoundaries.renderState
8598
8607
  );
8599
8608
  }
@@ -8665,8 +8674,8 @@ function abort(request, reason) {
8665
8674
  }
8666
8675
  null !== request.destination &&
8667
8676
  flushCompletedQueues(request, request.destination);
8668
- } catch (error$119) {
8669
- logRecoverableError(request, error$119, {}), fatalError(request, error$119);
8677
+ } catch (error$121) {
8678
+ logRecoverableError(request, error$121, {}), fatalError(request, error$121);
8670
8679
  }
8671
8680
  }
8672
8681
  function addToReplayParent(node, parentKeyPath, trackedPostpones) {
@@ -8977,4 +8986,4 @@ exports.experimental_renderToHTML = function (children, options) {
8977
8986
  });
8978
8987
  });
8979
8988
  };
8980
- exports.version = "19.2.0-experimental-ea05b750-20250408";
8989
+ exports.version = "19.2.0-experimental-3fbfb9ba-20250409";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-markup",
3
- "version": "0.0.0-experimental-ea05b750-20250408",
3
+ "version": "0.0.0-experimental-3fbfb9ba-20250409",
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-ea05b750-20250408"
20
+ "react": "0.0.0-experimental-3fbfb9ba-20250409"
21
21
  },
22
22
  "files": [
23
23
  "LICENSE",