react-dom 19.2.0-canary-bbc13fa1-20250624 → 19.2.0-canary-cee7939b-20250625

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.
@@ -4108,6 +4108,27 @@
4108
4108
  "disabledDepth fell below zero. This is a bug in React. Please file an issue."
4109
4109
  );
4110
4110
  }
4111
+ function formatOwnerStack(error) {
4112
+ var prevPrepareStackTrace = Error.prepareStackTrace;
4113
+ Error.prepareStackTrace = void 0;
4114
+ error = error.stack;
4115
+ Error.prepareStackTrace = prevPrepareStackTrace;
4116
+ error.startsWith("Error: react-stack-top-frame\n") &&
4117
+ (error = error.slice(29));
4118
+ prevPrepareStackTrace = error.indexOf("\n");
4119
+ -1 !== prevPrepareStackTrace &&
4120
+ (error = error.slice(prevPrepareStackTrace + 1));
4121
+ prevPrepareStackTrace = error.indexOf("react-stack-bottom-frame");
4122
+ -1 !== prevPrepareStackTrace &&
4123
+ (prevPrepareStackTrace = error.lastIndexOf(
4124
+ "\n",
4125
+ prevPrepareStackTrace
4126
+ ));
4127
+ if (-1 !== prevPrepareStackTrace)
4128
+ error = error.slice(0, prevPrepareStackTrace);
4129
+ else return "";
4130
+ return error;
4131
+ }
4111
4132
  function describeBuiltInComponentFrame(name) {
4112
4133
  if (void 0 === prefix)
4113
4134
  try {
@@ -4280,27 +4301,6 @@
4280
4301
  "function" === typeof fn && componentFrameCache.set(fn, sampleLines);
4281
4302
  return sampleLines;
4282
4303
  }
4283
- function formatOwnerStack(error) {
4284
- var prevPrepareStackTrace = Error.prepareStackTrace;
4285
- Error.prepareStackTrace = void 0;
4286
- error = error.stack;
4287
- Error.prepareStackTrace = prevPrepareStackTrace;
4288
- error.startsWith("Error: react-stack-top-frame\n") &&
4289
- (error = error.slice(29));
4290
- prevPrepareStackTrace = error.indexOf("\n");
4291
- -1 !== prevPrepareStackTrace &&
4292
- (error = error.slice(prevPrepareStackTrace + 1));
4293
- prevPrepareStackTrace = error.indexOf("react-stack-bottom-frame");
4294
- -1 !== prevPrepareStackTrace &&
4295
- (prevPrepareStackTrace = error.lastIndexOf(
4296
- "\n",
4297
- prevPrepareStackTrace
4298
- ));
4299
- if (-1 !== prevPrepareStackTrace)
4300
- error = error.slice(0, prevPrepareStackTrace);
4301
- else return "";
4302
- return error;
4303
- }
4304
4304
  function describeComponentStackByType(type) {
4305
4305
  if ("string" === typeof type) return describeBuiltInComponentFrame(type);
4306
4306
  if ("function" === typeof type)
@@ -4324,13 +4324,26 @@
4324
4324
  }
4325
4325
  return describeComponentStackByType(type);
4326
4326
  }
4327
- if ("string" === typeof type.name)
4328
- return (
4329
- (payload = type.env),
4330
- describeBuiltInComponentFrame(
4331
- type.name + (payload ? " [" + payload + "]" : "")
4332
- )
4333
- );
4327
+ if ("string" === typeof type.name) {
4328
+ a: {
4329
+ payload = type.name;
4330
+ lazyComponent = type.env;
4331
+ type = type.debugLocation;
4332
+ if (null != type) {
4333
+ type = formatOwnerStack(type);
4334
+ var idx = type.lastIndexOf("\n");
4335
+ type = -1 === idx ? type : type.slice(idx + 1);
4336
+ if (-1 !== type.indexOf(payload)) {
4337
+ payload = "\n" + type;
4338
+ break a;
4339
+ }
4340
+ }
4341
+ payload = describeBuiltInComponentFrame(
4342
+ payload + (lazyComponent ? " [" + lazyComponent + "]" : "")
4343
+ );
4344
+ }
4345
+ return payload;
4346
+ }
4334
4347
  }
