react-server-dom-parcel 19.3.0-canary-1324e1bb-20251016 → 19.3.0-canary-f6a48828-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.
@@ -1102,6 +1102,8 @@
1102
1102
  function getIODescription(value) {
1103
1103
  try {
1104
1104
  switch (typeof value) {
1105
+ case "function":
1106
+ return value.name || "";
1105
1107
  case "object":
1106
1108
  if (null === value) return "";
1107
1109
  if (value instanceof Error) return String(value.message);
@@ -2568,6 +2570,7 @@
2568
2570
  findSourceMapURL,
2569
2571
  replayConsole,
2570
2572
  environmentName,
2573
+ debugStartTime,
2571
2574
  debugChannel
2572
2575
  ) {
2573
2576
  var chunks = new Map();
@@ -2599,7 +2602,8 @@
2599
2602
  (this._debugRootTask = console.createTask(
2600
2603
  '"use ' + environmentName.toLowerCase() + '"'
2601
2604
  ));
2602
- this._debugStartTime = performance.now();
2605
+ this._debugStartTime =
2606
+ null == debugStartTime ? performance.now() : debugStartTime;
2603
2607
  this._debugIOStarted = !1;
2604
2608
  setTimeout(markIOStarted.bind(this), 0);
2605
2609
  this._debugFindSourceMapURL = findSourceMapURL;
@@ -4470,6 +4474,7 @@
4470
4474
  findSourceMapURL,
4471
4475
  options ? !1 !== options.replayConsoleLogs : !0,
4472
4476
  options && options.environmentName ? options.environmentName : void 0,
4477
+ options && null != options.startTime ? options.startTime : void 0,
4473
4478
  debugChannel
4474
4479
  )._weakResponse;
4475
4480
  }
@@ -4815,10 +4820,10 @@
4815
4820
  return hook.checkDCE ? !0 : !1;
4816
4821
  })({
4817
4822
  bundleType: 1,
4818
- version: "19.3.0-canary-1324e1bb-20251016",
4823
+ version: "19.3.0-canary-f6a48828-20251019",
4819
4824
  rendererPackageName: "react-server-dom-parcel",
4820
4825
  currentDispatcherRef: ReactSharedInternals,
4821
- reconcilerVersion: "19.3.0-canary-1324e1bb-20251016",
4826
+ reconcilerVersion: "19.3.0-canary-f6a48828-20251019",
4822
4827
  getCurrentComponentInfo: function () {
4823
4828
  return currentOwnerInDEV;
4824
4829
  }
@@ -1260,6 +1260,8 @@
1260
1260
  function getIODescription(value) {
1261
1261
  try {
1262
1262
  switch (typeof value) {
1263
+ case "function":
1264
+ return value.name || "";
1263
1265
  case "object":
1264
1266
  if (null === value) return "";
1265
1267
  if (value instanceof Error) return String(value.message);
@@ -2738,6 +2740,7 @@
2738
2740
  findSourceMapURL,
2739
2741
  replayConsole,
2740
2742
  environmentName,
2743
+ debugStartTime,
2741
2744
  debugChannel
2742
2745
  ) {
2743
2746
  var chunks = new Map();
@@ -2769,7 +2772,8 @@
2769
2772
  (this._debugRootTask = console.createTask(
2770
2773
  '"use ' + environmentName.toLowerCase() + '"'
2771
2774
  ));
2772
- this._debugStartTime = performance.now();
2775
+ this._debugStartTime =
2776
+ null == debugStartTime ? performance.now() : debugStartTime;
2773
2777
  this._debugIOStarted = !1;
2774
2778
  setTimeout(markIOStarted.bind(this), 0);
2775
2779
  this._debugFindSourceMapURL = findSourceMapURL;
@@ -4509,6 +4513,7 @@
4509
4513
  findSourceMapURL,
4510
4514
  options ? !0 === options.replayConsoleLogs : !1,
4511
4515
  options && options.environmentName ? options.environmentName : void 0,
4516
+ options && null != options.startTime ? options.startTime : void 0,
4512
4517
  options && void 0 !== options.debugChannel
4513
4518
  ? {
4514
4519
  hasReadable: void 0 !== options.debugChannel.readable,
@@ -1260,6 +1260,8 @@
1260
1260
  function getIODescription(value) {
1261
1261
  try {
1262
1262
  switch (typeof value) {
1263
+ case "function":
1264
+ return value.name || "";
1263
1265
  case "object":
1264
1266
  if (null === value) return "";
1265
1267
  if (value instanceof Error) return String(value.message);
@@ -2738,6 +2740,7 @@
2738
2740
  findSourceMapURL,
2739
2741
  replayConsole,
2740
2742
  environmentName,
2743
+ debugStartTime,
2741
2744
  debugChannel
2742
2745
  ) {
2743
2746
  var chunks = new Map();
@@ -2769,7 +2772,8 @@
2769
2772
  (this._debugRootTask = console.createTask(
2770
2773
  '"use ' + environmentName.toLowerCase() + '"'
2771
2774
  ));
2772
- this._debugStartTime = performance.now();
2775
+ this._debugStartTime =
2776
+ null == debugStartTime ? performance.now() : debugStartTime;
2773
2777
  this._debugIOStarted = !1;
2774
2778
  setTimeout(markIOStarted.bind(this), 0);
2775
2779
  this._debugFindSourceMapURL = findSourceMapURL;
@@ -4624,6 +4628,7 @@
4624
4628
  findSourceMapURL$1,
4625
4629
  options ? !0 === options.replayConsoleLogs : !1,
4626
4630
  options && options.environmentName ? options.environmentName : void 0,
4631
+ options && null != options.startTime ? options.startTime : void 0,
4627
4632
  options && void 0 !== options.debugChannel
4628
4633
  ? {
4629
4634
  hasReadable: void 0 !== options.debugChannel.readable,
@@ -5009,6 +5014,7 @@
5009
5014
  findSourceMapURL,
5010
5015
  options ? !0 === options.replayConsoleLogs : !1,
5011
5016
  options && options.environmentName ? options.environmentName : void 0,
5017
+ options && null != options.startTime ? options.startTime : void 0,
5012
5018
  options && void 0 !== options.debugChannel
5013
5019
  ? {
5014
5020
  hasReadable: void 0 !== options.debugChannel.readable,
@@ -69,12 +69,12 @@
69
69
  }
70
70
  function writeChunkAndReturn(destination, chunk) {
71
71
  if (0 !== chunk.byteLength)
72
- if (2048 < chunk.byteLength)
72
+ if (4096 < chunk.byteLength)
73
73
  0 < writtenBytes &&
74
74
  (destination.enqueue(
75
75
  new Uint8Array(currentView.buffer, 0, writtenBytes)
76
76
  ),
77
- (currentView = new Uint8Array(2048)),
77
+ (currentView = new Uint8Array(4096)),
78
78
  (writtenBytes = 0)),
79
79
  destination.enqueue(chunk);
80
80
  else {
@@ -88,7 +88,7 @@
88
88
  ),
89
89
  destination.enqueue(currentView),
90
90
  (chunk = chunk.subarray(allowableBytes))),
91
- (currentView = new Uint8Array(2048)),
91
+ (currentView = new Uint8Array(4096)),
92
92
  (writtenBytes = 0));
93
93
  currentView.set(chunk, writtenBytes);
94
94
  writtenBytes += chunk.byteLength;
@@ -2812,14 +2812,13 @@
2812
2812
  }
2813
2813
  function emitTypedArrayChunk(request, id, tag, typedArray, debug) {
2814
2814
  debug ? request.pendingDebugChunks++ : request.pendingChunks++;
2815
- var buffer = new Uint8Array(
2815
+ typedArray = new Uint8Array(
2816
2816
  typedArray.buffer,
2817
2817
  typedArray.byteOffset,
2818
2818
  typedArray.byteLength
2819
2819
  );
2820
- typedArray = 2048 < typedArray.byteLength ? buffer.slice() : buffer;
2821
- buffer = typedArray.byteLength;
2822
- id = id.toString(16) + ":" + tag + buffer.toString(16) + ",";
2820
+ var binaryLength = typedArray.byteLength;
2821
+ id = id.toString(16) + ":" + tag + binaryLength.toString(16) + ",";
2823
2822
  id = stringToChunk(id);
2824
2823
  debug
2825
2824
  ? request.completedDebugChunks.push(id, typedArray)
@@ -3557,7 +3556,7 @@
3557
3556
  function flushCompletedChunks(request) {
3558
3557
  if (null !== request.debugDestination) {
3559
3558
  var debugDestination = request.debugDestination;
3560
- currentView = new Uint8Array(2048);
3559
+ currentView = new Uint8Array(4096);
3561
3560
  writtenBytes = 0;
3562
3561
  try {
3563
3562
  for (
@@ -3574,7 +3573,7 @@
3574
3573
  }
3575
3574
  debugDestination = request.destination;
3576
3575
  if (null !== debugDestination) {
3577
- currentView = new Uint8Array(2048);
3576
+ currentView = new Uint8Array(4096);
3578
3577
  writtenBytes = 0;
3579
3578
  try {
3580
3579
  var importsChunks = request.completedImportChunks;
@@ -73,12 +73,12 @@ var LocalPromise = Promise,
73
73
  writtenBytes = 0;
74
74
  function writeChunkAndReturn(destination, chunk) {
75
75
  if (0 !== chunk.byteLength)
76
- if (2048 < chunk.byteLength)
76
+ if (4096 < chunk.byteLength)
77
77
  0 < writtenBytes &&
78
78
  (destination.enqueue(
79
79
  new Uint8Array(currentView.buffer, 0, writtenBytes)
80
80
  ),
81
- (currentView = new Uint8Array(2048)),
81
+ (currentView = new Uint8Array(4096)),
82
82
  (writtenBytes = 0)),
83
83
  destination.enqueue(chunk);
84
84
  else {
@@ -89,7 +89,7 @@ function writeChunkAndReturn(destination, chunk) {
89
89
  : (currentView.set(chunk.subarray(0, allowableBytes), writtenBytes),
90
90
  destination.enqueue(currentView),
91
91
  (chunk = chunk.subarray(allowableBytes))),
92
- (currentView = new Uint8Array(2048)),
92
+ (currentView = new Uint8Array(4096)),
93
93
  (writtenBytes = 0));
94
94
  currentView.set(chunk, writtenBytes);
95
95
  writtenBytes += chunk.byteLength;
@@ -1700,12 +1700,11 @@ function emitModelChunk(request, id, json) {
1700
1700
  }
1701
1701
  function emitTypedArrayChunk(request, id, tag, typedArray, debug) {
1702
1702
  debug ? request.pendingDebugChunks++ : request.pendingChunks++;
1703
- debug = new Uint8Array(
1703
+ typedArray = new Uint8Array(
1704
1704
  typedArray.buffer,
1705
1705
  typedArray.byteOffset,
1706
1706
  typedArray.byteLength
1707
1707
  );
1708
- typedArray = 2048 < typedArray.byteLength ? debug.slice() : debug;
1709
1708
  debug = typedArray.byteLength;
1710
1709
  id = id.toString(16) + ":" + tag + debug.toString(16) + ",";
1711
1710
  id = stringToChunk(id);
@@ -1869,7 +1868,7 @@ function finishHaltedTask(task, request) {
1869
1868
  function flushCompletedChunks(request) {
1870
1869
  var destination = request.destination;
1871
1870
  if (null !== destination) {
1872
- currentView = new Uint8Array(2048);
1871
+ currentView = new Uint8Array(4096);
1873
1872
  writtenBytes = 0;
1874
1873
  try {
1875
1874
  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
  }
@@ -3878,7 +3878,7 @@
3878
3878
  function flushCompletedChunks(request) {
3879
3879
  if (null !== request.debugDestination) {
3880
3880
  var debugDestination = request.debugDestination;
3881
- currentView = new Uint8Array(2048);
3881
+ currentView = new Uint8Array(4096);
3882
3882
  writtenBytes = 0;
3883
3883
  destinationHasCapacity = !0;
3884
3884
  try {
@@ -3897,7 +3897,7 @@
3897
3897
  }
3898
3898
  debugDestination = request.destination;
3899
3899
  if (null !== debugDestination) {
3900
- currentView = new Uint8Array(2048);
3900
+ currentView = new Uint8Array(4096);
3901
3901
  writtenBytes = 0;
3902
3902
  destinationHasCapacity = !0;
3903
3903
  try {
@@ -5455,43 +5455,42 @@
5455
5455
  previous: null
5456
5456
  });
5457
5457
  else if (
5458
- "Microtask" !== type &&
5459
- "TickObject" !== type &&
5460
- "Immediate" !== type
5461
- )
5462
- if (void 0 === trigger)
5463
- (trigger = resolveOwner()),
5464
- (trigger = {
5465
- tag: 0,
5466
- owner: trigger,
5467
- stack:
5468
- null === trigger
5469
- ? parseStackTracePrivate(Error(), 3)
5470
- : null,
5471
- start: performance.now(),
5472
- end: -1.1,
5473
- promise: null,
5474
- awaited: null,
5475
- previous: null
5476
- });
5477
- else {
5478
- if (2 === trigger.tag || 4 === trigger.tag)
5479
- (resource = resolveOwner()),
5480
- (trigger = {
5481
- tag: 0,
5482
- owner: resource,
5483
- stack:
5484
- null === resource
5485
- ? parseStackTracePrivate(Error(), 3)
5486
- : null,
5487
- start: performance.now(),
5488
- end: -1.1,
5489
- promise: null,
5490
- awaited: null,
5491
- previous: trigger
5492
- });
5493
- }
5494
- else if (void 0 === trigger) return;
5458
+ "bound-anonymous-fn" === type ||
5459
+ "Microtask" === type ||
5460
+ "TickObject" === type ||
5461
+ "Immediate" === type
5462
+ ) {
5463
+ if (void 0 === trigger) return;
5464
+ } else if (void 0 === trigger)
5465
+ (trigger = resolveOwner()),
5466
+ (trigger = {
5467
+ tag: 0,
5468
+ owner: trigger,
5469
+ stack:
5470
+ null === trigger
5471
+ ? parseStackTracePrivate(Error(), 3)
5472
+ : null,
5473
+ start: performance.now(),
5474
+ end: -1.1,
5475
+ promise: null,
5476
+ awaited: null,
5477
+ previous: null
5478
+ });
5479
+ else if (2 === trigger.tag || 4 === trigger.tag)
5480
+ (resource = resolveOwner()),
5481
+ (trigger = {
5482
+ tag: 0,
5483
+ owner: resource,
5484
+ stack:
5485
+ null === resource
5486
+ ? parseStackTracePrivate(Error(), 3)
5487
+ : null,
5488
+ start: performance.now(),
5489
+ end: -1.1,
5490
+ promise: null,
5491
+ awaited: null,
5492
+ previous: trigger
5493
+ });
5495
5494
  pendingOperations.set(asyncId, trigger);
5496
5495
  },
5497
5496
  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
  }
@@ -1858,7 +1858,7 @@ function finishHaltedTask(task, request) {
1858
1858
  function flushCompletedChunks(request) {
1859
1859
  var destination = request.destination;
1860
1860
  if (null !== destination) {
1861
- currentView = new Uint8Array(2048);
1861
+ currentView = new Uint8Array(4096);
1862
1862
  writtenBytes = 0;
1863
1863
  destinationHasCapacity = !0;
1864
1864
  try {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-server-dom-parcel",
3
3
  "description": "React Server Components bindings for DOM using Parcel. 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-f6a48828-20251019",
5
5
  "keywords": [
6
6
  "react"
7
7
  ],
@@ -78,7 +78,7 @@
78
78
  "node": ">=0.10.0"
79
79
  },
80
80
  "peerDependencies": {
81
- "react": "19.3.0-canary-1324e1bb-20251016",
82
- "react-dom": "19.3.0-canary-1324e1bb-20251016"
81
+ "react": "19.3.0-canary-f6a48828-20251019",
82
+ "react-dom": "19.3.0-canary-f6a48828-20251019"
83
83
  }
84
84
  }