Skip to content

Commit

Permalink
Remove disableIEWorkarounds (facebook#31756)
Browse files Browse the repository at this point in the history
Based off facebook#31755

This is landed everywhere.

DiffTrain build for [fb12845](facebook@fb12845)
  • Loading branch information
pull[bot] committed Dec 13, 2024
1 parent a5106bb commit 455c5c3
Show file tree
Hide file tree
Showing 23 changed files with 253 additions and 161 deletions.
2 changes: 1 addition & 1 deletion compiled-rn/VERSION_NATIVE_FB
Original file line number Diff line number Diff line change
@@ -1 +1 @@
19.1.0-native-fb-56ae4b8d-20241212
19.1.0-native-fb-fb12845d-20241213
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<f6f674182308e831edb0a89eebbc13d3>>
* @generated SignedSource<<1d24c956383007ef2228a8063ebe8934>>
*/

"use strict";
Expand Down Expand Up @@ -420,5 +420,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-56ae4b8d-20241212";
exports.version = "19.1.0-native-fb-fb12845d-20241213";
})();
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<adfa2c0c23732ae1c29273555baa72bd>>
* @generated SignedSource<<2c9770f2de058ad6be1ceaede0107193>>
*/

"use strict";
Expand Down Expand Up @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-56ae4b8d-20241212";
exports.version = "19.1.0-native-fb-fb12845d-20241213";
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<adfa2c0c23732ae1c29273555baa72bd>>
* @generated SignedSource<<2c9770f2de058ad6be1ceaede0107193>>
*/

"use strict";
Expand Down Expand Up @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-56ae4b8d-20241212";
exports.version = "19.1.0-native-fb-fb12845d-20241213";
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<18983e207027cdeffd3e7e5e144346c8>>
* @generated SignedSource<<25dc727a4f4b12e8b8f3d2cfe8c7051f>>
*/

/*
Expand Down Expand Up @@ -19272,7 +19272,7 @@ __DEV__ &&
error$jscomp$0(
"The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."
);
else if (canDiffStyleForHydrationWarning) {
else {
var clientValue;
var delimiter = (clientValue = ""),
styleName;
Expand Down Expand Up @@ -22234,11 +22234,6 @@ __DEV__ &&
allNativeEvents = new Set(),
registrationNameDependencies = {},
possibleRegistrationNames = {},
canUseDOM = !(
"undefined" === typeof window ||
"undefined" === typeof window.document ||
"undefined" === typeof window.document.createElement
),
hasReadOnlyValue = {
button: !0,
checkbox: !0,
Expand Down Expand Up @@ -22285,8 +22280,6 @@ __DEV__ &&
containerTagInScope: null
},
didWarn = {},
MATH_NAMESPACE = "http://www.w3.org/1998/Math/MathML",
SVG_NAMESPACE = "http://www.w3.org/2000/svg",
shorthandToLonghand = {
animation:
"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(
Expand Down Expand Up @@ -22437,6 +22430,8 @@ __DEV__ &&
" "
)
),
MATH_NAMESPACE = "http://www.w3.org/1998/Math/MathML",
SVG_NAMESPACE = "http://www.w3.org/2000/svg",
aliases = new Map([
["acceptCharset", "accept-charset"],
["htmlFor", "for"],
Expand Down Expand Up @@ -23085,6 +23080,11 @@ __DEV__ &&
restoreTarget = null,
restoreQueue = null,
isInsideEventHandler = !1,
canUseDOM = !(
"undefined" === typeof window ||
"undefined" === typeof window.document ||
"undefined" === typeof window.document.createElement
),
passiveBrowserEventsSupported = !1;
if (canUseDOM)
try {
Expand Down Expand Up @@ -25483,7 +25483,6 @@ __DEV__ &&
didWarnFormActionMethod = !1,
didWarnPopoverTargetObject = !1;
var didWarnForNewBooleanPropsWithEmptyValue = {};
var canDiffStyleForHydrationWarning = !0;
var NORMALIZE_NEWLINES_REGEX = /\r\n?/g,
NORMALIZE_NULL_AND_REPLACEMENT_REGEX = /\u0000|\uFFFD/g,
xlinkNamespace = "http://www.w3.org/1999/xlink",
Expand Down Expand Up @@ -25945,11 +25944,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-native-fb-56ae4b8d-20241212" !== isomorphicReactPackageVersion)
if ("19.1.0-native-fb-fb12845d-20241213" !== 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.1.0-native-fb-56ae4b8d-20241212\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-native-fb-fb12845d-20241213\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
Expand Down Expand Up @@ -25986,10 +25985,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-native-fb-56ae4b8d-20241212",
version: "19.1.0-native-fb-fb12845d-20241213",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-56ae4b8d-20241212"
reconcilerVersion: "19.1.0-native-fb-fb12845d-20241213"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -26135,5 +26134,5 @@ __DEV__ &&
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-native-fb-56ae4b8d-20241212";
exports.version = "19.1.0-native-fb-fb12845d-20241213";
})();
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<d30934ca70afe9f025d08040714f3152>>
* @generated SignedSource<<0bb11a7986a8960e72017b34885fe6ae>>
*/

