react-server-dom-webpack 19.2.0-canary-b6c0aa88-20250609 → 19.2.0-canary-b7e2de63-20250611

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.
@@ -910,7 +910,7 @@
910
910
  case REACT_PORTAL_TYPE:
911
911
  return "Portal";
912
912
  case REACT_CONTEXT_TYPE:
913
- return (type.displayName || "Context") + ".Provider";
913
+ return type.displayName || "Context";
914
914
  case REACT_CONSUMER_TYPE:
915
915
  return (type._context.displayName || "Context") + ".Consumer";
916
916
  case REACT_FORWARD_REF_TYPE:
@@ -2589,9 +2589,8 @@
2589
2589
  REACT_PORTAL_TYPE = Symbol.for("react.portal"),
2590
2590
  REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
2591
2591
  REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
2592
- REACT_PROFILER_TYPE = Symbol.for("react.profiler");
2593
- Symbol.for("react.provider");
2594
- var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
2592
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
2593
+ REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
2595
2594
  REACT_CONTEXT_TYPE = Symbol.for("react.context"),
2596
2595
  REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
2597
2596
  REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
@@ -2760,10 +2759,10 @@
2760
2759
  return hook.checkDCE ? !0 : !1;
2761
2760
  })({
2762
2761
  bundleType: 1,
2763
- version: "19.2.0-canary-b6c0aa88-20250609",
2762
+ version: "19.2.0-canary-b7e2de63-20250611",
2764
2763
  rendererPackageName: "react-server-dom-webpack",
2765
2764
  currentDispatcherRef: ReactSharedInternals,
2766
- reconcilerVersion: "19.2.0-canary-b6c0aa88-20250609",
2765
+ reconcilerVersion: "19.2.0-canary-b7e2de63-20250611",
2767
2766
  getCurrentComponentInfo: function () {
2768
2767
  return currentOwnerInDEV;
2769
2768
  }
@@ -1112,7 +1112,7 @@
1112
1112
  case REACT_PORTAL_TYPE:
1113
1113
  return "Portal";
1114
1114
  case REACT_CONTEXT_TYPE:
1115
- return (type.displayName || "Context") + ".Provider";
1115
+ return type.displayName || "Context";
1116
1116
  case REACT_CONSUMER_TYPE:
1117
1117
  return (type._context.displayName || "Context") + ".Consumer";
1118
1118
  case REACT_FORWARD_REF_TYPE:
@@ -2806,9 +2806,8 @@
2806
2806
  REACT_PORTAL_TYPE = Symbol.for("react.portal"),
2807
2807
  REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
2808
2808
  REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
2809
- REACT_PROFILER_TYPE = Symbol.for("react.profiler");
2810
- Symbol.for("react.provider");
2811
- var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
2809
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
2810
+ REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
2812
2811
  REACT_CONTEXT_TYPE = Symbol.for("react.context"),
2813
2812
  REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
2814
2813
  REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
@@ -1112,7 +1112,7 @@
1112
1112
  case REACT_PORTAL_TYPE:
1113
1113
  return "Portal";
1114
1114
  case REACT_CONTEXT_TYPE:
1115
- return (type.displayName || "Context") + ".Provider";
1115
+ return type.displayName || "Context";
1116
1116
  case REACT_CONSUMER_TYPE:
1117
1117
  return (type._context.displayName || "Context") + ".Consumer";
1118
1118
  case REACT_FORWARD_REF_TYPE:
@@ -2813,9 +2813,8 @@
2813
2813
  REACT_PORTAL_TYPE = Symbol.for("react.portal"),
2814
2814
  REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
2815
2815
  REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
2816
- REACT_PROFILER_TYPE = Symbol.for("react.profiler");
2817
- Symbol.for("react.provider");
2818
- var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
2816
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
2817
+ REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
2819
2818
  REACT_CONTEXT_TYPE = Symbol.for("react.context"),
2820
2819
  REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
2821
2820
  REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
@@ -1074,7 +1074,7 @@
1074
1074
  case REACT_PORTAL_TYPE:
1075
1075
  return "Portal";
1076
1076
  case REACT_CONTEXT_TYPE:
1077
- return (type.displayName || "Context") + ".Provider";
1077
+ return type.displayName || "Context";
1078
1078
  case REACT_CONSUMER_TYPE:
1079
1079
  return (type._context.displayName || "Context") + ".Consumer";
1080
1080
  case REACT_FORWARD_REF_TYPE:
@@ -2775,9 +2775,8 @@
2775
2775
  REACT_PORTAL_TYPE = Symbol.for("react.portal"),
2776
2776
  REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
2777
2777
  REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
2778
- REACT_PROFILER_TYPE = Symbol.for("react.profiler");
2779
- Symbol.for("react.provider");
2780
- var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
2778
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
2779
+ REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
2781
2780
  REACT_CONTEXT_TYPE = Symbol.for("react.context"),
2782
2781
  REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
2783
2782
  REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
@@ -124,6 +124,8 @@
124
124
  return target.name;
125
125
  case "defaultProps":
126
126
  return;
127
+ case "_debugInfo":
128
+ return;
127
129
  case "toJSON":
128
130
  return;
129
131
  case Symbol.toPrimitive:
@@ -849,16 +851,14 @@
849
851
  switch (thenable.status) {
850
852
  case "fulfilled":
851
853
  return (
852
- (task = thenable._debugInfo) &&
853
- forwardDebugInfo(request, newTask, task),
854
+ forwardDebugInfoFromThenable(request, newTask, thenable),
854
855
  (newTask.model = thenable.value),
855
856
  pingTask(request, newTask),
856
857
  newTask.id
857
858
  );
858
859
  case "rejected":
859
860
  return (
860
- (task = thenable._debugInfo) &&
861
- forwardDebugInfo(request, newTask, task),
861
+ forwardDebugInfoFromThenable(request, newTask, thenable),
862
862
  erroredTask(request, newTask, thenable.reason),
863
863
  newTask.id
864
864
  );
@@ -887,14 +887,11 @@
887
887
  }
888
888
  thenable.then(
889
889
  function (value) {
890
- var _debugInfo2 = thenable._debugInfo;
891
- _debugInfo2 && forwardDebugInfo(request, newTask, _debugInfo2);
890
+ forwardDebugInfoFromCurrentContext(request, newTask, thenable);
892
891
  newTask.model = value;
893
892
  pingTask(request, newTask);
894
893
  },
895
894
  function (reason) {
896
- var _debugInfo3 = thenable._debugInfo;
897
- _debugInfo3 && forwardDebugInfo(request, newTask, _debugInfo3);
898
895
  newTask.status === PENDING$1 &&
899
896
  (erroredTask(request, newTask, reason), enqueueFlush(request));
900
897
  }
@@ -1053,33 +1050,38 @@
1053
1050
  if ("rejected" === thenable.status) throw thenable.reason;
1054
1051
  throw thenable;
1055
1052
  }
1056
- function createLazyWrapperAroundWakeable(wakeable) {
1053
+ function createLazyWrapperAroundWakeable(request, task, wakeable) {
1057
1054
  switch (wakeable.status) {
1058
1055
  case "fulfilled":
1056
+ return (
1057
+ forwardDebugInfoFromThenable(request, task, wakeable),
1058
+ wakeable.value
1059
+ );
1059
1060
  case "rejected":
1061
+ forwardDebugInfoFromThenable(request, task, wakeable);
1060
1062
  break;
1061
1063
  default:
1062
1064
  "string" !== typeof wakeable.status &&
1063
1065
  ((wakeable.status = "pending"),
1064
1066
  wakeable.then(
1065
1067
  function (fulfilledValue) {
1068
+ forwardDebugInfoFromCurrentContext(request, task, wakeable);
1066
1069
  "pending" === wakeable.status &&
1067
1070
  ((wakeable.status = "fulfilled"),
1068
1071
  (wakeable.value = fulfilledValue));
1069
1072
  },
1070
1073
  function (error) {
1074
+ forwardDebugInfoFromCurrentContext(request, task, wakeable);
1071
1075
  "pending" === wakeable.status &&
1072
1076
  ((wakeable.status = "rejected"), (wakeable.reason = error));
1073
1077
  }
1074
1078
  ));
1075
1079
  }
1076
- var lazyType = {
1080
+ return {
1077
1081
  $$typeof: REACT_LAZY_TYPE,
1078
1082
  _payload: wakeable,
1079
1083
  _init: readThenable
1080
1084
  };
1081
- lazyType._debugInfo = wakeable._debugInfo || [];
1082
- return lazyType;
1083
1085
  }
1084
1086
  function callWithDebugContextInDEV(request, task, callback, arg) {
1085
1087
  var componentDebugInfo = {
@@ -1121,9 +1123,7 @@
1121
1123
  resolvedValue.$$typeof === REACT_ELEMENT_TYPE &&
1122
1124
  (resolvedValue._store.validated = 1);
1123
1125
  }, voidHandler),
1124
- "fulfilled" === result.status
1125
- ? result.value
1126
- : createLazyWrapperAroundWakeable(result)
1126
+ createLazyWrapperAroundWakeable(request, task, result)
1127
1127
  );
1128
1128
  result.$$typeof === REACT_ELEMENT_TYPE && (result._store.validated = 1);
1129
1129
  var iteratorFn = getIteratorFn(result);
@@ -1221,6 +1221,18 @@
1221
1221
  props.then(voidHandler, voidHandler),
1222
1222
  null)
1223
1223
  );
1224
+ validated = thenableState;
1225
+ if (null !== validated)
1226
+ for (
1227
+ prevThenableState = 0;
1228
+ prevThenableState < validated.length;
1229
+ prevThenableState++
1230
+ )
1231
+ forwardDebugInfoFromThenable(
1232
+ request,
1233
+ task,
1234
+ validated[prevThenableState]
1235
+ );
1224
1236
  props = processServerComponentReturnValue(
1225
1237
  request,
1226
1238
  task,
@@ -2601,6 +2613,14 @@
2601
2613
  emitDebugChunk(request$jscomp$0, task, info);
2602
2614
  }
2603
2615
  }
