react-markup 0.0.0-experimental-96c61b7f-20250709 → 0.0.0-experimental-97cdd5d3-20250710

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.
@@ -9792,5 +9792,5 @@
9792
9792
  });
9793
9793
  });
9794
9794
  };
9795
- exports.version = "19.2.0-experimental-96c61b7f-20250709";
9795
+ exports.version = "19.2.0-experimental-97cdd5d3-20250710";
9796
9796
  })();
@@ -6757,4 +6757,4 @@ exports.experimental_renderToHTML = function (children, options) {
6757
6757
  });
6758
6758
  });
6759
6759
  };
6760
- exports.version = "19.2.0-experimental-96c61b7f-20250709";
6760
+ exports.version = "19.2.0-experimental-97cdd5d3-20250710";
@@ -1014,6 +1014,7 @@
1014
1014
  this.onFatalError = onFatalError;
1015
1015
  this.pendingDebugChunks = 0;
1016
1016
  this.completedDebugChunks = [];
1017
+ this.debugDestination = null;
1017
1018
  this.environmentName =
1018
1019
  void 0 === environmentName
1019
1020
  ? function () {
@@ -1505,7 +1506,7 @@
1505
1506
  var componentDebugID = task.id;
1506
1507
  componentDebugInfo = Component.displayName || Component.name || "";
1507
1508
  var componentEnv = (0, request.environmentName)();
1508
- request.pendingDebugChunks++;
1509
+ request.pendingChunks++;
1509
1510
  componentDebugInfo = {
1510
1511
  name: componentDebugInfo,
1511
1512
  env: componentEnv,
@@ -2643,9 +2644,16 @@
2643
2644
  request.completedDebugChunks.push(id);
2644
2645
  }
2645
2646
  function emitDebugChunk(request, id, debugInfo) {
2646
- debugInfo = serializeDebugModel(request, 500, debugInfo);
2647
- id = id.toString(16) + ":D" + debugInfo + "\n";
2648
- request.completedDebugChunks.push(id);
2647
+ var json = serializeDebugModel(request, 500, debugInfo);
2648
+ null !== request.debugDestination
2649
+ ? ((debugInfo = request.nextChunkId++),
2650
+ (json = debugInfo.toString(16) + ":" + json + "\n"),
2651
+ request.pendingDebugChunks++,
2652
+ request.completedDebugChunks.push(json),
2653
+ (id = id.toString(16) + ':D"$' + debugInfo.toString(16) + '"\n'),
2654
+ request.completedRegularChunks.push(id))
2655
+ : ((id = id.toString(16) + ":D" + json + "\n"),
2656
+ request.completedRegularChunks.push(id));
2649
2657
  }
2650
2658
  function outlineComponentInfo(request, componentInfo) {
2651
2659
  if (!request.writtenDebugObjects.has(componentInfo)) {
@@ -3066,7 +3074,7 @@
3066
3074
  markOperationEndTime(request$jscomp$1, task, info.time);
3067
3075
  else if ("string" === typeof info.name)
3068
3076
  outlineComponentInfo(request$jscomp$1, info),
3069
- request$jscomp$1.pendingDebugChunks++,
3077
+ request$jscomp$1.pendingChunks++,
3070
3078
  emitDebugChunk(request$jscomp$1, id, info);
3071
3079
  else if (info.awaited) {
3072
3080
  var ioInfo = info.awaited;
@@ -3124,11 +3132,11 @@
3124
3132
  null != info.env && (ioInfo.env = info.env);
3125
3133
  null != info.owner && (ioInfo.owner = info.owner);
3126
3134
  null != request && (ioInfo.stack = request);
3127
- request$jscomp$1.pendingDebugChunks++;
3135
+ request$jscomp$1.pendingChunks++;
3128
3136
  emitDebugChunk(request$jscomp$1, id, ioInfo);
3129
3137
  }
3130
3138
  } else
3131
- request$jscomp$1.pendingDebugChunks++,
3139
+ request$jscomp$1.pendingChunks++,
3132
3140
  emitDebugChunk(request$jscomp$1, id, info);
3133
3141
  }
3134
3142
  }
