mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Include Component Props in Performance Track (#33655)
Similar to how we can include a Promise resolved value we can include
Component Props.
For now I left out props for Client Components for perf unless they
error. I'll try it for Client Components in general in a separate PR.
<img width="730" alt="Screenshot 2025-06-26 at 5 54 29 PM"
src="https://github.com/user-attachments/assets/f0c86911-2899-4b5f-b45f-5326bdbc630f"
/>
<img width="762" alt="Screenshot 2025-06-26 at 5 54 12 PM"
src="https://github.com/user-attachments/assets/97540d19-5950-4346-99e6-066af086040e"
/>
DiffTrain build for [d2a288febf](https://github.com/facebook/react/commit/d2a288febf61a1755b78ce98b3cb17dd412b81e3)
This commit is contained in:
@@ -1 +1 @@
|
||||
19.2.0-native-fb-9b2a545b-20250625
|
||||
19.2.0-native-fb-d2a288fe-20250627
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<7394847dfb7bbfabb08d4e5bae119e8e>>
|
||||
* @generated SignedSource<<dfcc6591110013fb80e4e831bedce59a>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -404,5 +404,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-9b2a545b-20250625";
|
||||
exports.version = "19.2.0-native-fb-d2a288fe-20250627";
|
||||
})();
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<46bb020febbefb5857caf0a4a28f6e6c>>
|
||||
* @generated SignedSource<<f52423f41942ed63f49af88f43f2507b>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-9b2a545b-20250625";
|
||||
exports.version = "19.2.0-native-fb-d2a288fe-20250627";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<46bb020febbefb5857caf0a4a28f6e6c>>
|
||||
* @generated SignedSource<<f52423f41942ed63f49af88f43f2507b>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-9b2a545b-20250625";
|
||||
exports.version = "19.2.0-native-fb-d2a288fe-20250627";
|
||||
|
||||
Vendored
+161
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<6c1a8b9a30fef259200b63e7b175baf0>>
|
||||
* @generated SignedSource<<e355cf9905136d20848cebe371abcfc9>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -3862,6 +3862,147 @@ __DEV__ &&
|
||||
topLevelEventsToReactNames.set(domEventName, reactName);
|
||||
registerTwoPhaseEvent(reactName, [domEventName]);
|
||||
}
|
||||
function getArrayKind(array) {
|
||||
for (var kind = EMPTY_ARRAY, i = 0; i < array.length; i++) {
|
||||
var value = array[i];
|
||||
if ("object" === typeof value && null !== value)
|
||||
if (
|
||||
isArrayImpl(value) &&
|
||||
2 === value.length &&
|
||||
"string" === typeof value[0]
|
||||
) {
|
||||
if (kind !== EMPTY_ARRAY && kind !== ENTRIES_ARRAY)
|
||||
return COMPLEX_ARRAY;
|
||||
kind = ENTRIES_ARRAY;
|
||||
} else return COMPLEX_ARRAY;
|
||||
else {
|
||||
if (
|
||||
"function" === typeof value ||
|
||||
("string" === typeof value && 50 < value.length) ||
|
||||
(kind !== EMPTY_ARRAY && kind !== PRIMITIVE_ARRAY)
|
||||
)
|
||||
return COMPLEX_ARRAY;
|
||||
kind = PRIMITIVE_ARRAY;
|
||||
}
|
||||
}
|
||||
return kind;
|
||||
}
|
||||
function addObjectToProperties(object, properties, indent) {
|
||||
for (var key in object)
|
||||
hasOwnProperty.call(object, key) &&
|
||||
"_" !== key[0] &&
|
||||
addValueToProperties(key, object[key], properties, indent);
|
||||
}
|
||||
function addValueToProperties(propertyName, value, properties, indent) {
|
||||
switch (typeof value) {
|
||||
case "object":
|
||||
if (null === value) {
|
||||
value = "null";
|
||||
break;
|
||||
} else {
|
||||
if (value.$$typeof === REACT_ELEMENT_TYPE) {
|
||||
var typeName = getComponentNameFromType(value.type) || "\u2026",
|
||||
key = value.key;
|
||||
value = value.props;
|
||||
var propsKeys = Object.keys(value),
|
||||
propsLength = propsKeys.length;
|
||||
if (null == key && 0 === propsLength) {
|
||||
value = "<" + typeName + " />";
|
||||
break;
|
||||
}
|
||||
if (
|
||||
3 > indent ||
|
||||
(1 === propsLength &&
|
||||
"children" === propsKeys[0] &&
|
||||
null == key)
|
||||
) {
|
||||
value = "<" + typeName + " \u2026 />";
|
||||
break;
|
||||
}
|
||||
properties.push([
|
||||
"\u00a0\u00a0".repeat(indent) + propertyName,
|
||||
"<" + typeName
|
||||
]);
|
||||
null !== key &&
|
||||
addValueToProperties("key", key, properties, indent + 1);
|
||||
propertyName = !1;
|
||||
for (var propKey in value)
|
||||
"children" === propKey
|
||||
? null != value.children &&
|
||||
(!isArrayImpl(value.children) ||
|
||||
0 < value.children.length) &&
|
||||
(propertyName = !0)
|
||||
: hasOwnProperty.call(value, propKey) &&
|
||||
"_" !== propKey[0] &&
|
||||
addValueToProperties(
|
||||
propKey,
|
||||
value[propKey],
|
||||
properties,
|
||||
indent + 1
|
||||
);
|
||||
properties.push([
|
||||
"",
|
||||
propertyName ? ">\u2026</" + typeName + ">" : "/>"
|
||||
]);
|
||||
return;
|
||||
}
|
||||
typeName = Object.prototype.toString.call(value);
|
||||
typeName = typeName.slice(8, typeName.length - 1);
|
||||
if ("Array" === typeName)
|
||||
if (
|
||||
((propKey = getArrayKind(value)),
|
||||
propKey === PRIMITIVE_ARRAY || propKey === EMPTY_ARRAY)
|
||||
) {
|
||||
value = JSON.stringify(value);
|
||||
break;
|
||||
} else if (propKey === ENTRIES_ARRAY) {
|
||||
properties.push([
|
||||
"\u00a0\u00a0".repeat(indent) + propertyName,
|
||||
""
|
||||
]);
|
||||
for (
|
||||
propertyName = 0;
|
||||
propertyName < value.length;
|
||||
propertyName++
|
||||
)
|
||||
(typeName = value[propertyName]),
|
||||
addValueToProperties(
|
||||
typeName[0],
|
||||
typeName[1],
|
||||
properties,
|
||||
indent + 1
|
||||
);
|
||||
return;
|
||||
}
|
||||
"Object" === typeName &&
|
||||
(propKey = Object.getPrototypeOf(value)) &&
|
||||
"function" === typeof propKey.constructor &&
|
||||
(typeName = propKey.constructor.name);
|
||||
properties.push([
|
||||
"\u00a0\u00a0".repeat(indent) + propertyName,
|
||||
"Object" === typeName ? (3 > indent ? "" : "\u2026") : typeName
|
||||
]);
|
||||
3 > indent && addObjectToProperties(value, properties, indent + 1);
|
||||
return;
|
||||
}
|
||||
case "function":
|
||||
value = "" === value.name ? "() => {}" : value.name + "() {}";
|
||||
break;
|
||||
case "string":
|
||||
value =
|
||||
value === OMITTED_PROP_ERROR ? "\u2026" : JSON.stringify(value);
|
||||
break;
|
||||
case "undefined":
|
||||
value = "undefined";
|
||||
break;
|
||||
case "boolean":
|
||||
value = value ? "true" : "false";
|
||||
break;
|
||||
default:
|
||||
value = String(value);
|
||||
}
|
||||
properties.push(["\u00a0\u00a0".repeat(indent) + propertyName, value]);
|
||||
}
|
||||
function setCurrentTrackFromLanes(lanes) {
|
||||
currentTrack =
|
||||
lanes & 127
|
||||
@@ -3970,6 +4111,10 @@ __DEV__ &&
|
||||
: String(capturedValue)
|
||||
]);
|
||||
}
|
||||
null !== fiber.key &&
|
||||
addValueToProperties("key", fiber.key, properties, 0);
|
||||
null !== fiber.memoizedProps &&
|
||||
addObjectToProperties(fiber.memoizedProps, properties, 0);
|
||||
null == debugTask && (debugTask = fiber._debugTask);
|
||||
fiber = {
|
||||
start: startTime,
|
||||
@@ -4023,6 +4168,10 @@ __DEV__ &&
|
||||
: String(error)
|
||||
]);
|
||||
}
|
||||
null !== fiber.key &&
|
||||
addValueToProperties("key", fiber.key, selfTime, 0);
|
||||
null !== fiber.memoizedProps &&
|
||||
addObjectToProperties(fiber.memoizedProps, selfTime, 0);
|
||||
startTime = {
|
||||
start: startTime,
|
||||
end: endTime,
|
||||
@@ -26070,6 +26219,12 @@ __DEV__ &&
|
||||
}
|
||||
console.error(error);
|
||||
},
|
||||
OMITTED_PROP_ERROR =
|
||||
"This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",
|
||||
EMPTY_ARRAY = 0,
|
||||
COMPLEX_ARRAY = 1,
|
||||
PRIMITIVE_ARRAY = 2,
|
||||
ENTRIES_ARRAY = 3,
|
||||
supportsUserTiming =
|
||||
"undefined" !== typeof console &&
|
||||
"function" === typeof console.timeStamp,
|
||||
@@ -28651,11 +28806,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-9b2a545b-20250625" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-d2a288fe-20250627" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.2.0-native-fb-9b2a545b-20250625\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-d2a288fe-20250627\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -28692,10 +28847,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-9b2a545b-20250625",
|
||||
version: "19.2.0-native-fb-d2a288fe-20250627",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625"
|
||||
reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -28833,5 +28988,5 @@ __DEV__ &&
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-9b2a545b-20250625";
|
||||
exports.version = "19.2.0-native-fb-d2a288fe-20250627";
|
||||
})();
|
||||
|
||||
compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js
Vendored
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<db4f84395e63c6f6c9bb77172c324ba2>>
|
||||
* @generated SignedSource<<e0b48ecf6a671f7b735d65f0789ae200>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17121,14 +17121,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2023 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-9b2a545b-20250625" !==
|
||||
"19.2.0-native-fb-d2a288fe-20250627" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2023
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2023,
|
||||
"19.2.0-native-fb-9b2a545b-20250625"
|
||||
"19.2.0-native-fb-d2a288fe-20250627"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17150,10 +17150,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2542 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-9b2a545b-20250625",
|
||||
version: "19.2.0-native-fb-d2a288fe-20250627",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625"
|
||||
reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2543 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17251,4 +17251,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-9b2a545b-20250625";
|
||||
exports.version = "19.2.0-native-fb-d2a288fe-20250627";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<0b0d2df6091656622e20f207eb80bdb3>>
|
||||
* @generated SignedSource<<efa93f01693dac89c31bcf46d19db1a4>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -19053,14 +19053,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2261 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-9b2a545b-20250625" !==
|
||||
"19.2.0-native-fb-d2a288fe-20250627" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2261
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2261,
|
||||
"19.2.0-native-fb-9b2a545b-20250625"
|
||||
"19.2.0-native-fb-d2a288fe-20250627"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19082,10 +19082,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2268 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-9b2a545b-20250625",
|
||||
version: "19.2.0-native-fb-d2a288fe-20250627",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625",
|
||||
reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$331 = 0;
|
||||
@@ -19198,4 +19198,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
||||
listenToAllSupportedEvents(container);
|
||||
return new ReactDOMHydrationRoot(initialChildren);
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-9b2a545b-20250625";
|
||||
exports.version = "19.2.0-native-fb-d2a288fe-20250627";
|
||||
|
||||
+161
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<2c3e4cd93ab0da16c0cd7de008f0c9eb>>
|
||||
* @generated SignedSource<<444544c412c344c68ea78789c663f5ed>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -3870,6 +3870,147 @@ __DEV__ &&
|
||||
topLevelEventsToReactNames.set(domEventName, reactName);
|
||||
registerTwoPhaseEvent(reactName, [domEventName]);
|
||||
}
|
||||
function getArrayKind(array) {
|
||||
for (var kind = EMPTY_ARRAY, i = 0; i < array.length; i++) {
|
||||
var value = array[i];
|
||||
if ("object" === typeof value && null !== value)
|
||||
if (
|
||||
isArrayImpl(value) &&
|
||||
2 === value.length &&
|
||||
"string" === typeof value[0]
|
||||
) {
|
||||
if (kind !== EMPTY_ARRAY && kind !== ENTRIES_ARRAY)
|
||||
return COMPLEX_ARRAY;
|
||||
kind = ENTRIES_ARRAY;
|
||||
} else return COMPLEX_ARRAY;
|
||||
else {
|
||||
if (
|
||||
"function" === typeof value ||
|
||||
("string" === typeof value && 50 < value.length) ||
|
||||
(kind !== EMPTY_ARRAY && kind !== PRIMITIVE_ARRAY)
|
||||
)
|
||||
return COMPLEX_ARRAY;
|
||||
kind = PRIMITIVE_ARRAY;
|
||||
}
|
||||
}
|
||||
return kind;
|
||||
}
|
||||
function addObjectToProperties(object, properties, indent) {
|
||||
for (var key in object)
|
||||
hasOwnProperty.call(object, key) &&
|
||||
"_" !== key[0] &&
|
||||
addValueToProperties(key, object[key], properties, indent);
|
||||
}
|
||||
function addValueToProperties(propertyName, value, properties, indent) {
|
||||
switch (typeof value) {
|
||||
case "object":
|
||||
if (null === value) {
|
||||
value = "null";
|
||||
break;
|
||||
} else {
|
||||
if (value.$$typeof === REACT_ELEMENT_TYPE) {
|
||||
var typeName = getComponentNameFromType(value.type) || "\u2026",
|
||||
key = value.key;
|
||||
value = value.props;
|
||||
var propsKeys = Object.keys(value),
|
||||
propsLength = propsKeys.length;
|
||||
if (null == key && 0 === propsLength) {
|
||||
value = "<" + typeName + " />";
|
||||
break;
|
||||
}
|
||||
if (
|
||||
3 > indent ||
|
||||
(1 === propsLength &&
|
||||
"children" === propsKeys[0] &&
|
||||
null == key)
|
||||
) {
|
||||
value = "<" + typeName + " \u2026 />";
|
||||
break;
|
||||
}
|
||||
properties.push([
|
||||
"\u00a0\u00a0".repeat(indent) + propertyName,
|
||||
"<" + typeName
|
||||
]);
|
||||
null !== key &&
|
||||
addValueToProperties("key", key, properties, indent + 1);
|
||||
propertyName = !1;
|
||||
for (var propKey in value)
|
||||
"children" === propKey
|
||||
? null != value.children &&
|
||||
(!isArrayImpl(value.children) ||
|
||||
0 < value.children.length) &&
|
||||
(propertyName = !0)
|
||||
: hasOwnProperty.call(value, propKey) &&
|
||||
"_" !== propKey[0] &&
|
||||
addValueToProperties(
|
||||
propKey,
|
||||
value[propKey],
|
||||
properties,
|
||||
indent + 1
|
||||
);
|
||||
properties.push([
|
||||
"",
|
||||
propertyName ? ">\u2026</" + typeName + ">" : "/>"
|
||||
]);
|
||||
return;
|
||||
}
|
||||
typeName = Object.prototype.toString.call(value);
|
||||
typeName = typeName.slice(8, typeName.length - 1);
|
||||
if ("Array" === typeName)
|
||||
if (
|
||||
((propKey = getArrayKind(value)),
|
||||
propKey === PRIMITIVE_ARRAY || propKey === EMPTY_ARRAY)
|
||||
) {
|
||||
value = JSON.stringify(value);
|
||||
break;
|
||||
} else if (propKey === ENTRIES_ARRAY) {
|
||||
properties.push([
|
||||
"\u00a0\u00a0".repeat(indent) + propertyName,
|
||||
""
|
||||
]);
|
||||
for (
|
||||
propertyName = 0;
|
||||
propertyName < value.length;
|
||||
propertyName++
|
||||
)
|
||||
(typeName = value[propertyName]),
|
||||
addValueToProperties(
|
||||
typeName[0],
|
||||
typeName[1],
|
||||
properties,
|
||||
indent + 1
|
||||
);
|
||||
return;
|
||||
}
|
||||
"Object" === typeName &&
|
||||
(propKey = Object.getPrototypeOf(value)) &&
|
||||
"function" === typeof propKey.constructor &&
|
||||
(typeName = propKey.constructor.name);
|
||||
properties.push([
|
||||
"\u00a0\u00a0".repeat(indent) + propertyName,
|
||||
"Object" === typeName ? (3 > indent ? "" : "\u2026") : typeName
|
||||
]);
|
||||
3 > indent && addObjectToProperties(value, properties, indent + 1);
|
||||
return;
|
||||
}
|
||||
case "function":
|
||||
value = "" === value.name ? "() => {}" : value.name + "() {}";
|
||||
break;
|
||||
case "string":
|
||||
value =
|
||||
value === OMITTED_PROP_ERROR ? "\u2026" : JSON.stringify(value);
|
||||
break;
|
||||
case "undefined":
|
||||
value = "undefined";
|
||||
break;
|
||||
case "boolean":
|
||||
value = value ? "true" : "false";
|
||||
break;
|
||||
default:
|
||||
value = String(value);
|
||||
}
|
||||
properties.push(["\u00a0\u00a0".repeat(indent) + propertyName, value]);
|
||||
}
|
||||
function setCurrentTrackFromLanes(lanes) {
|
||||
currentTrack =
|
||||
lanes & 127
|
||||
@@ -3978,6 +4119,10 @@ __DEV__ &&
|
||||
: String(capturedValue)
|
||||
]);
|
||||
}
|
||||
null !== fiber.key &&
|
||||
addValueToProperties("key", fiber.key, properties, 0);
|
||||
null !== fiber.memoizedProps &&
|
||||
addObjectToProperties(fiber.memoizedProps, properties, 0);
|
||||
null == debugTask && (debugTask = fiber._debugTask);
|
||||
fiber = {
|
||||
start: startTime,
|
||||
@@ -4031,6 +4176,10 @@ __DEV__ &&
|
||||
: String(error)
|
||||
]);
|
||||
}
|
||||
null !== fiber.key &&
|
||||
addValueToProperties("key", fiber.key, selfTime, 0);
|
||||
null !== fiber.memoizedProps &&
|
||||
addObjectToProperties(fiber.memoizedProps, selfTime, 0);
|
||||
startTime = {
|
||||
start: startTime,
|
||||
end: endTime,
|
||||
@@ -26126,6 +26275,12 @@ __DEV__ &&
|
||||
}
|
||||
console.error(error);
|
||||
},
|
||||
OMITTED_PROP_ERROR =
|
||||
"This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",
|
||||
EMPTY_ARRAY = 0,
|
||||
COMPLEX_ARRAY = 1,
|
||||
PRIMITIVE_ARRAY = 2,
|
||||
ENTRIES_ARRAY = 3,
|
||||
supportsUserTiming =
|
||||
"undefined" !== typeof console &&
|
||||
"function" === typeof console.timeStamp,
|
||||
@@ -28707,11 +28862,11 @@ __DEV__ &&
|
||||
};
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-9b2a545b-20250625" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-d2a288fe-20250627" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.2.0-native-fb-9b2a545b-20250625\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.2.0-native-fb-d2a288fe-20250627\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -28748,10 +28903,10 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-9b2a545b-20250625",
|
||||
version: "19.2.0-native-fb-d2a288fe-20250627",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625"
|
||||
reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -29205,7 +29360,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-9b2a545b-20250625";
|
||||
exports.version = "19.2.0-native-fb-d2a288fe-20250627";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<0d4eb1d709bd1629895e66144c92d77b>>
|
||||
* @generated SignedSource<<8bae5fcacbbefe3c235aa34848c1fe12>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -17132,14 +17132,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2024 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-9b2a545b-20250625" !==
|
||||
"19.2.0-native-fb-d2a288fe-20250627" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2024
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2024,
|
||||
"19.2.0-native-fb-9b2a545b-20250625"
|
||||
"19.2.0-native-fb-d2a288fe-20250627"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17161,10 +17161,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2545 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-9b2a545b-20250625",
|
||||
version: "19.2.0-native-fb-d2a288fe-20250627",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625"
|
||||
reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2546 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17415,4 +17415,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-9b2a545b-20250625";
|
||||
exports.version = "19.2.0-native-fb-d2a288fe-20250627";
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<0871f654c0cc239f1939cf9c707cb1ce>>
|
||||
* @generated SignedSource<<dbb6d99ad239c55f99162f0667afb15f>>
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -19068,14 +19068,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
||||
};
|
||||
var isomorphicReactPackageVersion$jscomp$inline_2262 = React.version;
|
||||
if (
|
||||
"19.2.0-native-fb-9b2a545b-20250625" !==
|
||||
"19.2.0-native-fb-d2a288fe-20250627" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_2262
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_2262,
|
||||
"19.2.0-native-fb-9b2a545b-20250625"
|
||||
"19.2.0-native-fb-d2a288fe-20250627"
|
||||
)
|
||||
);
|
||||
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
@@ -19097,10 +19097,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
||||
};
|
||||
var internals$jscomp$inline_2269 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-9b2a545b-20250625",
|
||||
version: "19.2.0-native-fb-d2a288fe-20250627",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625",
|
||||
reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$331 = 0;
|
||||
@@ -19366,7 +19366,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-9b2a545b-20250625";
|
||||
exports.version = "19.2.0-native-fb-d2a288fe-20250627";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<8c671086a9b60571ed0a98867b1788ed>>
|
||||
* @generated SignedSource<<6baf023a528bd4df1f214fef4f9cb0b2>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -13845,6 +13845,7 @@ __DEV__ &&
|
||||
}
|
||||
console.error(error);
|
||||
},
|
||||
hasOwnProperty = Object.prototype.hasOwnProperty,
|
||||
disabledDepth = 0,
|
||||
prevLog,
|
||||
prevInfo,
|
||||
@@ -13935,7 +13936,6 @@ __DEV__ &&
|
||||
prevOnStartTransitionFinish(transition, returnValue);
|
||||
};
|
||||
var resumedCache = createCursor(null),
|
||||
hasOwnProperty = Object.prototype.hasOwnProperty,
|
||||
ReactStrictModeWarnings = {
|
||||
recordUnsafeLifecycleWarnings: function () {},
|
||||
flushPendingUnsafeLifecycleWarnings: function () {},
|
||||
@@ -15722,10 +15722,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-9b2a545b-20250625",
|
||||
version: "19.2.0-native-fb-d2a288fe-20250627",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625"
|
||||
reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15870,5 +15870,5 @@ __DEV__ &&
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-9b2a545b-20250625";
|
||||
exports.version = "19.2.0-native-fb-d2a288fe-20250627";
|
||||
})();
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<97cbb346ddd2b1bcb00e8360a1ef82bf>>
|
||||
* @generated SignedSource<<c84f8c8135d52fee47f3e4218253fb75>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -777,6 +777,7 @@ var objectIs = "function" === typeof Object.is ? Object.is : is,
|
||||
}
|
||||
console.error(error);
|
||||
},
|
||||
hasOwnProperty = Object.prototype.hasOwnProperty,
|
||||
prefix,
|
||||
suffix;
|
||||
function describeBuiltInComponentFrame(name) {
|
||||
@@ -1520,7 +1521,6 @@ function getSuspendedCache() {
|
||||
? null
|
||||
: { parent: CacheContext._currentValue2, pool: cacheFromPool };
|
||||
}
|
||||
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
||||
function shallowEqual(objA, objB) {
|
||||
if (objectIs(objA, objB)) return !0;
|
||||
if (
|
||||
@@ -9905,10 +9905,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1453 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-9b2a545b-20250625",
|
||||
version: "19.2.0-native-fb-d2a288fe-20250627",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625"
|
||||
reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1454 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -10044,4 +10044,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-9b2a545b-20250625";
|
||||
exports.version = "19.2.0-native-fb-d2a288fe-20250627";
|
||||
|
||||
+5
-5
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<c0639191f928a48fcc462eb3b614ab82>>
|
||||
* @generated SignedSource<<0f9c486840bf4438d803b6b4760b1522>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -825,6 +825,7 @@ var objectIs = "function" === typeof Object.is ? Object.is : is,
|
||||
}
|
||||
console.error(error);
|
||||
},
|
||||
hasOwnProperty = Object.prototype.hasOwnProperty,
|
||||
prefix,
|
||||
suffix;
|
||||
function describeBuiltInComponentFrame(name) {
|
||||
@@ -1636,7 +1637,6 @@ function getSuspendedCache() {
|
||||
? null
|
||||
: { parent: CacheContext._currentValue2, pool: cacheFromPool };
|
||||
}
|
||||
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
||||
function shallowEqual(objA, objB) {
|
||||
if (objectIs(objA, objB)) return !0;
|
||||
if (
|
||||
@@ -10525,10 +10525,10 @@ function wrapFiber(fiber) {
|
||||
}
|
||||
var internals$jscomp$inline_1260 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-9b2a545b-20250625",
|
||||
version: "19.2.0-native-fb-d2a288fe-20250627",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625",
|
||||
reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627",
|
||||
getLaneLabelMap: function () {
|
||||
for (
|
||||
var map = new Map(), lane = 1, index$155 = 0;
|
||||
@@ -10679,4 +10679,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
|
||||
flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-9b2a545b-20250625";
|
||||
exports.version = "19.2.0-native-fb-d2a288fe-20250627";
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<b1b731aff879fef4c359bfd5980bd0b0>>
|
||||
* @generated SignedSource<<bf8470232acdbcd88eecab3d07931953>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1413,7 +1413,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-9b2a545b-20250625";
|
||||
exports.version = "19.2.0-native-fb-d2a288fe-20250627";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<38daa3796e4d48ffaf96d31eb54a75e1>>
|
||||
* @generated SignedSource<<6aff2a852435afff03039a25a5cf15e4>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -589,4 +589,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-9b2a545b-20250625";
|
||||
exports.version = "19.2.0-native-fb-d2a288fe-20250627";
|
||||
|
||||
Vendored
+2
-2
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<42c6b09a1691d2b650f78419fe460786>>
|
||||
* @generated SignedSource<<6060bc0e3f53788296519e446c79636e>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -593,7 +593,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.2.0-native-fb-9b2a545b-20250625";
|
||||
exports.version = "19.2.0-native-fb-d2a288fe-20250627";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
9b2a545b32ef19c6b67812d2c3444a709406a58b
|
||||
d2a288febf61a1755b78ce98b3cb17dd412b81e3
|
||||
|
||||
+155
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<c0effcaef2efed980b9731887bccbab6>>
|
||||
* @generated SignedSource<<4b617b15c74b177d965a8ea2b97671e2>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1984,6 +1984,149 @@ __DEV__ &&
|
||||
function is(x, y) {
|
||||
return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
|
||||
}
|
||||
function getArrayKind(array) {
|
||||
for (var kind = 0, i = 0; i < array.length; i++) {
|
||||
var value = array[i];
|
||||
if ("object" === typeof value && null !== value)
|
||||
if (
|
||||
isArrayImpl(value) &&
|
||||
2 === value.length &&
|
||||
"string" === typeof value[0]
|
||||
) {
|
||||
if (0 !== kind && 3 !== kind) return 1;
|
||||
kind = 3;
|
||||
} else return 1;
|
||||
else {
|
||||
if (
|
||||
"function" === typeof value ||
|
||||
("string" === typeof value && 50 < value.length) ||
|
||||
(0 !== kind && 2 !== kind)
|
||||
)
|
||||
return 1;
|
||||
kind = 2;
|
||||
}
|
||||
}
|
||||
return kind;
|
||||
}
|
||||
function addObjectToProperties(object, properties, indent) {
|
||||
for (var key in object)
|
||||
hasOwnProperty.call(object, key) &&
|
||||
"_" !== key[0] &&
|
||||
addValueToProperties(key, object[key], properties, indent);
|
||||
}
|
||||
function addValueToProperties(propertyName, value, properties, indent) {
|
||||
switch (typeof value) {
|
||||
case "object":
|
||||
if (null === value) {
|
||||
value = "null";
|
||||
break;
|
||||
} else {
|
||||
if (value.$$typeof === REACT_ELEMENT_TYPE) {
|
||||
var typeName = getComponentNameFromType(value.type) || "\u2026",
|
||||
key = value.key;
|
||||
value = value.props;
|
||||
var propsKeys = Object.keys(value),
|
||||
propsLength = propsKeys.length;
|
||||
if (null == key && 0 === propsLength) {
|
||||
value = "<" + typeName + " />";
|
||||
break;
|
||||
}
|
||||
if (
|
||||
3 > indent ||
|
||||
(1 === propsLength &&
|
||||
"children" === propsKeys[0] &&
|
||||
null == key)
|
||||
) {
|
||||
value = "<" + typeName + " \u2026 />";
|
||||
break;
|
||||
}
|
||||
properties.push([
|
||||
"\u00a0\u00a0".repeat(indent) + propertyName,
|
||||
"<" + typeName
|
||||
]);
|
||||
null !== key &&
|
||||
addValueToProperties("key", key, properties, indent + 1);
|
||||
propertyName = !1;
|
||||
for (var propKey in value)
|
||||
"children" === propKey
|
||||
? null != value.children &&
|
||||
(!isArrayImpl(value.children) ||
|
||||
0 < value.children.length) &&
|
||||
(propertyName = !0)
|
||||
: hasOwnProperty.call(value, propKey) &&
|
||||
"_" !== propKey[0] &&
|
||||
addValueToProperties(
|
||||
propKey,
|
||||
value[propKey],
|
||||
properties,
|
||||
indent + 1
|
||||
);
|
||||
properties.push([
|
||||
"",
|
||||
propertyName ? ">\u2026</" + typeName + ">" : "/>"
|
||||
]);
|
||||
return;
|
||||
}
|
||||
typeName = Object.prototype.toString.call(value);
|
||||
typeName = typeName.slice(8, typeName.length - 1);
|
||||
if ("Array" === typeName)
|
||||
if (
|
||||
((propKey = getArrayKind(value)),
|
||||
2 === propKey || 0 === propKey)
|
||||
) {
|
||||
value = JSON.stringify(value);
|
||||
break;
|
||||
} else if (3 === propKey) {
|
||||
properties.push([
|
||||
"\u00a0\u00a0".repeat(indent) + propertyName,
|
||||
""
|
||||
]);
|
||||
for (
|
||||
propertyName = 0;
|
||||
propertyName < value.length;
|
||||
propertyName++
|
||||
)
|
||||
(typeName = value[propertyName]),
|
||||
addValueToProperties(
|
||||
typeName[0],
|
||||
typeName[1],
|
||||
properties,
|
||||
indent + 1
|
||||
);
|
||||
return;
|
||||
}
|
||||
"Object" === typeName &&
|
||||
(propKey = Object.getPrototypeOf(value)) &&
|
||||
"function" === typeof propKey.constructor &&
|
||||
(typeName = propKey.constructor.name);
|
||||
properties.push([
|
||||
"\u00a0\u00a0".repeat(indent) + propertyName,
|
||||
"Object" === typeName ? (3 > indent ? "" : "\u2026") : typeName
|
||||
]);
|
||||
3 > indent && addObjectToProperties(value, properties, indent + 1);
|
||||
return;
|
||||
}
|
||||
case "function":
|
||||
value = "" === value.name ? "() => {}" : value.name + "() {}";
|
||||
break;
|
||||
case "string":
|
||||
value =
|
||||
"This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects." ===
|
||||
value
|
||||
? "\u2026"
|
||||
: JSON.stringify(value);
|
||||
break;
|
||||
case "undefined":
|
||||
value = "undefined";
|
||||
break;
|
||||
case "boolean":
|
||||
value = value ? "true" : "false";
|
||||
break;
|
||||
default:
|
||||
value = String(value);
|
||||
}
|
||||
properties.push(["\u00a0\u00a0".repeat(indent) + propertyName, value]);
|
||||
}
|
||||
function setCurrentTrackFromLanes(lanes) {
|
||||
currentTrack =
|
||||
lanes & 127
|
||||
@@ -2092,6 +2235,10 @@ __DEV__ &&
|
||||
: String(capturedValue)
|
||||
]);
|
||||
}
|
||||
null !== fiber.key &&
|
||||
addValueToProperties("key", fiber.key, properties, 0);
|
||||
null !== fiber.memoizedProps &&
|
||||
addObjectToProperties(fiber.memoizedProps, properties, 0);
|
||||
null == debugTask && (debugTask = fiber._debugTask);
|
||||
fiber = {
|
||||
start: startTime,
|
||||
@@ -2145,6 +2292,10 @@ __DEV__ &&
|
||||
: String(error)
|
||||
]);
|
||||
}
|
||||
null !== fiber.key &&
|
||||
addValueToProperties("key", fiber.key, selfTime, 0);
|
||||
null !== fiber.memoizedProps &&
|
||||
addObjectToProperties(fiber.memoizedProps, selfTime, 0);
|
||||
startTime = {
|
||||
start: startTime,
|
||||
end: endTime,
|
||||
@@ -16800,6 +16951,7 @@ __DEV__ &&
|
||||
}
|
||||
console.error(error);
|
||||
},
|
||||
hasOwnProperty = Object.prototype.hasOwnProperty,
|
||||
supportsUserTiming =
|
||||
"undefined" !== typeof console &&
|
||||
"function" === typeof console.timeStamp,
|
||||
@@ -16920,7 +17072,6 @@ __DEV__ &&
|
||||
prevOnStartTransitionFinish(transition, returnValue);
|
||||
};
|
||||
var resumedCache = createCursor(null),
|
||||
hasOwnProperty = Object.prototype.hasOwnProperty,
|
||||
ReactStrictModeWarnings = {
|
||||
recordUnsafeLifecycleWarnings: function () {},
|
||||
flushPendingUnsafeLifecycleWarnings: function () {},
|
||||
@@ -18875,10 +19026,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-9b2a545b-20250625",
|
||||
version: "19.2.0-native-fb-d2a288fe-20250627",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625"
|
||||
reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<3b2b558b0f53bb44eda50c63a6813755>>
|
||||
* @generated SignedSource<<02e4bc0a247bcc2fae03f4320b37655d>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -1967,6 +1967,7 @@ var objectIs = "function" === typeof Object.is ? Object.is : is,
|
||||
}
|
||||
console.error(error);
|
||||
},
|
||||
hasOwnProperty = Object.prototype.hasOwnProperty,
|
||||
CapturedStacks = new WeakMap();
|
||||
function createCapturedValueAtFiber(value, source) {
|
||||
if ("object" === typeof value && null !== value) {
|
||||
@@ -2533,7 +2534,6 @@ function getSuspendedCache() {
|
||||
? null
|
||||
: { parent: CacheContext._currentValue2, pool: cacheFromPool };
|
||||
}
|
||||
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
||||
function shallowEqual(objA, objB) {
|
||||
if (objectIs(objA, objB)) return !0;
|
||||
if (
|
||||
@@ -11029,10 +11029,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1257 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-9b2a545b-20250625",
|
||||
version: "19.2.0-native-fb-d2a288fe-20250627",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625"
|
||||
reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1257.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+4
-4
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<2e72debd304412209eef28fe72c1b611>>
|
||||
* @generated SignedSource<<12db920ecc8365f81d0133beb896453f>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -2051,6 +2051,7 @@ var objectIs = "function" === typeof Object.is ? Object.is : is,
|
||||
}
|
||||
console.error(error);
|
||||
},
|
||||
hasOwnProperty = Object.prototype.hasOwnProperty,
|
||||
supportsUserTiming =
|
||||
"undefined" !== typeof console && "function" === typeof console.timeStamp,
|
||||
currentTrack = "Blocking";
|
||||
@@ -2923,7 +2924,6 @@ function getSuspendedCache() {
|
||||
? null
|
||||
: { parent: CacheContext._currentValue2, pool: cacheFromPool };
|
||||
}
|
||||
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
||||
function shallowEqual(objA, objB) {
|
||||
if (objectIs(objA, objB)) return !0;
|
||||
if (
|
||||
@@ -12932,10 +12932,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1490 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-9b2a545b-20250625",
|
||||
version: "19.2.0-native-fb-d2a288fe-20250627",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625"
|
||||
reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1490.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+157
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<db179337239a2809f5a2be6a1b6a792f>>
|
||||
* @generated SignedSource<<b729f68458d0c297ef6f367f5d622a1e>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -2349,6 +2349,149 @@ __DEV__ &&
|
||||
function is(x, y) {
|
||||
return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
|
||||
}
|
||||
function getArrayKind(array) {
|
||||
for (var kind = 0, i = 0; i < array.length; i++) {
|
||||
var value = array[i];
|
||||
if ("object" === typeof value && null !== value)
|
||||
if (
|
||||
isArrayImpl(value) &&
|
||||
2 === value.length &&
|
||||
"string" === typeof value[0]
|
||||
) {
|
||||
if (0 !== kind && 3 !== kind) return 1;
|
||||
kind = 3;
|
||||
} else return 1;
|
||||
else {
|
||||
if (
|
||||
"function" === typeof value ||
|
||||
("string" === typeof value && 50 < value.length) ||
|
||||
(0 !== kind && 2 !== kind)
|
||||
)
|
||||
return 1;
|
||||
kind = 2;
|
||||
}
|
||||
}
|
||||
return kind;
|
||||
}
|
||||
function addObjectToProperties(object, properties, indent) {
|
||||
for (var key in object)
|
||||
hasOwnProperty.call(object, key) &&
|
||||
"_" !== key[0] &&
|
||||
addValueToProperties(key, object[key], properties, indent);
|
||||
}
|
||||
function addValueToProperties(propertyName, value, properties, indent) {
|
||||
switch (typeof value) {
|
||||
case "object":
|
||||
if (null === value) {
|
||||
value = "null";
|
||||
break;
|
||||
} else {
|
||||
if (value.$$typeof === REACT_ELEMENT_TYPE) {
|
||||
var typeName = getComponentNameFromType(value.type) || "\u2026",
|
||||
key = value.key;
|
||||
value = value.props;
|
||||
var propsKeys = Object.keys(value),
|
||||
propsLength = propsKeys.length;
|
||||
if (null == key && 0 === propsLength) {
|
||||
value = "<" + typeName + " />";
|
||||
break;
|
||||
}
|
||||
if (
|
||||
3 > indent ||
|
||||
(1 === propsLength &&
|
||||
"children" === propsKeys[0] &&
|
||||
null == key)
|
||||
) {
|
||||
value = "<" + typeName + " \u2026 />";
|
||||
break;
|
||||
}
|
||||
properties.push([
|
||||
"\u00a0\u00a0".repeat(indent) + propertyName,
|
||||
"<" + typeName
|
||||
]);
|
||||
null !== key &&
|
||||
addValueToProperties("key", key, properties, indent + 1);
|
||||
propertyName = !1;
|
||||
for (var propKey in value)
|
||||
"children" === propKey
|
||||
? null != value.children &&
|
||||
(!isArrayImpl(value.children) ||
|
||||
0 < value.children.length) &&
|
||||
(propertyName = !0)
|
||||
: hasOwnProperty.call(value, propKey) &&
|
||||
"_" !== propKey[0] &&
|
||||
addValueToProperties(
|
||||
propKey,
|
||||
value[propKey],
|
||||
properties,
|
||||
indent + 1
|
||||
);
|
||||
properties.push([
|
||||
"",
|
||||
propertyName ? ">\u2026</" + typeName + ">" : "/>"
|
||||
]);
|
||||
return;
|
||||
}
|
||||
typeName = Object.prototype.toString.call(value);
|
||||
typeName = typeName.slice(8, typeName.length - 1);
|
||||
if ("Array" === typeName)
|
||||
if (
|
||||
((propKey = getArrayKind(value)),
|
||||
2 === propKey || 0 === propKey)
|
||||
) {
|
||||
value = JSON.stringify(value);
|
||||
break;
|
||||
} else if (3 === propKey) {
|
||||
properties.push([
|
||||
"\u00a0\u00a0".repeat(indent) + propertyName,
|
||||
""
|
||||
]);
|
||||
for (
|
||||
propertyName = 0;
|
||||
propertyName < value.length;
|
||||
propertyName++
|
||||
)
|
||||
(typeName = value[propertyName]),
|
||||
addValueToProperties(
|
||||
typeName[0],
|
||||
typeName[1],
|
||||
properties,
|
||||
indent + 1
|
||||
);
|
||||
return;
|
||||
}
|
||||
"Object" === typeName &&
|
||||
(propKey = Object.getPrototypeOf(value)) &&
|
||||
"function" === typeof propKey.constructor &&
|
||||
(typeName = propKey.constructor.name);
|
||||
properties.push([
|
||||
"\u00a0\u00a0".repeat(indent) + propertyName,
|
||||
"Object" === typeName ? (3 > indent ? "" : "\u2026") : typeName
|
||||
]);
|
||||
3 > indent && addObjectToProperties(value, properties, indent + 1);
|
||||
return;
|
||||
}
|
||||
case "function":
|
||||
value = "" === value.name ? "() => {}" : value.name + "() {}";
|
||||
break;
|
||||
case "string":
|
||||
value =
|
||||
"This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects." ===
|
||||
value
|
||||
? "\u2026"
|
||||
: JSON.stringify(value);
|
||||
break;
|
||||
case "undefined":
|
||||
value = "undefined";
|
||||
break;
|
||||
case "boolean":
|
||||
value = value ? "true" : "false";
|
||||
break;
|
||||
default:
|
||||
value = String(value);
|
||||
}
|
||||
properties.push(["\u00a0\u00a0".repeat(indent) + propertyName, value]);
|
||||
}
|
||||
function setCurrentTrackFromLanes(lanes) {
|
||||
currentTrack =
|
||||
lanes & 127
|
||||
@@ -2457,6 +2600,10 @@ __DEV__ &&
|
||||
: String(capturedValue)
|
||||
]);
|
||||
}
|
||||
null !== fiber.key &&
|
||||
addValueToProperties("key", fiber.key, properties, 0);
|
||||
null !== fiber.memoizedProps &&
|
||||
addObjectToProperties(fiber.memoizedProps, properties, 0);
|
||||
null == debugTask && (debugTask = fiber._debugTask);
|
||||
fiber = {
|
||||
start: startTime,
|
||||
@@ -2510,6 +2657,10 @@ __DEV__ &&
|
||||
: String(error)
|
||||
]);
|
||||
}
|
||||
null !== fiber.key &&
|
||||
addValueToProperties("key", fiber.key, selfTime, 0);
|
||||
null !== fiber.memoizedProps &&
|
||||
addObjectToProperties(fiber.memoizedProps, selfTime, 0);
|
||||
startTime = {
|
||||
start: startTime,
|
||||
end: endTime,
|
||||
@@ -17415,6 +17566,7 @@ __DEV__ &&
|
||||
}
|
||||
console.error(error);
|
||||
},
|
||||
hasOwnProperty = Object.prototype.hasOwnProperty,
|
||||
supportsUserTiming =
|
||||
"undefined" !== typeof console &&
|
||||
"function" === typeof console.timeStamp,
|
||||
@@ -17536,7 +17688,6 @@ __DEV__ &&
|
||||
prevOnStartTransitionFinish(transition, returnValue);
|
||||
};
|
||||
var resumedCache = createCursor(null),
|
||||
hasOwnProperty = Object.prototype.hasOwnProperty,
|
||||
ReactStrictModeWarnings = {
|
||||
recordUnsafeLifecycleWarnings: function () {},
|
||||
flushPendingUnsafeLifecycleWarnings: function () {},
|
||||
@@ -19208,11 +19359,11 @@ __DEV__ &&
|
||||
shouldSuspendImpl = newShouldSuspendImpl;
|
||||
};
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-9b2a545b-20250625" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-d2a288fe-20250627" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-9b2a545b-20250625\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-d2a288fe-20250627\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -19238,10 +19389,10 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.2.0-native-fb-9b2a545b-20250625",
|
||||
version: "19.2.0-native-fb-d2a288fe-20250627",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625"
|
||||
reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<50d842831d8ed762cafb7c1a2f528f34>>
|
||||
* @generated SignedSource<<d10214f6ba5b69d0a527a463a9132ce5>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -2357,6 +2357,7 @@ var objectIs = "function" === typeof Object.is ? Object.is : is,
|
||||
}
|
||||
console.error(error);
|
||||
},
|
||||
hasOwnProperty = Object.prototype.hasOwnProperty,
|
||||
CapturedStacks = new WeakMap();
|
||||
function createCapturedValueAtFiber(value, source) {
|
||||
if ("object" === typeof value && null !== value) {
|
||||
@@ -2923,7 +2924,6 @@ function getSuspendedCache() {
|
||||
? null
|
||||
: { parent: CacheContext._currentValue, pool: cacheFromPool };
|
||||
}
|
||||
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
||||
function shallowEqual(objA, objB) {
|
||||
if (objectIs(objA, objB)) return !0;
|
||||
if (
|
||||
@@ -11221,11 +11221,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-9b2a545b-20250625" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-d2a288fe-20250627" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-9b2a545b-20250625\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-d2a288fe-20250627\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -11275,10 +11275,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1313 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-9b2a545b-20250625",
|
||||
version: "19.2.0-native-fb-d2a288fe-20250627",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625"
|
||||
reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1313.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
+6
-6
@@ -7,7 +7,7 @@
|
||||
* @noflow
|
||||
* @nolint
|
||||
* @preventMunge
|
||||
* @generated SignedSource<<cc70a8dfe552293724e2c8051de97c74>>
|
||||
* @generated SignedSource<<543dff89d49955e26d2eb7c3f7a76773>>
|
||||
*/
|
||||
|
||||
"use strict";
|
||||
@@ -2441,6 +2441,7 @@ var objectIs = "function" === typeof Object.is ? Object.is : is,
|
||||
}
|
||||
console.error(error);
|
||||
},
|
||||
hasOwnProperty = Object.prototype.hasOwnProperty,
|
||||
supportsUserTiming =
|
||||
"undefined" !== typeof console && "function" === typeof console.timeStamp,
|
||||
currentTrack = "Blocking";
|
||||
@@ -3310,7 +3311,6 @@ function getSuspendedCache() {
|
||||
? null
|
||||
: { parent: CacheContext._currentValue, pool: cacheFromPool };
|
||||
}
|
||||
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
||||
function shallowEqual(objA, objB) {
|
||||
if (objectIs(objA, objB)) return !0;
|
||||
if (
|
||||
@@ -13113,11 +13113,11 @@ function updateContainer(element, container, parentComponent, callback) {
|
||||
return lane;
|
||||
}
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.2.0-native-fb-9b2a545b-20250625" !== isomorphicReactPackageVersion)
|
||||
if ("19.2.0-native-fb-d2a288fe-20250627" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-9b2a545b-20250625\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-native-renderer: 19.2.0-native-fb-d2a288fe-20250627\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
if (
|
||||
"function" !==
|
||||
@@ -13167,10 +13167,10 @@ batchedUpdatesImpl = function (fn, a) {
|
||||
var roots = new Map(),
|
||||
internals$jscomp$inline_1546 = {
|
||||
bundleType: 0,
|
||||
version: "19.2.0-native-fb-9b2a545b-20250625",
|
||||
version: "19.2.0-native-fb-d2a288fe-20250627",
|
||||
rendererPackageName: "react-native-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
reconcilerVersion: "19.2.0-native-fb-9b2a545b-20250625"
|
||||
reconcilerVersion: "19.2.0-native-fb-d2a288fe-20250627"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals$jscomp$inline_1546.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "eslint-plugin-react-hooks",
|
||||
"description": "ESLint rules for React Hooks",
|
||||
"version": "0.0.0-experimental-9b2a545b-20250625",
|
||||
"version": "0.0.0-experimental-d2a288fe-20250627",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/facebook/react.git",
|
||||
|
||||
Reference in New Issue
Block a user