react-markup 0.0.0-experimental-143d3e1b-20250425 → 0.0.0-experimental-c498bfce-20250426

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.
@@ -4422,6 +4422,7 @@
4422
4422
  this.fatalError = null;
4423
4423
  this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
4424
4424
  this.completedPreambleSegments = this.completedRootSegment = null;
4425
+ this.byteSize = 0;
4425
4426
  this.abortableTasks = abortSet;
4426
4427
  this.pingedTasks = [];
4427
4428
  this.clientRenderedBoundaries = [];
@@ -5633,9 +5634,11 @@
5633
5634
  (renderNode(request, task, content, -1),
5634
5635
  (contentRootSegment.status = 1),
5635
5636
  queueCompletedSegment(newBoundary, contentRootSegment),
5636
- 0 === newBoundary.pendingTasks && 0 === newBoundary.status)
5637
+ 0 === newBoundary.pendingTasks &&
5638
+ 0 === newBoundary.status &&
5639
+ ((newBoundary.status = 1),
5640
+ !(newBoundary.byteSize > request.progressiveChunkSize)))
5637
5641
  ) {
5638
- newBoundary.status = 1;
5639
5642
  0 === request.pendingRootTasks &&
5640
5643
  task.blockedPreamble &&
5641
5644
  preparePreamble(request);
@@ -7026,11 +7029,12 @@
7026
7029
  boundary.parentFlushed &&
7027
7030
  request.completedBoundaries.push(boundary),
7028
7031
  1 === boundary.status &&
7029
- (boundary.fallbackAbortableTasks.forEach(
7030
- abortTaskSoft,
7031
- request
7032
- ),
7033
- boundary.fallbackAbortableTasks.clear(),
7032
+ (boundary.byteSize > request.progressiveChunkSize ||
7033
+ (boundary.fallbackAbortableTasks.forEach(
7034
+ abortTaskSoft,
7035
+ request
7036
+ ),
7037
+ boundary.fallbackAbortableTasks.clear()),
7034
7038
  0 === request.pendingRootTasks &&
7035
7039
  null === request.trackedPostpones &&
7036
7040
  null !== boundary.contentPreamble &&
@@ -9043,5 +9047,5 @@
9043
9047
  });
9044
9048
  });
9045
9049
  };
9046
- exports.version = "19.2.0-experimental-143d3e1b-20250425";
9050
+ exports.version = "19.2.0-experimental-c498bfce-20250426";
9047
9051
  })();
@@ -3396,6 +3396,7 @@ function RequestInstance(
3396
3396
  this.fatalError = null;
3397
3397
  this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
3398
3398
  this.completedPreambleSegments = this.completedRootSegment = null;
3399
+ this.byteSize = 0;
3399
3400
  this.abortableTasks = abortSet;
3400
3401
  this.pingedTasks = [];
3401
3402
  this.clientRenderedBoundaries = [];
@@ -4097,9 +4098,11 @@ function renderElement(request, task, keyPath, type, props, ref) {
4097
4098
  (renderNode(request, task, props, -1),
4098
4099
  (textEmbedded.status = 1),
4099
4100
  queueCompletedSegment(propName, textEmbedded),
4100
- 0 === propName.pendingTasks && 0 === propName.status)
4101
+ 0 === propName.pendingTasks &&
4102
+ 0 === propName.status &&
4103
+ ((propName.status = 1),
4104
+ !(propName.byteSize > request.progressiveChunkSize)))
4101
4105
  ) {
4102
- propName.status = 1;
4103
4106
  0 === request.pendingRootTasks &&
4104
4107
  task.blockedPreamble &&
4105
4108
  preparePreamble(request);
@@ -5200,8 +5203,12 @@ function finishedTask(request, boundary, segment) {
5200
5203
  boundary.parentFlushed &&
5201
5204
  request.completedBoundaries.push(boundary),
5202
5205
  1 === boundary.status &&
5203
- (boundary.fallbackAbortableTasks.forEach(abortTaskSoft, request),
5204
- boundary.fallbackAbortableTasks.clear(),
5206
+ (boundary.byteSize > request.progressiveChunkSize ||
5207
+ (boundary.fallbackAbortableTasks.forEach(
5208
+ abortTaskSoft,
5209
+ request
5210
+ ),
5211
+ boundary.fallbackAbortableTasks.clear()),
5205
5212
  0 === request.pendingRootTasks &&
5206
5213
  null === request.trackedPostpones &&
5207
5214
  null !== boundary.contentPreamble &&
@@ -6075,4 +6082,4 @@ exports.experimental_renderToHTML = function (children, options) {
6075
6082
  });
6076
6083
  });
6077
6084
  };
6078
- exports.version = "19.2.0-experimental-143d3e1b-20250425";
6085
+ exports.version = "19.2.0-experimental-c498bfce-20250426";
@@ -8737,6 +8737,7 @@
8737
8737
  this.fatalError = null;
8738
8738
  this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
