From 5e7ed41823a67e610d5a9ff2ff05330670fba1a8 Mon Sep 17 00:00:00 2001 From: Hailey Date: Sun, 18 Aug 2024 16:22:23 -0700 Subject: [PATCH] update react native patch --- package.json | 4 ++-- ...+0.74.1.patch => react-native+0.74.3.patch} | 18 ++++++++++++++++-- yarn.lock | 16 ++++++++-------- 3 files changed, 26 insertions(+), 12 deletions(-) rename patches/{react-native+0.74.1.patch => react-native+0.74.3.patch} (75%) diff --git a/package.json b/package.json index 1a811bdc09..8b4da4ea43 100644 --- a/package.json +++ b/package.json @@ -181,12 +181,12 @@ "react-native-picker-select": "^9.1.3", "react-native-progress": "bluesky-social/react-native-progress", "react-native-qrcode-styled": "^0.3.2", - "react-native-reanimated": "^3.16.0-nightly-20240811-b85f9664d", + "react-native-reanimated": "^3.16.0@nightly", "react-native-root-siblings": "^4.1.1", "react-native-safe-area-context": "4.10.8", "react-native-screens": "~3.31.1", "react-native-svg": "^15.4.0", - "react-native-uitextview": "1.3.0-alpha.1", + "react-native-uitextview": "1.3.0-alpha.9", "react-native-url-polyfill": "^1.3.0", "react-native-uuid": "^2.0.2", "react-native-view-shot": "^3.8.0", diff --git a/patches/react-native+0.74.1.patch b/patches/react-native+0.74.3.patch similarity index 75% rename from patches/react-native+0.74.1.patch rename to patches/react-native+0.74.3.patch index fdc608fb23..746faf8e9f 100644 --- a/patches/react-native+0.74.1.patch +++ b/patches/react-native+0.74.3.patch @@ -1,5 +1,5 @@ diff --git a/node_modules/react-native/Libraries/Text/TextInput/RCTBaseTextInputView.mm b/node_modules/react-native/Libraries/Text/TextInput/RCTBaseTextInputView.mm -index b0d71dc..9974932 100644 +index b0d71dc..41b9a0e 100644 --- a/node_modules/react-native/Libraries/Text/TextInput/RCTBaseTextInputView.mm +++ b/node_modules/react-native/Libraries/Text/TextInput/RCTBaseTextInputView.mm @@ -377,10 +377,6 @@ - (void)textInputDidBeginEditing @@ -24,6 +24,20 @@ index b0d71dc..9974932 100644 } - (void)reactBlur +diff --git a/node_modules/react-native/React/Fabric/Mounting/RCTMountingManager.mm b/node_modules/react-native/React/Fabric/Mounting/RCTMountingManager.mm +index 0e2323f..c7c5b53 100644 +--- a/node_modules/react-native/React/Fabric/Mounting/RCTMountingManager.mm ++++ b/node_modules/react-native/React/Fabric/Mounting/RCTMountingManager.mm +@@ -82,8 +82,8 @@ static void RCTPerformMountInstructions( + + RCTAssert(newChildShadowView.props, @"`newChildShadowView.props` must not be null."); + +- [newChildComponentView updateProps:newChildShadowView.props oldProps:nullptr]; + [newChildComponentView updateEventEmitter:newChildShadowView.eventEmitter]; ++ [newChildComponentView updateProps:newChildShadowView.props oldProps:nullptr]; + [newChildComponentView updateState:newChildShadowView.state oldState:nullptr]; + [newChildComponentView updateLayoutMetrics:newChildShadowView.layoutMetrics + oldLayoutMetrics:EmptyLayoutMetrics]; diff --git a/node_modules/react-native/React/Views/RefreshControl/RCTRefreshControl.h b/node_modules/react-native/React/Views/RefreshControl/RCTRefreshControl.h index e9b330f..1ecdf0a 100644 --- a/node_modules/react-native/React/Views/RefreshControl/RCTRefreshControl.h @@ -36,7 +50,7 @@ index e9b330f..1ecdf0a 100644 + @end diff --git a/node_modules/react-native/React/Views/RefreshControl/RCTRefreshControl.m b/node_modules/react-native/React/Views/RefreshControl/RCTRefreshControl.m -index b09e653..4c32b31 100644 +index b09e653..f93cb46 100644 --- a/node_modules/react-native/React/Views/RefreshControl/RCTRefreshControl.m +++ b/node_modules/react-native/React/Views/RefreshControl/RCTRefreshControl.m @@ -198,9 +198,53 @@ - (void)refreshControlValueChanged diff --git a/yarn.lock b/yarn.lock index fdc92a4260..08ddd5648f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19157,10 +19157,10 @@ react-native-qrcode-styled@^0.3.2: qrcode "^1.5.1" react-fast-compare "^3.2.2" -react-native-reanimated@^3.16.0-nightly-20240811-b85f9664d: - version "3.16.0-nightly-20240811-b85f9664d" - resolved "https://registry.yarnpkg.com/react-native-reanimated/-/react-native-reanimated-3.16.0-nightly-20240811-b85f9664d.tgz#74480fd4106663d96e91355d9aaec7d72fd68a7a" - integrity sha512-LXVJYeXOAzntb/OOfuclUZRbBMuxM2zskXhyuuGMmIGx9OrL4/OJlGCYe1TeIvwSVx4/tWknKMgq23l0PPC5sQ== +react-native-reanimated@^3.16.0@nightly: + version "3.16.0-nightly-20240817-b2f4e1dcf" + resolved "https://registry.yarnpkg.com/react-native-reanimated/-/react-native-reanimated-3.16.0-nightly-20240817-b2f4e1dcf.tgz#35d6eb73f0a7aedf648e949aec763a1a7ab0745a" + integrity sha512-WjBmJkamLd5xZm+R0GG2aZYO2PluSDYfgd+G5FDmgiCnFrTQgfGZ6C8Qc4nzcaXU06cRmGUrc8J9uA81N9grGg== dependencies: "@babel/plugin-transform-arrow-functions" "^7.0.0-0" "@babel/plugin-transform-class-properties" "^7.0.0-0" @@ -19201,10 +19201,10 @@ react-native-svg@^15.4.0: css-tree "^1.1.3" warn-once "0.1.1" -react-native-uitextview@1.3.0-alpha.1: - version "1.3.0-alpha.1" - resolved "https://registry.yarnpkg.com/react-native-uitextview/-/react-native-uitextview-1.3.0-alpha.1.tgz#d2288f10020767f92e3bd6986899b5c09fdf9b13" - integrity sha512-5twzZELS+9bSFriMiLpOnhoeZO9Ak3pwGyUTPx/enAoyNaXlILug3kGmfXpZKvAOiWgQoF4hcEk3vDHTNbl01A== +react-native-uitextview@1.3.0-alpha.9: + version "1.3.0-alpha.9" + resolved "https://registry.yarnpkg.com/react-native-uitextview/-/react-native-uitextview-1.3.0-alpha.9.tgz#068f8f14c1af0d6596ca166d9df3c40048153cf2" + integrity sha512-/DaYEe0lUh8kGSoEbomtj04qJKTYy33kakd1L855HL9LFb9BYH6EQ+IlhPAqg8tXq4iTfhPgaeTKy7pkAbAYwg== react-native-url-polyfill@^1.3.0: version "1.3.0"