/*
Expand Down Expand Up @@ -998,12 +998,7 @@ function registerDirectEvent(registrationName, dependencies) {
)
allNativeEvents.add(dependencies[registrationName]);
}
var canUseDOM = !(
"undefined" === typeof window ||
"undefined" === typeof window.document ||
"undefined" === typeof window.document.createElement
),
VALID_ATTRIBUTE_NAME_REGEX = RegExp(
var VALID_ATTRIBUTE_NAME_REGEX = RegExp(
"^[: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]*$"
),
illegalAttributeNameCache = {},
Expand Down Expand Up @@ -1625,7 +1620,12 @@ function getListener(inst, registrationName) {
);
return stateNode;
}
var passiveBrowserEventsSupported = !1;
var canUseDOM = !(
"undefined" === typeof window ||
"undefined" === typeof window.document ||
"undefined" === typeof window.document.createElement
),
passiveBrowserEventsSupported = !1;
if (canUseDOM)
try {
var options = {};
Expand Down Expand Up @@ -15871,14 +15871,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1731 = React.version;
if (
"19.1.0-native-fb-56ae4b8d-20241212" !==
"19.1.0-native-fb-fb12845d-20241213" !==
isomorphicReactPackageVersion$jscomp$inline_1731
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1731,
"19.1.0-native-fb-56ae4b8d-20241212"
"19.1.0-native-fb-fb12845d-20241213"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -15900,10 +15900,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2186 = {
bundleType: 0,
version: "19.1.0-native-fb-56ae4b8d-20241212",
version: "19.1.0-native-fb-fb12845d-20241213",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-56ae4b8d-20241212"
reconcilerVersion: "19.1.0-native-fb-fb12845d-20241213"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2187 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -16009,4 +16009,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-native-fb-56ae4b8d-20241212";
exports.version = "19.1.0-native-fb-fb12845d-20241213";
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<54fcc531da73848490de717b802245e2>>
* @generated SignedSource<<c27fd5cd04e46aa443811809cd77aea3>>
*/

/*
Expand Down Expand Up @@ -1093,12 +1093,7 @@ function registerDirectEvent(registrationName, dependencies) {
)
allNativeEvents.add(dependencies[registrationName]);
}
var canUseDOM = !(
"undefined" === typeof window ||
"undefined" === typeof window.document ||
"undefined" === typeof window.document.createElement
),
VALID_ATTRIBUTE_NAME_REGEX = RegExp(
var VALID_ATTRIBUTE_NAME_REGEX = RegExp(
"^[: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]*$"
),
illegalAttributeNameCache = {},
Expand Down Expand Up @@ -1720,7 +1715,12 @@ function getListener(inst, registrationName) {
);
return stateNode;
}
var passiveBrowserEventsSupported = !1;
var canUseDOM = !(
"undefined" === typeof window ||
"undefined" === typeof window.document ||
"undefined" === typeof window.document.createElement
),
passiveBrowserEventsSupported = !1;
if (canUseDOM)
try {
var options = {};
Expand Down Expand Up @@ -16524,14 +16524,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1821 = React.version;
if (
"19.1.0-native-fb-56ae4b8d-20241212" !==
"19.1.0-native-fb-fb12845d-20241213" !==
isomorphicReactPackageVersion$jscomp$inline_1821
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1821,
"19.1.0-native-fb-56ae4b8d-20241212"
"19.1.0-native-fb-fb12845d-20241213"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -16553,10 +16553,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_1828 = {
bundleType: 0,
version: "19.1.0-native-fb-56ae4b8d-20241212",
version: "19.1.0-native-fb-fb12845d-20241213",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-56ae4b8d-20241212",
reconcilerVersion: "19.1.0-native-fb-fb12845d-20241213",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$292 = 0;
Expand Down Expand Up @@ -16677,4 +16677,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-native-fb-56ae4b8d-20241212";
exports.version = "19.1.0-native-fb-fb12845d-20241213";
Loading

0 comments on commit 455c5c3

Please sign in to comment.