react 19.2.0-canary-38ef6550-20250508 → 19.2.0-canary-21fdf308-20250508
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
@@ -57,6 +57,7 @@
|
|
57
57
|
this.refs = emptyObject;
|
58
58
|
this.updater = updater || ReactNoopUpdateQueue;
|
59
59
|
}
|
60
|
+
function noop() {}
|
60
61
|
function testStringCoercion(value) {
|
61
62
|
return "" + value;
|
62
63
|
}
|
@@ -286,7 +287,6 @@
|
|
286
287
|
? (checkKeyStringCoercion(element.key), escape("" + element.key))
|
287
288
|
: index.toString(36);
|
288
289
|
}
|
289
|
-
function noop$1() {}
|
290
290
|
function resolveThenable(thenable) {
|
291
291
|
switch (thenable.status) {
|
292
292
|
case "fulfilled":
|
@@ -296,7 +296,7 @@
|
|
296
296
|
default:
|
297
297
|
switch (
|
298
298
|
("string" === typeof thenable.status
|
299
|
-
? thenable.then(noop
|
299
|
+
? thenable.then(noop, noop)
|
300
300
|
: ((thenable.status = "pending"),
|
301
301
|
thenable.then(
|
302
302
|
function (fulfilledValue) {
|
@@ -501,7 +501,6 @@
|
|
501
501
|
function releaseAsyncTransition() {
|
502
502
|
ReactSharedInternals.asyncTransitions--;
|
503
503
|
}
|
504
|
-
function noop() {}
|
505
504
|
function enqueueTask(task) {
|
506
505
|
if (null === enqueueTaskImpl)
|
507
506
|
try {
|
@@ -1242,7 +1241,7 @@
|
|
1242
1241
|
exports.useTransition = function () {
|
1243
1242
|
return resolveDispatcher().useTransition();
|
1244
1243
|
};
|
1245
|
-
exports.version = "19.2.0-canary-
|
1244
|
+
exports.version = "19.2.0-canary-21fdf308-20250508";
|
1246
1245
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
1247
1246
|
"function" ===
|
1248
1247
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
package/cjs/react.production.js
CHANGED
@@ -71,8 +71,9 @@ var pureComponentPrototype = (PureComponent.prototype = new ComponentDummy());
|
|
71
71
|
pureComponentPrototype.constructor = PureComponent;
|
72
72
|
assign(pureComponentPrototype, Component.prototype);
|
73
73
|
pureComponentPrototype.isPureReactComponent = !0;
|
74
|
-
var isArrayImpl = Array.isArray
|
75
|
-
|
74
|
+
var isArrayImpl = Array.isArray;
|
75
|
+
function noop() {}
|
76
|
+
var ReactSharedInternals = { H: null, A: null, T: null, S: null },
|
76
77
|
hasOwnProperty = Object.prototype.hasOwnProperty;
|
77
78
|
function ReactElement(type, key, self, source, owner, props) {
|
78
79
|
self = props.ref;
|
@@ -116,7 +117,6 @@ function getElementKey(element, index) {
|
|
116
117
|
? escape("" + element.key)
|
117
118
|
: index.toString(36);
|
118
119
|
}
|
119
|
-
function noop$1() {}
|
120
120
|
function resolveThenable(thenable) {
|
121
121
|
switch (thenable.status) {
|
122
122
|
case "fulfilled":
|
@@ -126,7 +126,7 @@ function resolveThenable(thenable) {
|
|
126
126
|
default:
|
127
127
|
switch (
|
128
128
|
("string" === typeof thenable.status
|
129
|
-
? thenable.then(noop
|
129
|
+
? thenable.then(noop, noop)
|
130
130
|
: ((thenable.status = "pending"),
|
131
131
|
thenable.then(
|
132
132
|
function (fulfilledValue) {
|
@@ -315,7 +315,6 @@ var reportGlobalError =
|
|
315
315
|
}
|
316
316
|
console.error(error);
|
317
317
|
};
|
318
|
-
function noop() {}
|
319
318
|
exports.Children = {
|
320
319
|
map: mapChildren,
|
321
320
|
forEach: function (children, forEachFunc, forEachContext) {
|
@@ -541,4 +540,4 @@ exports.useSyncExternalStore = function (
|
|
541
540
|
exports.useTransition = function () {
|
542
541
|
return ReactSharedInternals.H.useTransition();
|
543
542
|
};
|
544
|
-
exports.version = "19.2.0-canary-
|
543
|
+
exports.version = "19.2.0-canary-21fdf308-20250508";
|
@@ -11,6 +11,7 @@
|
|
11
11
|
"use strict";
|
12
12
|
"production" !== process.env.NODE_ENV &&
|
13
13
|
(function () {
|
14
|
+
function noop() {}
|
14
15
|
function getIteratorFn(maybeIterable) {
|
15
16
|
if (null === maybeIterable || "object" !== typeof maybeIterable)
|
16
17
|
return null;
|
@@ -248,7 +249,6 @@
|
|
248
249
|
? (checkKeyStringCoercion(element.key), escape("" + element.key))
|
249
250
|
: index.toString(36);
|
250
251
|
}
|
251
|
-
function noop() {}
|
252
252
|
function resolveThenable(thenable) {
|
253
253
|
switch (thenable.status) {
|
254
254
|
case "fulfilled":
|
@@ -811,5 +811,5 @@
|
|
811
811
|
exports.useMemo = function (create, deps) {
|
812
812
|
return resolveDispatcher().useMemo(create, deps);
|
813
813
|
};
|
814
|
-
exports.version = "19.2.0-canary-
|
814
|
+
exports.version = "19.2.0-canary-21fdf308-20250508";
|
815
815
|
})();
|
@@ -25,8 +25,9 @@ function formatProdErrorMessage(code) {
|
|
25
25
|
" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."
|
26
26
|
);
|
27
27
|
}
|
28
|
-
var isArrayImpl = Array.isArray
|
29
|
-
|
28
|
+
var isArrayImpl = Array.isArray;
|
29
|
+
function noop() {}
|
30
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
30
31
|
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
|
31
32
|
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
32
33
|
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
|
@@ -87,7 +88,6 @@ function getElementKey(element, index) {
|
|
87
88
|
? escape("" + element.key)
|
88
89
|
: index.toString(36);
|
89
90
|
}
|
90
|
-
function noop() {}
|
91
91
|
function resolveThenable(thenable) {
|
92
92
|
switch (thenable.status) {
|
93
93
|
case "fulfilled":
|
@@ -426,4 +426,4 @@ exports.useId = function () {
|
|
426
426
|
exports.useMemo = function (create, deps) {
|
427
427
|
return ReactSharedInternals.H.useMemo(create, deps);
|
428
428
|
};
|
429
|
-
exports.version = "19.2.0-canary-
|
429
|
+
exports.version = "19.2.0-canary-21fdf308-20250508";
|