react-server-dom-webpack 19.2.0-canary-edac0dde-20250723 → 19.2.0-canary-19baee81-20250725

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.
@@ -761,7 +761,7 @@
761
761
  filename.startsWith("/") && (filename = "file://" + filename);
762
762
  sourceMap
763
763
  ? ((col +=
764
- "\n//# sourceURL=rsc://React/" +
764
+ "\n//# sourceURL=about://React/" +
765
765
  encodeURIComponent(environmentName) +
766
766
  "/" +
767
767
  encodeURI(filename) +
@@ -2342,7 +2342,7 @@
2342
2342
  filename.startsWith("/") && (filename = "file://" + filename);
2343
2343
  sourceMap
2344
2344
  ? ((encodedName +=
2345
- "\n//# sourceURL=rsc://React/" +
2345
+ "\n//# sourceURL=about://React/" +
2346
2346
  encodeURIComponent(environmentName) +
2347
2347
  "/" +
2348
2348
  encodeURI(filename) +
@@ -2574,6 +2574,31 @@
2574
2574
  }
2575
2575
  }
2576
2576
  }
2577
+ function initializeIOInfo(response, ioInfo) {
2578
+ void 0 !== ioInfo.stack &&
2579
+ (initializeFakeTask(response, ioInfo),
2580
+ initializeFakeStack(response, ioInfo));
2581
+ ioInfo.start += response._timeOrigin;
2582
+ ioInfo.end += response._timeOrigin;
2583
+ }
2584
+ function resolveIOInfo(response, id, model) {
2585
+ var chunks = response._chunks,
2586
+ chunk = chunks.get(id);
2587
+ chunk
2588
+ ? (resolveModelChunk(response, chunk, model),
2589
+ "resolved_model" === chunk.status && initializeModelChunk(chunk))
2590
+ : ((chunk = createResolvedModelChunk(response, model)),
2591
+ chunks.set(id, chunk),
2592
+ initializeModelChunk(chunk));
2593
+ "fulfilled" === chunk.status
2594
+ ? initializeIOInfo(response, chunk.value)
2595
+ : chunk.then(
2596
+ function (v) {
2597
+ initializeIOInfo(response, v);
2598
+ },
2599
+ function () {}
2600
+ );
2601
+ }
2577
2602
  function mergeBuffer(buffer, lastChunk) {
2578
2603
  for (
2579
2604
  var l = buffer.length, byteLength = lastChunk.length, i = 0;
@@ -2734,6 +2759,8 @@
2734
2759
  tag.set(id, new ReactPromise("fulfilled", row, null)));
2735
2760
  break;
2736
2761
  case 78:
2762
+ response._timeOrigin = +row - performance.timeOrigin;
2763
+ break;
2737
2764
  case 68:
2738
2765
  id = getChunk(response, id);
2739
2766
  "fulfilled" !== id.status &&
@@ -2756,6 +2783,8 @@
2756
2783
  (id._debugChunk = null)));
2757
2784
  break;
2758
2785
  case 74:
2786
+ resolveIOInfo(response, id, row);
2787
+ break;
2759
2788
  case 87:
2760
2789
  resolveConsoleEntry(response, row);
2761
2790
  break;
@@ -3189,6 +3218,7 @@
3189
3218
  ReactSharedInteralsServer;
3190
3219
  ReactPromise.prototype = Object.create(Promise.prototype);
