Skip to content

Commit 455c5c3

Browse files
committed
Remove disableIEWorkarounds (facebook#31756)
Based off facebook#31755 This is landed everywhere. DiffTrain build for [fb12845](facebook@fb12845)
1 parent a5106bb commit 455c5c3

23 files changed

+253
-161
lines changed

compiled-rn/VERSION_NATIVE_FB

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
19.1.0-native-fb-56ae4b8d-20241212
1+
19.1.0-native-fb-fb12845d-20241213

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<f6f674182308e831edb0a89eebbc13d3>>
10+
* @generated SignedSource<<1d24c956383007ef2228a8063ebe8934>>
1111
*/
1212

1313
"use strict";
@@ -420,5 +420,5 @@ __DEV__ &&
420420
exports.useFormStatus = function () {
421421
return resolveDispatcher().useHostTransitionStatus();
422422
};
423-
exports.version = "19.1.0-native-fb-56ae4b8d-20241212";
423+
exports.version = "19.1.0-native-fb-fb12845d-20241213";
424424
})();

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<adfa2c0c23732ae1c29273555baa72bd>>
10+
* @generated SignedSource<<2c9770f2de058ad6be1ceaede0107193>>
1111
*/
1212

1313
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
203203
exports.useFormStatus = function () {
204204
return ReactSharedInternals.H.useHostTransitionStatus();
205205
};
206-
exports.version = "19.1.0-native-fb-56ae4b8d-20241212";
206+
exports.version = "19.1.0-native-fb-fb12845d-20241213";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<adfa2c0c23732ae1c29273555baa72bd>>
10+
* @generated SignedSource<<2c9770f2de058ad6be1ceaede0107193>>
1111
*/
1212

1313
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
203203
exports.useFormStatus = function () {
204204
return ReactSharedInternals.H.useHostTransitionStatus();
205205
};
206-
exports.version = "19.1.0-native-fb-56ae4b8d-20241212";
206+
exports.version = "19.1.0-native-fb-fb12845d-20241213";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<18983e207027cdeffd3e7e5e144346c8>>
10+
* @generated SignedSource<<25dc727a4f4b12e8b8f3d2cfe8c7051f>>
1111
*/
1212