4335
4348
  switch (type) {
4336
4349
  case REACT_SUSPENSE_LIST_TYPE:
@@ -6866,8 +6879,8 @@
6866
6879
  if (13 !== request.status && request.status !== CLOSED) {
6867
6880
  boundary = task.replay;
6868
6881
  if (null === boundary) {
6869
- logRecoverableError(request, error, segment, null);
6870
- fatalError(request, error, segment, null);
6882
+ logRecoverableError(request, error, segment, task.debugTask);
6883
+ fatalError(request, error, segment, task.debugTask);
6871
6884
  return;
6872
6885
  }
6873
6886
  boundary.pendingTasks--;
@@ -6895,7 +6908,12 @@
6895
6908
  } else
6896
6909
  boundary.status !== CLIENT_RENDERED &&
6897
6910
  ((boundary.status = CLIENT_RENDERED),
6898
- (errorDigest = logRecoverableError(request, error, segment, null)),
6911
+ (errorDigest = logRecoverableError(
6912
+ request,
6913
+ error,
6914
+ segment,
6915
+ task.debugTask
6916
+ )),
6899
6917
  (boundary.status = CLIENT_RENDERED),
6900
6918
  encodeErrorForBoundary(boundary, errorDigest, error, segment, !0),
6901
6919
  untrackBoundary(request, boundary),
@@ -9665,5 +9683,5 @@
9665
9683
  'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
9666
9684
  );
9667
9685
  };
9668
- exports.version = "19.2.0-canary-bbc13fa1-20250624";
9686
+ exports.version = "19.2.0-canary-cee7939b-20250625";
9669
9687
  })();
@@ -2724,16 +2724,16 @@ function createRenderState(resumableState, generateStaticMarkup) {
2724
2724
  "\x3c/script>"
2725
2725
  ));
2726
2726
  bootstrapScriptContent = idPrefix + "P:";
2727
- var JSCompiler_object_inline_segmentPrefix_1667 = idPrefix + "S:";
2727
+ var JSCompiler_object_inline_segmentPrefix_1677 = idPrefix + "S:";
2728
2728
  idPrefix += "B:";