@@ -3148,10 +3156,17 @@
3148
3156
  forwardDebugInfo(request, task, model);
3149
3157
  }
3150
3158
  function emitTimingChunk(request, id, timestamp) {
3151
- request.pendingDebugChunks++;
3152
- timestamp -= request.timeOrigin;
3153
- id = id.toString(16) + ':D{"time":' + timestamp + "}\n";
3154
- request.completedDebugChunks.push(id);
3159
+ request.pendingChunks++;
3160
+ var json = '{"time":' + (timestamp - request.timeOrigin) + "}";
3161
+ null !== request.debugDestination
3162
+ ? ((timestamp = request.nextChunkId++),
3163
+ (json = timestamp.toString(16) + ":" + json + "\n"),
3164
+ request.pendingDebugChunks++,
3165
+ request.completedDebugChunks.push(json),
3166
+ (id = id.toString(16) + ':D"$' + timestamp.toString(16) + '"\n'),
3167
+ request.completedRegularChunks.push(id))
3168
+ : ((id = id.toString(16) + ":D" + json + "\n"),
3169
+ request.completedRegularChunks.push(id));
3155
3170
  }
3156
3171
  function markOperationEndTime(request, task, timestamp) {
3157
3172
  (request.status === ABORTING$1 && timestamp > request.abortTime) ||
@@ -3237,7 +3252,7 @@
3237
3252
  task.implicitSlot = !1;
3238
3253
  var currentEnv = (0, request.environmentName)();
3239
3254
  currentEnv !== task.environmentName &&
3240
- (request.pendingDebugChunks++,
3255
+ (request.pendingChunks++,
3241
3256
  emitDebugChunk(request, task.id, { env: currentEnv }));
3242
3257
  task.timed && markOperationEndTime(request, task, performance.now());
3243
3258
  if ("object" === typeof resolvedModel && null !== resolvedModel)
@@ -3310,8 +3325,7 @@
3310
3325
  request.pingedTasks = [];
3311
3326
  for (var i = 0; i < pingedTasks.length; i++)
3312
3327
  retryTask$1(request, pingedTasks[i]);
3313
- null !== request.destination &&
3314
- flushCompletedChunks(request, request.destination);
3328
+ flushCompletedChunks(request);
3315
3329
  } catch (error) {
3316
3330
  logRecoverableError$1(request, error, null),
3317
3331
  fatalError$1(request, error);
@@ -3340,68 +3354,111 @@
3340
3354
  (forwardDebugInfoFromAbortedTask(request, task),
3341
3355
  request.pendingChunks--);
3342
3356
  }
3343
- function flushCompletedChunks(request, destination) {
3344
- try {
3357
+ function flushCompletedChunks(request) {
3358
+ if (null !== request.debugDestination) {
3345
3359
  for (
3346
- var importsChunks = request.completedImportChunks, i = 0;
3347
- i < importsChunks.length;
3360
+ var debugDestination = request.debugDestination,
3361
+ debugChunks = request.completedDebugChunks,
3362
+ i = 0;
3363
+ i < debugChunks.length;
3348
3364
  i++
3349
3365
  )
3350
- if ((request.pendingChunks--, !destination.push(importsChunks[i]))) {
3351
- request.destination = null;
3352
- i++;
3353
- break;
3354
- }
3355
- importsChunks.splice(0, i);
3356
- var hintChunks = request.completedHintChunks;
3357
- for (i = 0; i < hintChunks.length; i++)
3358
- if (!destination.push(hintChunks[i])) {
3359
- request.destination = null;
3360
- i++;
3361
- break;
3362
- }
3363
- hintChunks.splice(0, i);
3364
- var debugChunks = request.completedDebugChunks;
3365
- for (i = 0; i < debugChunks.length; i++)
3366
- if (
3367
- (request.pendingDebugChunks--, !destination.push(debugChunks[i]))
3368
- ) {
3369
- request.destination = null;
3370
- i++;
3371
- break;
3372
- }
3366
+ request.pendingDebugChunks--, debugDestination.push(debugChunks[i]);
3373
3367
  debugChunks.splice(0, i);
3374
- var regularChunks = request.completedRegularChunks;
3375
- for (i = 0; i < regularChunks.length; i++)
3376
- if ((request.pendingChunks--, !destination.push(regularChunks[i]))) {
3377
- request.destination = null;
3378
- i++;
3379
- break;
3380
- }
3381
- regularChunks.splice(0, i);
3382
- var errorChunks = request.completedErrorChunks;
3383
- for (i = 0; i < errorChunks.length; i++)
3384
- if ((request.pendingChunks--, !destination.push(errorChunks[i]))) {
3385
- request.destination = null;
3386
- i++;
3387
- break;
3388
- }
3389
- errorChunks.splice(0, i);
3390
- } finally {
3391
- request.flushScheduled = !1;
3392
3368
  }
3393
- 0 === request.pendingChunks &&
3394
- 0 === request.pendingDebugChunks &&
3395
- (cleanupTaintQueue(request),
3396
- request.status < ABORTING$1 &&
3397
- request.cacheController.abort(
3398
- Error(
3399
- "This render completed successfully. All cacheSignals are now aborted to allow clean up of any unused resources."
3369
+ debugDestination = request.destination;
3370
+ if (null !== debugDestination)
3371
+ try {
3372
+ var importsChunks = request.completedImportChunks;
3373
+ for (
3374
+ debugChunks = 0;
3375
+ debugChunks < importsChunks.length;
3376
+ debugChunks++
3377
+ )
3378
+ if (
3379
+ (request.pendingChunks--,
3380
+ !debugDestination.push(importsChunks[debugChunks]))
3381
+ ) {
3382
+ request.destination = null;
3383
+ debugChunks++;
3384
+ break;
3385
+ }
3386
+ importsChunks.splice(0, debugChunks);
3387
+ var hintChunks = request.completedHintChunks;
3388
+ for (debugChunks = 0; debugChunks < hintChunks.length; debugChunks++)
3389
+ if (!debugDestination.push(hintChunks[debugChunks])) {
3390
+ request.destination = null;
3391
+ debugChunks++;
3392
+ break;
3393
+ }
3394
+ hintChunks.splice(0, debugChunks);
3395
+ if (null === request.debugDestination) {
3396
+ var _debugChunks = request.completedDebugChunks;
3397
+ for (
3398
+ debugChunks = 0;
3399
+ debugChunks < _debugChunks.length;
3400
+ debugChunks++
3400
3401
  )
3401
- ),
3402
- (request.status = CLOSED$1),
3403
- destination.push(null),
3404
- (request.destination = null));
3402
+ if (
3403
+ (request.pendingDebugChunks--,
3404
+ !debugDestination.push(_debugChunks[debugChunks]))
3405
+ ) {
3406
+ request.destination = null;
3407
+ debugChunks++;
3408
+ break;
3409
+ }
3410
+ _debugChunks.splice(0, debugChunks);
3411
+ }
3412
+ var regularChunks = request.completedRegularChunks;
3413
+ for (
3414
+ debugChunks = 0;
3415
+ debugChunks < regularChunks.length;
3416
+ debugChunks++
3417
+ )
3418
+ if (
3419
+ (request.pendingChunks--,
3420
+ !debugDestination.push(regularChunks[debugChunks]))
3421
+ ) {
3422
+ request.destination = null;
3423
+ debugChunks++;
3424
+ break;
3425
+ }
3426
+ regularChunks.splice(0, debugChunks);
3427
+ var errorChunks = request.completedErrorChunks;
3428
+ for (debugChunks = 0; debugChunks < errorChunks.length; debugChunks++)
3429
+ if (
3430
+ (request.pendingChunks--,
3431
+ !debugDestination.push(errorChunks[debugChunks]))
3432
+ ) {
3433
+ request.destination = null;
3434
+ debugChunks++;
3435
+ break;
3436
+ }
3437
+ errorChunks.splice(0, debugChunks);
3438
+ } finally {
3439
+ request.flushScheduled = !1;
3440
+ }
3441
+ 0 === request.pendingChunks &&
3442
+ ((importsChunks = request.debugDestination),
3443
+ 0 === request.pendingDebugChunks
3444
+ ? (null !== importsChunks &&
3445
+ (importsChunks.push(null), (request.debugDestination = null)),
3446
+ cleanupTaintQueue(request),
3447
+ request.status < ABORTING$1 &&
3448
+ request.cacheController.abort(
3449
+ Error(
3450
+ "This render completed successfully. All cacheSignals are now aborted to allow clean up of any unused resources."
3451
+ )
3452
+ ),
3453
+ (request.status = CLOSED$1),
3454
+ null !== request.destination &&
3455
+ (request.destination.push(null), (request.destination = null)),
3456
+ null !== request.debugDestination &&
3457
+ (request.debugDestination.push(null),
3458
+ (request.debugDestination = null)))
3459
+ : null !== importsChunks &&
3460
+ null !== request.destination &&
3461
+ (request.destination.push(null), (request.destination = null)));
3405
3462
  }
3406
3463
  function startWork$1(request) {
3407
3464
  request.flushScheduled = null !== request.destination;
@@ -3409,15 +3466,10 @@
3409
3466
  10 === request.status && (request.status = 11);
3410
3467
  }
3411
3468
  function enqueueFlush(request) {
3412
- if (
3413
- !1 === request.flushScheduled &&
3414
- 0 === request.pingedTasks.length &&
3415
- null !== request.destination
3416
- ) {
3417
- request.flushScheduled = !1;
3418
- var destination = request.destination;
3419
- destination && flushCompletedChunks(request, destination);
3420
- }
3469
+ !1 !== request.flushScheduled ||
3470
+ 0 !== request.pingedTasks.length ||
3471
+ (null === request.destination && null === request.debugDestination) ||
3472
+ ((request.flushScheduled = !1), flushCompletedChunks(request));
3421
3473
  }
3422
3474
  function callOnAllReadyIfReady(request) {
3423
3475
  0 === request.abortableTasks.size &&
@@ -3429,7 +3481,7 @@
3429
3481
  else if (request.status !== CLOSED$1 && null === request.destination) {
3430
3482
  request.destination = destination;
3431
3483
  try {
3432
- flushCompletedChunks(request, destination);
3484
+ flushCompletedChunks(request);
3433
3485
  } catch (error) {
3434
3486
  logRecoverableError$1(request, error, null),
3435
3487
  fatalError$1(request, error);
@@ -3443,8 +3495,7 @@
3443
3495
  });
3444
3496
  var onAllReady = request.onAllReady;
3445
3497
  onAllReady();
3446
- null !== request.destination &&
3447
- flushCompletedChunks(request, request.destination);
3498
+ flushCompletedChunks(request);
3448
3499
  } catch (error) {
3449
3500
  logRecoverableError$1(request, error, null),
3450
3501
  fatalError$1(request, error);
@@ -3457,8 +3508,7 @@
3457
3508
  });
3458
3509
  var onAllReady = request.onAllReady;
3459
3510
  onAllReady();
3460
- null !== request.destination &&
3461
- flushCompletedChunks(request, request.destination);
3511
+ flushCompletedChunks(request);
3462
3512
  } catch (error) {
3463
3513
  logRecoverableError$1(request, error, null),
3464
3514
  fatalError$1(request, error);
@@ -3517,8 +3567,7 @@
3517
3567
  else {
3518
3568
  var onAllReady = request.onAllReady;
3519
3569
  onAllReady();
3520
- null !== request.destination &&
3521
- flushCompletedChunks(request, request.destination);
3570
+ flushCompletedChunks(request);
3522
3571
  }
3523
3572
  } catch (error$4) {
3524
3573
  logRecoverableError$1(request, error$4, null),
@@ -5566,8 +5615,6 @@
5566
5615
  this._nonce = nonce;
5567
5616
  this._chunks = chunks;
5568
5617
  this._fromJSON = this._stringDecoder = null;
5569
- this._rowLength = this._rowTag = this._rowID = this._rowState = 0;
5570
- this._buffer = [];
5571
5618
  this._closed = !1;
5572
5619
  this._closedReason = null;
5573
5620
  this._tempRefs = temporaryReferences;
@@ -16292,7 +16339,12 @@
16292
16339
  flushedByteSize = 0;
16293
16340
  exports.experimental_renderToHTML = function (children, options) {
16294
16341
  return new Promise(function (resolve, reject) {
16295
- var buffer$jscomp$0 = "",
16342
+ var JSCompiler_object_inline__rowState_1576 = 0,
16343
+ JSCompiler_object_inline__rowID_1577 = 0,
16344
+ JSCompiler_object_inline__rowTag_1578 = 0,
16345
+ JSCompiler_object_inline__rowLength_1579 = 0,
16346
+ JSCompiler_object_inline__buffer_1580 = [],
16347
+ buffer = "",
16296
16348
  stashErrorIdx = 1,
16297
16349
  stashedErrors = new Map(),
16298
16350
  flightRequest = createRequest$1(
@@ -16391,11 +16443,10 @@
16391
16443
  for (
16392
16444
  var response = unwrapWeakResponse(flightResponse),
16393
16445
  i = 0,
16394
- rowState = response._rowState,
16395
- rowID = response._rowID,
16396
- rowTag = response._rowTag,
16397
- rowLength = response._rowLength,
16398
- buffer = response._buffer,
16446
+ rowState = JSCompiler_object_inline__rowState_1576,
16447
+ rowID = JSCompiler_object_inline__rowID_1577,
16448
+ rowTag = JSCompiler_object_inline__rowTag_1578,
16449
+ rowLength = JSCompiler_object_inline__rowLength_1579,
16399
16450
  chunkLength = chunk.length;
16400
16451
  i < chunkLength;
16401
16452
 
@@ -16459,7 +16510,7 @@
16459
16510
  lastIdx = chunk.length;
16460
16511
  }
16461
16512
  if (-1 < lastIdx) {
16462
- if (0 < buffer.length)
16513
+ if (0 < JSCompiler_object_inline__buffer_1580.length)
16463
16514
  throw Error(
16464
16515
  "String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams."
16465
16516
  );
@@ -16468,16 +16519,16 @@
16468
16519
  i = lastIdx;
16469
16520
  3 === rowState && i++;
16470
16521
  rowLength = rowID = rowTag = rowState = 0;
16471
- buffer.length = 0;
16522
+ JSCompiler_object_inline__buffer_1580.length = 0;
16472
16523
  } else if (chunk.length !== i)
16473
16524
  throw Error(
16474
16525
  "String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams."
16475
16526
  );
16476
16527
  }
16477
- response._rowState = rowState;
16478
- response._rowID = rowID;
16479
- response._rowTag = rowTag;
16480
- response._rowLength = rowLength;
16528
+ JSCompiler_object_inline__rowState_1576 = rowState;
16529
+ JSCompiler_object_inline__rowID_1577 = rowID;
16530
+ JSCompiler_object_inline__rowTag_1578 = rowTag;
16531
+ JSCompiler_object_inline__rowLength_1579 = rowLength;
16481
16532
  }
16482
16533
  } else
16483
16534
  reportGlobalError(flightResponse, Error("Connection closed."));
@@ -16491,9 +16542,7 @@
16491
16542
  startWork(fizzRequest);
16492
16543
  startFlowing(fizzRequest, {
16493
16544
  push: function (chunk) {
16494
- null !== chunk
16495
- ? (buffer$jscomp$0 += chunk)
16496
- : resolve(buffer$jscomp$0);
16545
+ null !== chunk ? (buffer += chunk) : resolve(buffer);
16497
16546
  return !0;
16498
16547
  },
16499
16548
  destroy: function (error) {
@@ -16503,5 +16552,5 @@
16503
16552
  });
16504
16553
  });
16505
16554
  };
16506
- exports.version = "19.2.0-experimental-96c61b7f-20250709";
16555
+ exports.version = "19.2.0-experimental-97cdd5d3-20250710";
16507
16556
  })();