8739
8739
  this.completedPreambleSegments = this.completedRootSegment = null;
8740
+ this.byteSize = 0;
8740
8741
  this.abortableTasks = abortSet;
8741
8742
  this.pingedTasks = [];
8742
8743
  this.clientRenderedBoundaries = [];
@@ -9945,9 +9946,11 @@
9945
9946
  (renderNode(request, task, content, -1),
9946
9947
  (contentRootSegment.status = 1),
9947
9948
  queueCompletedSegment(newBoundary, contentRootSegment),
9948
- 0 === newBoundary.pendingTasks && 0 === newBoundary.status)
9949
+ 0 === newBoundary.pendingTasks &&
9950
+ 0 === newBoundary.status &&
9951
+ ((newBoundary.status = 1),
9952
+ !(newBoundary.byteSize > request.progressiveChunkSize)))
9949
9953
  ) {
9950
- newBoundary.status = 1;
9951
9954
  0 === request.pendingRootTasks &&
9952
9955
  task.blockedPreamble &&
9953
9956
  preparePreamble(request);
@@ -11333,11 +11336,12 @@
11333
11336
  boundary.parentFlushed &&
11334
11337
  request.completedBoundaries.push(boundary),
11335
11338
  1 === boundary.status &&
11336
- (boundary.fallbackAbortableTasks.forEach(
11337
- abortTaskSoft,
11338
- request
11339
- ),
11340
- boundary.fallbackAbortableTasks.clear(),
11339
+ (boundary.byteSize > request.progressiveChunkSize ||
11340
+ (boundary.fallbackAbortableTasks.forEach(
11341
+ abortTaskSoft,
11342
+ request
11343
+ ),
11344
+ boundary.fallbackAbortableTasks.clear()),
11341
11345
  0 === request.pendingRootTasks &&
11342
11346
  null === request.trackedPostpones &&
11343
11347
  null !== boundary.contentPreamble &&
@@ -13822,5 +13826,5 @@
13822
13826
  });
13823
13827
  });
13824
13828
  };
13825
- exports.version = "19.2.0-experimental-143d3e1b-20250425";
13829
+ exports.version = "19.2.0-experimental-c498bfce-20250426";
13826
13830
  })();
@@ -6104,6 +6104,7 @@ function RequestInstance(
6104
6104
  this.fatalError = null;
6105
6105
  this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
6106
6106
  this.completedPreambleSegments = this.completedRootSegment = null;
6107
+ this.byteSize = 0;
6107
6108
  this.abortableTasks = abortSet;
6108
6109
  this.pingedTasks = [];
6109
6110
  this.clientRenderedBoundaries = [];
@@ -6805,9 +6806,11 @@ function renderElement(request, task, keyPath, type, props, ref) {
6805
6806
  (renderNode(request, task, props, -1),
6806
6807
  (textEmbedded.status = 1),
6807
6808
  queueCompletedSegment(propName, textEmbedded),
6808
- 0 === propName.pendingTasks && 0 === propName.status)
6809
+ 0 === propName.pendingTasks &&
6810
+ 0 === propName.status &&
6811
+ ((propName.status = 1),
6812
+ !(propName.byteSize > request.progressiveChunkSize)))
6809
6813
  ) {
6810
- propName.status = 1;
6811
6814
  0 === request.pendingRootTasks &&
6812
6815
  task.blockedPreamble &&
6813
6816
  preparePreamble(request);
@@ -7903,8 +7906,12 @@ function finishedTask(request, boundary, segment) {
7903
7906
  boundary.parentFlushed &&
7904
7907
  request.completedBoundaries.push(boundary),
7905
7908
  1 === boundary.status &&
7906
- (boundary.fallbackAbortableTasks.forEach(abortTaskSoft, request),
7907
- boundary.fallbackAbortableTasks.clear(),
7909
+ (boundary.byteSize > request.progressiveChunkSize ||
7910
+ (boundary.fallbackAbortableTasks.forEach(
7911
+ abortTaskSoft,
7912
+ request
7913
+ ),
7914
+ boundary.fallbackAbortableTasks.clear()),
7908
7915
  0 === request.pendingRootTasks &&
7909
7916
  null === request.trackedPostpones &&
7910
7917
  null !== boundary.contentPreamble &&
@@ -9015,4 +9022,4 @@ exports.experimental_renderToHTML = function (children, options) {
9015
9022
  });
9016
9023
  });
9017
9024
  };
9018
- exports.version = "19.2.0-experimental-143d3e1b-20250425";
9025
+ exports.version = "19.2.0-experimental-c498bfce-20250426";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-markup",
3
- "version": "0.0.0-experimental-143d3e1b-20250425",
3
+ "version": "0.0.0-experimental-c498bfce-20250426",
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-143d3e1b-20250425"
20
+ "react": "0.0.0-experimental-c498bfce-20250426"
21
21
  },
22
22
  "files": [
23
23
  "LICENSE",