react-server-dom-webpack 19.3.0-canary-1324e1bb-20251016 → 19.3.0-canary-58bdc0bb-20251019

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.
@@ -1151,6 +1151,8 @@
1151
1151
  function getIODescription(value) {
1152
1152
  try {
1153
1153
  switch (typeof value) {
1154
+ case "function":
1155
+ return value.name || "";
1154
1156
  case "object":
1155
1157
  if (null === value) return "";
1156
1158
  if (value instanceof Error) return String(value.message);
@@ -4920,10 +4922,10 @@
4920
4922
  return hook.checkDCE ? !0 : !1;
4921
4923
  })({
4922
4924
  bundleType: 1,
4923
- version: "19.3.0-canary-1324e1bb-20251016",
4925
+ version: "19.3.0-canary-58bdc0bb-20251019",
4924
4926
  rendererPackageName: "react-server-dom-webpack",
4925
4927
  currentDispatcherRef: ReactSharedInternals,
4926
- reconcilerVersion: "19.3.0-canary-1324e1bb-20251016",
4928
+ reconcilerVersion: "19.3.0-canary-58bdc0bb-20251019",
4927
4929
  getCurrentComponentInfo: function () {
4928
4930
  return currentOwnerInDEV;
4929
4931
  }
@@ -1353,6 +1353,8 @@
1353
1353
  function getIODescription(value) {
1354
1354
  try {
1355
1355
  switch (typeof value) {
1356
+ case "function":
1357
+ return value.name || "";
1356
1358
  case "object":
1357
1359
  if (null === value) return "";
1358
1360
  if (value instanceof Error) return String(value.message);
@@ -1353,6 +1353,8 @@
1353
1353
  function getIODescription(value) {
1354
1354
  try {
1355
1355
  switch (typeof value) {
1356
+ case "function":
1357
+ return value.name || "";
1356
1358
  case "object":
1357
1359
  if (null === value) return "";
1358
1360
  if (value instanceof Error) return String(value.message);
@@ -1315,6 +1315,8 @@
1315
1315
  function getIODescription(value) {
1316
1316
  try {
1317
1317
  switch (typeof value) {
1318
+ case "function":
1319
+ return value.name || "";
1318
1320
  case "object":
1319
1321
  if (null === value) return "";
1320
1322
  if (value instanceof Error) return String(value.message);
@@ -48,12 +48,12 @@
48
48
  }
49
49
  function writeChunkAndReturn(destination, chunk) {
50
50
  if (0 !== chunk.byteLength)
51
- if (2048 < chunk.byteLength)
51
+ if (4096 < chunk.byteLength)
52
52
  0 < writtenBytes &&
53
53
  (destination.enqueue(
54
54
  new Uint8Array(currentView.buffer, 0, writtenBytes)
55
55
  ),
56
- (currentView = new Uint8Array(2048)),
56
+ (currentView = new Uint8Array(4096)),
57
57
  (writtenBytes = 0)),
58
58
  destination.enqueue(chunk);
59
59
  else {
@@ -67,7 +67,7 @@
67
67
  ),
68
68
  destination.enqueue(currentView),
69
69
  (chunk = chunk.subarray(allowableBytes))),
70
- (currentView = new Uint8Array(2048)),
70
+ (currentView = new Uint8Array(4096)),
71
71
  (writtenBytes = 0));
72
72
  currentView.set(chunk, writtenBytes);
73
73
  writtenBytes += chunk.byteLength;
@@ -2891,14 +2891,13 @@
2891
2891
  }
2892
2892
  function emitTypedArrayChunk(request, id, tag, typedArray, debug) {
2893
2893
  debug ? request.pendingDebugChunks++ : request.pendingChunks++;
2894
- var buffer = new Uint8Array(
2894
+ typedArray = new Uint8Array(
2895
2895
  typedArray.buffer,
2896
2896
  typedArray.byteOffset,
2897
2897
  typedArray.byteLength
2898
2898
  );
2899
- typedArray = 2048 < typedArray.byteLength ? buffer.slice() : buffer;
2900
- buffer = typedArray.byteLength;
2901
- id = id.toString(16) + ":" + tag + buffer.toString(16) + ",";
2899
+ var binaryLength = typedArray.byteLength;
2900
+ id = id.toString(16) + ":" + tag + binaryLength.toString(16) + ",";
2902
2901
  id = stringToChunk(id);
2903
2902
  debug
2904
2903
  ? request.completedDebugChunks.push(id, typedArray)
@@ -3636,7 +3635,7 @@
3636
3635
  function flushCompletedChunks(request) {
3637
3636
  if (null !== request.debugDestination) {
3638
3637
  var debugDestination = request.debugDestination;
3639
- currentView = new Uint8Array(2048);
3638
+ currentView = new Uint8Array(4096);
3640
3639
  writtenBytes = 0;
3641
3640
  try {
3642
3641
  for (
@@ -3653,7 +3652,7 @@
3653
3652
  }
3654
3653
  debugDestination = request.destination;
3655
3654
  if (null !== debugDestination) {
3656
- currentView = new Uint8Array(2048);
3655
+ currentView = new Uint8Array(4096);
3657
3656
  writtenBytes = 0;
3658
3657
  try {
3659
3658
  var importsChunks = request.completedImportChunks;
@@ -50,12 +50,12 @@ var LocalPromise = Promise,
50
50
  writtenBytes = 0;
51
51
  function writeChunkAndReturn(destination, chunk) {
52
52
  if (0 !== chunk.byteLength)
53
- if (2048 < chunk.byteLength)
53
+ if (4096 < chunk.byteLength)
54
54
  0 < writtenBytes &&
55
55
  (destination.enqueue(
56
56
  new Uint8Array(currentView.buffer, 0, writtenBytes)
57
57
  ),
58
- (currentView = new Uint8Array(2048)),
58
+ (currentView = new Uint8Array(4096)),
59
59
  (writtenBytes = 0)),
60
60
  destination.enqueue(chunk);
61
61
  else {
@@ -66,7 +66,7 @@ function writeChunkAndReturn(destination, chunk) {
66
66
  : (currentView.set(chunk.subarray(0, allowableBytes), writtenBytes),
67
67
  destination.enqueue(currentView),
68
68
  (chunk = chunk.subarray(allowableBytes))),
69
- (currentView = new Uint8Array(2048)),
69
+ (currentView = new Uint8Array(4096)),
70
70
  (writtenBytes = 0));
71
71
  currentView.set(chunk, writtenBytes);
72
72
  writtenBytes += chunk.byteLength;
@@ -1842,12 +1842,11 @@ function emitModelChunk(request, id, json) {
1842
1842
  }
1843
1843
  function emitTypedArrayChunk(request, id, tag, typedArray, debug) {
1844
1844
  debug ? request.pendingDebugChunks++ : request.pendingChunks++;
1845
- debug = new Uint8Array(
1845
+ typedArray = new Uint8Array(
1846
1846
  typedArray.buffer,
1847
1847
  typedArray.byteOffset,
1848
1848
  typedArray.byteLength
1849
1849
  );
1850
- typedArray = 2048 < typedArray.byteLength ? debug.slice() : debug;
1851
1850
  debug = typedArray.byteLength;
1852
1851
  id = id.toString(16) + ":" + tag + debug.toString(16) + ",";
1853
1852
  id = stringToChunk(id);
@@ -2011,7 +2010,7 @@ function finishHaltedTask(task, request) {
2011
2010
  function flushCompletedChunks(request) {
2012
2011
  var destination = request.destination;
2013
2012
  if (null !== destination) {
2014
- currentView = new Uint8Array(2048);
2013
+ currentView = new Uint8Array(4096);
2015
2014
  writtenBytes = 0;
2016
2015
  try {
2017
2016
  for (
@@ -51,13 +51,13 @@
51
51
  function writeChunkAndReturn(destination, chunk) {
52
52
  if ("string" === typeof chunk) {
53
53
  if (0 !== chunk.length)
54
- if (2048 < 3 * chunk.length)
54
+ if (4096 < 3 * chunk.length)
55
55
  0 < writtenBytes &&
56
56
  (writeToDestination(
57
57
  destination,
58
58
  currentView.subarray(0, writtenBytes)
59
59
  ),
60
- (currentView = new Uint8Array(2048)),
60
+ (currentView = new Uint8Array(4096)),
61
61
  (writtenBytes = 0)),
62
62
  writeToDestination(destination, chunk);
63
63
  else {
@@ -71,25 +71,25 @@
71
71
  destination,
72
72
  currentView.subarray(0, writtenBytes)
73
73
  ),
74
- (currentView = new Uint8Array(2048)),
74
+ (currentView = new Uint8Array(4096)),
75
75
  (writtenBytes = textEncoder.encodeInto(
76
76
  chunk.slice(read),
77
77
  currentView
78
78
  ).written));
79
- 2048 === writtenBytes &&
79
+ 4096 === writtenBytes &&
80
80
  (writeToDestination(destination, currentView),
81
- (currentView = new Uint8Array(2048)),
81
+ (currentView = new Uint8Array(4096)),
82
82
  (writtenBytes = 0));
83
83
  }
84
84
  } else
85
85
  0 !== chunk.byteLength &&
86
- (2048 < chunk.byteLength
86
+ (4096 < chunk.byteLength
87
87
  ? (0 < writtenBytes &&
88
88
  (writeToDestination(
89
89
  destination,
90
90
  currentView.subarray(0, writtenBytes)
91
91
  ),
92
- (currentView = new Uint8Array(2048)),
92
+ (currentView = new Uint8Array(4096)),
93
93
  (writtenBytes = 0)),
94
94
  writeToDestination(destination, chunk))
95
95
  : ((target = currentView.length - writtenBytes),
@@ -100,13 +100,13 @@
100
100
  (writtenBytes += target),
101
101
  writeToDestination(destination, currentView),
102
102
  (chunk = chunk.subarray(target))),
103
- (currentView = new Uint8Array(2048)),
103
+ (currentView = new Uint8Array(4096)),
104
104
  (writtenBytes = 0)),
105
105
  currentView.set(chunk, writtenBytes),
106
106
  (writtenBytes += chunk.byteLength),
107
- 2048 === writtenBytes &&
107
+ 4096 === writtenBytes &&
108
108
  (writeToDestination(destination, currentView),
109
- (currentView = new Uint8Array(2048)),
109
+ (currentView = new Uint8Array(4096)),
110
110
  (writtenBytes = 0))));
111
111
  return destinationHasCapacity;
112
112
  }
@@ -3978,7 +3978,7 @@
3978
3978
  function flushCompletedChunks(request) {
3979
3979
  if (null !== request.debugDestination) {
3980
3980
  var debugDestination = request.debugDestination;
3981
- currentView = new Uint8Array(2048);
3981
+ currentView = new Uint8Array(4096);
3982
3982
  writtenBytes = 0;
3983
3983
  destinationHasCapacity = !0;
3984
3984
  try {
@@ -3997,7 +3997,7 @@
3997
3997
  }
3998
3998
  debugDestination = request.destination;
3999
3999
  if (null !== debugDestination) {
4000
- currentView = new Uint8Array(2048);
4000
+ currentView = new Uint8Array(4096);
4001
4001
  writtenBytes = 0;
4002
4002
  destinationHasCapacity = !0;
4003
4003
  try {
@@ -5637,43 +5637,42 @@
5637
5637
  previous: null
5638
5638
  });
5639
5639
  else if (
5640
- "Microtask" !== type &&
5641
- "TickObject" !== type &&
5642
- "Immediate" !== type
5643
- )
5644
- if (void 0 === trigger)
5645
- (trigger = resolveOwner()),
5646
- (trigger = {
5647
- tag: 0,
5648
- owner: trigger,
5649
- stack:
5650
- null === trigger
5651
- ? parseStackTracePrivate(Error(), 3)
5652
- : null,
5653
- start: performance.now(),
5654
- end: -1.1,
5655
- promise: null,
5656
- awaited: null,
5657
- previous: null
5658
- });
5659
- else {
5660
- if (2 === trigger.tag || 4 === trigger.tag)
5661
- (resource = resolveOwner()),
5662
- (trigger = {
5663
- tag: 0,
5664
- owner: resource,
5665
- stack:
5666
- null === resource
5667
- ? parseStackTracePrivate(Error(), 3)
5668
- : null,
5669
- start: performance.now(),
5670
- end: -1.1,
5671
- promise: null,
5672
- awaited: null,
5673
- previous: trigger
5674
- });
5675
- }
5676
- else if (void 0 === trigger) return;
5640
+ "bound-anonymous-fn" === type ||
5641
+ "Microtask" === type ||
5642
+ "TickObject" === type ||
5643
+ "Immediate" === type
5644
+ ) {
5645
+ if (void 0 === trigger) return;
5646
+ } else if (void 0 === trigger)
5647
+ (trigger = resolveOwner()),
5648
+ (trigger = {
5649
+ tag: 0,
5650
+ owner: trigger,
5651
+ stack:
5652
+ null === trigger
5653
+ ? parseStackTracePrivate(Error(), 3)
5654
+ : null,
5655
+ start: performance.now(),
5656
+ end: -1.1,
5657
+ promise: null,
5658
+ awaited: null,
5659
+ previous: null
5660
+ });
5661
+ else if (2 === trigger.tag || 4 === trigger.tag)
5662
+ (resource = resolveOwner()),
5663
+ (trigger = {
5664
+ tag: 0,
5665
+ owner: resource,
5666
+ stack:
5667
+ null === resource
5668
+ ? parseStackTracePrivate(Error(), 3)
5669
+ : null,
5670
+ start: performance.now(),
5671
+ end: -1.1,
5672
+ promise: null,
5673
+ awaited: null,
5674
+ previous: trigger
5675
+ });
5677
5676
  pendingOperations.set(asyncId, trigger);
5678
5677
  },
5679
5678
  before: function (asyncId) {
@@ -47,13 +47,13 @@ function writeToDestination(destination, view) {
47
47
  function writeChunkAndReturn(destination, chunk) {
48
48
  if ("string" === typeof chunk) {
49
49
  if (0 !== chunk.length)
50
- if (2048 < 3 * chunk.length)
50
+ if (4096 < 3 * chunk.length)
51
51
  0 < writtenBytes &&
52
52
  (writeToDestination(
53
53
  destination,
54
54
  currentView.subarray(0, writtenBytes)
55
55
  ),
56
- (currentView = new Uint8Array(2048)),
56
+ (currentView = new Uint8Array(4096)),
57
57
  (writtenBytes = 0)),
58
58
  writeToDestination(destination, chunk);
59
59
  else {
@@ -67,25 +67,25 @@ function writeChunkAndReturn(destination, chunk) {
67
67
  destination,
68
68
  currentView.subarray(0, writtenBytes)
69
69
  ),
70
- (currentView = new Uint8Array(2048)),
70
+ (currentView = new Uint8Array(4096)),
71
71
  (writtenBytes = textEncoder.encodeInto(
72
72
  chunk.slice(read),
73
73
  currentView
74
74
  ).written));
75
- 2048 === writtenBytes &&
75
+ 4096 === writtenBytes &&
76
76
  (writeToDestination(destination, currentView),
77
- (currentView = new Uint8Array(2048)),
77
+ (currentView = new Uint8Array(4096)),
78
78
  (writtenBytes = 0));
79
79
  }
80
80
  } else
81
81
  0 !== chunk.byteLength &&
82
- (2048 < chunk.byteLength
82
+ (4096 < chunk.byteLength
83
83
  ? (0 < writtenBytes &&
84
84
  (writeToDestination(
85
85
  destination,
86
86
  currentView.subarray(0, writtenBytes)
87
87
  ),
88
- (currentView = new Uint8Array(2048)),
88
+ (currentView = new Uint8Array(4096)),
89
89
  (writtenBytes = 0)),
90
90
  writeToDestination(destination, chunk))
91
91
  : ((target = currentView.length - writtenBytes),
@@ -96,13 +96,13 @@ function writeChunkAndReturn(destination, chunk) {
96
96
  (writtenBytes += target),
97
97
  writeToDestination(destination, currentView),
98
98
  (chunk = chunk.subarray(target))),
99
- (currentView = new Uint8Array(2048)),
99
+ (currentView = new Uint8Array(4096)),
100
100
  (writtenBytes = 0)),
101
101
  currentView.set(chunk, writtenBytes),
102
102
  (writtenBytes += chunk.byteLength),
103
- 2048 === writtenBytes &&
103
+ 4096 === writtenBytes &&
104
104
  (writeToDestination(destination, currentView),
105
- (currentView = new Uint8Array(2048)),
105
+ (currentView = new Uint8Array(4096)),
106
106
  (writtenBytes = 0))));
107
107
  return destinationHasCapacity;
108
108
  }
@@ -2021,7 +2021,7 @@ function finishHaltedTask(task, request) {
2021
2021
  function flushCompletedChunks(request) {
2022
2022
  var destination = request.destination;
2023
2023
  if (null !== destination) {
2024
- currentView = new Uint8Array(2048);
2024
+ currentView = new Uint8Array(4096);
2025
2025
  writtenBytes = 0;
2026
2026
  destinationHasCapacity = !0;
2027
2027
  try {
@@ -51,13 +51,13 @@
51
51
  function writeChunkAndReturn(destination, chunk) {
52
52
  if ("string" === typeof chunk) {
53
53
  if (0 !== chunk.length)
54
- if (2048 < 3 * chunk.length)
54
+ if (4096 < 3 * chunk.length)
55
55
  0 < writtenBytes &&
56
56
  (writeToDestination(
57
57
  destination,
58
58
  currentView.subarray(0, writtenBytes)
59
59
  ),
60
- (currentView = new Uint8Array(2048)),
60
+ (currentView = new Uint8Array(4096)),
61
61
  (writtenBytes = 0)),
62
62
  writeToDestination(destination, chunk);
63
63
  else {
@@ -71,25 +71,25 @@
71
71
  destination,
72
72
  currentView.subarray(0, writtenBytes)
73
73
  ),
74
- (currentView = new Uint8Array(2048)),
74
+ (currentView = new Uint8Array(4096)),
75
75
  (writtenBytes = textEncoder.encodeInto(
76
76
  chunk.slice(read),
77
77
  currentView
78
78
  ).written));
79
- 2048 === writtenBytes &&
79
+ 4096 === writtenBytes &&
80
80
  (writeToDestination(destination, currentView),
81
- (currentView = new Uint8Array(2048)),
81
+ (currentView = new Uint8Array(4096)),
82
82
  (writtenBytes = 0));
83
83
  }
84
84
  } else
85
85
  0 !== chunk.byteLength &&
86
- (2048 < chunk.byteLength
86
+ (4096 < chunk.byteLength
87
87
  ? (0 < writtenBytes &&
88
88
  (writeToDestination(
89
89
  destination,
90
90
  currentView.subarray(0, writtenBytes)
91
91
  ),
92
- (currentView = new Uint8Array(2048)),
92
+ (currentView = new Uint8Array(4096)),
93
93
  (writtenBytes = 0)),
94
94
  writeToDestination(destination, chunk))
95
95
  : ((target = currentView.length - writtenBytes),
@@ -100,13 +100,13 @@
100
100
  (writtenBytes += target),
101
101
  writeToDestination(destination, currentView),
102
102
  (chunk = chunk.subarray(target))),
103
- (currentView = new Uint8Array(2048)),
103
+ (currentView = new Uint8Array(4096)),
104
104
  (writtenBytes = 0)),
105
105
  currentView.set(chunk, writtenBytes),
106
106
  (writtenBytes += chunk.byteLength),
107
- 2048 === writtenBytes &&
107
+ 4096 === writtenBytes &&
108
108
  (writeToDestination(destination, currentView),
109
- (currentView = new Uint8Array(2048)),
109
+ (currentView = new Uint8Array(4096)),
110
110
  (writtenBytes = 0))));
111
111
  return destinationHasCapacity;
112
112
  }
@@ -3978,7 +3978,7 @@
3978
3978
  function flushCompletedChunks(request) {
3979
3979
  if (null !== request.debugDestination) {
3980
3980
  var debugDestination = request.debugDestination;
3981
- currentView = new Uint8Array(2048);
3981
+ currentView = new Uint8Array(4096);
3982
3982
  writtenBytes = 0;
3983
3983
  destinationHasCapacity = !0;
3984
3984
  try {
@@ -3997,7 +3997,7 @@
3997
3997
  }
3998
3998
  debugDestination = request.destination;
3999
3999
  if (null !== debugDestination) {
4000
- currentView = new Uint8Array(2048);
4000
+ currentView = new Uint8Array(4096);
4001
4001
  writtenBytes = 0;
4002
4002
  destinationHasCapacity = !0;
4003
4003
  try {
@@ -5600,43 +5600,42 @@
5600
5600
  previous: null
5601
5601
  });
5602
5602
  else if (
5603
- "Microtask" !== type &&
5604
- "TickObject" !== type &&
5605
- "Immediate" !== type
5606
- )
5607
- if (void 0 === trigger)
5608
- (trigger = resolveOwner()),
5609
- (trigger = {
5610
- tag: 0,
5611
- owner: trigger,
5612
- stack:
5613
- null === trigger
5614
- ? parseStackTracePrivate(Error(), 3)
5615
- : null,
5616
- start: performance.now(),
5617
- end: -1.1,
5618
- promise: null,
5619
- awaited: null,
5620
- previous: null
5621
- });
5622
- else {
5623
- if (2 === trigger.tag || 4 === trigger.tag)
5624
- (resource = resolveOwner()),
5625
- (trigger = {
5626
- tag: 0,
5627
- owner: resource,
5628
- stack:
5629
- null === resource
5630
- ? parseStackTracePrivate(Error(), 3)
5631
- : null,
5632
- start: performance.now(),
5633
- end: -1.1,
5634
- promise: null,
5635
- awaited: null,
5636
- previous: trigger
5637
- });
5638
- }
5639
- else if (void 0 === trigger) return;
5603
+ "bound-anonymous-fn" === type ||
5604
+ "Microtask" === type ||
5605
+ "TickObject" === type ||
5606
+ "Immediate" === type
5607
+ ) {
5608
+ if (void 0 === trigger) return;
5609
+ } else if (void 0 === trigger)
5610
+ (trigger = resolveOwner()),
5611
+ (trigger = {
5612
+ tag: 0,
5613
+ owner: trigger,
5614
+ stack:
5615
+ null === trigger
5616
+ ? parseStackTracePrivate(Error(), 3)
5617
+ : null,
5618
+ start: performance.now(),
5619
+ end: -1.1,
5620
+ promise: null,
5621
+ awaited: null,
5622
+ previous: null
5623
+ });
5624
+ else if (2 === trigger.tag || 4 === trigger.tag)
5625
+ (resource = resolveOwner()),
5626
+ (trigger = {
5627
+ tag: 0,
5628
+ owner: resource,
5629
+ stack:
5630
+ null === resource
5631
+ ? parseStackTracePrivate(Error(), 3)
5632
+ : null,
5633
+ start: performance.now(),
5634
+ end: -1.1,
5635
+ promise: null,
5636
+ awaited: null,
5637
+ previous: trigger
5638
+ });
5640
5639
  pendingOperations.set(asyncId, trigger);
5641
5640
  },
5642
5641
  before: function (asyncId) {
@@ -47,13 +47,13 @@ function writeToDestination(destination, view) {
47
47
  function writeChunkAndReturn(destination, chunk) {
48
48
  if ("string" === typeof chunk) {
49
49
  if (0 !== chunk.length)
50
- if (2048 < 3 * chunk.length)
50
+ if (4096 < 3 * chunk.length)
51
51
  0 < writtenBytes &&
52
52
  (writeToDestination(
53
53
  destination,
54
54
  currentView.subarray(0, writtenBytes)
55
55
  ),
56
- (currentView = new Uint8Array(2048)),
56
+ (currentView = new Uint8Array(4096)),
57
57
  (writtenBytes = 0)),
58
58
  writeToDestination(destination, chunk);
59
59
  else {
@@ -67,25 +67,25 @@ function writeChunkAndReturn(destination, chunk) {
67
67
  destination,
68
68
  currentView.subarray(0, writtenBytes)
69
69
  ),
70
- (currentView = new Uint8Array(2048)),
70
+ (currentView = new Uint8Array(4096)),
71
71
  (writtenBytes = textEncoder.encodeInto(
72
72
  chunk.slice(read),
73
73
  currentView
74
74
  ).written));
75
- 2048 === writtenBytes &&
75
+ 4096 === writtenBytes &&
76
76
  (writeToDestination(destination, currentView),
77
- (currentView = new Uint8Array(2048)),
77
+ (currentView = new Uint8Array(4096)),
78
78
  (writtenBytes = 0));
79
79
  }
80
80
  } else
81
81
  0 !== chunk.byteLength &&
82
- (2048 < chunk.byteLength
82
+ (4096 < chunk.byteLength
83
83
  ? (0 < writtenBytes &&
84
84
  (writeToDestination(
85
85
  destination,
86
86
  currentView.subarray(0, writtenBytes)
87
87
  ),
88
- (currentView = new Uint8Array(2048)),
88
+ (currentView = new Uint8Array(4096)),
89
89
  (writtenBytes = 0)),
90
90
  writeToDestination(destination, chunk))
91
91
  : ((target = currentView.length - writtenBytes),
@@ -96,13 +96,13 @@ function writeChunkAndReturn(destination, chunk) {
96
96
  (writtenBytes += target),
97
97
  writeToDestination(destination, currentView),
98
98
  (chunk = chunk.subarray(target))),
99
- (currentView = new Uint8Array(2048)),
99
+ (currentView = new Uint8Array(4096)),
100
100
  (writtenBytes = 0)),
101
101
  currentView.set(chunk, writtenBytes),
102
102
  (writtenBytes += chunk.byteLength),
103
- 2048 === writtenBytes &&
103
+ 4096 === writtenBytes &&
104
104
  (writeToDestination(destination, currentView),
105
- (currentView = new Uint8Array(2048)),
105
+ (currentView = new Uint8Array(4096)),
106
106
  (writtenBytes = 0))));
107
107
  return destinationHasCapacity;
108
108
  }
@@ -2021,7 +2021,7 @@ function finishHaltedTask(task, request) {
2021
2021
  function flushCompletedChunks(request) {
2022
2022
  var destination = request.destination;
2023
2023
  if (null !== destination) {
2024
- currentView = new Uint8Array(2048);
2024
+ currentView = new Uint8Array(4096);
2025
2025
  writtenBytes = 0;
2026
2026
  destinationHasCapacity = !0;
2027
2027
  try {
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.3.0-canary-1324e1bb-20251016",
4
+ "version": "19.3.0-canary-58bdc0bb-20251019",
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.3.0-canary-1324e1bb-20251016",
103
- "react-dom": "19.3.0-canary-1324e1bb-20251016",
102
+ "react": "19.3.0-canary-58bdc0bb-20251019",
103
+ "react-dom": "19.3.0-canary-58bdc0bb-20251019",
104
104
  "webpack": "^5.59.0"
105
105
  },
106
106
  "dependencies": {