3191
3220
  ReactPromise.prototype.then = function (resolve, reject) {
3221
+ var _this = this;
3192
3222
  switch (this.status) {
3193
3223
  case "resolved_model":
3194
3224
  initializeModelChunk(this);
@@ -3196,6 +3226,19 @@
3196
3226
  case "resolved_module":
3197
3227
  initializeModuleChunk(this);
3198
3228
  }
3229
+ var resolveCallback = resolve,
3230
+ rejectCallback = reject,
3231
+ wrapperPromise = new Promise(function (res, rej) {
3232
+ resolve = function (value) {
3233
+ wrapperPromise._debugInfo = _this._debugInfo;
3234
+ res(value);
3235
+ };
3236
+ reject = function (reason) {
3237
+ wrapperPromise._debugInfo = _this._debugInfo;
3238
+ rej(reason);
3239
+ };
3240
+ });
3241
+ wrapperPromise.then(resolveCallback, rejectCallback);
3199
3242
  switch (this.status) {
3200
3243
  case "fulfilled":
3201
3244
  "function" === typeof resolve && resolve(this.value);
@@ -3328,10 +3371,10 @@
3328
3371
  return hook.checkDCE ? !0 : !1;
3329
3372
  })({
3330
3373
  bundleType: 1,
3331
- version: "19.2.0-canary-edac0dde-20250723",
3374
+ version: "19.2.0-canary-19baee81-20250725",
3332
3375
  rendererPackageName: "react-server-dom-webpack",
3333
3376
  currentDispatcherRef: ReactSharedInternals,
3334
- reconcilerVersion: "19.2.0-canary-edac0dde-20250723",
3377
+ reconcilerVersion: "19.2.0-canary-19baee81-20250725",
3335
3378
  getCurrentComponentInfo: function () {
3336
3379
  return currentOwnerInDEV;
3337
3380
  }
@@ -877,7 +877,7 @@
877
877
  filename.startsWith("/") && (filename = "file://" + filename);
878
878
  sourceMap
879
879
  ? ((col +=
880
- "\n//# sourceURL=rsc://React/" +
880
+ "\n//# sourceURL=about://React/" +
881
881
  encodeURIComponent(environmentName) +
882
882
  "/" +
883
883
  encodeURI(filename) +
@@ -2552,7 +2552,7 @@
2552
2552
  filename.startsWith("/") && (filename = "file://" + filename);
2553
2553
  sourceMap
2554
2554
  ? ((encodedName +=
2555
- "\n//# sourceURL=rsc://React/" +
2555
+ "\n//# sourceURL=about://React/" +
2556
2556
  encodeURIComponent(environmentName) +
2557
2557
  "/" +
2558
2558
  encodeURI(filename) +
@@ -2784,6 +2784,31 @@
2784
2784
  }
2785
2785
  }
2786
2786
  }
2787
+ function initializeIOInfo(response, ioInfo) {
2788
+ void 0 !== ioInfo.stack &&
2789
+ (initializeFakeTask(response, ioInfo),
2790
+ initializeFakeStack(response, ioInfo));
2791
+ ioInfo.start += response._timeOrigin;
2792
+ ioInfo.end += response._timeOrigin;
2793
+ }
2794
+ function resolveIOInfo(response, id, model) {
2795
+ var chunks = response._chunks,
2796
+ chunk = chunks.get(id);
2797
+ chunk
2798
+ ? (resolveModelChunk(response, chunk, model),
2799
+ "resolved_model" === chunk.status && initializeModelChunk(chunk))
2800
+ : ((chunk = createResolvedModelChunk(response, model)),
2801
+ chunks.set(id, chunk),
2802
+ initializeModelChunk(chunk));
2803
+ "fulfilled" === chunk.status
2804
+ ? initializeIOInfo(response, chunk.value)
2805
+ : chunk.then(
2806
+ function (v) {
2807
+ initializeIOInfo(response, v);
2808
+ },
2809
+ function () {}
2810
+ );
2811
+ }
2787
2812
  function mergeBuffer(buffer, lastChunk) {
2788
2813
  for (
2789
2814
  var l = buffer.length, byteLength = lastChunk.length, i = 0;
@@ -2941,6 +2966,8 @@
2941
2966
  tag.set(id, new ReactPromise("fulfilled", buffer, null)));
2942
2967
  break;
2943
2968
  case 78:
2969
+ response._timeOrigin = +buffer - performance.timeOrigin;
2970
+ break;
2944
2971
  case 68:
2945
2972
  id = getChunk(response, id);
2946
2973
  "fulfilled" !== id.status &&
@@ -2963,6 +2990,8 @@
2963
2990
  (id._debugChunk = null)));
2964
2991
  break;
2965
2992
  case 74:
2993
+ resolveIOInfo(response, id, buffer);
2994
+ break;
2966
2995
  case 87:
2967
2996
  resolveConsoleEntry(response, buffer);
2968
2997
  break;
@@ -3267,6 +3296,7 @@
3267
3296
  ReactSharedInteralsServer;
3268
3297
  ReactPromise.prototype = Object.create(Promise.prototype);
3269
3298
  ReactPromise.prototype.then = function (resolve, reject) {
3299
+ var _this = this;
3270
3300
  switch (this.status) {
3271
3301
  case "resolved_model":
3272
3302
  initializeModelChunk(this);
@@ -3274,6 +3304,19 @@
3274
3304
  case "resolved_module":
3275
3305
  initializeModuleChunk(this);
3276
3306
  }
3307
+ var resolveCallback = resolve,
3308
+ rejectCallback = reject,
3309
+ wrapperPromise = new Promise(function (res, rej) {
3310
+ resolve = function (value) {
3311
+ wrapperPromise._debugInfo = _this._debugInfo;
3312
+ res(value);
3313
+ };
3314
+ reject = function (reason) {
3315
+ wrapperPromise._debugInfo = _this._debugInfo;
3316
+ rej(reason);
3317
+ };
3318
+ });
3319
+ wrapperPromise.then(resolveCallback, rejectCallback);
3277
3320
  switch (this.status) {
3278
3321
  case "fulfilled":
3279
3322
  "function" === typeof resolve && resolve(this.value);
@@ -877,7 +877,7 @@
877
877
  filename.startsWith("/") && (filename = "file://" + filename);
878
878
  sourceMap
879
879
  ? ((col +=
880
- "\n//# sourceURL=rsc://React/" +
880
+ "\n//# sourceURL=about://React/" +
881
881
  encodeURIComponent(environmentName) +
882
882
  "/" +
883
883
  encodeURI(filename) +
@@ -2561,7 +2561,7 @@
2561
2561
  filename.startsWith("/") && (filename = "file://" + filename);
2562
2562
  sourceMap
2563
2563
  ? ((encodedName +=
2564
- "\n//# sourceURL=rsc://React/" +
2564
+ "\n//# sourceURL=about://React/" +
2565
2565
  encodeURIComponent(environmentName) +
2566
2566
  "/" +
2567
2567
  encodeURI(filename) +
@@ -2793,6 +2793,31 @@
2793
2793
  }
2794
2794
  }
2795
2795
  }
2796
+ function initializeIOInfo(response, ioInfo) {
2797
+ void 0 !== ioInfo.stack &&
2798
+ (initializeFakeTask(response, ioInfo),
2799
+ initializeFakeStack(response, ioInfo));
2800
+ ioInfo.start += response._timeOrigin;
2801
+ ioInfo.end += response._timeOrigin;
2802
+ }
2803
+ function resolveIOInfo(response, id, model) {
2804
+ var chunks = response._chunks,
2805
+ chunk = chunks.get(id);
2806
+ chunk
2807
+ ? (resolveModelChunk(response, chunk, model),
2808
+ "resolved_model" === chunk.status && initializeModelChunk(chunk))
2809
+ : ((chunk = createResolvedModelChunk(response, model)),
2810
+ chunks.set(id, chunk),
2811
+ initializeModelChunk(chunk));
2812
+ "fulfilled" === chunk.status
2813
+ ? initializeIOInfo(response, chunk.value)
2814
+ : chunk.then(
2815
+ function (v) {
2816
+ initializeIOInfo(response, v);
2817
+ },
2818
+ function () {}
2819
+ );
2820
+ }
2796
2821
  function mergeBuffer(buffer, lastChunk) {
2797
2822
  for (
2798
2823
  var l = buffer.length, byteLength = lastChunk.length, i = 0;
@@ -2953,6 +2978,8 @@
2953
2978
  tag.set(id, new ReactPromise("fulfilled", row, null)));
2954
2979
  break;
2955
2980
  case 78:
2981
+ response._timeOrigin = +row - performance.timeOrigin;
2982
+ break;
2956
2983
  case 68:
2957
2984
  id = getChunk(response, id);
2958
2985
  "fulfilled" !== id.status &&
@@ -2975,6 +3002,8 @@
2975
3002
  (id._debugChunk = null)));
2976
3003
  break;
2977
3004
  case 74:
3005
+ resolveIOInfo(response, id, row);
3006
+ break;
2978
3007
  case 87:
2979
3008
  resolveConsoleEntry(response, row);
2980
3009
  break;
@@ -3280,6 +3309,7 @@
3280
3309
  ReactSharedInteralsServer;
3281
3310
  ReactPromise.prototype = Object.create(Promise.prototype);
3282
3311
  ReactPromise.prototype.then = function (resolve, reject) {
3312
+ var _this = this;
3283
3313
  switch (this.status) {
3284
3314
  case "resolved_model":
3285
3315
  initializeModelChunk(this);
@@ -3287,6 +3317,19 @@
3287
3317
  case "resolved_module":
3288
3318
  initializeModuleChunk(this);
3289
3319
  }
3320
+ var resolveCallback = resolve,
3321
+ rejectCallback = reject,
3322
+ wrapperPromise = new Promise(function (res, rej) {
3323
+ resolve = function (value) {
3324
+ wrapperPromise._debugInfo = _this._debugInfo;
3325
+ res(value);
3326
+ };
3327
+ reject = function (reason) {
3328
+ wrapperPromise._debugInfo = _this._debugInfo;
3329
+ rej(reason);
3330
+ };
3331
+ });
3332
+ wrapperPromise.then(resolveCallback, rejectCallback);
3290
3333
  switch (this.status) {
3291
3334
  case "fulfilled":
3292
3335
  "function" === typeof resolve && resolve(this.value);
@@ -839,7 +839,7 @@
839
839
  filename.startsWith("/") && (filename = "file://" + filename);
840
840
  sourceMap
841
841
  ? ((col +=
842
- "\n//# sourceURL=rsc://React/" +
842
+ "\n//# sourceURL=about://React/" +
843
843
  encodeURIComponent(environmentName) +
844
844
  "/" +
845
845
  encodeURI(filename) +
@@ -2523,7 +2523,7 @@
2523
2523
  filename.startsWith("/") && (filename = "file://" + filename);
2524
2524
  sourceMap
2525
2525
  ? ((encodedName +=
2526
- "\n//# sourceURL=rsc://React/" +
2526
+ "\n//# sourceURL=about://React/" +
2527
2527
  encodeURIComponent(environmentName) +
2528
2528
  "/" +
2529
2529
  encodeURI(filename) +
@@ -2755,6 +2755,31 @@
2755
2755
  }
2756
2756
  }
2757
2757
  }
2758
+ function initializeIOInfo(response, ioInfo) {
2759
+ void 0 !== ioInfo.stack &&
2760
+ (initializeFakeTask(response, ioInfo),
2761
+ initializeFakeStack(response, ioInfo));
2762
+ ioInfo.start += response._timeOrigin;
2763
+ ioInfo.end += response._timeOrigin;
2764
+ }
2765
+ function resolveIOInfo(response, id, model) {
2766
+ var chunks = response._chunks,
2767
+ chunk = chunks.get(id);
2768
+ chunk
2769
+ ? (resolveModelChunk(response, chunk, model),
2770
+ "resolved_model" === chunk.status && initializeModelChunk(chunk))
2771
+ : ((chunk = createResolvedModelChunk(response, model)),
2772
+ chunks.set(id, chunk),
2773
+ initializeModelChunk(chunk));
2774
+ "fulfilled" === chunk.status
2775
+ ? initializeIOInfo(response, chunk.value)
2776
+ : chunk.then(
2777
+ function (v) {
2778
+ initializeIOInfo(response, v);
2779
+ },
2780
+ function () {}
2781
+ );
2782
+ }
2758
2783
  function mergeBuffer(buffer, lastChunk) {
2759
2784
  for (
2760
2785
  var l = buffer.length, byteLength = lastChunk.length, i = 0;
@@ -2915,6 +2940,8 @@
2915
2940
  tag.set(id, new ReactPromise("fulfilled", row, null)));
2916
2941
  break;
2917
2942
  case 78:
2943
+ response._timeOrigin = +row - performance.timeOrigin;
2944
+ break;
2918
2945
  case 68:
2919
2946
  id = getChunk(response, id);
2920
2947
  "fulfilled" !== id.status &&
@@ -2937,6 +2964,8 @@
2937
2964
  (id._debugChunk = null)));
2938
2965
  break;
2939
2966
  case 74:
2967
+ resolveIOInfo(response, id, row);
2968
+ break;
2940
2969
  case 87:
2941
2970
  resolveConsoleEntry(response, row);
2942
2971
  break;
@@ -3242,6 +3271,7 @@
3242
3271
  ReactSharedInteralsServer;
3243
3272
  ReactPromise.prototype = Object.create(Promise.prototype);
3244
3273
  ReactPromise.prototype.then = function (resolve, reject) {
3274
+ var _this = this;
3245
3275
  switch (this.status) {
3246
3276
  case "resolved_model":
3247
3277
  initializeModelChunk(this);
@@ -3249,6 +3279,19 @@
3249
3279
  case "resolved_module":
3250
3280
  initializeModuleChunk(this);
3251
3281
  }
3282
+ var resolveCallback = resolve,
3283
+ rejectCallback = reject,
3284
+ wrapperPromise = new Promise(function (res, rej) {
3285
+ resolve = function (value) {
3286
+ wrapperPromise._debugInfo = _this._debugInfo;
3287
+ res(value);
3288
+ };
3289
+ reject = function (reason) {
3290
+ wrapperPromise._debugInfo = _this._debugInfo;
3291
+ rej(reason);
3292
+ };
3293
+ });
3294
+ wrapperPromise.then(resolveCallback, rejectCallback);
3252
3295
  switch (this.status) {
3253
3296
  case "fulfilled":
3254
3297
  "function" === typeof resolve && resolve(this.value);