@@ -1659,8 +1659,7 @@ function performWork$1(request) {
1659
1659
  request.pingedTasks = [];
1660
1660
  for (var i = 0; i < pingedTasks.length; i++)
1661
1661
  retryTask$1(request, pingedTasks[i]);
1662
- null !== request.destination &&
1663
- flushCompletedChunks(request, request.destination);
1662
+ flushCompletedChunks(request);
1664
1663
  } catch (error) {
1665
1664
  logRecoverableError$1(request, error, null), fatalError$1(request, error);
1666
1665
  } finally {
@@ -1684,46 +1683,48 @@ function haltTask(task) {
1684
1683
  function finishHaltedTask(task, request) {
1685
1684
  3 === task.status && request.pendingChunks--;
1686
1685
  }
1687
- function flushCompletedChunks(request, destination) {
1688
- try {
1689
- for (
1690
- var importsChunks = request.completedImportChunks, i = 0;
1691
- i < importsChunks.length;
1692
- i++
1693
- )
1694
- if ((request.pendingChunks--, !destination.push(importsChunks[i]))) {
1695
- request.destination = null;
1696
- i++;
1697
- break;
1698
- }
1699
- importsChunks.splice(0, i);
1700
- var hintChunks = request.completedHintChunks;
1701
- for (i = 0; i < hintChunks.length; i++)
1702
- if (!destination.push(hintChunks[i])) {
1703
- request.destination = null;
1704
- i++;
1705
- break;
1706
- }
1707
- hintChunks.splice(0, i);
1708
- var regularChunks = request.completedRegularChunks;
1709
- for (i = 0; i < regularChunks.length; i++)
1710
- if ((request.pendingChunks--, !destination.push(regularChunks[i]))) {
1711
- request.destination = null;
1712
- i++;
1713
- break;
1714
- }
1715
- regularChunks.splice(0, i);
1716
- var errorChunks = request.completedErrorChunks;
1717
- for (i = 0; i < errorChunks.length; i++)
1718
- if ((request.pendingChunks--, !destination.push(errorChunks[i]))) {
1719
- request.destination = null;
1720
- i++;
1721
- break;
1722
- }
1723
- errorChunks.splice(0, i);
1724
- } finally {
1725
- request.flushScheduled = !1;
1726
- }
1686
+ function flushCompletedChunks(request) {
1687
+ var destination = request.destination;
1688
+ if (null !== destination)
1689
+ try {
1690
+ for (
1691
+ var importsChunks = request.completedImportChunks, i = 0;
1692
+ i < importsChunks.length;
1693
+ i++
1694
+ )
1695
+ if ((request.pendingChunks--, !destination.push(importsChunks[i]))) {
1696
+ request.destination = null;
1697
+ i++;
1698
+ break;
1699
+ }
1700
+ importsChunks.splice(0, i);
1701
+ var hintChunks = request.completedHintChunks;
1702
+ for (i = 0; i < hintChunks.length; i++)
1703
+ if (!destination.push(hintChunks[i])) {
1704
+ request.destination = null;
1705
+ i++;
1706
+ break;
1707
+ }
1708
+ hintChunks.splice(0, i);
1709
+ var regularChunks = request.completedRegularChunks;
1710
+ for (i = 0; i < regularChunks.length; i++)
1711
+ if ((request.pendingChunks--, !destination.push(regularChunks[i]))) {
1712
+ request.destination = null;
1713
+ i++;
1714
+ break;
1715
+ }
1716
+ regularChunks.splice(0, i);
1717
+ var errorChunks = request.completedErrorChunks;
1718
+ for (i = 0; i < errorChunks.length; i++)
1719
+ if ((request.pendingChunks--, !destination.push(errorChunks[i]))) {
1720
+ request.destination = null;
1721
+ i++;
1722
+ break;
1723
+ }
1724
+ errorChunks.splice(0, i);
1725
+ } finally {
1726
+ request.flushScheduled = !1;
1727
+ }
1727
1728
  0 === request.pendingChunks &&
1728
1729
  (cleanupTaintQueue(request),
1729
1730
  12 > request.status &&
@@ -1733,19 +1734,14 @@ function flushCompletedChunks(request, destination) {
1733
1734
  )
1734
1735
  ),
1735
1736
  (request.status = 14),
1736
- destination.push(null),
1737
- (request.destination = null));
1737
+ null !== request.destination &&
1738
+ (request.destination.push(null), (request.destination = null)));
1738
1739
  }
1739
1740
  function enqueueFlush(request) {
1740
- if (
1741
- !1 === request.flushScheduled &&
1741
+ !1 === request.flushScheduled &&
1742
1742
  0 === request.pingedTasks.length &&
1743
- null !== request.destination
1744
- ) {
1745
- request.flushScheduled = !1;
1746
- var destination = request.destination;
1747
- destination && flushCompletedChunks(request, destination);
1748
- }
1743
+ null !== request.destination &&
1744
+ ((request.flushScheduled = !1), flushCompletedChunks(request));
1749
1745
  }
1750
1746
  function callOnAllReadyIfReady(request) {
1751
1747
  0 === request.abortableTasks.size &&
@@ -1758,8 +1754,7 @@ function finishHalt(request, abortedTasks) {
1758
1754
  });
1759
1755
  var onAllReady = request.onAllReady;
1760
1756
  onAllReady();
1761
- null !== request.destination &&
1762
- flushCompletedChunks(request, request.destination);
1757
+ flushCompletedChunks(request);
1763
1758
  } catch (error) {
1764
1759
  logRecoverableError$1(request, error, null), fatalError$1(request, error);
1765
1760
  }