1313
/*
@@ -19272,7 +19272,7 @@ __DEV__ &&
1927219272
error$jscomp$0(
1927319273
"The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."
1927419274
);
19275-
else if (canDiffStyleForHydrationWarning) {
19275+
else {
1927619276
var clientValue;
1927719277
var delimiter = (clientValue = ""),
1927819278
styleName;
@@ -22234,11 +22234,6 @@ __DEV__ &&
2223422234
allNativeEvents = new Set(),
2223522235
registrationNameDependencies = {},
2223622236
possibleRegistrationNames = {},
22237-
canUseDOM = !(
22238-
"undefined" === typeof window ||
22239-
"undefined" === typeof window.document ||
22240-
"undefined" === typeof window.document.createElement
22241-
),
2224222237
hasReadOnlyValue = {
2224322238
button: !0,
2224422239
checkbox: !0,
@@ -22285,8 +22280,6 @@ __DEV__ &&
2228522280
containerTagInScope: null
2228622281
},
2228722282
didWarn = {},
22288-
MATH_NAMESPACE = "http://www.w3.org/1998/Math/MathML",
22289-
SVG_NAMESPACE = "http://www.w3.org/2000/svg",
2229022283
shorthandToLonghand = {
2229122284
animation:
2229222285
"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(
@@ -22437,6 +22430,8 @@ __DEV__ &&
2243722430
" "
2243822431
)
2243922432
),
22433+
MATH_NAMESPACE = "http://www.w3.org/1998/Math/MathML",
22434+
SVG_NAMESPACE = "http://www.w3.org/2000/svg",
2244022435
aliases = new Map([
2244122436
["acceptCharset", "accept-charset"],
2244222437
["htmlFor", "for"],
@@ -23085,6 +23080,11 @@ __DEV__ &&
2308523080
restoreTarget = null,
2308623081
restoreQueue = null,
2308723082
isInsideEventHandler = !1,
23083+
canUseDOM = !(
23084+
"undefined" === typeof window ||
23085+
"undefined" === typeof window.document ||
23086+
"undefined" === typeof window.document.createElement
23087+
),
2308823088
passiveBrowserEventsSupported = !1;
2308923089
if (canUseDOM)
2309023090
try {
@@ -25483,7 +25483,6 @@ __DEV__ &&
2548325483
didWarnFormActionMethod = !1,
2548425484
didWarnPopoverTargetObject = !1;
2548525485
var didWarnForNewBooleanPropsWithEmptyValue = {};
25486-
var canDiffStyleForHydrationWarning = !0;
2548725486
var NORMALIZE_NEWLINES_REGEX = /\r\n?/g,
2548825487
NORMALIZE_NULL_AND_REPLACEMENT_REGEX = /\u0000|\uFFFD/g,
2548925488
xlinkNamespace = "http://www.w3.org/1999/xlink",
@@ -25945,11 +25944,11 @@ __DEV__ &&
2594525944
};
2594625945
(function () {
2594725946
var isomorphicReactPackageVersion = React.version;
25948-
if ("19.1.0-native-fb-56ae4b8d-20241212" !== isomorphicReactPackageVersion)
25947+
if ("19.1.0-native-fb-fb12845d-20241213" !== isomorphicReactPackageVersion)
2594925948
throw Error(
2595025949
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
2595125950
(isomorphicReactPackageVersion +
25952-
"\n - react-dom: 19.1.0-native-fb-56ae4b8d-20241212\nLearn more: https://react.dev/warnings/version-mismatch")
25951+
"\n - react-dom: 19.1.0-native-fb-fb12845d-20241213\nLearn more: https://react.dev/warnings/version-mismatch")
2595325952
);
2595425953
})();
2595525954
("function" === typeof Map &&
@@ -25986,10 +25985,10 @@ __DEV__ &&
2598625985
!(function () {
2598725986
var internals = {
2598825987
bundleType: 1,
25989-
version: "19.1.0-native-fb-56ae4b8d-20241212",
25988+
version: "19.1.0-native-fb-fb12845d-20241213",
2599025989
rendererPackageName: "react-dom",
2599125990
currentDispatcherRef: ReactSharedInternals,
25992-
reconcilerVersion: "19.1.0-native-fb-56ae4b8d-20241212"
25991+
reconcilerVersion: "19.1.0-native-fb-fb12845d-20241213"
2599325992
};
2599425993
internals.overrideHookState = overrideHookState;
2599525994
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -26135,5 +26134,5 @@ __DEV__ &&
2613526134
listenToAllSupportedEvents(container);
2613626135
return new ReactDOMHydrationRoot(initialChildren);
2613726136
};
26138-
exports.version = "19.1.0-native-fb-56ae4b8d-20241212";
26137+
exports.version = "19.1.0-native-fb-fb12845d-20241213";
2613926138
})();

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<d30934ca70afe9f025d08040714f3152>>
10+
* @generated SignedSource<<0bb11a7986a8960e72017b34885fe6ae>>
1111
*/
1212

1313
/*
@@ -998,12 +998,7 @@ function registerDirectEvent(registrationName, dependencies) {
998998
)
999999
allNativeEvents.add(dependencies[registrationName]);
10001000
}
1001-
var canUseDOM = !(
1002-
"undefined" === typeof window ||
1003-
"undefined" === typeof window.document ||
1004-
"undefined" === typeof window.document.createElement
1005-
),
1006-
VALID_ATTRIBUTE_NAME_REGEX = RegExp(
1001+
var VALID_ATTRIBUTE_NAME_REGEX = RegExp(
10071002
"^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
10081003
),
10091004
illegalAttributeNameCache = {},
@@ -1625,7 +1620,12 @@ function getListener(inst, registrationName) {
16251620
);
16261621
return stateNode;
16271622
}
1628-
var passiveBrowserEventsSupported = !1;
1623+
var canUseDOM = !(
1624+
"undefined" === typeof window ||
1625+
"undefined" === typeof window.document ||
1626+
"undefined" === typeof window.document.createElement
1627+
),
1628+
passiveBrowserEventsSupported = !1;
16291629
if (canUseDOM)
16301630
try {
16311631
var options = {};
@@ -15871,14 +15871,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1587115871
};
1587215872
var isomorphicReactPackageVersion$jscomp$inline_1731 = React.version;
1587315873
if (
15874-
"19.1.0-native-fb-56ae4b8d-20241212" !==
15874+
"19.1.0-native-fb-fb12845d-20241213" !==
1587515875
isomorphicReactPackageVersion$jscomp$inline_1731
1587615876
)
1587715877
throw Error(
1587815878
formatProdErrorMessage(
1587915879
527,
1588015880
isomorphicReactPackageVersion$jscomp$inline_1731,
15881-
"19.1.0-native-fb-56ae4b8d-20241212"
15881+
"19.1.0-native-fb-fb12845d-20241213"
1588215882
)
1588315883
);
1588415884
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15900,10 +15900,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1590015900
};
1590115901
var internals$jscomp$inline_2186 = {
1590215902
bundleType: 0,
15903-
version: "19.1.0-native-fb-56ae4b8d-20241212",
15903+
version: "19.1.0-native-fb-fb12845d-20241213",
1590415904
rendererPackageName: "react-dom",
1590515905
currentDispatcherRef: ReactSharedInternals,
15906-
reconcilerVersion: "19.1.0-native-fb-56ae4b8d-20241212"
15906+
reconcilerVersion: "19.1.0-native-fb-fb12845d-20241213"
1590715907
};
1590815908
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1590915909
var hook$jscomp$inline_2187 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -16009,4 +16009,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1600916009
listenToAllSupportedEvents(container);
1601016010
return new ReactDOMHydrationRoot(initialChildren);
1601116011
};
16012-
exports.version = "19.1.0-native-fb-56ae4b8d-20241212";
16012+
exports.version = "19.1.0-native-fb-fb12845d-20241213";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<54fcc531da73848490de717b802245e2>>
10+
* @generated SignedSource<<c27fd5cd04e46aa443811809cd77aea3>>
1111
*/
1212

