react 19.1.0-canary-a4f9bd58-20250319 → 19.1.0-canary-740a4f7a-20250325
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-jsx-dev-runtime.development.js +21 -4
- package/cjs/react-jsx-dev-runtime.react-server.development.js +33 -8
- package/cjs/react-jsx-runtime.development.js +27 -6
- package/cjs/react-jsx-runtime.react-server.development.js +33 -8
- package/cjs/react.development.js +23 -28
- package/cjs/react.production.js +1 -1
- package/cjs/react.react-server.development.js +26 -26
- package/cjs/react.react-server.production.js +1 -1
- package/package.json +1 -1
@@ -115,6 +115,9 @@
|
|
115
115
|
var dispatcher = ReactSharedInternals.A;
|
116
116
|
return null === dispatcher ? null : dispatcher.getOwner();
|
117
117
|
}
|
118
|
+
function UnknownOwner() {
|
119
|
+
return Error("react-stack-top-frame");
|
120
|
+
}
|
118
121
|
function hasValidKey(config) {
|
119
122
|
if (hasOwnProperty.call(config, "key")) {
|
120
123
|
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
@@ -305,9 +308,19 @@
|
|
305
308
|
? console.createTask
|
306
309
|
: function () {
|
307
310
|
return null;
|
308
|
-
}
|
309
|
-
|
311
|
+
};
|
312
|
+
React = {
|
313
|
+
"react-stack-bottom-frame": function (callStackForError) {
|
314
|
+
return callStackForError();
|
315
|
+
}
|
316
|
+
};
|
317
|
+
var specialPropKeyWarningShown;
|
310
318
|
var didWarnAboutElementRef = {};
|
319
|
+
var unknownOwnerDebugStack = React["react-stack-bottom-frame"].bind(
|
320
|
+
React,
|
321
|
+
UnknownOwner
|
322
|
+
)();
|
323
|
+
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
311
324
|
var didWarnAboutKeySpread = {};
|
312
325
|
exports.Fragment = REACT_FRAGMENT_TYPE;
|
313
326
|
exports.jsxDEV = function (
|
@@ -318,6 +331,8 @@
|
|
318
331
|
source,
|
319
332
|
self
|
320
333
|
) {
|
334
|
+
var trackActualOwner =
|
335
|
+
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
321
336
|
return jsxDEVImpl(
|
322
337
|
type,
|
323
338
|
config,
|
@@ -325,8 +340,10 @@
|
|
325
340
|
isStaticChildren,
|
326
341
|
source,
|
327
342
|
self,
|
328
|
-
|
329
|
-
|
343
|
+
trackActualOwner
|
344
|
+
? Error("react-stack-top-frame")
|
345
|
+
: unknownOwnerDebugStack,
|
346
|
+
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
330
347
|
);
|
331
348
|
};
|
332
349
|
})();
|
@@ -115,6 +115,9 @@
|
|
115
115
|
var dispatcher = ReactSharedInternalsServer.A;
|
116
116
|
return null === dispatcher ? null : dispatcher.getOwner();
|
117
117
|
}
|
118
|
+
function UnknownOwner() {
|
119
|
+
return Error("react-stack-top-frame");
|
120
|
+
}
|
118
121
|
function hasValidKey(config) {
|
119
122
|
if (hasOwnProperty.call(config, "key")) {
|
120
123
|
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
@@ -309,12 +312,24 @@
|
|
309
312
|
? console.createTask
|
310
313
|
: function () {
|
311
314
|
return null;
|
312
|
-
}
|
313
|
-
|
315
|
+
};
|
316
|
+
React = {
|
317
|
+
"react-stack-bottom-frame": function (callStackForError) {
|
318
|
+
return callStackForError();
|
319
|
+
}
|
320
|
+
};
|
321
|
+
var specialPropKeyWarningShown;
|
314
322
|
var didWarnAboutElementRef = {};
|
323
|
+
var unknownOwnerDebugStack = React["react-stack-bottom-frame"].bind(
|
324
|
+
React,
|
325
|
+
UnknownOwner
|
326
|
+
)();
|
327
|
+
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
315
328
|
var didWarnAboutKeySpread = {};
|
316
329
|
exports.Fragment = REACT_FRAGMENT_TYPE;
|
317
330
|
exports.jsx = function (type, config, maybeKey, source, self) {
|
331
|
+
var trackActualOwner =
|
332
|
+
1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
|
318
333
|
return jsxDEVImpl(
|
319
334
|
type,
|
320
335
|
config,
|
@@ -322,8 +337,10 @@
|
|
322
337
|
!1,
|
323
338
|
source,
|
324
339
|
self,
|
325
|
-
|
326
|
-
|
340
|
+
trackActualOwner
|
341
|
+
? Error("react-stack-top-frame")
|
342
|
+
: unknownOwnerDebugStack,
|
343
|
+
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
327
344
|
);
|
328
345
|
};
|
329
346
|
exports.jsxDEV = function (
|
@@ -334,6 +351,8 @@
|
|
334
351
|
source,
|
335
352
|
self
|
336
353
|
) {
|
354
|
+
var trackActualOwner =
|
355
|
+
1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
|
337
356
|
return jsxDEVImpl(
|
338
357
|
type,
|
339
358
|
config,
|
@@ -341,11 +360,15 @@
|
|
341
360
|
isStaticChildren,
|
342
361
|
source,
|
343
362
|
self,
|
344
|
-
|
345
|
-
|
363
|
+
trackActualOwner
|
364
|
+
? Error("react-stack-top-frame")
|
365
|
+
: unknownOwnerDebugStack,
|
366
|
+
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
346
367
|
);
|
347
368
|
};
|
348
369
|
exports.jsxs = function (type, config, maybeKey, source, self) {
|
370
|
+
var trackActualOwner =
|
371
|
+
1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
|
349
372
|
return jsxDEVImpl(
|
350
373
|
type,
|
351
374
|
config,
|
@@ -353,8 +376,10 @@
|
|
353
376
|
!0,
|
354
377
|
source,
|
355
378
|
self,
|
356
|
-
|
357
|
-
|
379
|
+
trackActualOwner
|
380
|
+
? Error("react-stack-top-frame")
|
381
|
+
: unknownOwnerDebugStack,
|
382
|
+
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
358
383
|
);
|
359
384
|
};
|
360
385
|
})();
|
@@ -115,6 +115,9 @@
|
|
115
115
|
var dispatcher = ReactSharedInternals.A;
|
116
116
|
return null === dispatcher ? null : dispatcher.getOwner();
|
117
117
|
}
|
118
|
+
function UnknownOwner() {
|
119
|
+
return Error("react-stack-top-frame");
|
120
|
+
}
|
118
121
|
function hasValidKey(config) {
|
119
122
|
if (hasOwnProperty.call(config, "key")) {
|
120
123
|
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
@@ -305,12 +308,24 @@
|
|
305
308
|
? console.createTask
|
306
309
|
: function () {
|
307
310
|
return null;
|
308
|
-
}
|
309
|
-
|
311
|
+
};
|
312
|
+
React = {
|
313
|
+
"react-stack-bottom-frame": function (callStackForError) {
|
314
|
+
return callStackForError();
|
315
|
+
}
|
316
|
+
};
|
317
|
+
var specialPropKeyWarningShown;
|
310
318
|
var didWarnAboutElementRef = {};
|
319
|
+
var unknownOwnerDebugStack = React["react-stack-bottom-frame"].bind(
|
320
|
+
React,
|
321
|
+
UnknownOwner
|
322
|
+
)();
|
323
|
+
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
311
324
|
var didWarnAboutKeySpread = {};
|
312
325
|
exports.Fragment = REACT_FRAGMENT_TYPE;
|
313
326
|
exports.jsx = function (type, config, maybeKey, source, self) {
|
327
|
+
var trackActualOwner =
|
328
|
+
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
314
329
|
return jsxDEVImpl(
|
315
330
|
type,
|
316
331
|
config,
|
@@ -318,11 +333,15 @@
|
|
318
333
|
!1,
|
319
334
|
source,
|
320
335
|
self,
|
321
|
-
|
322
|
-
|
336
|
+
trackActualOwner
|
337
|
+
? Error("react-stack-top-frame")
|
338
|
+
: unknownOwnerDebugStack,
|
339
|
+
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
323
340
|
);
|
324
341
|
};
|
325
342
|
exports.jsxs = function (type, config, maybeKey, source, self) {
|
343
|
+
var trackActualOwner =
|
344
|
+
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
326
345
|
return jsxDEVImpl(
|
327
346
|
type,
|
328
347
|
config,
|
@@ -330,8 +349,10 @@
|
|
330
349
|
!0,
|
331
350
|
source,
|
332
351
|
self,
|
333
|
-
|
334
|
-
|
352
|
+
trackActualOwner
|
353
|
+
? Error("react-stack-top-frame")
|
354
|
+
: unknownOwnerDebugStack,
|
355
|
+
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
335
356
|
);
|
336
357
|
};
|
337
358
|
})();
|
@@ -115,6 +115,9 @@
|
|
115
115
|
var dispatcher = ReactSharedInternalsServer.A;
|
116
116
|
return null === dispatcher ? null : dispatcher.getOwner();
|
117
117
|
}
|
118
|
+
function UnknownOwner() {
|
119
|
+
return Error("react-stack-top-frame");
|
120
|
+
}
|
118
121
|
function hasValidKey(config) {
|
119
122
|
if (hasOwnProperty.call(config, "key")) {
|
120
123
|
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
@@ -309,12 +312,24 @@
|
|
309
312
|
? console.createTask
|
310
313
|
: function () {
|
311
314
|
return null;
|
312
|
-
}
|
313
|
-
|
315
|
+
};
|
316
|
+
React = {
|
317
|
+
"react-stack-bottom-frame": function (callStackForError) {
|
318
|
+
return callStackForError();
|
319
|
+
}
|
320
|
+
};
|
321
|
+
var specialPropKeyWarningShown;
|
314
322
|
var didWarnAboutElementRef = {};
|
323
|
+
var unknownOwnerDebugStack = React["react-stack-bottom-frame"].bind(
|
324
|
+
React,
|
325
|
+
UnknownOwner
|
326
|
+
)();
|
327
|
+
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
315
328
|
var didWarnAboutKeySpread = {};
|
316
329
|
exports.Fragment = REACT_FRAGMENT_TYPE;
|
317
330
|
exports.jsx = function (type, config, maybeKey, source, self) {
|
331
|
+
var trackActualOwner =
|
332
|
+
1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
|
318
333
|
return jsxDEVImpl(
|
319
334
|
type,
|
320
335
|
config,
|
@@ -322,8 +337,10 @@
|
|
322
337
|
!1,
|
323
338
|
source,
|
324
339
|
self,
|
325
|
-
|
326
|
-
|
340
|
+
trackActualOwner
|
341
|
+
? Error("react-stack-top-frame")
|
342
|
+
: unknownOwnerDebugStack,
|
343
|
+
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
327
344
|
);
|
328
345
|
};
|
329
346
|
exports.jsxDEV = function (
|
@@ -334,6 +351,8 @@
|
|
334
351
|
source,
|
335
352
|
self
|
336
353
|
) {
|
354
|
+
var trackActualOwner =
|
355
|
+
1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
|
337
356
|
return jsxDEVImpl(
|
338
357
|
type,
|
339
358
|
config,
|
@@ -341,11 +360,15 @@
|
|
341
360
|
isStaticChildren,
|
342
361
|
source,
|
343
362
|
self,
|
344
|
-
|
345
|
-
|
363
|
+
trackActualOwner
|
364
|
+
? Error("react-stack-top-frame")
|
365
|
+
: unknownOwnerDebugStack,
|
366
|
+
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
346
367
|
);
|
347
368
|
};
|
348
369
|
exports.jsxs = function (type, config, maybeKey, source, self) {
|
370
|
+
var trackActualOwner =
|
371
|
+
1e4 > ReactSharedInternalsServer.recentlyCreatedOwnerStacks++;
|
349
372
|
return jsxDEVImpl(
|
350
373
|
type,
|
351
374
|
config,
|
@@ -353,8 +376,10 @@
|
|
353
376
|
!0,
|
354
377
|
source,
|
355
378
|
self,
|
356
|
-
|
357
|
-
|
379
|
+
trackActualOwner
|
380
|
+
? Error("react-stack-top-frame")
|
381
|
+
: unknownOwnerDebugStack,
|
382
|
+
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
358
383
|
);
|
359
384
|
};
|
360
385
|
})();
|
package/cjs/react.development.js
CHANGED
@@ -87,7 +87,7 @@
|
|
87
87
|
function getComponentNameFromType(type) {
|
88
88
|
if (null == type) return null;
|
89
89
|
if ("function" === typeof type)
|
90
|
-
return type.$$typeof === REACT_CLIENT_REFERENCE
|
90
|
+
return type.$$typeof === REACT_CLIENT_REFERENCE
|
91
91
|
? null
|
92
92
|
: type.displayName || type.name || null;
|
93
93
|
if ("string" === typeof type) return type;
|
@@ -161,6 +161,9 @@
|
|
161
161
|
var dispatcher = ReactSharedInternals.A;
|
162
162
|
return null === dispatcher ? null : dispatcher.getOwner();
|
163
163
|
}
|
164
|
+
function UnknownOwner() {
|
165
|
+
return Error("react-stack-top-frame");
|
166
|
+
}
|
164
167
|
function hasValidKey(config) {
|
165
168
|
if (hasOwnProperty.call(config, "key")) {
|
166
169
|
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
@@ -651,7 +654,7 @@
|
|
651
654
|
assign(deprecatedAPIs, Component.prototype);
|
652
655
|
deprecatedAPIs.isPureReactComponent = !0;
|
653
656
|
var isArrayImpl = Array.isArray,
|
654
|
-
REACT_CLIENT_REFERENCE
|
657
|
+
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
655
658
|
ReactSharedInternals = {
|
656
659
|
H: null,
|
657
660
|
A: null,
|
@@ -663,20 +666,28 @@
|
|
663
666
|
didScheduleLegacyUpdate: !1,
|
664
667
|
didUsePromise: !1,
|
665
668
|
thrownErrors: [],
|
666
|
-
getCurrentStack: null
|
669
|
+
getCurrentStack: null,
|
670
|
+
recentlyCreatedOwnerStacks: 0
|
667
671
|
},
|
668
672
|
hasOwnProperty = Object.prototype.hasOwnProperty,
|
669
673
|
createTask = console.createTask
|
670
674
|
? console.createTask
|
671
675
|
: function () {
|
672
676
|
return null;
|
673
|
-
}
|
674
|
-
|
675
|
-
|
677
|
+
};
|
678
|
+
deprecatedAPIs = {
|
679
|
+
"react-stack-bottom-frame": function (callStackForError) {
|
680
|
+
return callStackForError();
|
681
|
+
}
|
682
|
+
};
|
683
|
+
var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
|
676
684
|
var didWarnAboutElementRef = {};
|
685
|
+
var unknownOwnerDebugStack = deprecatedAPIs[
|
686
|
+
"react-stack-bottom-frame"
|
687
|
+
].bind(deprecatedAPIs, UnknownOwner)();
|
688
|
+
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
677
689
|
var didWarnAboutMaps = !1,
|
678
690
|
userProvidedKeyEscapeRegex = /\/+/g,
|
679
|
-
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
680
691
|
reportGlobalError =
|
681
692
|
"function" === typeof reportError
|
682
693
|
? reportError
|
@@ -970,7 +981,6 @@
|
|
970
981
|
var node = arguments[i];
|
971
982
|
isValidElement(node) && node._store && (node._store.validated = 1);
|
972
983
|
}
|
973
|
-
var propName;
|
974
984
|
i = {};
|
975
985
|
node = null;
|
976
986
|
if (null != config)
|
@@ -1011,6 +1021,7 @@
|
|
1011
1021
|
? type.displayName || type.name || "Unknown"
|
1012
1022
|
: type
|
1013
1023
|
);
|
1024
|
+
var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
1014
1025
|
return ReactElement(
|
1015
1026
|
type,
|
1016
1027
|
node,
|
@@ -1018,8 +1029,8 @@
|
|
1018
1029
|
void 0,
|
1019
1030
|
getOwner(),
|
1020
1031
|
i,
|
1021
|
-
Error("react-stack-top-frame"),
|
1022
|
-
createTask(getTaskName(type))
|
1032
|
+
propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
|
1033
|
+
propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
1023
1034
|
);
|
1024
1035
|
};
|
1025
1036
|
exports.createRef = function () {
|
@@ -1077,23 +1088,7 @@
|
|
1077
1088
|
};
|
1078
1089
|
};
|
1079
1090
|
exports.memo = function (type, compare) {
|
1080
|
-
|
1081
|
-
"function" === typeof type ||
|
1082
|
-
type === REACT_FRAGMENT_TYPE ||
|
1083
|
-
type === REACT_PROFILER_TYPE ||
|
1084
|
-
type === REACT_STRICT_MODE_TYPE ||
|
1085
|
-
type === REACT_SUSPENSE_TYPE ||
|
1086
|
-
type === REACT_SUSPENSE_LIST_TYPE ||
|
1087
|
-
type === REACT_ACTIVITY_TYPE ||
|
1088
|
-
("object" === typeof type &&
|
1089
|
-
null !== type &&
|
1090
|
-
(type.$$typeof === REACT_LAZY_TYPE ||
|
1091
|
-
type.$$typeof === REACT_MEMO_TYPE ||
|
1092
|
-
type.$$typeof === REACT_CONTEXT_TYPE ||
|
1093
|
-
type.$$typeof === REACT_CONSUMER_TYPE ||
|
1094
|
-
type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
1095
|
-
type.$$typeof === REACT_CLIENT_REFERENCE ||
|
1096
|
-
void 0 !== type.getModuleId)) ||
|
1091
|
+
null == type &&
|
1097
1092
|
console.error(
|
1098
1093
|
"memo: The first argument must be a component. Instead received: %s",
|
1099
1094
|
null === type ? "null" : typeof type
|
@@ -1239,7 +1234,7 @@
|
|
1239
1234
|
exports.useTransition = function () {
|
1240
1235
|
return resolveDispatcher().useTransition();
|
1241
1236
|
};
|
1242
|
-
exports.version = "19.1.0-canary-
|
1237
|
+
exports.version = "19.1.0-canary-740a4f7a-20250325";
|
1243
1238
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
1244
1239
|
"function" ===
|
1245
1240
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
package/cjs/react.production.js
CHANGED
@@ -49,7 +49,7 @@
|
|
49
49
|
function getComponentNameFromType(type) {
|
50
50
|
if (null == type) return null;
|
51
51
|
if ("function" === typeof type)
|
52
|
-
return type.$$typeof === REACT_CLIENT_REFERENCE
|
52
|
+
return type.$$typeof === REACT_CLIENT_REFERENCE
|
53
53
|
? null
|
54
54
|
: type.displayName || type.name || null;
|
55
55
|
if ("string" === typeof type) return type;
|
@@ -123,6 +123,9 @@
|
|
123
123
|
var dispatcher = ReactSharedInternals.A;
|
124
124
|
return null === dispatcher ? null : dispatcher.getOwner();
|
125
125
|
}
|
126
|
+
function UnknownOwner() {
|
127
|
+
return Error("react-stack-top-frame");
|
128
|
+
}
|
126
129
|
function hasValidKey(config) {
|
127
130
|
if (hasOwnProperty.call(config, "key")) {
|
128
131
|
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
@@ -463,7 +466,12 @@
|
|
463
466
|
function createCacheNode() {
|
464
467
|
return { s: 0, v: void 0, o: null, p: null };
|
465
468
|
}
|
466
|
-
var ReactSharedInternals = {
|
469
|
+
var ReactSharedInternals = {
|
470
|
+
H: null,
|
471
|
+
A: null,
|
472
|
+
getCurrentStack: null,
|
473
|
+
recentlyCreatedOwnerStacks: 0
|
474
|
+
},
|
467
475
|
isArrayImpl = Array.isArray,
|
468
476
|
REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
469
477
|
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
|
@@ -480,7 +488,7 @@
|
|
480
488
|
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
481
489
|
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
|
482
490
|
MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
|
483
|
-
REACT_CLIENT_REFERENCE
|
491
|
+
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
484
492
|
hasOwnProperty = Object.prototype.hasOwnProperty,
|
485
493
|
assign = Object.assign,
|
486
494
|
createTask = console.createTask
|
@@ -488,12 +496,20 @@
|
|
488
496
|
: function () {
|
489
497
|
return null;
|
490
498
|
},
|
499
|
+
createFakeCallStack = {
|
500
|
+
"react-stack-bottom-frame": function (callStackForError) {
|
501
|
+
return callStackForError();
|
502
|
+
}
|
503
|
+
},
|
491
504
|
specialPropKeyWarningShown,
|
492
505
|
didWarnAboutOldJSXRuntime;
|
493
506
|
var didWarnAboutElementRef = {};
|
507
|
+
var unknownOwnerDebugStack = createFakeCallStack[
|
508
|
+
"react-stack-bottom-frame"
|
509
|
+
].bind(createFakeCallStack, UnknownOwner)();
|
510
|
+
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
494
511
|
var didWarnAboutMaps = !1,
|
495
|
-
userProvidedKeyEscapeRegex = /\/+/g
|
496
|
-
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
512
|
+
userProvidedKeyEscapeRegex = /\/+/g;
|
497
513
|
exports.Children = {
|
498
514
|
map: mapChildren,
|
499
515
|
forEach: function (children, forEachFunc, forEachContext) {
|
@@ -646,7 +662,6 @@
|
|
646
662
|
var node = arguments[i];
|
647
663
|
isValidElement(node) && node._store && (node._store.validated = 1);
|
648
664
|
}
|
649
|
-
var propName;
|
650
665
|
i = {};
|
651
666
|
node = null;
|
652
667
|
if (null != config)
|
@@ -687,6 +702,7 @@
|
|
687
702
|
? type.displayName || type.name || "Unknown"
|
688
703
|
: type
|
689
704
|
);
|
705
|
+
var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
690
706
|
return ReactElement(
|
691
707
|
type,
|
692
708
|
node,
|
@@ -694,8 +710,8 @@
|
|
694
710
|
void 0,
|
695
711
|
getOwner(),
|
696
712
|
i,
|
697
|
-
Error("react-stack-top-frame"),
|
698
|
-
createTask(getTaskName(type))
|
713
|
+
propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
|
714
|
+
propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
699
715
|
);
|
700
716
|
};
|
701
717
|
exports.createRef = function () {
|
@@ -753,23 +769,7 @@
|
|
753
769
|
};
|
754
770
|
};
|
755
771
|
exports.memo = function (type, compare) {
|
756
|
-
|
757
|
-
"function" === typeof type ||
|
758
|
-
type === REACT_FRAGMENT_TYPE ||
|
759
|
-
type === REACT_PROFILER_TYPE ||
|
760
|
-
type === REACT_STRICT_MODE_TYPE ||
|
761
|
-
type === REACT_SUSPENSE_TYPE ||
|
762
|
-
type === REACT_SUSPENSE_LIST_TYPE ||
|
763
|
-
type === REACT_ACTIVITY_TYPE ||
|
764
|
-
("object" === typeof type &&
|
765
|
-
null !== type &&
|
766
|
-
(type.$$typeof === REACT_LAZY_TYPE ||
|
767
|
-
type.$$typeof === REACT_MEMO_TYPE ||
|
768
|
-
type.$$typeof === REACT_CONTEXT_TYPE ||
|
769
|
-
type.$$typeof === REACT_CONSUMER_TYPE ||
|
770
|
-
type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
771
|
-
type.$$typeof === REACT_CLIENT_REFERENCE ||
|
772
|
-
void 0 !== type.getModuleId)) ||
|
772
|
+
null == type &&
|
773
773
|
console.error(
|
774
774
|
"memo: The first argument must be a component. Instead received: %s",
|
775
775
|
null === type ? "null" : typeof type
|
@@ -811,5 +811,5 @@
|
|
811
811
|
exports.useMemo = function (create, deps) {
|
812
812
|
return resolveDispatcher().useMemo(create, deps);
|
813
813
|
};
|
814
|
-
exports.version = "19.1.0-canary-
|
814
|
+
exports.version = "19.1.0-canary-740a4f7a-20250325";
|
815
815
|
})();
|