@@ -1771,8 +1766,7 @@ function finishAbort(request, abortedTasks, errorId) {
1771
1766
  });
1772
1767
  var onAllReady = request.onAllReady;
1773
1768
  onAllReady();
1774
- null !== request.destination &&
1775
- flushCompletedChunks(request, request.destination);
1769
+ flushCompletedChunks(request);
1776
1770
  } catch (error) {
1777
1771
  logRecoverableError$1(request, error, null), fatalError$1(request, error);
1778
1772
  }
@@ -1829,8 +1823,7 @@ function abort$1(request, reason) {
1829
1823
  else {
1830
1824
  var onAllReady = request.onAllReady;
1831
1825
  onAllReady();
1832
- null !== request.destination &&
1833
- flushCompletedChunks(request, request.destination);
1826
+ flushCompletedChunks(request);
1834
1827
  }
1835
1828
  } catch (error$28) {
1836
1829
  logRecoverableError$1(request, error$28, null),
@@ -3033,8 +3026,6 @@ function ResponseInstance(
3033
3026
  this._nonce = nonce;
3034
3027
  this._chunks = chunks;
3035
3028
  this._fromJSON = this._stringDecoder = null;
3036
- this._rowLength = this._rowTag = this._rowID = this._rowState = 0;
3037
- this._buffer = [];
3038
3029
  this._closed = !1;
3039
3030
  this._closedReason = null;
3040
3031
  this._tempRefs = temporaryReferences;
@@ -9629,17 +9620,21 @@ function noServerCallOrFormAction() {
9629
9620
  }
9630
9621
  exports.experimental_renderToHTML = function (children, options) {
9631
9622
  return new Promise(function (resolve, reject) {
9632
- var flightDestination = {
9623
+ var JSCompiler_object_inline__rowState_1667 = 0,
9624
+ JSCompiler_object_inline__rowID_1668 = 0,
9625
+ JSCompiler_object_inline__rowTag_1669 = 0,
9626
+ JSCompiler_object_inline__rowLength_1670 = 0,
9627
+ JSCompiler_object_inline__buffer_1671 = [],
9628
+ flightDestination = {
9633
9629
  push: function (chunk) {
9634
9630
  if (null !== chunk) {
9635
9631
  for (
9636
9632
  var response = flightResponse,
9637
9633
  i = 0,
9638
- rowState = response._rowState,
9639
- rowID = response._rowID,
9640
- rowTag = response._rowTag,
9641
- rowLength = response._rowLength,
9642
- buffer = response._buffer,
9634
+ rowState = JSCompiler_object_inline__rowState_1667,
9635
+ rowID = JSCompiler_object_inline__rowID_1668,
9636
+ rowTag = JSCompiler_object_inline__rowTag_1669,
9637
+ rowLength = JSCompiler_object_inline__rowLength_1670,
9643
9638
  chunkLength = chunk.length;
9644
9639
  i < chunkLength;
9645
9640
 
@@ -9700,7 +9695,7 @@ exports.experimental_renderToHTML = function (children, options) {
9700
9695
  lastIdx = chunk.length;
9701
9696
  }
9702
9697
  if (-1 < lastIdx) {
9703
- if (0 < buffer.length)
9698
+ if (0 < JSCompiler_object_inline__buffer_1671.length)
9704
9699
  throw Error(
9705
9700
  "String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams."
9706
9701
  );
@@ -9784,16 +9779,16 @@ exports.experimental_renderToHTML = function (children, options) {
9784
9779
  i = lastIdx;
9785
9780
  3 === rowState && i++;
9786
9781
  rowLength = rowID = rowTag = rowState = 0;
9787
- buffer.length = 0;
9782
+ JSCompiler_object_inline__buffer_1671.length = 0;
9788
9783
  } else if (chunk.length !== i)
9789
9784
  throw Error(
9790
9785
  "String chunks need to be passed in their original shape. Not split into smaller string chunks. This is a bug in the wiring of the React streams."
9791
9786
  );
9792
9787
  }
9793
- response._rowState = rowState;
9794
- response._rowID = rowID;
9795
- response._rowTag = rowTag;
9796
- response._rowLength = rowLength;
9788
+ JSCompiler_object_inline__rowState_1667 = rowState;
9789
+ JSCompiler_object_inline__rowID_1668 = rowID;
9790
+ JSCompiler_object_inline__rowTag_1669 = rowTag;
9791
+ JSCompiler_object_inline__rowLength_1670 = rowLength;
9797
9792
  } else reportGlobalError(flightResponse, Error("Connection closed."));
9798
9793
  return !0;
9799
9794
  },
@@ -9802,7 +9797,7 @@ exports.experimental_renderToHTML = function (children, options) {
9802
9797
  reject(error);
9803
9798
  }
9804
9799
  },
9805
- buffer$jscomp$0 = "",
9800
+ buffer = "",
9806
9801
  stashErrorIdx = 1,
9807
9802
  stashedErrors = new Map(),
9808
9803
  flightRequest = new RequestInstance$1(
@@ -9890,7 +9885,7 @@ exports.experimental_renderToHTML = function (children, options) {
9890
9885
  ) {
9891
9886
  flightRequest.destination = flightDestination;
9892
9887
  try {
9893
- flushCompletedChunks(flightRequest, flightDestination);
9888
+ flushCompletedChunks(flightRequest);
9894
9889
  } catch (error) {
9895
9890
  logRecoverableError$1(flightRequest, error, null),
9896
9891
  fatalError$1(flightRequest, error);
@@ -9903,7 +9898,7 @@ exports.experimental_renderToHTML = function (children, options) {
9903
9898
  safelyEmitEarlyPreloads(fizzRequest, 0 === fizzRequest.pendingRootTasks);
9904
9899
  startFlowing(fizzRequest, {
9905
9900
  push: function (chunk) {
9906
- null !== chunk ? (buffer$jscomp$0 += chunk) : resolve(buffer$jscomp$0);
9901
+ null !== chunk ? (buffer += chunk) : resolve(buffer);
9907
9902
  return !0;
9908
9903
  },
9909
9904
  destroy: function (error) {
@@ -9913,4 +9908,4 @@ exports.experimental_renderToHTML = function (children, options) {
9913
9908
  });
9914
9909
  });
9915
9910
  };
9916
- exports.version = "19.2.0-experimental-96c61b7f-20250709";
9911
+ exports.version = "19.2.0-experimental-97cdd5d3-20250710";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-markup",
3
- "version": "0.0.0-experimental-96c61b7f-20250709",
3
+ "version": "0.0.0-experimental-97cdd5d3-20250710",
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-96c61b7f-20250709"
20
+ "react": "0.0.0-experimental-97cdd5d3-20250710"
21
21
  },
22
22
  "files": [
23
23
  "LICENSE",