react-markup 0.0.0-experimental-557e28fa-20260601 → 0.0.0-experimental-43bcbf80-20260603

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.
@@ -4825,12 +4825,21 @@
4825
4825
  ? request.pendingRootTasks++
4826
4826
  : blockedBoundary.pendingTasks++;
4827
4827
  null !== row && row.pendingTasks++;
4828
- var task = {
4828
+ var task$jscomp$0 = {
4829
4829
  replay: null,
4830
4830
  node: node,
4831
4831
  childIndex: childIndex,
4832
- ping: function () {
4833
- return pingTask(request, task);
4832
+ ping: {
4833
+ resolve: function () {
4834
+ return pingTask(request, task$jscomp$0);
4835
+ },
4836
+ reject: function (error) {
4837
+ var task = task$jscomp$0;
4838
+ request.aborted
4839
+ ? task.abortSet.delete(task) &&
4840
+ finishAbortedTaskDEV(task, request, error)
4841
+ : pingTask(request, task);
4842
+ }
4834
4843
  },
4835
4844
  blockedBoundary: blockedBoundary,
4836
4845
  blockedSegment: blockedSegment,
@@ -4845,9 +4854,9 @@
4845
4854
  componentStack: componentStack,
4846
4855
  thenableState: thenableState
4847
4856
  };
4848
- task.debugTask = debugTask;
4849
- abortSet.add(task);
4850
- return task;
4857
+ task$jscomp$0.debugTask = debugTask;
4858
+ abortSet.add(task$jscomp$0);
4859
+ return task$jscomp$0;
4851
4860
  }
4852
4861
  function createReplayTask(
4853
4862
  request,
@@ -4873,12 +4882,21 @@
4873
4882
  : blockedBoundary.pendingTasks++;
4874
4883
  null !== row && row.pendingTasks++;
4875
4884
  replay.pendingTasks++;
4876
- var task = {
4885
+ var task$jscomp$0 = {
4877
4886
  replay: replay,
4878
4887
  node: node,
4879
4888
  childIndex: childIndex,
4880
- ping: function () {
4881
- return pingTask(request, task);
4889
+ ping: {
4890
+ resolve: function () {
4891
+ return pingTask(request, task$jscomp$0);
4892
+ },
4893
+ reject: function (error) {
4894
+ var task = task$jscomp$0;
4895
+ request.aborted
4896
+ ? task.abortSet.delete(task) &&
4897
+ finishAbortedTaskDEV(task, request, error)
4898
+ : pingTask(request, task);
4899
+ }
4882
4900
  },
4883
4901
  blockedBoundary: blockedBoundary,
4884
4902
  blockedSegment: null,
@@ -4893,9 +4911,9 @@
4893
4911
  componentStack: componentStack,
4894
4912
  thenableState: thenableState
4895
4913
  };
4896
- task.debugTask = debugTask;
4897
- abortSet.add(task);
4898
- return task;
4914
+ task$jscomp$0.debugTask = debugTask;
4915
+ abortSet.add(task$jscomp$0);
4916
+ return task$jscomp$0;
4899
4917
  }
4900
4918
  function createPendingSegment(
4901
4919
  request,
@@ -7324,7 +7342,7 @@
7324
7342
  task,
7325
7343
  childIndex
7326
7344
  ).ping;
7327
- node.then(request, request);
7345
+ node.then(request.resolve, request.reject);
7328
7346
  task.formatContext = previousFormatContext;
7329
7347
  task.context = previousContext;
7330
7348
  task.keyPath = previousKeyPath;
@@ -7377,7 +7395,7 @@
7377
7395
  ? getThenableStateAfterSuspending()
7378
7396
  : null;
7379
7397
  request = spawnNewSuspendedRenderTask(request, task, node).ping;
7380
- segment.then(request, request);
7398
+ segment.then(request.resolve, request.reject);
7381
7399
  task.formatContext = previousFormatContext;
7382
7400
  task.context = previousContext;
7383
7401
  task.keyPath = previousKeyPath;
@@ -7918,7 +7936,7 @@
7918
7936
  "function" === typeof x.then
7919
7937
  ) {
7920
7938
  var ping = task$jscomp$0.ping;
7921
- x.then(ping, ping);
7939
+ x.then(ping.resolve, ping.reject);
7922
7940
  task$jscomp$0.thenableState =
7923
7941
  thrownValue === SuspenseException
7924
7942
  ? getThenableStateAfterSuspending()
@@ -8014,7 +8032,7 @@
8014
8032
  ? getThenableStateAfterSuspending()
8015
8033
  : null;
8016
8034
  var ping$jscomp$0 = task$jscomp$0.ping;
8017
- x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
8035
+ x$jscomp$0.then(ping$jscomp$0.resolve, ping$jscomp$0.reject);
8018
8036
  } else {
8019
8037
  var errorInfo$jscomp$1 = getThrownInfo(
8020
8038
  task$jscomp$0.componentStack
@@ -9906,5 +9924,5 @@
9906
9924
  });
9907
9925
  });
