react-server-dom-webpack 19.2.0-canary-38ef6550-20250508 → 19.2.0-canary-3820740a-20250509
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.
- package/cjs/react-server-dom-webpack-client.browser.development.js +2 -2
- package/cjs/react-server-dom-webpack-server.browser.development.js +4 -6
- package/cjs/react-server-dom-webpack-server.browser.production.js +8 -10
- package/cjs/react-server-dom-webpack-server.edge.development.js +4 -6
- package/cjs/react-server-dom-webpack-server.edge.production.js +4 -6
- package/cjs/react-server-dom-webpack-server.node.development.js +4 -6
- package/cjs/react-server-dom-webpack-server.node.production.js +8 -10
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +4 -6
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.js +8 -10
- package/package.json +3 -3
@@ -2746,10 +2746,10 @@
|
|
2746
2746
|
return hook.checkDCE ? !0 : !1;
|
2747
2747
|
})({
|
2748
2748
|
bundleType: 1,
|
2749
|
-
version: "19.2.0-canary-
|
2749
|
+
version: "19.2.0-canary-3820740a-20250509",
|
2750
2750
|
rendererPackageName: "react-server-dom-webpack",
|
2751
2751
|
currentDispatcherRef: ReactSharedInternals,
|
2752
|
-
reconcilerVersion: "19.2.0-canary-
|
2752
|
+
reconcilerVersion: "19.2.0-canary-3820740a-20250509",
|
2753
2753
|
getCurrentComponentInfo: function () {
|
2754
2754
|
return currentOwnerInDEV;
|
2755
2755
|
}
|
@@ -325,13 +325,12 @@
|
|
325
325
|
maybeIterable["@@iterator"];
|
326
326
|
return "function" === typeof maybeIterable ? maybeIterable : null;
|
327
327
|
}
|
328
|
-
function noop
|
328
|
+
function noop() {}
|
329
329
|
function trackUsedThenable(thenableState, thenable, index) {
|
330
330
|
index = thenableState[index];
|
331
331
|
void 0 === index
|
332
332
|
? thenableState.push(thenable)
|
333
|
-
: index !== thenable &&
|
334
|
-
(thenable.then(noop$1, noop$1), (thenable = index));
|
333
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
335
334
|
switch (thenable.status) {
|
336
335
|
case "fulfilled":
|
337
336
|
return thenable.value;
|
@@ -339,7 +338,7 @@
|
|
339
338
|
throw thenable.reason;
|
340
339
|
default:
|
341
340
|
"string" === typeof thenable.status
|
342
|
-
? thenable.then(noop
|
341
|
+
? thenable.then(noop, noop)
|
343
342
|
: ((thenableState = thenable),
|
344
343
|
(thenableState.status = "pending"),
|
345
344
|
thenableState.then(
|
@@ -714,7 +713,6 @@
|
|
714
713
|
function defaultErrorHandler(error) {
|
715
714
|
console.error(error);
|
716
715
|
}
|
717
|
-
function defaultPostponeHandler() {}
|
718
716
|
function RequestInstance(
|
719
717
|
type,
|
720
718
|
model,
|
@@ -786,7 +784,6 @@
|
|
786
784
|
type = createTask(this, model, null, !1, abortSet, null, null, null);
|
787
785
|
pingedTasks.push(type);
|
788
786
|
}
|
789
|
-
function noop() {}
|
790
787
|
function createRequest(
|
791
788
|
model,
|
792
789
|
bundlerConfig,
|
@@ -3983,6 +3980,7 @@
|
|
3983
3980
|
CLOSING = 13,
|
3984
3981
|
CLOSED = 14,
|
3985
3982
|
PRERENDER = 21,
|
3983
|
+
defaultPostponeHandler = noop,
|
3986
3984
|
currentRequest = null,
|
3987
3985
|
debugID = null,
|
3988
3986
|
serializedSize = 0,
|
@@ -442,16 +442,16 @@ function getIteratorFn(maybeIterable) {
|
|
442
442
|
maybeIterable["@@iterator"];
|
443
443
|
return "function" === typeof maybeIterable ? maybeIterable : null;
|
444
444
|
}
|
445
|
-
var ASYNC_ITERATOR = Symbol.asyncIterator
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
445
|
+
var ASYNC_ITERATOR = Symbol.asyncIterator;
|
446
|
+
function noop() {}
|
447
|
+
var SuspenseException = Error(
|
448
|
+
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
449
|
+
);
|
450
450
|
function trackUsedThenable(thenableState, thenable, index) {
|
451
451
|
index = thenableState[index];
|
452
452
|
void 0 === index
|
453
453
|
? thenableState.push(thenable)
|
454
|
-
: index !== thenable && (thenable.then(noop
|
454
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
455
455
|
switch (thenable.status) {
|
456
456
|
case "fulfilled":
|
457
457
|
return thenable.value;
|
@@ -459,7 +459,7 @@ function trackUsedThenable(thenableState, thenable, index) {
|
|
459
459
|
throw thenable.reason;
|
460
460
|
default:
|
461
461
|
"string" === typeof thenable.status
|
462
|
-
? thenable.then(noop
|
462
|
+
? thenable.then(noop, noop)
|
463
463
|
: ((thenableState = thenable),
|
464
464
|
(thenableState.status = "pending"),
|
465
465
|
thenableState.then(
|
@@ -718,7 +718,6 @@ var ObjectPrototype = Object.prototype,
|
|
718
718
|
function defaultErrorHandler(error) {
|
719
719
|
console.error(error);
|
720
720
|
}
|
721
|
-
function defaultPostponeHandler() {}
|
722
721
|
function RequestInstance(
|
723
722
|
type,
|
724
723
|
model,
|
@@ -765,13 +764,12 @@ function RequestInstance(
|
|
765
764
|
this.identifierCount = 1;
|
766
765
|
this.taintCleanupQueue = [];
|
767
766
|
this.onError = void 0 === onError ? defaultErrorHandler : onError;
|
768
|
-
this.onPostpone = void 0 === onPostpone ?
|
767
|
+
this.onPostpone = void 0 === onPostpone ? noop : onPostpone;
|
769
768
|
this.onAllReady = onAllReady;
|
770
769
|
this.onFatalError = onFatalError;
|
771
770
|
type = createTask(this, model, null, !1, filterStackFrame);
|
772
771
|
environmentName.push(type);
|
773
772
|
}
|
774
|
-
function noop() {}
|
775
773
|
var currentRequest = null;
|
776
774
|
function serializeThenable(request, task, thenable) {
|
777
775
|
var newTask = createTask(
|
@@ -321,13 +321,12 @@
|
|
321
321
|
temporaryReferences.set(reference, id);
|
322
322
|
return reference;
|
323
323
|
}
|
324
|
-
function noop
|
324
|
+
function noop() {}
|
325
325
|
function trackUsedThenable(thenableState, thenable, index) {
|
326
326
|
index = thenableState[index];
|
327
327
|
void 0 === index
|
328
328
|
? thenableState.push(thenable)
|
329
|
-
: index !== thenable &&
|
330
|
-
(thenable.then(noop$1, noop$1), (thenable = index));
|
329
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
331
330
|
switch (thenable.status) {
|
332
331
|
case "fulfilled":
|
333
332
|
return thenable.value;
|
@@ -335,7 +334,7 @@
|
|
335
334
|
throw thenable.reason;
|
336
335
|
default:
|
337
336
|
"string" === typeof thenable.status
|
338
|
-
? thenable.then(noop
|
337
|
+
? thenable.then(noop, noop)
|
339
338
|
: ((thenableState = thenable),
|
340
339
|
(thenableState.status = "pending"),
|
341
340
|
thenableState.then(
|
@@ -721,7 +720,6 @@
|
|
721
720
|
function defaultErrorHandler(error) {
|
722
721
|
console.error(error);
|
723
722
|
}
|
724
|
-
function defaultPostponeHandler() {}
|
725
723
|
function RequestInstance(
|
726
724
|
type,
|
727
725
|
model,
|
@@ -793,7 +791,6 @@
|
|
793
791
|
type = createTask(this, model, null, !1, abortSet, null, null, null);
|
794
792
|
pingedTasks.push(type);
|
795
793
|
}
|
796
|
-
function noop() {}
|
797
794
|
function createRequest(
|
798
795
|
model,
|
799
796
|
bundlerConfig,
|
@@ -4061,6 +4058,7 @@
|
|
4061
4058
|
CLOSING = 13,
|
4062
4059
|
CLOSED = 14,
|
4063
4060
|
PRERENDER = 21,
|
4061
|
+
defaultPostponeHandler = noop,
|
4064
4062
|
currentRequest = null,
|
4065
4063
|
debugID = null,
|
4066
4064
|
serializedSize = 0,
|
@@ -441,15 +441,15 @@ function createTemporaryReference(temporaryReferences, id) {
|
|
441
441
|
temporaryReferences.set(reference, id);
|
442
442
|
return reference;
|
443
443
|
}
|
444
|
+
function noop() {}
|
444
445
|
var SuspenseException = Error(
|
445
446
|
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
446
447
|
);
|
447
|
-
function noop$1() {}
|
448
448
|
function trackUsedThenable(thenableState, thenable, index) {
|
449
449
|
index = thenableState[index];
|
450
450
|
void 0 === index
|
451
451
|
? thenableState.push(thenable)
|
452
|
-
: index !== thenable && (thenable.then(noop
|
452
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
453
453
|
switch (thenable.status) {
|
454
454
|
case "fulfilled":
|
455
455
|
return thenable.value;
|
@@ -457,7 +457,7 @@ function trackUsedThenable(thenableState, thenable, index) {
|
|
457
457
|
throw thenable.reason;
|
458
458
|
default:
|
459
459
|
"string" === typeof thenable.status
|
460
|
-
? thenable.then(noop
|
460
|
+
? thenable.then(noop, noop)
|
461
461
|
: ((thenableState = thenable),
|
462
462
|
(thenableState.status = "pending"),
|
463
463
|
thenableState.then(
|
@@ -715,7 +715,6 @@ var ObjectPrototype = Object.prototype,
|
|
715
715
|
function defaultErrorHandler(error) {
|
716
716
|
console.error(error);
|
717
717
|
}
|
718
|
-
function defaultPostponeHandler() {}
|
719
718
|
function RequestInstance(
|
720
719
|
type,
|
721
720
|
model,
|
@@ -762,13 +761,12 @@ function RequestInstance(
|
|
762
761
|
this.identifierCount = 1;
|
763
762
|
this.taintCleanupQueue = [];
|
764
763
|
this.onError = void 0 === onError ? defaultErrorHandler : onError;
|
765
|
-
this.onPostpone = void 0 === onPostpone ?
|
764
|
+
this.onPostpone = void 0 === onPostpone ? noop : onPostpone;
|
766
765
|
this.onAllReady = onAllReady;
|
767
766
|
this.onFatalError = onFatalError;
|
768
767
|
type = createTask(this, model, null, !1, filterStackFrame);
|
769
768
|
environmentName.push(type);
|
770
769
|
}
|
771
|
-
function noop() {}
|
772
770
|
var currentRequest = null;
|
773
771
|
function resolveRequest() {
|
774
772
|
if (currentRequest) return currentRequest;
|
@@ -348,13 +348,12 @@
|
|
348
348
|
maybeIterable["@@iterator"];
|
349
349
|
return "function" === typeof maybeIterable ? maybeIterable : null;
|
350
350
|
}
|
351
|
-
function noop
|
351
|
+
function noop() {}
|
352
352
|
function trackUsedThenable(thenableState, thenable, index) {
|
353
353
|
index = thenableState[index];
|
354
354
|
void 0 === index
|
355
355
|
? thenableState.push(thenable)
|
356
|
-
: index !== thenable &&
|
357
|
-
(thenable.then(noop$1, noop$1), (thenable = index));
|
356
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
358
357
|
switch (thenable.status) {
|
359
358
|
case "fulfilled":
|
360
359
|
return thenable.value;
|
@@ -362,7 +361,7 @@
|
|
362
361
|
throw thenable.reason;
|
363
362
|
default:
|
364
363
|
"string" === typeof thenable.status
|
365
|
-
? thenable.then(noop
|
364
|
+
? thenable.then(noop, noop)
|
366
365
|
: ((thenableState = thenable),
|
367
366
|
(thenableState.status = "pending"),
|
368
367
|
thenableState.then(
|
@@ -745,7 +744,6 @@
|
|
745
744
|
function defaultErrorHandler(error) {
|
746
745
|
console.error(error);
|
747
746
|
}
|
748
|
-
function defaultPostponeHandler() {}
|
749
747
|
function RequestInstance(
|
750
748
|
type,
|
751
749
|
model,
|
@@ -817,7 +815,6 @@
|
|
817
815
|
type = createTask(this, model, null, !1, abortSet, null, null, null);
|
818
816
|
pingedTasks.push(type);
|
819
817
|
}
|
820
|
-
function noop() {}
|
821
818
|
function createRequest(
|
822
819
|
model,
|
823
820
|
bundlerConfig,
|
@@ -4058,6 +4055,7 @@
|
|
4058
4055
|
CLOSING = 13,
|
4059
4056
|
CLOSED = 14,
|
4060
4057
|
PRERENDER = 21,
|
4058
|
+
defaultPostponeHandler = noop,
|
4061
4059
|
currentRequest = null,
|
4062
4060
|
debugID = null,
|
4063
4061
|
serializedSize = 0,
|
@@ -460,16 +460,16 @@ function getIteratorFn(maybeIterable) {
|
|
460
460
|
maybeIterable["@@iterator"];
|
461
461
|
return "function" === typeof maybeIterable ? maybeIterable : null;
|
462
462
|
}
|
463
|
-
var ASYNC_ITERATOR = Symbol.asyncIterator
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
463
|
+
var ASYNC_ITERATOR = Symbol.asyncIterator;
|
464
|
+
function noop() {}
|
465
|
+
var SuspenseException = Error(
|
466
|
+
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
467
|
+
);
|
468
468
|
function trackUsedThenable(thenableState, thenable, index) {
|
469
469
|
index = thenableState[index];
|
470
470
|
void 0 === index
|
471
471
|
? thenableState.push(thenable)
|
472
|
-
: index !== thenable && (thenable.then(noop
|
472
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
473
473
|
switch (thenable.status) {
|
474
474
|
case "fulfilled":
|
475
475
|
return thenable.value;
|
@@ -477,7 +477,7 @@ function trackUsedThenable(thenableState, thenable, index) {
|
|
477
477
|
throw thenable.reason;
|
478
478
|
default:
|
479
479
|
"string" === typeof thenable.status
|
480
|
-
? thenable.then(noop
|
480
|
+
? thenable.then(noop, noop)
|
481
481
|
: ((thenableState = thenable),
|
482
482
|
(thenableState.status = "pending"),
|
483
483
|
thenableState.then(
|
@@ -735,7 +735,6 @@ var ObjectPrototype = Object.prototype,
|
|
735
735
|
function defaultErrorHandler(error) {
|
736
736
|
console.error(error);
|
737
737
|
}
|
738
|
-
function defaultPostponeHandler() {}
|
739
738
|
function RequestInstance(
|
740
739
|
type,
|
741
740
|
model,
|
@@ -782,13 +781,12 @@ function RequestInstance(
|
|
782
781
|
this.identifierCount = 1;
|
783
782
|
this.taintCleanupQueue = [];
|
784
783
|
this.onError = void 0 === onError ? defaultErrorHandler : onError;
|
785
|
-
this.onPostpone = void 0 === onPostpone ?
|
784
|
+
this.onPostpone = void 0 === onPostpone ? noop : onPostpone;
|
786
785
|
this.onAllReady = onAllReady;
|
787
786
|
this.onFatalError = onFatalError;
|
788
787
|
type = createTask(this, model, null, !1, filterStackFrame);
|
789
788
|
environmentName.push(type);
|
790
789
|
}
|
791
|
-
function noop() {}
|
792
790
|
var currentRequest = null;
|
793
791
|
function resolveRequest() {
|
794
792
|
if (currentRequest) return currentRequest;
|
@@ -348,13 +348,12 @@
|
|
348
348
|
maybeIterable["@@iterator"];
|
349
349
|
return "function" === typeof maybeIterable ? maybeIterable : null;
|
350
350
|
}
|
351
|
-
function noop
|
351
|
+
function noop() {}
|
352
352
|
function trackUsedThenable(thenableState, thenable, index) {
|
353
353
|
index = thenableState[index];
|
354
354
|
void 0 === index
|
355
355
|
? thenableState.push(thenable)
|
356
|
-
: index !== thenable &&
|
357
|
-
(thenable.then(noop$1, noop$1), (thenable = index));
|
356
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
358
357
|
switch (thenable.status) {
|
359
358
|
case "fulfilled":
|
360
359
|
return thenable.value;
|
@@ -362,7 +361,7 @@
|
|
362
361
|
throw thenable.reason;
|
363
362
|
default:
|
364
363
|
"string" === typeof thenable.status
|
365
|
-
? thenable.then(noop
|
364
|
+
? thenable.then(noop, noop)
|
366
365
|
: ((thenableState = thenable),
|
367
366
|
(thenableState.status = "pending"),
|
368
367
|
thenableState.then(
|
@@ -745,7 +744,6 @@
|
|
745
744
|
function defaultErrorHandler(error) {
|
746
745
|
console.error(error);
|
747
746
|
}
|
748
|
-
function defaultPostponeHandler() {}
|
749
747
|
function RequestInstance(
|
750
748
|
type,
|
751
749
|
model,
|
@@ -817,7 +815,6 @@
|
|
817
815
|
type = createTask(this, model, null, !1, abortSet, null, null, null);
|
818
816
|
pingedTasks.push(type);
|
819
817
|
}
|
820
|
-
function noop() {}
|
821
818
|
function createRequest(
|
822
819
|
model,
|
823
820
|
bundlerConfig,
|
@@ -4021,6 +4018,7 @@
|
|
4021
4018
|
CLOSING = 13,
|
4022
4019
|
CLOSED = 14,
|
4023
4020
|
PRERENDER = 21,
|
4021
|
+
defaultPostponeHandler = noop,
|
4024
4022
|
currentRequest = null,
|
4025
4023
|
debugID = null,
|
4026
4024
|
serializedSize = 0,
|
@@ -460,16 +460,16 @@ function getIteratorFn(maybeIterable) {
|
|
460
460
|
maybeIterable["@@iterator"];
|
461
461
|
return "function" === typeof maybeIterable ? maybeIterable : null;
|
462
462
|
}
|
463
|
-
var ASYNC_ITERATOR = Symbol.asyncIterator
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
463
|
+
var ASYNC_ITERATOR = Symbol.asyncIterator;
|
464
|
+
function noop() {}
|
465
|
+
var SuspenseException = Error(
|
466
|
+
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
467
|
+
);
|
468
468
|
function trackUsedThenable(thenableState, thenable, index) {
|
469
469
|
index = thenableState[index];
|
470
470
|
void 0 === index
|
471
471
|
? thenableState.push(thenable)
|
472
|
-
: index !== thenable && (thenable.then(noop
|
472
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
473
473
|
switch (thenable.status) {
|
474
474
|
case "fulfilled":
|
475
475
|
return thenable.value;
|
@@ -477,7 +477,7 @@ function trackUsedThenable(thenableState, thenable, index) {
|
|
477
477
|
throw thenable.reason;
|
478
478
|
default:
|
479
479
|
"string" === typeof thenable.status
|
480
|
-
? thenable.then(noop
|
480
|
+
? thenable.then(noop, noop)
|
481
481
|
: ((thenableState = thenable),
|
482
482
|
(thenableState.status = "pending"),
|
483
483
|
thenableState.then(
|
@@ -735,7 +735,6 @@ var ObjectPrototype = Object.prototype,
|
|
735
735
|
function defaultErrorHandler(error) {
|
736
736
|
console.error(error);
|
737
737
|
}
|
738
|
-
function defaultPostponeHandler() {}
|
739
738
|
function RequestInstance(
|
740
739
|
type,
|
741
740
|
model,
|
@@ -782,13 +781,12 @@ function RequestInstance(
|
|
782
781
|
this.identifierCount = 1;
|
783
782
|
this.taintCleanupQueue = [];
|
784
783
|
this.onError = void 0 === onError ? defaultErrorHandler : onError;
|
785
|
-
this.onPostpone = void 0 === onPostpone ?
|
784
|
+
this.onPostpone = void 0 === onPostpone ? noop : onPostpone;
|
786
785
|
this.onAllReady = onAllReady;
|
787
786
|
this.onFatalError = onFatalError;
|
788
787
|
type = createTask(this, model, null, !1, filterStackFrame);
|
789
788
|
environmentName.push(type);
|
790
789
|
}
|
791
|
-
function noop() {}
|
792
790
|
var currentRequest = null;
|
793
791
|
function resolveRequest() {
|
794
792
|
if (currentRequest) return currentRequest;
|
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-
|
4
|
+
"version": "19.2.0-canary-3820740a-20250509",
|
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-
|
103
|
-
"react-dom": "19.2.0-canary-
|
102
|
+
"react": "19.2.0-canary-3820740a-20250509",
|
103
|
+
"react-dom": "19.2.0-canary-3820740a-20250509",
|
104
104
|
"webpack": "^5.59.0"
|
105
105
|
},
|
106
106
|
"dependencies": {
|