/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v6.5.2
shared/patches/react-native+0.72.7.patch
85 строк
4 KB
chrisnojima
patch boost issue in podlock (#28293)
10 янв 2025, 19:09
Не верифицирован
10 янв 2025, 19:09
9e431fd
Код
Авторство
О чём код?
diff --git a/node_modules/react-native/Libraries/Animated/Animated.d.ts b/node_modules/react-native/Libraries/Animated/Animated.d.ts index aeeb981..5d96b30 100644 --- a/node_modules/react-native/Libraries/Animated/Animated.d.ts +++ b/node_modules/react-native/Libraries/Animated/Animated.d.ts @@ -100,7 +100,7 @@ export namespace Animated { } class AnimatedInterpolation< - OutputT extends number | string, + OutputT extends number | string = number, > extends AnimatedWithChildren { interpolate( config: InterpolationConfigType, diff --git a/node_modules/react-native/Libraries/Text/TextInput/Multiline/RCTUITextView.m b/node_modules/react-native/Libraries/Text/TextInput/Multiline/RCTUITextView.m index 5d5d308..a94e8dc 100644 --- a/node_modules/react-native/Libraries/Text/TextInput/Multiline/RCTUITextView.m +++ b/node_modules/react-native/Libraries/Text/TextInput/Multiline/RCTUITextView.m @@ -258,7 +258,12 @@ static UIColor *defaultPlaceholderColor() return NO; } - return [super canPerformAction:action withSender:sender]; + BOOL del = [self.textInputDelegate canPerformAction:action withSender:sender]; + if (del) { + return NO; + } + + return [super canPerformAction:action withSender:sender]; } #pragma mark - Placeholder diff --git a/node_modules/react-native/Libraries/Text/TextInput/RCTBackedTextInputDelegate.h b/node_modules/react-native/Libraries/Text/TextInput/RCTBackedTextInputDelegate.h index 7187177..980ab88 100644 --- a/node_modules/react-native/Libraries/Text/TextInput/RCTBackedTextInputDelegate.h +++ b/node_modules/react-native/Libraries/Text/TextInput/RCTBackedTextInputDelegate.h @@ -12,7 +12,7 @@ NS_ASSUME_NONNULL_BEGIN @protocol RCTBackedTextInputDelegate <NSObject> - +- (BOOL)canPerformAction:(SEL)action withSender:(id)sender; // added - (BOOL)textInputShouldBeginEditing; // Return `NO` to disallow editing. - (void)textInputDidBeginEditing; diff --git a/node_modules/react-native/React/Modules/RCTUIManager.m b/node_modules/react-native/React/Modules/RCTUIManager.m index 3b8a851..5853042 100644 --- a/node_modules/react-native/React/Modules/RCTUIManager.m +++ b/node_modules/react-native/React/Modules/RCTUIManager.m @@ -101,9 +101,11 @@ RCT_EXPORT_MODULE() RCTExecuteOnMainQueue(^{ RCT_PROFILE_BEGIN_EVENT(RCTProfileTagAlways, @"UIManager invalidate", nil); + NSMutableDictionary<NSNumber *, id<RCTComponent>> *viewRegistry = (NSMutableDictionary<NSNumber *, id<RCTComponent>> *)self->_viewRegistry; for (NSNumber *rootViewTag in self->_rootViewTags) { UIView *rootView = self->_viewRegistry[rootViewTag]; if ([rootView conformsToProtocol:@protocol(RCTInvalidating)]) { + [self _purgeChildren:[rootView reactSubviews] fromRegistry:viewRegistry]; [(id<RCTInvalidating>)rootView invalidate]; } } diff --git a/node_modules/react-native/third-party-podspecs/boost.podspec b/node_modules/react-native/third-party-podspecs/boost.podspec index 3d9331c..bbbb738 100644 --- a/node_modules/react-native/third-party-podspecs/boost.podspec +++ b/node_modules/react-native/third-party-podspecs/boost.podspec @@ -10,7 +10,7 @@ Pod::Spec.new do |spec| spec.homepage = 'http://www.boost.org' spec.summary = 'Boost provides free peer-reviewed portable C++ source libraries.' spec.authors = 'Rene Rivera' - spec.source = { :http => 'https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2', + spec.source = { :http => 'https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2', :sha256 => 'f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41' } # Pinning to the same version as React.podspec. diff --git a/node_modules/react-native/types/index.d.ts b/node_modules/react-native/types/index.d.ts index 5177707..e2c893e 100644 --- a/node_modules/react-native/types/index.d.ts +++ b/node_modules/react-native/types/index.d.ts @@ -68,7 +68,6 @@ /// <reference path="modules/BatchedBridge.d.ts" /> /// <reference path="modules/Codegen.d.ts" /> /// <reference path="modules/Devtools.d.ts" /> -/// <reference path="modules/globals.d.ts" /> /// <reference path="modules/LaunchScreen.d.ts" /> export * from '../Libraries/ActionSheetIOS/ActionSheetIOS';