react-native 0.81.0-rc.3 → 0.81.0
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/Core/ReactNativeVersion.js +1 -1
- package/React/Base/RCTVersion.m +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/runtime/ReactHostImpl.kt +2 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/package.json +8 -8
- package/sdks/hermesc/osx-bin/hermes +0 -0
- package/sdks/hermesc/osx-bin/hermesc +0 -0
- package/sdks/hermesc/win64-bin/hermesc.exe +0 -0
package/React/Base/RCTVersion.m
CHANGED
|
@@ -514,7 +514,8 @@ public class ReactHostImpl(
|
|
|
514
514
|
internal fun <T : NativeModule> hasNativeModule(nativeModuleInterface: Class<T>): Boolean =
|
|
515
515
|
reactInstance?.hasNativeModule<T>(nativeModuleInterface) ?: false
|
|
516
516
|
|
|
517
|
-
internal val nativeModules: Collection<NativeModule>
|
|
517
|
+
internal val nativeModules: Collection<NativeModule>
|
|
518
|
+
get() = reactInstance?.nativeModules ?: listOf()
|
|
518
519
|
|
|
519
520
|
internal fun <T : NativeModule> getNativeModule(nativeModuleInterface: Class<T>): T? {
|
|
520
521
|
if (!ReactBuildConfig.UNSTABLE_ENABLE_MINIFY_LEGACY_ARCHITECTURE &&
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native",
|
|
3
|
-
"version": "0.81.0
|
|
3
|
+
"version": "0.81.0",
|
|
4
4
|
"description": "A framework for building native apps using React",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -162,13 +162,13 @@
|
|
|
162
162
|
},
|
|
163
163
|
"dependencies": {
|
|
164
164
|
"@jest/create-cache-key-function": "^29.7.0",
|
|
165
|
-
"@react-native/assets-registry": "0.81.0
|
|
166
|
-
"@react-native/codegen": "0.81.0
|
|
167
|
-
"@react-native/community-cli-plugin": "0.81.0
|
|
168
|
-
"@react-native/gradle-plugin": "0.81.0
|
|
169
|
-
"@react-native/js-polyfills": "0.81.0
|
|
170
|
-
"@react-native/normalize-colors": "0.81.0
|
|
171
|
-
"@react-native/virtualized-lists": "0.81.0
|
|
165
|
+
"@react-native/assets-registry": "0.81.0",
|
|
166
|
+
"@react-native/codegen": "0.81.0",
|
|
167
|
+
"@react-native/community-cli-plugin": "0.81.0",
|
|
168
|
+
"@react-native/gradle-plugin": "0.81.0",
|
|
169
|
+
"@react-native/js-polyfills": "0.81.0",
|
|
170
|
+
"@react-native/normalize-colors": "0.81.0",
|
|
171
|
+
"@react-native/virtualized-lists": "0.81.0",
|
|
172
172
|
"abort-controller": "^3.0.0",
|
|
173
173
|
"anser": "^1.4.9",
|
|
174
174
|
"ansi-regex": "^5.0.0",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|