1313
/*
@@ -1093,12 +1093,7 @@ function registerDirectEvent(registrationName, dependencies) {
10931093
)
10941094
allNativeEvents.add(dependencies[registrationName]);
10951095
}
1096-
var canUseDOM = !(
1097-
"undefined" === typeof window ||
1098-
"undefined" === typeof window.document ||
1099-
"undefined" === typeof window.document.createElement
1100-
),
1101-
VALID_ATTRIBUTE_NAME_REGEX = RegExp(
1096+
var VALID_ATTRIBUTE_NAME_REGEX = RegExp(
11021097
"^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
11031098
),
11041099
illegalAttributeNameCache = {},
@@ -1720,7 +1715,12 @@ function getListener(inst, registrationName) {
17201715
);
17211716
return stateNode;
17221717
}
1723-
var passiveBrowserEventsSupported = !1;
1718+
var canUseDOM = !(
1719+
"undefined" === typeof window ||
1720+
"undefined" === typeof window.document ||
1721+
"undefined" === typeof window.document.createElement
1722+
),
1723+
passiveBrowserEventsSupported = !1;
17241724
if (canUseDOM)
17251725
try {
17261726
var options = {};
@@ -16524,14 +16524,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1652416524
};
1652516525
var isomorphicReactPackageVersion$jscomp$inline_1821 = React.version;
1652616526
if (
16527-
"19.1.0-native-fb-56ae4b8d-20241212" !==
16527+
"19.1.0-native-fb-fb12845d-20241213" !==
1652816528
isomorphicReactPackageVersion$jscomp$inline_1821
1652916529
)
1653016530
throw Error(
1653116531
formatProdErrorMessage(
1653216532
527,
1653316533
isomorphicReactPackageVersion$jscomp$inline_1821,
16534-
"19.1.0-native-fb-56ae4b8d-20241212"
16534+
"19.1.0-native-fb-fb12845d-20241213"
1653516535
)
1653616536
);
1653716537
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16553,10 +16553,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1655316553
};
1655416554
var internals$jscomp$inline_1828 = {
1655516555
bundleType: 0,
16556-
version: "19.1.0-native-fb-56ae4b8d-20241212",
16556+
version: "19.1.0-native-fb-fb12845d-20241213",
1655716557
rendererPackageName: "react-dom",
1655816558
currentDispatcherRef: ReactSharedInternals,
16559-
reconcilerVersion: "19.1.0-native-fb-56ae4b8d-20241212",
16559+
reconcilerVersion: "19.1.0-native-fb-fb12845d-20241213",
1656016560
getLaneLabelMap: function () {
1656116561
for (
1656216562
var map = new Map(), lane = 1, index$292 = 0;
@@ -16677,4 +16677,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1667716677
listenToAllSupportedEvents(container);
1667816678
return new ReactDOMHydrationRoot(initialChildren);
1667916679
};
16680-
exports.version = "19.1.0-native-fb-56ae4b8d-20241212";
16680+
exports.version = "19.1.0-native-fb-fb12845d-20241213";

0 commit comments

Comments
 (0)