react 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.
package/cjs/react.development.js
CHANGED
|
@@ -461,8 +461,15 @@
|
|
|
461
461
|
}
|
|
462
462
|
function lazyInitializer(payload) {
|
|
463
463
|
if (-1 === payload._status) {
|
|
464
|
-
var
|
|
465
|
-
|
|
464
|
+
var resolveDebugValue = null,
|
|
465
|
+
rejectDebugValue = null,
|
|
466
|
+
ioInfo = payload._ioInfo;
|
|
467
|
+
null != ioInfo &&
|
|
468
|
+
((ioInfo.start = ioInfo.end = performance.now()),
|
|
469
|
+
(ioInfo.value = new Promise(function (resolve, reject) {
|
|
470
|
+
resolveDebugValue = resolve;
|
|
471
|
+
rejectDebugValue = reject;
|
|
472
|
+
})));
|
|
466
473
|
ioInfo = payload._result;
|
|
467
474
|
var thenable = ioInfo();
|
|
468
475
|
thenable.then(
|
|
@@ -471,7 +478,14 @@
|
|
|
471
478
|
payload._status = 1;
|
|
472
479
|
payload._result = moduleObject;
|
|
473
480
|
var _ioInfo = payload._ioInfo;
|
|
474
|
-
null != _ioInfo
|
|
481
|
+
if (null != _ioInfo) {
|
|
482
|
+
_ioInfo.end = performance.now();
|
|
483
|
+
var debugValue =
|
|
484
|
+
null == moduleObject ? void 0 : moduleObject.default;
|
|
485
|
+
resolveDebugValue(debugValue);
|
|
486
|
+
_ioInfo.value.status = "fulfilled";
|
|
487
|
+
_ioInfo.value.value = debugValue;
|
|
488
|
+
}
|
|
475
489
|
void 0 === thenable.status &&
|
|
476
490
|
((thenable.status = "fulfilled"),
|
|
477
491
|
(thenable.value = moduleObject));
|
|
@@ -482,7 +496,12 @@
|
|
|
482
496
|
payload._status = 2;
|
|
483
497
|
payload._result = error;
|
|
484
498
|
var _ioInfo2 = payload._ioInfo;
|
|
485
|
-
null != _ioInfo2 &&
|
|
499
|
+
null != _ioInfo2 &&
|
|
500
|
+
((_ioInfo2.end = performance.now()),
|
|
501
|
+
_ioInfo2.value.then(noop, noop),
|
|
502
|
+
rejectDebugValue(error),
|
|
503
|
+
(_ioInfo2.value.status = "rejected"),
|
|
504
|
+
(_ioInfo2.value.reason = error));
|
|
486
505
|
void 0 === thenable.status &&
|
|
487
506
|
((thenable.status = "rejected"), (thenable.reason = error));
|
|
488
507
|
}
|
|
@@ -490,7 +509,6 @@
|
|
|
490
509
|
);
|
|
491
510
|
ioInfo = payload._ioInfo;
|
|
492
511
|
if (null != ioInfo) {
|
|
493
|
-
ioInfo.value = thenable;
|
|
494
512
|
var displayName = thenable.displayName;
|
|
495
513
|
"string" === typeof displayName && (ioInfo.name = displayName);
|
|
496
514
|
}
|
|
@@ -1304,7 +1322,7 @@
|
|
|
1304
1322
|
exports.useTransition = function () {
|
|
1305
1323
|
return resolveDispatcher().useTransition();
|
|
1306
1324
|
};
|
|
1307
|
-
exports.version = "19.3.0-canary-
|
|
1325
|
+
exports.version = "19.3.0-canary-58bdc0bb-20251019";
|
|
1308
1326
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
|
1309
1327
|
"function" ===
|
|
1310
1328
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
package/cjs/react.production.js
CHANGED
|
@@ -431,8 +431,15 @@
|
|
|
431
431
|
}
|
|
432
432
|
function lazyInitializer(payload) {
|
|
433
433
|
if (-1 === payload._status) {
|
|
434
|
-
var
|
|
435
|
-
|
|
434
|
+
var resolveDebugValue = null,
|
|
435
|
+
rejectDebugValue = null,
|
|
436
|
+
ioInfo = payload._ioInfo;
|
|
437
|
+
null != ioInfo &&
|
|
438
|
+
((ioInfo.start = ioInfo.end = performance.now()),
|
|
439
|
+
(ioInfo.value = new Promise(function (resolve, reject) {
|
|
440
|
+
resolveDebugValue = resolve;
|
|
441
|
+
rejectDebugValue = reject;
|
|
442
|
+
})));
|
|
436
443
|
ioInfo = payload._result;
|
|
437
444
|
var thenable = ioInfo();
|
|
438
445
|
thenable.then(
|
|
@@ -441,7 +448,14 @@
|
|
|
441
448
|
payload._status = 1;
|
|
442
449
|
payload._result = moduleObject;
|
|
443
450
|
var _ioInfo = payload._ioInfo;
|
|
444
|
-
null != _ioInfo
|
|
451
|
+
if (null != _ioInfo) {
|
|
452
|
+
_ioInfo.end = performance.now();
|
|
453
|
+
var debugValue =
|
|
454
|
+
null == moduleObject ? void 0 : moduleObject.default;
|
|
455
|
+
resolveDebugValue(debugValue);
|
|
456
|
+
_ioInfo.value.status = "fulfilled";
|
|
457
|
+
_ioInfo.value.value = debugValue;
|
|
458
|
+
}
|
|
445
459
|
void 0 === thenable.status &&
|
|
446
460
|
((thenable.status = "fulfilled"),
|
|
447
461
|
(thenable.value = moduleObject));
|
|
@@ -452,7 +466,12 @@
|
|
|
452
466
|
payload._status = 2;
|
|
453
467
|
payload._result = error;
|
|
454
468
|
var _ioInfo2 = payload._ioInfo;
|
|
455
|
-
null != _ioInfo2 &&
|
|
469
|
+
null != _ioInfo2 &&
|
|
470
|
+
((_ioInfo2.end = performance.now()),
|
|
471
|
+
_ioInfo2.value.then(noop, noop),
|
|
472
|
+
rejectDebugValue(error),
|
|
473
|
+
(_ioInfo2.value.status = "rejected"),
|
|
474
|
+
(_ioInfo2.value.reason = error));
|
|
456
475
|
void 0 === thenable.status &&
|
|
457
476
|
((thenable.status = "rejected"), (thenable.reason = error));
|
|
458
477
|
}
|
|
@@ -460,7 +479,6 @@
|
|
|
460
479
|
);
|
|
461
480
|
ioInfo = payload._ioInfo;
|
|
462
481
|
if (null != ioInfo) {
|
|
463
|
-
ioInfo.value = thenable;
|
|
464
482
|
var displayName = thenable.displayName;
|
|
465
483
|
"string" === typeof displayName && (ioInfo.name = displayName);
|
|
466
484
|
}
|
|
@@ -856,5 +874,5 @@
|
|
|
856
874
|
exports.useMemo = function (create, deps) {
|
|
857
875
|
return resolveDispatcher().useMemo(create, deps);
|
|
858
876
|
};
|
|
859
|
-
exports.version = "19.3.0-canary-
|
|
877
|
+
exports.version = "19.3.0-canary-58bdc0bb-20251019";
|
|
860
878
|
})();
|