2729
- var JSCompiler_object_inline_preconnects_1681 = new Set(),
2730
- JSCompiler_object_inline_fontPreloads_1682 = new Set(),
2731
- JSCompiler_object_inline_highImagePreloads_1683 = new Set(),
2732
- JSCompiler_object_inline_styles_1684 = new Map(),
2733
- JSCompiler_object_inline_bootstrapScripts_1685 = new Set(),
2734
- JSCompiler_object_inline_scripts_1686 = new Set(),
2735
- JSCompiler_object_inline_bulkPreloads_1687 = new Set(),
2736
- JSCompiler_object_inline_preloads_1688 = {
2729
+ var JSCompiler_object_inline_preconnects_1691 = new Set(),
2730
+ JSCompiler_object_inline_fontPreloads_1692 = new Set(),
2731
+ JSCompiler_object_inline_highImagePreloads_1693 = new Set(),
2732
+ JSCompiler_object_inline_styles_1694 = new Map(),
2733
+ JSCompiler_object_inline_bootstrapScripts_1695 = new Set(),
2734
+ JSCompiler_object_inline_scripts_1696 = new Set(),
2735
+ JSCompiler_object_inline_bulkPreloads_1697 = new Set(),
2736
+ JSCompiler_object_inline_preloads_1698 = {
2737
2737
  images: new Map(),
2738
2738
  stylesheets: new Map(),
2739
2739
  scripts: new Map(),
@@ -2770,7 +2770,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2770
2770
  scriptConfig.moduleScriptResources[href] = null;
2771
2771
  scriptConfig = [];
2772
2772
  pushLinkImpl(scriptConfig, props);
2773
- JSCompiler_object_inline_bootstrapScripts_1685.add(scriptConfig);
2773
+ JSCompiler_object_inline_bootstrapScripts_1695.add(scriptConfig);
2774
2774
  bootstrapChunks.push('<script src="', escapeTextForBrowser(src), '"');
2775
2775
  "string" === typeof integrity &&
2776
2776
  bootstrapChunks.push(
@@ -2817,7 +2817,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2817
2817
  (props.moduleScriptResources[scriptConfig] = null),
2818
2818
  (props = []),
2819
2819
  pushLinkImpl(props, integrity),
2820
- JSCompiler_object_inline_bootstrapScripts_1685.add(props),
2820
+ JSCompiler_object_inline_bootstrapScripts_1695.add(props),
2821
2821
  bootstrapChunks.push(
2822
2822
  '<script type="module" src="',
2823
2823
  escapeTextForBrowser(i),
@@ -2839,7 +2839,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2839
2839
  bootstrapChunks.push(' async="">\x3c/script>');
2840
2840
  return {
2841
2841
  placeholderPrefix: bootstrapScriptContent,
2842
- segmentPrefix: JSCompiler_object_inline_segmentPrefix_1667,
2842
+ segmentPrefix: JSCompiler_object_inline_segmentPrefix_1677,
2843
2843
  boundaryPrefix: idPrefix,
2844
2844
  startInlineScript: "<script",
2845
2845
  startInlineStyle: "<style",
@@ -2859,14 +2859,14 @@ function createRenderState(resumableState, generateStaticMarkup) {
2859
2859
  charsetChunks: [],
2860
2860
  viewportChunks: [],
2861
2861
  hoistableChunks: [],
2862
- preconnects: JSCompiler_object_inline_preconnects_1681,
2863
- fontPreloads: JSCompiler_object_inline_fontPreloads_1682,
2864
- highImagePreloads: JSCompiler_object_inline_highImagePreloads_1683,
2865
- styles: JSCompiler_object_inline_styles_1684,
2866
- bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1685,
2867
- scripts: JSCompiler_object_inline_scripts_1686,
2868
- bulkPreloads: JSCompiler_object_inline_bulkPreloads_1687,
2869
- preloads: JSCompiler_object_inline_preloads_1688,
2862
+ preconnects: JSCompiler_object_inline_preconnects_1691,
2863
+ fontPreloads: JSCompiler_object_inline_fontPreloads_1692,
2864
+ highImagePreloads: JSCompiler_object_inline_highImagePreloads_1693,
2865
+ styles: JSCompiler_object_inline_styles_1694,
2866
+ bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1695,
2867
+ scripts: JSCompiler_object_inline_scripts_1696,
2868
+ bulkPreloads: JSCompiler_object_inline_bulkPreloads_1697,
2869
+ preloads: JSCompiler_object_inline_preloads_1698,
2870
2870
  nonce: { script: void 0, style: void 0 },
2871
2871
  stylesToHoist: !1,
2872
2872
  generateStaticMarkup: generateStaticMarkup
@@ -3579,13 +3579,37 @@ function describeComponentStackByType(type) {
3579
3579
  }
3580
3580
  return describeComponentStackByType(type);
3581
3581
  }
3582
- if ("string" === typeof type.name)
3583
- return (
3584
- (payload = type.env),
3585
- describeBuiltInComponentFrame(
3586
- type.name + (payload ? " [" + payload + "]" : "")
3587
- )
3588
- );
3582
+ if ("string" === typeof type.name) {
3583
+ a: {
3584
+ payload = type.name;
3585
+ lazyComponent = type.env;
3586
+ var location = type.debugLocation;
3587
+ if (
3588
+ null != location &&
3589
+ ((type = Error.prepareStackTrace),
3590
+ (Error.prepareStackTrace = void 0),
3591
+ (location = location.stack),
3592
+ (Error.prepareStackTrace = type),
3593
+ location.startsWith("Error: react-stack-top-frame\n") &&
3594
+ (location = location.slice(29)),
3595
+ (type = location.indexOf("\n")),
3596
+ -1 !== type && (location = location.slice(type + 1)),
3597
+ (type = location.indexOf("react-stack-bottom-frame")),
3598
+ -1 !== type && (type = location.lastIndexOf("\n", type)),
3599
+ (type = -1 !== type ? (location = location.slice(0, type)) : ""),
3600
+ (location = type.lastIndexOf("\n")),
3601
+ (type = -1 === location ? type : type.slice(location + 1)),
3602
+ -1 !== type.indexOf(payload))
3603
+ ) {
3604
+ payload = "\n" + type;
3605
+ break a;
3606
+ }
3607
+ payload = describeBuiltInComponentFrame(
3608
+ payload + (lazyComponent ? " [" + lazyComponent + "]" : "")
3609
+ );
3610
+ }
3611
+ return payload;
3612
+ }
3589
3613
  }
3590
3614
  switch (type) {
3591
3615
  case REACT_SUSPENSE_LIST_TYPE:
@@ -6432,4 +6456,4 @@ exports.renderToString = function (children, options) {
6432
6456
  'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
6433
6457
  );
6434
6458
  };
6435
- exports.version = "19.2.0-canary-bbc13fa1-20250624";
6459
+ exports.version = "19.2.0-canary-cee7939b-20250625";
@@ -4108,6 +4108,27 @@
4108
4108
  "disabledDepth fell below zero. This is a bug in React. Please file an issue."
4109
4109
  );
4110
4110
  }
4111
+ function formatOwnerStack(error) {
4112
+ var prevPrepareStackTrace = Error.prepareStackTrace;
4113
+ Error.prepareStackTrace = void 0;
4114
+ error = error.stack;
4115
+ Error.prepareStackTrace = prevPrepareStackTrace;
4116
+ error.startsWith("Error: react-stack-top-frame\n") &&
4117
+ (error = error.slice(29));
4118
+ prevPrepareStackTrace = error.indexOf("\n");
4119
+ -1 !== prevPrepareStackTrace &&
4120
+ (error = error.slice(prevPrepareStackTrace + 1));
4121
+ prevPrepareStackTrace = error.indexOf("react-stack-bottom-frame");
4122
+ -1 !== prevPrepareStackTrace &&
4123
+ (prevPrepareStackTrace = error.lastIndexOf(
4124
+ "\n",
4125
+ prevPrepareStackTrace
4126
+ ));
4127
+ if (-1 !== prevPrepareStackTrace)
4128
+ error = error.slice(0, prevPrepareStackTrace);
4129
+ else return "";
4130
+ return error;
4131
+ }
4111
4132
  function describeBuiltInComponentFrame(name) {
4112
4133
  if (void 0 === prefix)
4113
4134
  try {
@@ -4280,27 +4301,6 @@
4280
4301
  "function" === typeof fn && componentFrameCache.set(fn, sampleLines);
4281
4302
  return sampleLines;
4282
4303
  }
4283
- function formatOwnerStack(error) {
4284
- var prevPrepareStackTrace = Error.prepareStackTrace;
4285
- Error.prepareStackTrace = void 0;
4286
- error = error.stack;
4287
- Error.prepareStackTrace = prevPrepareStackTrace;
4288
- error.startsWith("Error: react-stack-top-frame\n") &&
4289
- (error = error.slice(29));
4290
- prevPrepareStackTrace = error.indexOf("\n");
4291
- -1 !== prevPrepareStackTrace &&
4292
- (error = error.slice(prevPrepareStackTrace + 1));
4293
- prevPrepareStackTrace = error.indexOf("react-stack-bottom-frame");
4294
- -1 !== prevPrepareStackTrace &&
4295
- (prevPrepareStackTrace = error.lastIndexOf(
4296
- "\n",
4297
- prevPrepareStackTrace
4298
- ));
4299
- if (-1 !== prevPrepareStackTrace)
4300
- error = error.slice(0, prevPrepareStackTrace);
4301
- else return "";
4302
- return error;
4303
- }
4304
4304
  function describeComponentStackByType(type) {
4305
4305
  if ("string" === typeof type) return describeBuiltInComponentFrame(type);
4306
4306
  if ("function" === typeof type)
@@ -4324,13 +4324,26 @@
4324
4324
  }
4325
4325
  return describeComponentStackByType(type);
4326
4326
  }
4327
- if ("string" === typeof type.name)
4328
- return (
4329
- (payload = type.env),
4330
- describeBuiltInComponentFrame(
4331
- type.name + (payload ? " [" + payload + "]" : "")
4332
- )
4333
- );
4327
+ if ("string" === typeof type.name) {
4328
+ a: {
4329
+ payload = type.name;
4330
+ lazyComponent = type.env;
4331
+ type = type.debugLocation;
4332
+ if (null != type) {
4333
+ type = formatOwnerStack(type);
4334
+ var idx = type.lastIndexOf("\n");
4335
+ type = -1 === idx ? type : type.slice(idx + 1);
4336
+ if (-1 !== type.indexOf(payload)) {
4337
+ payload = "\n" + type;
4338
+ break a;
4339
+ }
4340
+ }
4341
+ payload = describeBuiltInComponentFrame(
4342
+ payload + (lazyComponent ? " [" + lazyComponent + "]" : "")
4343
+ );
4344
+ }
4345
+ return payload;
4346
+ }
4334
4347
  }
4335
4348
  switch (type) {
4336
4349
  case REACT_SUSPENSE_LIST_TYPE:
@@ -6866,8 +6879,8 @@
6866
6879
  if (13 !== request.status && request.status !== CLOSED) {
6867
6880
  boundary = task.replay;
6868
6881
  if (null === boundary) {
6869
- logRecoverableError(request, error, segment, null);
6870
- fatalError(request, error, segment, null);
6882
+ logRecoverableError(request, error, segment, task.debugTask);
6883
+ fatalError(request, error, segment, task.debugTask);
6871
6884
  return;
6872
6885
  }
6873
6886
  boundary.pendingTasks--;
@@ -6895,7 +6908,12 @@
6895
6908
  } else
6896
6909
  boundary.status !== CLIENT_RENDERED &&
6897
6910
  ((boundary.status = CLIENT_RENDERED),
6898
- (errorDigest = logRecoverableError(request, error, segment, null)),
6911
+ (errorDigest = logRecoverableError(
6912
+ request,
6913
+ error,
6914
+ segment,
6915
+ task.debugTask
6916
+ )),
6899
6917
  (boundary.status = CLIENT_RENDERED),
6900
6918
  encodeErrorForBoundary(boundary, errorDigest, error, segment, !0),
6901
6919
  untrackBoundary(request, boundary),
@@ -9665,5 +9683,5 @@
9665
9683
  'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
9666
9684
  );
9667
9685
  };
9668
- exports.version = "19.2.0-canary-bbc13fa1-20250624";
9686
+ exports.version = "19.2.0-canary-cee7939b-20250625";
9669
9687
  })();
