react-native 0.77.0-rc.5 → 0.77.0-rc.6
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/cmake-utils/ReactNative-application.cmake +13 -3
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/devsupport/StackTraceHelper.java +6 -2
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -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
|
@@ -39,9 +39,19 @@ if (PROJECT_ROOT_DIR)
|
|
|
39
39
|
# variable is defined if user need to access it.
|
|
40
40
|
endif ()
|
|
41
41
|
|
|
42
|
-
file(GLOB
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
file(GLOB override_cpp_SRC CONFIGURE_DEPENDS *.cpp)
|
|
43
|
+
# We check if the user is providing a custom OnLoad.cpp file. If so, we pick that
|
|
44
|
+
# for compilation. Otherwise we fallback to using the `default-app-setup/OnLoad.cpp`
|
|
45
|
+
# file instead.
|
|
46
|
+
if(override_cpp_SRC)
|
|
47
|
+
file(GLOB input_SRC CONFIGURE_DEPENDS
|
|
48
|
+
*.cpp
|
|
49
|
+
${BUILD_DIR}/generated/autolinking/src/main/jni/*.cpp)
|
|
50
|
+
else()
|
|
51
|
+
file(GLOB input_SRC CONFIGURE_DEPENDS
|
|
52
|
+
${REACT_ANDROID_DIR}/cmake-utils/default-app-setup/*.cpp
|
|
53
|
+
${BUILD_DIR}/generated/autolinking/src/main/jni/*.cpp)
|
|
54
|
+
endif()
|
|
45
55
|
|
|
46
56
|
add_library(${CMAKE_PROJECT_NAME} SHARED ${input_SRC})
|
|
47
57
|
|
|
@@ -268,8 +268,12 @@ public class StackTraceHelper {
|
|
|
268
268
|
List<ReadableMap> readableMapList = new ArrayList<>();
|
|
269
269
|
for (ParsedError.StackFrame frame : frames) {
|
|
270
270
|
JavaOnlyMap map = new JavaOnlyMap();
|
|
271
|
-
|
|
272
|
-
|
|
271
|
+
if (frame.getColumn() != null) {
|
|
272
|
+
map.putDouble(COLUMN_KEY, frame.getColumn());
|
|
273
|
+
}
|
|
274
|
+
if (frame.getLineNumber() != null) {
|
|
275
|
+
map.putDouble(LINE_NUMBER_KEY, frame.getLineNumber());
|
|
276
|
+
}
|
|
273
277
|
map.putString(FILE_KEY, (String) frame.getFile());
|
|
274
278
|
map.putString(METHOD_NAME_KEY, (String) frame.getMethodName());
|
|
275
279
|
readableMapList.add(map);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native",
|
|
3
|
-
"version": "0.77.0-rc.
|
|
3
|
+
"version": "0.77.0-rc.6",
|
|
4
4
|
"description": "A framework for building native apps using React",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -108,13 +108,13 @@
|
|
|
108
108
|
},
|
|
109
109
|
"dependencies": {
|
|
110
110
|
"@jest/create-cache-key-function": "^29.6.3",
|
|
111
|
-
"@react-native/assets-registry": "0.77.0-rc.
|
|
112
|
-
"@react-native/codegen": "0.77.0-rc.
|
|
113
|
-
"@react-native/community-cli-plugin": "0.77.0-rc.
|
|
114
|
-
"@react-native/gradle-plugin": "0.77.0-rc.
|
|
115
|
-
"@react-native/js-polyfills": "0.77.0-rc.
|
|
116
|
-
"@react-native/normalize-colors": "0.77.0-rc.
|
|
117
|
-
"@react-native/virtualized-lists": "0.77.0-rc.
|
|
111
|
+
"@react-native/assets-registry": "0.77.0-rc.6",
|
|
112
|
+
"@react-native/codegen": "0.77.0-rc.6",
|
|
113
|
+
"@react-native/community-cli-plugin": "0.77.0-rc.6",
|
|
114
|
+
"@react-native/gradle-plugin": "0.77.0-rc.6",
|
|
115
|
+
"@react-native/js-polyfills": "0.77.0-rc.6",
|
|
116
|
+
"@react-native/normalize-colors": "0.77.0-rc.6",
|
|
117
|
+
"@react-native/virtualized-lists": "0.77.0-rc.6",
|
|
118
118
|
"abort-controller": "^3.0.0",
|
|
119
119
|
"anser": "^1.4.9",
|
|
120
120
|
"ansi-regex": "^5.0.0",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|