9908
9926
  };
9909
- exports.version = "19.3.0-experimental-557e28fa-20260601";
9927
+ exports.version = "19.3.0-experimental-43bcbf80-20260603";
9910
9928
  })();
@@ -3733,8 +3733,16 @@ function createRenderTask(
3733
3733
  replay: null,
3734
3734
  node: node,
3735
3735
  childIndex: childIndex,
3736
- ping: function () {
3737
- return pingTask(request, task);
3736
+ ping: {
3737
+ resolve: function () {
3738
+ return pingTask(request, task);
3739
+ },
3740
+ reject: function (error) {
3741
+ request.aborted
3742
+ ? task.abortSet.delete(task) &&
3743
+ finishAbortedTask(task, request, error)
3744
+ : pingTask(request, task);
3745
+ }
3738
3746
  },
3739
3747
  blockedBoundary: blockedBoundary,
3740
3748
  blockedSegment: blockedSegment,
@@ -3778,8 +3786,16 @@ function createReplayTask(
3778
3786
  replay: replay,
3779
3787
  node: node,
3780
3788
  childIndex: childIndex,
3781
- ping: function () {
3782
- return pingTask(request, task);
3789
+ ping: {
3790
+ resolve: function () {
3791
+ return pingTask(request, task);
3792
+ },
3793
+ reject: function (error) {
3794
+ request.aborted
3795
+ ? task.abortSet.delete(task) &&
3796
+ finishAbortedTask(task, request, error)
3797
+ : pingTask(request, task);
3798
+ }
3783
3799
  },
3784
3800
  blockedBoundary: blockedBoundary,
3785
3801
  blockedSegment: null,
@@ -5390,7 +5406,7 @@ function renderNode(request, task, node, childIndex) {
5390
5406
  ? getThenableStateAfterSuspending()
5391
5407
  : null;
5392
5408
  request = spawnNewSuspendedReplayTask(request, task, childIndex).ping;
5393
- node.then(request, request);
5409
+ node.then(request.resolve, request.reject);
5394
5410
  task.formatContext = previousFormatContext;
5395
5411
  task.context = previousContext;
5396
5412
  task.keyPath = previousKeyPath;
@@ -5441,7 +5457,7 @@ function renderNode(request, task, node, childIndex) {
5441
5457
  ? getThenableStateAfterSuspending()
5442
5458
  : null;
5443
5459
  request = spawnNewSuspendedRenderTask(request, task, node).ping;
5444
- segment.then(request, request);
5460
+ segment.then(request.resolve, request.reject);
5445
5461
  task.formatContext = previousFormatContext;
5446
5462
  task.context = previousContext;
5447
5463
  task.keyPath = previousKeyPath;
@@ -5865,7 +5881,7 @@ function performWork(request$jscomp$1) {
5865
5881
  "function" === typeof x.then
5866
5882
  ) {
5867
5883
  var ping = task.ping;
5868
- x.then(ping, ping);
5884
+ x.then(ping.resolve, ping.reject);
5869
5885
  task.thenableState =
5870
5886
  thrownValue === SuspenseException
5871
5887
  ? getThenableStateAfterSuspending()
@@ -5950,7 +5966,7 @@ function performWork(request$jscomp$1) {
5950
5966
  ? getThenableStateAfterSuspending()
5951
5967
  : null;
5952
5968
  var ping$jscomp$0 = task.ping;
5953
- x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
5969
+ x$jscomp$0.then(ping$jscomp$0.resolve, ping$jscomp$0.reject);
5954
5970
  } else {
5955
5971
  var errorInfo$jscomp$0 = getThrownInfo(task.componentStack);
5956
5972
  task.abortSet.delete(task);
@@ -6735,4 +6751,4 @@ exports.experimental_renderToHTML = function (children, options) {
6735
6751
  });
6736
6752
  });
6737
6753
  };
6738
- exports.version = "19.3.0-experimental-557e28fa-20260601";
6754
+ exports.version = "19.3.0-experimental-43bcbf80-20260603";
@@ -11854,12 +11854,21 @@
11854
11854
  ? request.pendingRootTasks++
11855
11855
  : blockedBoundary.pendingTasks++;
11856
11856
  null !== row && row.pendingTasks++;
11857
- var task = {
11857
+ var task$jscomp$0 = {
11858
11858
  replay: null,
11859
11859
  node: node,
11860
11860
  childIndex: childIndex,
11861
- ping: function () {
11862
- return pingTask(request, task);
11861
+ ping: {
11862
+ resolve: function () {
11863
+ return pingTask(request, task$jscomp$0);
11864
+ },
11865
+ reject: function (error) {
11866
+ var task = task$jscomp$0;
11867
+ request.aborted
11868
+ ? task.abortSet.delete(task) &&
11869
+ finishAbortedTaskDEV(task, request, error)
11870
+ : pingTask(request, task);
11871
+ }
11863
11872
  },
11864
11873
  blockedBoundary: blockedBoundary,
11865
11874
  blockedSegment: blockedSegment,
@@ -11874,9 +11883,9 @@
11874
11883
  componentStack: componentStack,
11875
11884
  thenableState: thenableState
11876
11885
  };
11877
- task.debugTask = debugTask;
11878
- abortSet.add(task);
11879
- return task;
11886
+ task$jscomp$0.debugTask = debugTask;
11887
+ abortSet.add(task$jscomp$0);
11888
+ return task$jscomp$0;
11880
11889
  }
11881
11890
  function createReplayTask(
11882
11891
  request,
@@ -11902,12 +11911,21 @@
11902
11911
  : blockedBoundary.pendingTasks++;
11903
11912
  null !== row && row.pendingTasks++;
11904
11913
  replay.pendingTasks++;
11905
- var task = {
11914
+ var task$jscomp$0 = {
11906
11915
  replay: replay,
11907
11916
  node: node,
11908
11917
  childIndex: childIndex,
11909
- ping: function () {
11910
- return pingTask(request, task);
11918
+ ping: {
11919
+ resolve: function () {
11920
+ return pingTask(request, task$jscomp$0);
11921
+ },
11922
+ reject: function (error) {
11923
+ var task = task$jscomp$0;
11924
+ request.aborted
11925
+ ? task.abortSet.delete(task) &&
11926
+ finishAbortedTaskDEV(task, request, error)
11927
+ : pingTask(request, task);
11928
+ }
11911
11929
  },
11912
11930
  blockedBoundary: blockedBoundary,
11913
11931
  blockedSegment: null,
@@ -11922,9 +11940,9 @@
11922
11940
  componentStack: componentStack,
11923
11941
  thenableState: thenableState
11924
11942
  };
11925
- task.debugTask = debugTask;
11926
- abortSet.add(task);
11927
- return task;
11943
+ task$jscomp$0.debugTask = debugTask;
11944
+ abortSet.add(task$jscomp$0);
11945
+ return task$jscomp$0;
11928
11946
  }
11929
11947
  function createPendingSegment(
11930
11948
  request,
@@ -14353,7 +14371,7 @@
14353
14371
  task,
14354
14372
  childIndex
14355
14373
  ).ping;
14356
- node.then(request, request);
14374
+ node.then(request.resolve, request.reject);
14357
14375
  task.formatContext = previousFormatContext;
14358
14376
  task.context = previousContext;
14359
14377
  task.keyPath = previousKeyPath;
@@ -14406,7 +14424,7 @@
14406
14424
  ? getThenableStateAfterSuspending()
14407
14425
  : null;
14408
14426
  request = spawnNewSuspendedRenderTask(request, task, node).ping;
14409
- segment.then(request, request);
14427
+ segment.then(request.resolve, request.reject);
14410
14428
  task.formatContext = previousFormatContext;
14411
14429
  task.context = previousContext;
14412
14430
  task.keyPath = previousKeyPath;
@@ -14947,7 +14965,7 @@
14947
14965
  "function" === typeof x.then
14948
14966
  ) {
14949
14967
  var ping = task$jscomp$0.ping;
14950
- x.then(ping, ping);
14968
+ x.then(ping.resolve, ping.reject);
14951
14969
  task$jscomp$0.thenableState =
14952
14970
  thrownValue === SuspenseException
14953
14971
  ? getThenableStateAfterSuspending()
@@ -15043,7 +15061,7 @@
15043
15061
  ? getThenableStateAfterSuspending()
15044
15062
  : null;
15045
15063
  var ping$jscomp$0 = task$jscomp$0.ping;
15046
- x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
15064
+ x$jscomp$0.then(ping$jscomp$0.resolve, ping$jscomp$0.reject);
15047
15065
  } else {
15048
15066
  var errorInfo$jscomp$1 = getThrownInfo(
15049
15067
  task$jscomp$0.componentStack
@@ -17587,5 +17605,5 @@
17587
17605
  });
17588
17606
  });
17589
17607
  };
17590
- exports.version = "19.3.0-experimental-557e28fa-20260601";
17608
+ exports.version = "19.3.0-experimental-43bcbf80-20260603";
17591
17609
  })();
@@ -6865,8 +6865,16 @@ function createRenderTask(
6865
6865
  replay: null,
6866
6866
  node: node,
6867
6867
  childIndex: childIndex,
6868
- ping: function () {
6869
- return pingTask(request, task);
6868
+ ping: {
6869
+ resolve: function () {
6870
+ return pingTask(request, task);
6871
+ },
6872
+ reject: function (error) {
6873
+ request.aborted
6874
+ ? task.abortSet.delete(task) &&
6875
+ finishAbortedTask(task, request, error)
6876
+ : pingTask(request, task);
6877
+ }
6870
6878
  },
6871
6879
  blockedBoundary: blockedBoundary,
6872
6880
  blockedSegment: blockedSegment,
@@ -6910,8 +6918,16 @@ function createReplayTask(
6910
6918
  replay: replay,
6911
6919
  node: node,
6912
6920
  childIndex: childIndex,
6913
- ping: function () {
6914
- return pingTask(request, task);
6921
+ ping: {
6922
+ resolve: function () {
6923
+ return pingTask(request, task);
6924
+ },
6925
+ reject: function (error) {
6926
+ request.aborted
6927
+ ? task.abortSet.delete(task) &&
6928
+ finishAbortedTask(task, request, error)
6929
+ : pingTask(request, task);
6930
+ }
6915
6931
  },
6916
6932
  blockedBoundary: blockedBoundary,
6917
6933
  blockedSegment: null,
@@ -8522,7 +8538,7 @@ function renderNode(request, task, node, childIndex) {
8522
8538
  ? getThenableStateAfterSuspending()
8523
8539
  : null;
8524
8540
  request = spawnNewSuspendedReplayTask(request, task, childIndex).ping;
8525
- node.then(request, request);
8541
+ node.then(request.resolve, request.reject);
8526
8542
  task.formatContext = previousFormatContext;
8527
8543
  task.context = previousContext;
8528
8544
  task.keyPath = previousKeyPath;
@@ -8573,7 +8589,7 @@ function renderNode(request, task, node, childIndex) {
8573
8589
  ? getThenableStateAfterSuspending()
8574
8590
  : null;
8575
8591
  request = spawnNewSuspendedRenderTask(request, task, node).ping;
8576
- segment.then(request, request);
8592
+ segment.then(request.resolve, request.reject);
8577
8593
  task.formatContext = previousFormatContext;
8578
8594
  task.context = previousContext;
8579
8595
  task.keyPath = previousKeyPath;
@@ -8997,7 +9013,7 @@ function performWork(request$jscomp$1) {
8997
9013
  "function" === typeof x.then
8998
9014
  ) {
8999
9015
  var ping = task.ping;
9000
- x.then(ping, ping);
9016
+ x.then(ping.resolve, ping.reject);
9001
9017
  task.thenableState =
9002
9018
  thrownValue === SuspenseException
9003
9019
  ? getThenableStateAfterSuspending()
@@ -9082,7 +9098,7 @@ function performWork(request$jscomp$1) {
9082
9098
  ? getThenableStateAfterSuspending()
9083
9099
  : null;
9084
9100
  var ping$jscomp$0 = task.ping;
9085
- x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
9101
+ x$jscomp$0.then(ping$jscomp$0.resolve, ping$jscomp$0.reject);
9086
9102
  } else {
9087
9103
  var errorInfo$jscomp$0 = getThrownInfo(task.componentStack);
9088
9104
  task.abortSet.delete(task);
@@ -9826,20 +9842,20 @@ exports.experimental_renderToHTML = function (children, options) {
9826
9842
  void 0,
9827
9843
  !1
9828
9844
  ),
9829
- JSCompiler_object_inline__rowState_2238 = 0,
9830
- JSCompiler_object_inline__rowID_2239 = 0,
9831
- JSCompiler_object_inline__rowTag_2240 = 0,
9832
- JSCompiler_object_inline__rowLength_2241 = 0,
9833
- JSCompiler_object_inline__buffer_2242 = [],
9845
+ JSCompiler_object_inline__rowState_2248 = 0,
9846
+ JSCompiler_object_inline__rowID_2249 = 0,
9847
+ JSCompiler_object_inline__rowTag_2250 = 0,
9848
+ JSCompiler_object_inline__rowLength_2251 = 0,
9849
+ JSCompiler_object_inline__buffer_2252 = [],
9834
9850
  flightDestination = {
9835
9851
  push: function (chunk) {
9836
9852
  if (null !== chunk) {
9837
9853
  for (
9838
9854
  var i = 0,
9839
- rowState = JSCompiler_object_inline__rowState_2238,
9840
- rowID = JSCompiler_object_inline__rowID_2239,
9841
- rowTag = JSCompiler_object_inline__rowTag_2240,
9842
- rowLength = JSCompiler_object_inline__rowLength_2241,
9855
+ rowState = JSCompiler_object_inline__rowState_2248,
9856
+ rowID = JSCompiler_object_inline__rowID_2249,
9857
+ rowTag = JSCompiler_object_inline__rowTag_2250,
9858
+ rowLength = JSCompiler_object_inline__rowLength_2251,
9843
9859
  chunkLength = chunk.length;
9844
9860
  i < chunkLength;
9845
9861
 
@@ -9900,7 +9916,7 @@ exports.experimental_renderToHTML = function (children, options) {
9900
9916
  lastIdx = chunk.length;
9901
9917
  }
9902
9918
  if (-1 < lastIdx) {
9903
- if (0 < JSCompiler_object_inline__buffer_2242.length)
9919
+ if (0 < JSCompiler_object_inline__buffer_2252.length)
9904
9920
  throw Error(
9905
9921
  "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."
9906
9922
  );
@@ -9975,16 +9991,16 @@ exports.experimental_renderToHTML = function (children, options) {
9975
9991
  i = lastIdx;
9976
9992
  3 === rowState && i++;
9977
9993
  rowLength = rowID = rowTag = rowState = 0;
9978
- JSCompiler_object_inline__buffer_2242.length = 0;
9994
+ JSCompiler_object_inline__buffer_2252.length = 0;
9979
9995
  } else if (chunk.length !== i)
9980
9996
  throw Error(
9981
9997
  "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."
9982
9998
  );
9983
9999
  }
9984
- JSCompiler_object_inline__rowState_2238 = rowState;
9985
- JSCompiler_object_inline__rowID_2239 = rowID;
9986
- JSCompiler_object_inline__rowTag_2240 = rowTag;
9987
- JSCompiler_object_inline__rowLength_2241 = rowLength;
10000
+ JSCompiler_object_inline__rowState_2248 = rowState;
10001
+ JSCompiler_object_inline__rowID_2249 = rowID;
10002
+ JSCompiler_object_inline__rowTag_2250 = rowTag;
10003
+ JSCompiler_object_inline__rowLength_2251 = rowLength;
9988
10004
  } else close(flightResponse);
9989
10005
  return !0;
9990
10006
  },
@@ -10093,4 +10109,4 @@ exports.experimental_renderToHTML = function (children, options) {
10093
10109
  });
10094
10110
  });
10095
10111
  };
10096
- exports.version = "19.3.0-experimental-557e28fa-20260601";
10112
+ exports.version = "19.3.0-experimental-43bcbf80-20260603";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-markup",
3
- "version": "0.0.0-experimental-557e28fa-20260601",
3
+ "version": "0.0.0-experimental-43bcbf80-20260603",
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-557e28fa-20260601"
20
+ "react": "0.0.0-experimental-43bcbf80-20260603"
21
21
  },
22
22
  "files": [
23
23
  "LICENSE",