@@ -2743,16 +2743,16 @@ function createRenderState(resumableState, generateStaticMarkup) {
2743
2743
  "\x3c/script>"
2744
2744
  ));
2745
2745
  bootstrapScriptContent = idPrefix + "P:";
2746
- var JSCompiler_object_inline_segmentPrefix_1667 = idPrefix + "S:";
2746
+ var JSCompiler_object_inline_segmentPrefix_1677 = idPrefix + "S:";
2747
2747
  idPrefix += "B:";
2748
- var JSCompiler_object_inline_preconnects_1681 = new Set(),
2749
- JSCompiler_object_inline_fontPreloads_1682 = new Set(),
2750
- JSCompiler_object_inline_highImagePreloads_1683 = new Set(),
2751
- JSCompiler_object_inline_styles_1684 = new Map(),
2752
- JSCompiler_object_inline_bootstrapScripts_1685 = new Set(),
2753
- JSCompiler_object_inline_scripts_1686 = new Set(),
2754
- JSCompiler_object_inline_bulkPreloads_1687 = new Set(),
2755
- JSCompiler_object_inline_preloads_1688 = {
2748
+ var JSCompiler_object_inline_preconnects_1691 = new Set(),
2749
+ JSCompiler_object_inline_fontPreloads_1692 = new Set(),
2750
+ JSCompiler_object_inline_highImagePreloads_1693 = new Set(),
2751
+ JSCompiler_object_inline_styles_1694 = new Map(),
2752
+ JSCompiler_object_inline_bootstrapScripts_1695 = new Set(),
2753
+ JSCompiler_object_inline_scripts_1696 = new Set(),
2754
+ JSCompiler_object_inline_bulkPreloads_1697 = new Set(),
2755
+ JSCompiler_object_inline_preloads_1698 = {
2756
2756
  images: new Map(),
2757
2757
  stylesheets: new Map(),
2758
2758
  scripts: new Map(),
@@ -2789,7 +2789,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2789
2789
  scriptConfig.moduleScriptResources[href] = null;
2790
2790
  scriptConfig = [];
2791
2791
  pushLinkImpl(scriptConfig, props);
2792
- JSCompiler_object_inline_bootstrapScripts_1685.add(scriptConfig);
2792
+ JSCompiler_object_inline_bootstrapScripts_1695.add(scriptConfig);
2793
2793
  bootstrapChunks.push('<script src="', escapeTextForBrowser(src), '"');
2794
2794
  "string" === typeof integrity &&
2795
2795
  bootstrapChunks.push(
@@ -2836,7 +2836,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2836
2836
  (props.moduleScriptResources[scriptConfig] = null),
2837
2837
  (props = []),
2838
2838
  pushLinkImpl(props, integrity),
2839
- JSCompiler_object_inline_bootstrapScripts_1685.add(props),
2839
+ JSCompiler_object_inline_bootstrapScripts_1695.add(props),
2840
2840
  bootstrapChunks.push(
2841
2841
  '<script type="module" src="',
2842
2842
  escapeTextForBrowser(i),
@@ -2858,7 +2858,7 @@ function createRenderState(resumableState, generateStaticMarkup) {
2858
2858
  bootstrapChunks.push(' async="">\x3c/script>');
2859
2859
  return {
2860
2860
  placeholderPrefix: bootstrapScriptContent,
2861
- segmentPrefix: JSCompiler_object_inline_segmentPrefix_1667,
2861
+ segmentPrefix: JSCompiler_object_inline_segmentPrefix_1677,
2862
2862
  boundaryPrefix: idPrefix,
2863
2863
  startInlineScript: "<script",
2864
2864
  startInlineStyle: "<style",
@@ -2878,14 +2878,14 @@ function createRenderState(resumableState, generateStaticMarkup) {
2878
2878
  charsetChunks: [],
2879
2879
  viewportChunks: [],
2880
2880
  hoistableChunks: [],
2881
- preconnects: JSCompiler_object_inline_preconnects_1681,
2882
- fontPreloads: JSCompiler_object_inline_fontPreloads_1682,
2883
- highImagePreloads: JSCompiler_object_inline_highImagePreloads_1683,
2884
- styles: JSCompiler_object_inline_styles_1684,
2885
- bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1685,
2886
- scripts: JSCompiler_object_inline_scripts_1686,
2887
- bulkPreloads: JSCompiler_object_inline_bulkPreloads_1687,
2888
- preloads: JSCompiler_object_inline_preloads_1688,
2881
+ preconnects: JSCompiler_object_inline_preconnects_1691,
2882
+ fontPreloads: JSCompiler_object_inline_fontPreloads_1692,
2883
+ highImagePreloads: JSCompiler_object_inline_highImagePreloads_1693,
2884
+ styles: JSCompiler_object_inline_styles_1694,
2885
+ bootstrapScripts: JSCompiler_object_inline_bootstrapScripts_1695,
2886
+ scripts: JSCompiler_object_inline_scripts_1696,
2887
+ bulkPreloads: JSCompiler_object_inline_bulkPreloads_1697,
2888
+ preloads: JSCompiler_object_inline_preloads_1698,
2889
2889
  nonce: { script: void 0, style: void 0 },
2890
2890
  stylesToHoist: !1,
2891
2891
  generateStaticMarkup: generateStaticMarkup
@@ -3626,13 +3626,37 @@ function describeComponentStackByType(type) {
3626
3626
  }
3627
3627
  return describeComponentStackByType(type);
3628
3628
  }
3629
- if ("string" === typeof type.name)
3630
- return (
3631
- (payload = type.env),
3632
- describeBuiltInComponentFrame(
3633
- type.name + (payload ? " [" + payload + "]" : "")
3634
- )
3635
- );
3629
+ if ("string" === typeof type.name) {
3630
+ a: {
3631
+ payload = type.name;
3632
+ lazyComponent = type.env;
3633
+ var location = type.debugLocation;
3634
+ if (
3635
+ null != location &&
3636
+ ((type = Error.prepareStackTrace),
3637
+ (Error.prepareStackTrace = void 0),
3638
+ (location = location.stack),
3639
+ (Error.prepareStackTrace = type),
3640
+ location.startsWith("Error: react-stack-top-frame\n") &&
3641
+ (location = location.slice(29)),
3642
+ (type = location.indexOf("\n")),
3643
+ -1 !== type && (location = location.slice(type + 1)),
3644
+ (type = location.indexOf("react-stack-bottom-frame")),
3645
+ -1 !== type && (type = location.lastIndexOf("\n", type)),
3646
+ (type = -1 !== type ? (location = location.slice(0, type)) : ""),
3647
+ (location = type.lastIndexOf("\n")),
3648
+ (type = -1 === location ? type : type.slice(location + 1)),
3649
+ -1 !== type.indexOf(payload))
3650
+ ) {
3651
+ payload = "\n" + type;
3652
+ break a;
3653
+ }
3654
+ payload = describeBuiltInComponentFrame(
3655
+ payload + (lazyComponent ? " [" + lazyComponent + "]" : "")
3656
+ );
3657
+ }
3658
+ return payload;
3659
+ }
3636
3660
  }
3637
3661
  switch (type) {
3638
3662
  case REACT_SUSPENSE_LIST_TYPE:
@@ -6515,4 +6539,4 @@ exports.renderToString = function (children, options) {
6515
6539
  'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
6516
6540
  );
6517
6541
  };
6518
- exports.version = "19.2.0-canary-bbc13fa1-20250624";
6542
+ exports.version = "19.2.0-canary-cee7939b-20250625";
@@ -4262,6 +4262,27 @@
4262
4262
  "disabledDepth fell below zero. This is a bug in React. Please file an issue."
4263
4263
  );
4264
4264
  }
4265
+ function formatOwnerStack(error) {
4266
+ var prevPrepareStackTrace = Error.prepareStackTrace;
4267
+ Error.prepareStackTrace = void 0;
4268
+ error = error.stack;
4269
+ Error.prepareStackTrace = prevPrepareStackTrace;
4270
+ error.startsWith("Error: react-stack-top-frame\n") &&
4271
+ (error = error.slice(29));
4272
+ prevPrepareStackTrace = error.indexOf("\n");
4273
+ -1 !== prevPrepareStackTrace &&
4274
+ (error = error.slice(prevPrepareStackTrace + 1));
4275
+ prevPrepareStackTrace = error.indexOf("react-stack-bottom-frame");
4276
+ -1 !== prevPrepareStackTrace &&
4277
+ (prevPrepareStackTrace = error.lastIndexOf(
4278
+ "\n",
4279
+ prevPrepareStackTrace
4280
+ ));
4281
+ if (-1 !== prevPrepareStackTrace)
4282
+ error = error.slice(0, prevPrepareStackTrace);
4283
+ else return "";
4284
+ return error;
4285
+ }
4265
4286
  function describeBuiltInComponentFrame(name) {
4266
4287
  if (void 0 === prefix)
4267
4288
  try {
@@ -4434,27 +4455,6 @@
4434
4455
  "function" === typeof fn && componentFrameCache.set(fn, sampleLines);
4435
4456
  return sampleLines;
4436
4457
  }
4437
- function formatOwnerStack(error) {
4438
- var prevPrepareStackTrace = Error.prepareStackTrace;
4439
- Error.prepareStackTrace = void 0;
4440
- error = error.stack;
4441
- Error.prepareStackTrace = prevPrepareStackTrace;
4442
- error.startsWith("Error: react-stack-top-frame\n") &&
4443
- (error = error.slice(29));
4444
- prevPrepareStackTrace = error.indexOf("\n");
4445
- -1 !== prevPrepareStackTrace &&
4446
- (error = error.slice(prevPrepareStackTrace + 1));
4447
- prevPrepareStackTrace = error.indexOf("react-stack-bottom-frame");
4448
- -1 !== prevPrepareStackTrace &&
4449
- (prevPrepareStackTrace = error.lastIndexOf(
4450
- "\n",
4451
- prevPrepareStackTrace
4452
- ));
4453
- if (-1 !== prevPrepareStackTrace)
4454
- error = error.slice(0, prevPrepareStackTrace);
4455
- else return "";
4456
- return error;
4457
- }
4458
4458
  function describeComponentStackByType(type) {
4459
4459
  if ("string" === typeof type) return describeBuiltInComponentFrame(type);
4460
4460
  if ("function" === typeof type)
@@ -4478,13 +4478,26 @@
4478
4478
  }
4479
4479
  return describeComponentStackByType(type);
4480
4480
  }
4481
- if ("string" === typeof type.name)
4482
- return (
4483
- (payload = type.env),
4484
- describeBuiltInComponentFrame(
4485
- type.name + (payload ? " [" + payload + "]" : "")
4486
- )
4487
- );
4481
+ if ("string" === typeof type.name) {
4482
+ a: {
4483
+ payload = type.name;
4484
+ lazyComponent = type.env;
4485
+ type = type.debugLocation;
4486
+ if (null != type) {
4487
+ type = formatOwnerStack(type);
4488
+ var idx = type.lastIndexOf("\n");
4489
+ type = -1 === idx ? type : type.slice(idx + 1);
4490
+ if (-1 !== type.indexOf(payload)) {
4491
+ payload = "\n" + type;
4492
+ break a;
4493
+ }
4494
+ }
4495
+ payload = describeBuiltInComponentFrame(
4496
+ payload + (lazyComponent ? " [" + lazyComponent + "]" : "")
4497
+ );
4498
+ }
4499
+ return payload;
4500
+ }
4488
4501
  }
4489
4502
  switch (type) {
4490
4503
  case REACT_SUSPENSE_LIST_TYPE:
@@ -7081,8 +7094,8 @@
7081
7094
  if (13 !== request.status && request.status !== CLOSED) {
7082
7095
  boundary = task.replay;
7083
7096
  if (null === boundary) {
7084
- logRecoverableError(request, error, segment, null);
7085
- fatalError(request, error, segment, null);
7097
+ logRecoverableError(request, error, segment, task.debugTask);
7098
+ fatalError(request, error, segment, task.debugTask);
7086
7099
  return;
7087
7100
  }
7088
7101
  boundary.pendingTasks--;
@@ -7110,7 +7123,12 @@
7110
7123
  } else
7111
7124
  boundary.status !== CLIENT_RENDERED &&
7112
7125
  ((boundary.status = CLIENT_RENDERED),
7113
- (errorDigest = logRecoverableError(request, error, segment, null)),
7126
+ (errorDigest = logRecoverableError(
7127
+ request,
7128
+ error,
7129
+ segment,
7130
+ task.debugTask
7131
+ )),
7114
7132
  (boundary.status = CLIENT_RENDERED),
7115
7133
  encodeErrorForBoundary(boundary, errorDigest, error, segment, !0),
7116
7134
  untrackBoundary(request, boundary),
@@ -8414,11 +8432,11 @@
8414
8432
  }
8415
8433
  function ensureCorrectIsomorphicReactVersion() {
8416
8434
  var isomorphicReactPackageVersion = React.version;
8417
- if ("19.2.0-canary-bbc13fa1-20250624" !== isomorphicReactPackageVersion)
8435
+ if ("19.2.0-canary-cee7939b-20250625" !== isomorphicReactPackageVersion)
8418
8436
  throw Error(
8419
8437
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
8420
8438
  (isomorphicReactPackageVersion +
8421
- "\n - react-dom: 19.2.0-canary-bbc13fa1-20250624\nLearn more: https://react.dev/warnings/version-mismatch")
8439
+ "\n - react-dom: 19.2.0-canary-cee7939b-20250625\nLearn more: https://react.dev/warnings/version-mismatch")
8422
8440
  );
8423
8441
  }
8424
8442
  var React = require("react"),
@@ -10108,5 +10126,5 @@
10108
10126
  startWork(request);
10109
10127
  });
10110
10128
  };
10111
- exports.version = "19.2.0-canary-bbc13fa1-20250624";
10129
+ exports.version = "19.2.0-canary-cee7939b-20250625";
10112
10130
  })();