react-native 0.71.1 → 0.71.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Libraries/Alert/Alert.d.ts +1 -0
- package/Libraries/Blob/React-RCTBlob.podspec +4 -0
- package/Libraries/Components/TextInput/TextInput.d.ts +15 -0
- package/Libraries/Components/View/ViewAccessibility.d.ts +13 -0
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Lists/VirtualizedList.js +13 -10
- package/Libraries/StyleSheet/processAspectRatio.js +12 -2
- package/Libraries/TurboModule/TurboModuleRegistry.d.ts +2 -4
- package/React/Base/RCTVersion.m +1 -1
- package/React/CoreModules/React-CoreModules.podspec +1 -0
- package/React-Core.podspec +21 -6
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/ReactRootView.java +38 -41
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.java +25 -0
- package/ReactCommon/ReactCommon.podspec +7 -1
- package/ReactCommon/cxxreact/React-cxxreact.podspec +4 -0
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/ReactCommon/hermes/React-hermes.podspec +1 -0
- package/ReactCommon/jsiexecutor/React-jsiexecutor.podspec +4 -0
- package/package.json +6 -3
- package/sdks/hermesc/osx-bin/hermesc +0 -0
- package/sdks/hermesc/win64-bin/hermesc.exe +0 -0
- package/template/_node-version +1 -1
- package/template/package.json +2 -2
- package/types/index.d.ts +1 -1
|
@@ -45,4 +45,8 @@ Pod::Spec.new do |s|
|
|
|
45
45
|
s.dependency "React-Core/RCTBlobHeaders", version
|
|
46
46
|
s.dependency "React-Core/RCTWebSocket", version
|
|
47
47
|
s.dependency "React-RCTNetwork", version
|
|
48
|
+
|
|
49
|
+
if ENV["USE_HERMES"] == nil || ENV["USE_HERMES"] == "1"
|
|
50
|
+
s.dependency "hermes-engine"
|
|
51
|
+
end
|
|
48
52
|
end
|
|
@@ -45,6 +45,16 @@ export type KeyboardTypeOptions =
|
|
|
45
45
|
| KeyboardTypeAndroid
|
|
46
46
|
| KeyboardTypeIOS;
|
|
47
47
|
|
|
48
|
+
export type InputModeOptions =
|
|
49
|
+
| 'none'
|
|
50
|
+
| 'text'
|
|
51
|
+
| 'decimal'
|
|
52
|
+
| 'numeric'
|
|
53
|
+
| 'tel'
|
|
54
|
+
| 'search'
|
|
55
|
+
| 'email'
|
|
56
|
+
| 'url';
|
|
57
|
+
|
|
48
58
|
export type ReturnKeyType = 'done' | 'go' | 'next' | 'search' | 'send';
|
|
49
59
|
export type ReturnKeyTypeAndroid = 'none' | 'previous';
|
|
50
60
|
export type ReturnKeyTypeIOS =
|
|
@@ -588,6 +598,11 @@ export interface TextInputProps
|
|
|
588
598
|
*/
|
|
589
599
|
keyboardType?: KeyboardTypeOptions | undefined;
|
|
590
600
|
|
|
601
|
+
/**
|
|
602
|
+
* Works like the inputmode attribute in HTML, it determines which keyboard to open, e.g. numeric and has precedence over keyboardType.
|
|
603
|
+
*/
|
|
604
|
+
inputMode?: InputModeOptions | undefined;
|
|
605
|
+
|
|
591
606
|
/**
|
|
592
607
|
* Limits the maximum number of characters that can be entered.
|
|
593
608
|
* Use this instead of implementing the logic in JS to avoid flicker.
|
|
@@ -251,6 +251,12 @@ export interface AccessibilityPropsAndroid {
|
|
|
251
251
|
| 'no'
|
|
252
252
|
| 'no-hide-descendants'
|
|
253
253
|
| undefined;
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* A reference to another element `nativeID` used to build complex forms. The value of `accessibilityLabelledBy` should match the `nativeID` of the related element.
|
|
257
|
+
* @platform android
|
|
258
|
+
*/
|
|
259
|
+
accessibilityLabelledBy?: string | string[] | undefined;
|
|
254
260
|
}
|
|
255
261
|
|
|
256
262
|
export interface AccessibilityPropsIOS {
|
|
@@ -290,6 +296,13 @@ export interface AccessibilityPropsIOS {
|
|
|
290
296
|
* @platform ios
|
|
291
297
|
*/
|
|
292
298
|
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* By using the accessibilityLanguage property, the screen reader will understand which language to use while reading the element's label, value and hint. The provided string value must follow the BCP 47 specification (https://www.rfc-editor.org/info/bcp47).
|
|
302
|
+
* https://reactnative.dev/docs/accessibility#accessibilitylanguage-ios
|
|
303
|
+
* @platform ios
|
|
304
|
+
*/
|
|
305
|
+
accessibilityLanguage?: string | undefined;
|
|
293
306
|
}
|
|
294
307
|
|
|
295
308
|
export type Role =
|
|
@@ -860,16 +860,19 @@ export default class VirtualizedList extends StateSafePureComponent<
|
|
|
860
860
|
<ListEmptyComponent />
|
|
861
861
|
)): any);
|
|
862
862
|
cells.push(
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
863
|
+
<VirtualizedListCellContextProvider
|
|
864
|
+
cellKey={this._getCellKey() + '-empty'}
|
|
865
|
+
key="$empty">
|
|
866
|
+
{React.cloneElement(element, {
|
|
867
|
+
onLayout: (event: LayoutEvent) => {
|
|
868
|
+
this._onLayoutEmpty(event);
|
|
869
|
+
if (element.props.onLayout) {
|
|
870
|
+
element.props.onLayout(event);
|
|
871
|
+
}
|
|
872
|
+
},
|
|
873
|
+
style: StyleSheet.compose(inversionStyle, element.props.style),
|
|
874
|
+
})}
|
|
875
|
+
</VirtualizedListCellContextProvider>,
|
|
873
876
|
);
|
|
874
877
|
}
|
|
875
878
|
|
|
@@ -12,10 +12,20 @@
|
|
|
12
12
|
|
|
13
13
|
const invariant = require('invariant');
|
|
14
14
|
|
|
15
|
-
function processAspectRatio(aspectRatio
|
|
15
|
+
function processAspectRatio(aspectRatio?: number | string): ?number {
|
|
16
16
|
if (typeof aspectRatio === 'number') {
|
|
17
17
|
return aspectRatio;
|
|
18
18
|
}
|
|
19
|
+
if (typeof aspectRatio !== 'string') {
|
|
20
|
+
if (__DEV__) {
|
|
21
|
+
invariant(
|
|
22
|
+
!aspectRatio,
|
|
23
|
+
'aspectRatio must either be a number, a ratio string or `auto`. You passed: %s',
|
|
24
|
+
aspectRatio,
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
19
29
|
|
|
20
30
|
const matches = aspectRatio.split('/').map(s => s.trim());
|
|
21
31
|
|
|
@@ -34,7 +44,7 @@ function processAspectRatio(aspectRatio: number | string): ?number {
|
|
|
34
44
|
if (__DEV__) {
|
|
35
45
|
invariant(
|
|
36
46
|
!hasNonNumericValues && (matches.length === 1 || matches.length === 2),
|
|
37
|
-
'aspectRatio must either be a number, a ratio or `auto`. You passed: %s',
|
|
47
|
+
'aspectRatio must either be a number, a ratio string or `auto`. You passed: %s',
|
|
38
48
|
aspectRatio,
|
|
39
49
|
);
|
|
40
50
|
}
|
|
@@ -9,7 +9,5 @@
|
|
|
9
9
|
|
|
10
10
|
import {TurboModule} from './RCTExport';
|
|
11
11
|
|
|
12
|
-
export
|
|
13
|
-
|
|
14
|
-
getEnforcing<T extends TurboModule>(name: string): T;
|
|
15
|
-
};
|
|
12
|
+
export function get<T extends TurboModule>(name: string): T | null;
|
|
13
|
+
export function getEnforcing<T extends TurboModule>(name: string): T;
|
package/React/Base/RCTVersion.m
CHANGED
package/React-Core.podspec
CHANGED
|
@@ -75,12 +75,20 @@ Pod::Spec.new do |s|
|
|
|
75
75
|
|
|
76
76
|
s.subspec "Default" do |ss|
|
|
77
77
|
ss.source_files = "React/**/*.{c,h,m,mm,S,cpp}"
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
78
|
+
exclude_files = [
|
|
79
|
+
"React/CoreModules/**/*",
|
|
80
|
+
"React/DevSupport/**/*",
|
|
81
|
+
"React/Fabric/**/*",
|
|
82
|
+
"React/FBReactNativeSpec/**/*",
|
|
83
|
+
"React/Tests/**/*",
|
|
84
|
+
"React/Inspector/**/*"
|
|
85
|
+
]
|
|
86
|
+
# If we are using Hermes (the default is use hermes, so USE_HERMES can be nil), we don't have jsc installed
|
|
87
|
+
# So we have to exclude the JSCExecutorFactory
|
|
88
|
+
if ENV['USE_HERMES'] == nil || ENV['USE_HERMES'] == "1"
|
|
89
|
+
exclude_files = exclude_files.append("React/CxxBridge/JSCExecutorFactory.{h,mm}")
|
|
90
|
+
end
|
|
91
|
+
ss.exclude_files = exclude_files
|
|
84
92
|
ss.private_header_files = "React/Cxx*/*.h"
|
|
85
93
|
end
|
|
86
94
|
|
|
@@ -114,4 +122,11 @@ Pod::Spec.new do |s|
|
|
|
114
122
|
s.dependency "React-jsiexecutor", version
|
|
115
123
|
s.dependency "Yoga"
|
|
116
124
|
s.dependency "glog"
|
|
125
|
+
|
|
126
|
+
if ENV['USE_HERMES'] == "0"
|
|
127
|
+
s.dependency 'React-jsc'
|
|
128
|
+
else
|
|
129
|
+
s.dependency 'React-hermes'
|
|
130
|
+
s.dependency 'hermes-engine'
|
|
131
|
+
end
|
|
117
132
|
end
|
|
@@ -15,6 +15,7 @@ import static com.facebook.systrace.Systrace.TRACE_TAG_REACT_JAVA_BRIDGE;
|
|
|
15
15
|
import android.app.Activity;
|
|
16
16
|
import android.content.Context;
|
|
17
17
|
import android.graphics.Canvas;
|
|
18
|
+
import android.graphics.Insets;
|
|
18
19
|
import android.graphics.Point;
|
|
19
20
|
import android.graphics.Rect;
|
|
20
21
|
import android.os.Build;
|
|
@@ -33,8 +34,6 @@ import android.view.WindowManager;
|
|
|
33
34
|
import android.widget.FrameLayout;
|
|
34
35
|
import androidx.annotation.Nullable;
|
|
35
36
|
import androidx.annotation.RequiresApi;
|
|
36
|
-
import androidx.core.graphics.Insets;
|
|
37
|
-
import androidx.core.view.WindowInsetsCompat;
|
|
38
37
|
import com.facebook.common.logging.FLog;
|
|
39
38
|
import com.facebook.infer.annotation.Assertions;
|
|
40
39
|
import com.facebook.infer.annotation.ThreadConfined;
|
|
@@ -776,7 +775,7 @@ public class ReactRootView extends FrameLayout implements RootView, ReactRoot {
|
|
|
776
775
|
|
|
777
776
|
@VisibleForTesting
|
|
778
777
|
/* package */ void simulateCheckForKeyboardForTesting() {
|
|
779
|
-
if (Build.VERSION.SDK_INT >=
|
|
778
|
+
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
|
|
780
779
|
getCustomGlobalLayoutListener().checkForKeyboardEvents();
|
|
781
780
|
} else {
|
|
782
781
|
getCustomGlobalLayoutListener().checkForKeyboardEventsLegacy();
|
|
@@ -907,9 +906,7 @@ public class ReactRootView extends FrameLayout implements RootView, ReactRoot {
|
|
|
907
906
|
return;
|
|
908
907
|
}
|
|
909
908
|
|
|
910
|
-
|
|
911
|
-
// https://developer.android.com/jetpack/androidx/releases/core#1.5.0-alpha02
|
|
912
|
-
if (Build.VERSION.SDK_INT >= 23) {
|
|
909
|
+
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
|
|
913
910
|
checkForKeyboardEvents();
|
|
914
911
|
} else {
|
|
915
912
|
checkForKeyboardEventsLegacy();
|
|
@@ -919,44 +916,44 @@ public class ReactRootView extends FrameLayout implements RootView, ReactRoot {
|
|
|
919
916
|
checkForDeviceDimensionsChanges();
|
|
920
917
|
}
|
|
921
918
|
|
|
922
|
-
@RequiresApi(api = Build.VERSION_CODES.
|
|
919
|
+
@RequiresApi(api = Build.VERSION_CODES.R)
|
|
923
920
|
private void checkForKeyboardEvents() {
|
|
924
921
|
getRootView().getWindowVisibleDisplayFrame(mVisibleViewArea);
|
|
925
922
|
WindowInsets rootInsets = getRootView().getRootWindowInsets();
|
|
926
|
-
if (rootInsets
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
923
|
+
if (rootInsets == null) {
|
|
924
|
+
return;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
boolean keyboardIsVisible = rootInsets.isVisible(WindowInsets.Type.ime());
|
|
928
|
+
if (keyboardIsVisible != mKeyboardIsVisible) {
|
|
929
|
+
mKeyboardIsVisible = keyboardIsVisible;
|
|
930
|
+
|
|
931
|
+
if (keyboardIsVisible) {
|
|
932
|
+
Insets imeInsets = rootInsets.getInsets(WindowInsets.Type.ime());
|
|
933
|
+
Insets barInsets = rootInsets.getInsets(WindowInsets.Type.systemBars());
|
|
934
|
+
int height = imeInsets.bottom - barInsets.bottom;
|
|
935
|
+
|
|
936
|
+
int softInputMode = ((Activity) getContext()).getWindow().getAttributes().softInputMode;
|
|
937
|
+
int screenY =
|
|
938
|
+
softInputMode == WindowManager.LayoutParams.SOFT_INPUT_ADJUST_NOTHING
|
|
939
|
+
? mVisibleViewArea.bottom - height
|
|
940
|
+
: mVisibleViewArea.bottom;
|
|
941
|
+
|
|
942
|
+
sendEvent(
|
|
943
|
+
"keyboardDidShow",
|
|
944
|
+
createKeyboardEventPayload(
|
|
945
|
+
PixelUtil.toDIPFromPixel(screenY),
|
|
946
|
+
PixelUtil.toDIPFromPixel(mVisibleViewArea.left),
|
|
947
|
+
PixelUtil.toDIPFromPixel(mVisibleViewArea.width()),
|
|
948
|
+
PixelUtil.toDIPFromPixel(height)));
|
|
949
|
+
} else {
|
|
950
|
+
sendEvent(
|
|
951
|
+
"keyboardDidHide",
|
|
952
|
+
createKeyboardEventPayload(
|
|
953
|
+
PixelUtil.toDIPFromPixel(mLastHeight),
|
|
954
|
+
0,
|
|
955
|
+
PixelUtil.toDIPFromPixel(mVisibleViewArea.width()),
|
|
956
|
+
0));
|
|
960
957
|
}
|
|
961
958
|
}
|
|
962
959
|
}
|
|
@@ -585,6 +585,10 @@ public class ReactEditText extends AppCompatEditText
|
|
|
585
585
|
new SpannableStringBuilder(reactTextUpdate.getText());
|
|
586
586
|
|
|
587
587
|
manageSpans(spannableStringBuilder, reactTextUpdate.mContainsMultipleFragments);
|
|
588
|
+
|
|
589
|
+
// Mitigation for https://github.com/facebook/react-native/issues/35936 (S318090)
|
|
590
|
+
stripAbsoluteSizeSpans(spannableStringBuilder);
|
|
591
|
+
|
|
588
592
|
mContainsImages = reactTextUpdate.containsImages();
|
|
589
593
|
|
|
590
594
|
// When we update text, we trigger onChangeText code that will
|
|
@@ -658,6 +662,27 @@ public class ReactEditText extends AppCompatEditText
|
|
|
658
662
|
}
|
|
659
663
|
}
|
|
660
664
|
|
|
665
|
+
private void stripAbsoluteSizeSpans(SpannableStringBuilder sb) {
|
|
666
|
+
// We have already set a font size on the EditText itself. We can safely remove sizing spans
|
|
667
|
+
// which are the same as the set font size, and not otherwise overlapped.
|
|
668
|
+
final int effectiveFontSize = mTextAttributes.getEffectiveFontSize();
|
|
669
|
+
ReactAbsoluteSizeSpan[] spans = sb.getSpans(0, sb.length(), ReactAbsoluteSizeSpan.class);
|
|
670
|
+
|
|
671
|
+
outerLoop:
|
|
672
|
+
for (ReactAbsoluteSizeSpan span : spans) {
|
|
673
|
+
ReactAbsoluteSizeSpan[] overlappingSpans =
|
|
674
|
+
sb.getSpans(sb.getSpanStart(span), sb.getSpanEnd(span), ReactAbsoluteSizeSpan.class);
|
|
675
|
+
|
|
676
|
+
for (ReactAbsoluteSizeSpan overlappingSpan : overlappingSpans) {
|
|
677
|
+
if (span.getSize() != effectiveFontSize) {
|
|
678
|
+
continue outerLoop;
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
sb.removeSpan(span);
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
|
|
661
686
|
private static boolean sameTextForSpan(
|
|
662
687
|
final Editable oldText,
|
|
663
688
|
final SpannableStringBuilder newText,
|
|
@@ -19,7 +19,7 @@ end
|
|
|
19
19
|
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32 -Wno-gnu-zero-variadic-macro-arguments'
|
|
20
20
|
folly_version = '2021.07.22.00'
|
|
21
21
|
boost_compiler_flags = '-Wno-documentation'
|
|
22
|
-
|
|
22
|
+
using_hermes = ENV['USE_HERMES'] == nil || ENV['USE_HERMES'] == "1"
|
|
23
23
|
Pod::Spec.new do |s|
|
|
24
24
|
s.name = "ReactCommon"
|
|
25
25
|
s.module_name = "ReactCommon"
|
|
@@ -49,6 +49,9 @@ Pod::Spec.new do |s|
|
|
|
49
49
|
s.dependency "React-logger", version
|
|
50
50
|
ss.dependency "DoubleConversion"
|
|
51
51
|
ss.dependency "glog"
|
|
52
|
+
if using_hermes
|
|
53
|
+
ss.dependency "hermes-engine"
|
|
54
|
+
end
|
|
52
55
|
|
|
53
56
|
ss.subspec "bridging" do |sss|
|
|
54
57
|
sss.dependency "React-jsi", version
|
|
@@ -56,6 +59,9 @@ Pod::Spec.new do |s|
|
|
|
56
59
|
sss.exclude_files = "react/bridging/tests"
|
|
57
60
|
sss.header_dir = "react/bridging"
|
|
58
61
|
sss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_ROOT)/RCT-Folly\"" }
|
|
62
|
+
if using_hermes
|
|
63
|
+
sss.dependency "hermes-engine"
|
|
64
|
+
end
|
|
59
65
|
end
|
|
60
66
|
|
|
61
67
|
ss.subspec "core" do |sss|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native",
|
|
3
|
-
"version": "0.71.
|
|
3
|
+
"version": "0.71.2",
|
|
4
4
|
"bin": "./cli.js",
|
|
5
5
|
"description": "A framework for building native apps using React",
|
|
6
6
|
"license": "MIT",
|
|
@@ -98,7 +98,9 @@
|
|
|
98
98
|
"test-e2e-local-clean": "node ./scripts/test-e2e-local-clean.js",
|
|
99
99
|
"test-ios": "./scripts/objc-test.sh test",
|
|
100
100
|
"test-typescript": "dtslint types",
|
|
101
|
-
"test-typescript-offline": "dtslint --localTs node_modules/typescript/lib types"
|
|
101
|
+
"test-typescript-offline": "dtslint --localTs node_modules/typescript/lib types",
|
|
102
|
+
"bump-all-updated-packages": "node ./scripts/monorepo/bump-all-updated-packages",
|
|
103
|
+
"align-package-versions": "node ./scripts/monorepo/align-package-versions.js"
|
|
102
104
|
},
|
|
103
105
|
"peerDependencies": {
|
|
104
106
|
"react": "18.2.0"
|
|
@@ -128,7 +130,7 @@
|
|
|
128
130
|
"pretty-format": "^26.5.2",
|
|
129
131
|
"promise": "^8.3.0",
|
|
130
132
|
"react-devtools-core": "^4.26.1",
|
|
131
|
-
"react-native-gradle-plugin": "^0.71.
|
|
133
|
+
"react-native-gradle-plugin": "^0.71.14",
|
|
132
134
|
"react-refresh": "^0.4.0",
|
|
133
135
|
"react-shallow-renderer": "^16.15.0",
|
|
134
136
|
"regenerator-runtime": "^0.13.2",
|
|
@@ -148,6 +150,7 @@
|
|
|
148
150
|
"@babel/eslint-parser": "^7.18.2",
|
|
149
151
|
"@babel/generator": "^7.20.0",
|
|
150
152
|
"@babel/plugin-transform-regenerator": "^7.0.0",
|
|
153
|
+
"@babel/preset-flow": "^7.18.0",
|
|
151
154
|
"@definitelytyped/dtslint": "^0.0.127",
|
|
152
155
|
"@react-native-community/eslint-config": "*",
|
|
153
156
|
"@react-native-community/eslint-plugin": "*",
|
|
Binary file
|
|
Binary file
|
package/template/_node-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
18
|
package/template/package.json
CHANGED
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"react": "18.2.0",
|
|
14
|
-
"react-native": "0.71.
|
|
14
|
+
"react-native": "0.71.2"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@babel/core": "^7.20.0",
|
|
18
18
|
"@babel/preset-env": "^7.20.0",
|
|
19
19
|
"@babel/runtime": "^7.20.0",
|
|
20
|
-
"@react-native-community/eslint-config": "^3.
|
|
20
|
+
"@react-native-community/eslint-config": "^3.2.0",
|
|
21
21
|
"@tsconfig/react-native": "^2.0.2",
|
|
22
22
|
"@types/jest": "^29.2.1",
|
|
23
23
|
"@types/react": "^18.0.24",
|
package/types/index.d.ts
CHANGED
|
@@ -139,7 +139,7 @@ export * from '../Libraries/StyleSheet/StyleSheetTypes';
|
|
|
139
139
|
export * from '../Libraries/StyleSheet/processColor';
|
|
140
140
|
export * from '../Libraries/Text/Text';
|
|
141
141
|
export * from '../Libraries/TurboModule/RCTExport';
|
|
142
|
-
export * from '../Libraries/TurboModule/TurboModuleRegistry';
|
|
142
|
+
export * as TurboModuleRegistry from '../Libraries/TurboModule/TurboModuleRegistry';
|
|
143
143
|
export * from '../Libraries/Types/CoreEventTypes';
|
|
144
144
|
export * from '../Libraries/Utilities/Appearance';
|
|
145
145
|
export * from '../Libraries/Utilities/BackHandler';
|