2616
+ function forwardDebugInfoFromThenable(request, task, thenable) {
2617
+ (thenable = thenable._debugInfo) &&
2618
+ forwardDebugInfo(request, task, thenable);
2619
+ }
2620
+ function forwardDebugInfoFromCurrentContext(request, task, thenable) {
2621
+ (thenable = thenable._debugInfo) &&
2622
+ forwardDebugInfo(request, task, thenable);
2623
+ }
2604
2624
  function emitChunk(request, task, value) {
2605
2625
  var id = task.id;
2606
2626
  "string" === typeof value && null !== byteLengthOfChunk
@@ -3683,6 +3703,8 @@
3683
3703
  return;
3684
3704
  case "defaultProps":
3685
3705
  return;
3706
+ case "_debugInfo":
3707
+ return;
3686
3708
  case "toJSON":
3687
3709
  return;
3688
3710
  case Symbol.toPrimitive:
@@ -3875,6 +3897,8 @@
3875
3897
  return;
3876
3898
  case "defaultProps":
3877
3899
  return;
3900
+ case "_debugInfo":
3901
+ return;
3878
3902
  case "toJSON":
3879
3903
  return;
3880
3904
  case Symbol.toPrimitive:
@@ -117,6 +117,8 @@ var PROMISE_PROTOTYPE = Promise.prototype,
117
117
  return;
118
118
  case "defaultProps":
119
119
  return;
120
+ case "_debugInfo":
121
+ return;
120
122
  case "toJSON":
121
123
  return;
122
124
  case Symbol.toPrimitive:
@@ -154,6 +156,8 @@ function getReference(target, name) {
154
156
  return target.name;
155
157
  case "defaultProps":
156
158
  return;
159
+ case "_debugInfo":
160
+ return;
157
161
  case "toJSON":
158
162
  return;
159
163
  case Symbol.toPrimitive:
@@ -387,6 +391,8 @@ var TEMPORARY_REFERENCE_TAG = Symbol.for("react.temporary.reference"),
387
391
  return;
388
392
  case "defaultProps":
389
393
  return;
394
+ case "_debugInfo":
395
+ return;
390
396
  case "toJSON":
391
397
  return;
392
398
  case Symbol.toPrimitive:
@@ -956,9 +962,10 @@ function readThenable(thenable) {
956
962
  if ("rejected" === thenable.status) throw thenable.reason;
957
963
  throw thenable;
958
964
  }
959
- function createLazyWrapperAroundWakeable(wakeable) {
965
+ function createLazyWrapperAroundWakeable(request, task, wakeable) {
960
966
  switch (wakeable.status) {
961
967
  case "fulfilled":
968
+ return wakeable.value;
962
969
  case "rejected":
963
970
  break;
964
971
  default:
@@ -987,9 +994,7 @@ function processServerComponentReturnValue(request, task, Component, result) {
987
994
  )
988
995
  return result;
989
996
  if ("function" === typeof result.then)
990
- return "fulfilled" === result.status
991
- ? result.value
992
- : createLazyWrapperAroundWakeable(result);
997
+ return createLazyWrapperAroundWakeable(request, task, result);
993
998
  var iteratorFn = getIteratorFn(result);
994
999
  return iteratorFn
995
1000
  ? ((request = {}),
@@ -128,6 +128,8 @@
128
128
  return target.name;
129
129
  case "defaultProps":
130
130
  return;
131
+ case "_debugInfo":
132
+ return;
131
133
  case "toJSON":
132
134
  return;
133
135
  case Symbol.toPrimitive:
@@ -864,16 +866,14 @@
864
866
  switch (thenable.status) {
865
867
  case "fulfilled":
866
868
  return (
867
- (task = thenable._debugInfo) &&
868
- forwardDebugInfo(request, newTask, task),
869
+ forwardDebugInfoFromThenable(request, newTask, thenable),
869
870
  (newTask.model = thenable.value),
870
871
  pingTask(request, newTask),
871
872
  newTask.id
872
873
  );
873
874
  case "rejected":
874
875
  return (
875
- (task = thenable._debugInfo) &&
876
- forwardDebugInfo(request, newTask, task),
876
+ forwardDebugInfoFromThenable(request, newTask, thenable),
877
877
  erroredTask(request, newTask, thenable.reason),
878
878
  newTask.id
879
879
  );
@@ -902,14 +902,11 @@
902
902
  }
903
903
  thenable.then(
904
904
  function (value) {
905
- var _debugInfo2 = thenable._debugInfo;
906
- _debugInfo2 && forwardDebugInfo(request, newTask, _debugInfo2);
905
+ forwardDebugInfoFromCurrentContext(request, newTask, thenable);
907
906
  newTask.model = value;
908
907
  pingTask(request, newTask);
909
908
  },
910
909
  function (reason) {
911
- var _debugInfo3 = thenable._debugInfo;
912
- _debugInfo3 && forwardDebugInfo(request, newTask, _debugInfo3);
913
910
  newTask.status === PENDING$1 &&
914
911
  (erroredTask(request, newTask, reason), enqueueFlush(request));
915
912
  }
@@ -1068,33 +1065,38 @@
1068
1065
  if ("rejected" === thenable.status) throw thenable.reason;
1069
1066
  throw thenable;
1070
1067
  }
1071
- function createLazyWrapperAroundWakeable(wakeable) {
1068
+ function createLazyWrapperAroundWakeable(request, task, wakeable) {
1072
1069
  switch (wakeable.status) {
1073
1070
  case "fulfilled":
1071
+ return (
1072
+ forwardDebugInfoFromThenable(request, task, wakeable),
1073
+ wakeable.value
1074
+ );
1074
1075
  case "rejected":
1076
+ forwardDebugInfoFromThenable(request, task, wakeable);
1075
1077
  break;
1076
1078
  default:
1077
1079
  "string" !== typeof wakeable.status &&
1078
1080
  ((wakeable.status = "pending"),
1079
1081
  wakeable.then(
1080
1082
  function (fulfilledValue) {
1083
+ forwardDebugInfoFromCurrentContext(request, task, wakeable);
1081
1084
  "pending" === wakeable.status &&
1082
1085
  ((wakeable.status = "fulfilled"),
1083
1086
  (wakeable.value = fulfilledValue));
1084
1087
  },
1085
1088
  function (error) {
1089
+ forwardDebugInfoFromCurrentContext(request, task, wakeable);
1086
1090
  "pending" === wakeable.status &&
1087
1091
  ((wakeable.status = "rejected"), (wakeable.reason = error));
1088
1092
  }
1089
1093
  ));
1090
1094
  }
1091
- var lazyType = {
1095
+ return {
1092
1096
  $$typeof: REACT_LAZY_TYPE,
1093
1097
  _payload: wakeable,
1094
1098
  _init: readThenable
1095
1099
  };
1096
- lazyType._debugInfo = wakeable._debugInfo || [];
1097
- return lazyType;
1098
1100
  }
1099
1101
  function callWithDebugContextInDEV(request, task, callback, arg) {
1100
1102
  var componentDebugInfo = {
@@ -1136,9 +1138,7 @@
1136
1138
  resolvedValue.$$typeof === REACT_ELEMENT_TYPE &&
1137
1139
  (resolvedValue._store.validated = 1);
1138
1140
  }, voidHandler),
1139
- "fulfilled" === result.status
1140
- ? result.value
1141
- : createLazyWrapperAroundWakeable(result)
1141
+ createLazyWrapperAroundWakeable(request, task, result)
1142
1142
  );
1143
1143
  result.$$typeof === REACT_ELEMENT_TYPE && (result._store.validated = 1);
1144
1144
  var iteratorFn = getIteratorFn(result);
@@ -1260,6 +1260,18 @@
1260
1260
  props.then(voidHandler, voidHandler),
1261
1261
  null)
1262
1262
  );
1263
+ validated = thenableState;
1264
+ if (null !== validated)
1265
+ for (
1266
+ prevThenableState = 0;
1267
+ prevThenableState < validated.length;
1268
+ prevThenableState++
1269
+ )
1270
+ forwardDebugInfoFromThenable(
1271
+ request,
1272
+ task,
1273
+ validated[prevThenableState]
1274
+ );
1263
1275
  props = processServerComponentReturnValue(
1264
1276
  request,
1265
1277
  task,
@@ -2675,6 +2687,14 @@
2675
2687
  emitDebugChunk(request$jscomp$0, task, info);
2676
2688
  }
2677
2689
  }
2690
+ function forwardDebugInfoFromThenable(request, task, thenable) {
2691
+ (thenable = thenable._debugInfo) &&
2692
+ forwardDebugInfo(request, task, thenable);
2693
+ }
2694
+ function forwardDebugInfoFromCurrentContext(request, task, thenable) {
2695
+ (thenable = thenable._debugInfo) &&
2696
+ forwardDebugInfo(request, task, thenable);
2697
+ }
2678
2698
  function emitChunk(request, task, value) {
2679
2699
  var id = task.id;
2680
2700
  "string" === typeof value && null !== byteLengthOfChunk
@@ -3764,6 +3784,8 @@
3764
3784
  return;
3765
3785
  case "defaultProps":
3766
3786
  return;
3787
+ case "_debugInfo":
3788
+ return;
3767
3789
  case "toJSON":
3768
3790
  return;
3769
3791
  case Symbol.toPrimitive:
@@ -3962,6 +3984,8 @@
3962
3984
  return;
3963
3985
  case "defaultProps":
3964
3986
  return;
3987
+ case "_debugInfo":
3988
+ return;
3965
3989
  case "toJSON":
3966
3990
  return;
3967
3991
  case Symbol.toPrimitive:
@@ -127,6 +127,8 @@ var PROMISE_PROTOTYPE = Promise.prototype,
127
127
  return;
128
128
  case "defaultProps":
129
129
  return;
130
+ case "_debugInfo":
131
+ return;
130
132
  case "toJSON":
131
133
  return;
132
134
  case Symbol.toPrimitive:
@@ -164,6 +166,8 @@ function getReference(target, name) {
164
166
  return target.name;
165
167
  case "defaultProps":
166
168
  return;
169
+ case "_debugInfo":
170
+ return;
167
171
  case "toJSON":
168
172
  return;
169
173
  case Symbol.toPrimitive:
@@ -399,6 +403,8 @@ var supportsRequestStorage = "function" === typeof AsyncLocalStorage,
399
403
  return;
400
404
  case "defaultProps":
401
405
  return;
406
+ case "_debugInfo":
407
+ return;
402
408
  case "toJSON":
403
409
  return;
404
410
  case Symbol.toPrimitive:
@@ -955,9 +961,10 @@ function readThenable(thenable) {
955
961
  if ("rejected" === thenable.status) throw thenable.reason;
956
962
  throw thenable;
957
963
  }
958
- function createLazyWrapperAroundWakeable(wakeable) {
964
+ function createLazyWrapperAroundWakeable(request, task, wakeable) {
959
965
  switch (wakeable.status) {
960
966
  case "fulfilled":
967
+ return wakeable.value;
961
968
  case "rejected":
962
969
  break;
963
970
  default:
@@ -986,9 +993,7 @@ function processServerComponentReturnValue(request, task, Component, result) {
986
993
  )
987
994
  return result;
988
995
  if ("function" === typeof result.then)
989
- return "fulfilled" === result.status
990
- ? result.value
991
- : createLazyWrapperAroundWakeable(result);
996
+ return createLazyWrapperAroundWakeable(request, task, result);
992
997
  var iteratorFn = getIteratorFn(result);
993
998
  return iteratorFn
994
999
  ? ((request = {}),
@@ -155,6 +155,8 @@
155
155
  return target.name;
156
156
  case "defaultProps":
157
157
  return;
158
+ case "_debugInfo":
159
+ return;
158
160
  case "toJSON":
159
161
  return;
160
162
  case Symbol.toPrimitive:
@@ -885,16 +887,14 @@
885
887
  switch (thenable.status) {
886
888
  case "fulfilled":
887
889
  return (
888
- (task = thenable._debugInfo) &&
889
- forwardDebugInfo(request, newTask, task),
890
+ forwardDebugInfoFromThenable(request, newTask, thenable),
890
891
  (newTask.model = thenable.value),
891
892
  pingTask(request, newTask),
892
893
  newTask.id
893
894
  );
894
895
  case "rejected":
895
896
  return (
896
- (task = thenable._debugInfo) &&
897
- forwardDebugInfo(request, newTask, task),
897
+ forwardDebugInfoFromThenable(request, newTask, thenable),
898
898
  erroredTask(request, newTask, thenable.reason),
899
899
  newTask.id
900
900
  );
@@ -923,14 +923,11 @@
923
923
  }
924
924
  thenable.then(
925
925
  function (value) {
926
- var _debugInfo2 = thenable._debugInfo;
927
- _debugInfo2 && forwardDebugInfo(request, newTask, _debugInfo2);
926
+ forwardDebugInfoFromCurrentContext(request, newTask, thenable);
928
927
  newTask.model = value;
929
928
  pingTask(request, newTask);
930
929
  },
931
930
  function (reason) {
932
- var _debugInfo3 = thenable._debugInfo;
933
- _debugInfo3 && forwardDebugInfo(request, newTask, _debugInfo3);
934
931
  newTask.status === PENDING$1 &&
935
932
  (erroredTask(request, newTask, reason), enqueueFlush(request));
936
933
  }
@@ -1088,33 +1085,38 @@
1088
1085
  if ("rejected" === thenable.status) throw thenable.reason;
1089
1086
  throw thenable;
1090
1087
  }
1091
- function createLazyWrapperAroundWakeable(wakeable) {
1088
+ function createLazyWrapperAroundWakeable(request, task, wakeable) {
1092
1089
  switch (wakeable.status) {
1093
1090
  case "fulfilled":
1091
+ return (
1092
+ forwardDebugInfoFromThenable(request, task, wakeable),
1093
+ wakeable.value
1094
+ );
1094
1095
  case "rejected":
1096
+ forwardDebugInfoFromThenable(request, task, wakeable);
1095
1097
  break;
1096
1098
  default:
1097
1099
  "string" !== typeof wakeable.status &&
1098
1100
  ((wakeable.status = "pending"),
1099
1101
  wakeable.then(
1100
1102
  function (fulfilledValue) {
1103
+ forwardDebugInfoFromCurrentContext(request, task, wakeable);
1101
1104
  "pending" === wakeable.status &&
1102
1105
  ((wakeable.status = "fulfilled"),
1103
1106
  (wakeable.value = fulfilledValue));
1104
1107
  },
1105
1108
  function (error) {
1109
+ forwardDebugInfoFromCurrentContext(request, task, wakeable);
1106
1110
  "pending" === wakeable.status &&
1107
1111
  ((wakeable.status = "rejected"), (wakeable.reason = error));
1108
1112
  }
1109
1113
  ));
1110
1114
  }
1111
- var lazyType = {
1115
+ return {
1112
1116
  $$typeof: REACT_LAZY_TYPE,
1113
1117
  _payload: wakeable,
1114
1118
  _init: readThenable
1115
1119
  };
1116
- lazyType._debugInfo = wakeable._debugInfo || [];
1117
- return lazyType;
1118
1120
  }
1119
1121
  function callWithDebugContextInDEV(request, task, callback, arg) {
1120
1122
  var componentDebugInfo = {
@@ -1156,9 +1158,7 @@
1156
1158
  resolvedValue.$$typeof === REACT_ELEMENT_TYPE &&
1157
1159
  (resolvedValue._store.validated = 1);
1158
1160
  }, voidHandler),
1159
- "fulfilled" === result.status
1160
- ? result.value
1161
- : createLazyWrapperAroundWakeable(result)
1161
+ createLazyWrapperAroundWakeable(request, task, result)
1162
1162
  );
1163
1163
  result.$$typeof === REACT_ELEMENT_TYPE && (result._store.validated = 1);
1164
1164
  var iteratorFn = getIteratorFn(result);
@@ -1269,6 +1269,18 @@
1269
1269
  props.then(voidHandler, voidHandler),
1270
1270
  null)
1271
1271
  );
1272
+ validated = thenableState;
1273
+ if (null !== validated)
1274
+ for (
1275
+ prevThenableState = 0;
1276
+ prevThenableState < validated.length;
1277
+ prevThenableState++
1278
+ )
1279
+ forwardDebugInfoFromThenable(
1280
+ request,
1281
+ task,
1282
+ validated[prevThenableState]
1283
+ );
1272
1284
  props = processServerComponentReturnValue(
1273
1285
  request,
1274
1286
  task,
@@ -2656,6 +2668,14 @@
2656
2668
  emitDebugChunk(request$jscomp$0, task, info);
2657
2669
  }
2658
2670
  }
2671
+ function forwardDebugInfoFromThenable(request, task, thenable) {
2672
+ (thenable = thenable._debugInfo) &&
2673
+ forwardDebugInfo(request, task, thenable);
2674
+ }
2675
+ function forwardDebugInfoFromCurrentContext(request, task, thenable) {
2676
+ (thenable = thenable._debugInfo) &&
2677
+ forwardDebugInfo(request, task, thenable);
2678
+ }
2659
2679
  function emitChunk(request, task, value) {
2660
2680
  var id = task.id;
2661
2681
  "string" === typeof value && null !== byteLengthOfChunk
@@ -3787,6 +3807,8 @@
3787
3807
  return;
3788
3808
  case "defaultProps":
3789
3809
  return;
3810
+ case "_debugInfo":
3811
+ return;
3790
3812
  case "toJSON":
3791
3813
  return;
3792
3814
  case Symbol.toPrimitive:
@@ -3982,6 +4004,8 @@
3982
4004
  return;
3983
4005
  case "defaultProps":
3984
4006
  return;
4007
+ case "_debugInfo":
4008
+ return;
3985
4009
  case "toJSON":
3986
4010
  return;
3987
4011
  case Symbol.toPrimitive:
@@ -154,6 +154,8 @@ var PROMISE_PROTOTYPE = Promise.prototype,
154
154
  return;
155
155
  case "defaultProps":
156
156
  return;
157
+ case "_debugInfo":
158
+ return;
157
159
  case "toJSON":
158
160
  return;
159
161
  case Symbol.toPrimitive:
@@ -191,6 +193,8 @@ function getReference(target, name) {
191
193
  return target.name;
192
194
  case "defaultProps":
193
195
  return;
196
+ case "_debugInfo":
197
+ return;
194
198
  case "toJSON":
195
199
  return;
196
200
  case Symbol.toPrimitive:
@@ -425,6 +429,8 @@ var requestStorage = new async_hooks.AsyncLocalStorage(),
425
429
  return;
426
430
  case "defaultProps":
427
431
  return;
432
+ case "_debugInfo":
433
+ return;
428
434
  case "toJSON":
429
435
  return;
430
436
  case Symbol.toPrimitive:
@@ -977,9 +983,10 @@ function readThenable(thenable) {
977
983
  if ("rejected" === thenable.status) throw thenable.reason;
978
984
  throw thenable;
979
985
  }
980
- function createLazyWrapperAroundWakeable(wakeable) {
986
+ function createLazyWrapperAroundWakeable(request, task, wakeable) {
981
987
  switch (wakeable.status) {
982
988
  case "fulfilled":
989
+ return wakeable.value;
983
990
  case "rejected":
984
991
  break;
985
992
  default:
@@ -1008,9 +1015,7 @@ function processServerComponentReturnValue(request, task, Component, result) {
1008
1015
  )
1009
1016
  return result;
1010
1017
  if ("function" === typeof result.then)
1011
- return "fulfilled" === result.status
1012
- ? result.value
1013
- : createLazyWrapperAroundWakeable(result);
1018
+ return createLazyWrapperAroundWakeable(request, task, result);
1014
1019
  var iteratorFn = getIteratorFn(result);
1015
1020
  return iteratorFn
1016
1021
  ? ((request = {}),
@@ -155,6 +155,8 @@
155
155
  return target.name;
156
156
  case "defaultProps":
157
157
  return;
158
+ case "_debugInfo":
159
+ return;
158
160
  case "toJSON":
159
161
  return;
160
162
  case Symbol.toPrimitive:
@@ -885,16 +887,14 @@
885
887
  switch (thenable.status) {
886
888
  case "fulfilled":
887
889
  return (
888
- (task = thenable._debugInfo) &&
889
- forwardDebugInfo(request, newTask, task),
890
+ forwardDebugInfoFromThenable(request, newTask, thenable),
890
891
  (newTask.model = thenable.value),
891
892
  pingTask(request, newTask),
892
893
  newTask.id
893
894
  );
894
895
  case "rejected":
895
896
  return (
896
- (task = thenable._debugInfo) &&
897
- forwardDebugInfo(request, newTask, task),
897
+ forwardDebugInfoFromThenable(request, newTask, thenable),
898
898
  erroredTask(request, newTask, thenable.reason),
899
899
  newTask.id
900
900
  );
@@ -923,14 +923,11 @@
923
923
  }
924
924
  thenable.then(
925
925
  function (value) {
926
- var _debugInfo2 = thenable._debugInfo;
927
- _debugInfo2 && forwardDebugInfo(request, newTask, _debugInfo2);
926
+ forwardDebugInfoFromCurrentContext(request, newTask, thenable);
928
927
  newTask.model = value;
929
928
  pingTask(request, newTask);
930
929
  },
931
930
  function (reason) {
932
- var _debugInfo3 = thenable._debugInfo;
933
- _debugInfo3 && forwardDebugInfo(request, newTask, _debugInfo3);
934
931
  newTask.status === PENDING$1 &&
935
932
  (erroredTask(request, newTask, reason), enqueueFlush(request));
936
933
  }
@@ -1088,33 +1085,38 @@
1088
1085
  if ("rejected" === thenable.status) throw thenable.reason;
1089
1086
  throw thenable;
1090
1087
  }
1091
- function createLazyWrapperAroundWakeable(wakeable) {
1088
+ function createLazyWrapperAroundWakeable(request, task, wakeable) {
1092
1089
  switch (wakeable.status) {
1093
1090
  case "fulfilled":
1091
+ return (
1092
+ forwardDebugInfoFromThenable(request, task, wakeable),
1093
+ wakeable.value
1094
+ );
1094
1095
  case "rejected":
1096
+ forwardDebugInfoFromThenable(request, task, wakeable);
1095
1097
  break;
1096
1098
  default:
1097
1099
  "string" !== typeof wakeable.status &&
1098
1100
  ((wakeable.status = "pending"),
1099
1101
  wakeable.then(
1100
1102
  function (fulfilledValue) {
1103
+ forwardDebugInfoFromCurrentContext(request, task, wakeable);
1101
1104
  "pending" === wakeable.status &&
1102
1105
  ((wakeable.status = "fulfilled"),
1103
1106
  (wakeable.value = fulfilledValue));
1104
1107
  },
1105
1108
  function (error) {
1109
+ forwardDebugInfoFromCurrentContext(request, task, wakeable);
1106
1110
  "pending" === wakeable.status &&
1107
1111
  ((wakeable.status = "rejected"), (wakeable.reason = error));
1108
1112
  }
1109
1113
  ));
1110
1114
  }
1111
- var lazyType = {
1115
+ return {
1112
1116
  $$typeof: REACT_LAZY_TYPE,
1113
1117
  _payload: wakeable,
1114
1118
  _init: readThenable
1115
1119
  };
1116
- lazyType._debugInfo = wakeable._debugInfo || [];
1117
- return lazyType;
1118
1120
  }
1119
1121
  function callWithDebugContextInDEV(request, task, callback, arg) {
1120
1122
  var componentDebugInfo = {
@@ -1156,9 +1158,7 @@
1156
1158
  resolvedValue.$$typeof === REACT_ELEMENT_TYPE &&
1157
1159
  (resolvedValue._store.validated = 1);
1158
1160
  }, voidHandler),
1159
- "fulfilled" === result.status
1160
- ? result.value
1161
- : createLazyWrapperAroundWakeable(result)
1161
+ createLazyWrapperAroundWakeable(request, task, result)
1162
1162
  );
1163
1163
  result.$$typeof === REACT_ELEMENT_TYPE && (result._store.validated = 1);
1164
1164
  var iteratorFn = getIteratorFn(result);
@@ -1269,6 +1269,18 @@
1269
1269
  props.then(voidHandler, voidHandler),
1270
1270
  null)
1271
1271
  );
1272
+ validated = thenableState;
1273
+ if (null !== validated)
1274
+ for (
1275
+ prevThenableState = 0;
1276
+ prevThenableState < validated.length;
1277
+ prevThenableState++
1278
+ )
1279
+ forwardDebugInfoFromThenable(
1280
+ request,
1281
+ task,
1282
+ validated[prevThenableState]
1283
+ );
1272
1284
  props = processServerComponentReturnValue(
1273
1285
  request,
1274
1286
  task,
@@ -2656,6 +2668,14 @@
2656
2668
  emitDebugChunk(request$jscomp$0, task, info);
2657
2669
  }
2658
2670
  }
2671
+ function forwardDebugInfoFromThenable(request, task, thenable) {
2672
+ (thenable = thenable._debugInfo) &&
2673
+ forwardDebugInfo(request, task, thenable);
2674
+ }
2675
+ function forwardDebugInfoFromCurrentContext(request, task, thenable) {
2676
+ (thenable = thenable._debugInfo) &&
2677
+ forwardDebugInfo(request, task, thenable);
2678
+ }
2659
2679
  function emitChunk(request, task, value) {
2660
2680
  var id = task.id;
2661
2681
  "string" === typeof value && null !== byteLengthOfChunk
@@ -3750,6 +3770,8 @@
3750
3770
  return;
3751
3771
  case "defaultProps":
3752
3772
  return;
3773
+ case "_debugInfo":
3774
+ return;
3753
3775
  case "toJSON":
3754
3776
  return;
3755
3777
  case Symbol.toPrimitive:
@@ -3945,6 +3967,8 @@
3945
3967
  return;
3946
3968
  case "defaultProps":
3947
3969
  return;
3970
+ case "_debugInfo":
3971
+ return;
3948
3972
  case "toJSON":
3949
3973
  return;
3950
3974
  case Symbol.toPrimitive:
@@ -154,6 +154,8 @@ var PROMISE_PROTOTYPE = Promise.prototype,
154
154
  return;
155
155
  case "defaultProps":
156
156
  return;
157
+ case "_debugInfo":
158
+ return;
157
159
  case "toJSON":
158
160
  return;
159
161
  case Symbol.toPrimitive:
@@ -191,6 +193,8 @@ function getReference(target, name) {
191
193
  return target.name;
192
194
  case "defaultProps":
193
195
  return;
196
+ case "_debugInfo":
197
+ return;
194
198
  case "toJSON":
195
199
  return;
196
200
  case Symbol.toPrimitive:
@@ -425,6 +429,8 @@ var requestStorage = new async_hooks.AsyncLocalStorage(),
425
429
  return;
426
430
  case "defaultProps":
427
431
  return;
432
+ case "_debugInfo":
433
+ return;
428
434
  case "toJSON":
429
435
  return;
430
436
  case Symbol.toPrimitive:
@@ -977,9 +983,10 @@ function readThenable(thenable) {
977
983
  if ("rejected" === thenable.status) throw thenable.reason;
978
984
  throw thenable;
979
985
  }
980
- function createLazyWrapperAroundWakeable(wakeable) {
986
+ function createLazyWrapperAroundWakeable(request, task, wakeable) {
981
987
  switch (wakeable.status) {
982
988
  case "fulfilled":
989
+ return wakeable.value;
983
990
  case "rejected":
984
991
  break;
985
992
  default:
@@ -1008,9 +1015,7 @@ function processServerComponentReturnValue(request, task, Component, result) {
1008
1015
  )
1009
1016
  return result;
1010
1017
  if ("function" === typeof result.then)
1011
- return "fulfilled" === result.status
1012
- ? result.value
1013
- : createLazyWrapperAroundWakeable(result);
1018
+ return createLazyWrapperAroundWakeable(request, task, result);
1014
1019
  var iteratorFn = getIteratorFn(result);
1015
1020
  return iteratorFn
1016
1021
  ? ((request = {}),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-server-dom-webpack",
3
3
  "description": "React Server Components bindings for DOM using Webpack. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.",
4
- "version": "19.2.0-canary-b6c0aa88-20250609",
4
+ "version": "19.2.0-canary-b7e2de63-20250611",
5
5
  "keywords": [
6
6
  "react"
7
7
  ],
@@ -99,8 +99,8 @@
99
99
  "node": ">=0.10.0"
100
100
  },
101
101
  "peerDependencies": {
102
- "react": "19.2.0-canary-b6c0aa88-20250609",
103
- "react-dom": "19.2.0-canary-b6c0aa88-20250609",
102
+ "react": "19.2.0-canary-b7e2de63-20250611",
103
+ "react-dom": "19.2.0-canary-b7e2de63-20250611",
104
104
  "webpack": "^5.59.0"
105
105
  },
106
106
  "dependencies": {