react-native 0.83.0-nightly-20251101-693e9628e → 0.83.0-nightly-20251103-54047f891
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/fabric/mounting/SurfaceMountingManager.java +17 -15
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/ReactCommon/react/renderer/animated/NativeAnimatedNodesManager.cpp +13 -6
- package/package.json +8 -8
|
@@ -29,7 +29,7 @@ export default class ReactNativeVersion {
|
|
|
29
29
|
static major: number = 0;
|
|
30
30
|
static minor: number = 83;
|
|
31
31
|
static patch: number = 0;
|
|
32
|
-
static prerelease: string | null = 'nightly-
|
|
32
|
+
static prerelease: string | null = 'nightly-20251103-54047f891';
|
|
33
33
|
|
|
34
34
|
static getVersionString(): string {
|
|
35
35
|
return `${this.major}.${this.minor}.${this.patch}${this.prerelease != null ? `-${this.prerelease}` : ''}`;
|
package/React/Base/RCTVersion.m
CHANGED
|
@@ -24,7 +24,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
|
|
|
24
24
|
RCTVersionMajor: @(0),
|
|
25
25
|
RCTVersionMinor: @(83),
|
|
26
26
|
RCTVersionPatch: @(0),
|
|
27
|
-
RCTVersionPrerelease: @"nightly-
|
|
27
|
+
RCTVersionPrerelease: @"nightly-20251103-54047f891",
|
|
28
28
|
};
|
|
29
29
|
});
|
|
30
30
|
return __rnVersion;
|
package/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.java
CHANGED
|
@@ -60,7 +60,6 @@ import java.util.ArrayDeque;
|
|
|
60
60
|
import java.util.ArrayList;
|
|
61
61
|
import java.util.HashMap;
|
|
62
62
|
import java.util.HashSet;
|
|
63
|
-
import java.util.Iterator;
|
|
64
63
|
import java.util.LinkedList;
|
|
65
64
|
import java.util.Map;
|
|
66
65
|
import java.util.Queue;
|
|
@@ -71,6 +70,8 @@ public class SurfaceMountingManager {
|
|
|
71
70
|
public static final String TAG = SurfaceMountingManager.class.getSimpleName();
|
|
72
71
|
|
|
73
72
|
private static final boolean SHOW_CHANGED_VIEW_HIERARCHIES = ReactBuildConfig.DEBUG && false;
|
|
73
|
+
private static final String PROP_TRANSFORM = "transform";
|
|
74
|
+
private static final String PROP_OPACITY = "opacity";
|
|
74
75
|
|
|
75
76
|
private volatile boolean mIsStopped = false;
|
|
76
77
|
private volatile boolean mRootViewAttached = false;
|
|
@@ -700,7 +701,7 @@ public class SurfaceMountingManager {
|
|
|
700
701
|
String propKey = entry.getKey();
|
|
701
702
|
if (outputReadableMap.hasKey(propKey)) {
|
|
702
703
|
Object propValue = entry.getValue();
|
|
703
|
-
if (propKey.equals(
|
|
704
|
+
if (propKey.equals(PROP_TRANSFORM)) {
|
|
704
705
|
assert (outputReadableMap.getType(propKey) == ReadableType.Array
|
|
705
706
|
&& propValue instanceof ArrayList);
|
|
706
707
|
WritableArray array = new WritableNativeArray();
|
|
@@ -720,7 +721,7 @@ public class SurfaceMountingManager {
|
|
|
720
721
|
}
|
|
721
722
|
}
|
|
722
723
|
outputReadableMap.putArray(propKey, array);
|
|
723
|
-
} else if (propKey.equals(
|
|
724
|
+
} else if (propKey.equals(PROP_OPACITY)) {
|
|
724
725
|
assert (outputReadableMap.getType(propKey) == ReadableType.Number
|
|
725
726
|
&& propValue instanceof Number);
|
|
726
727
|
outputReadableMap.putDouble(propKey, ((Number) propValue).doubleValue());
|
|
@@ -732,25 +733,26 @@ public class SurfaceMountingManager {
|
|
|
732
733
|
private static Map<String, Object> getHashMapFromPropsReadableMap(ReadableMap readableMap) {
|
|
733
734
|
HashMap<String, Object> outputMap = new HashMap<>();
|
|
734
735
|
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
for (int i = 0; i < ((ReadableArray) propValue).size(); i++) {
|
|
743
|
-
ReadableMap map = ((ReadableArray) propValue).getMap(i);
|
|
736
|
+
if (readableMap.hasKey(PROP_TRANSFORM)
|
|
737
|
+
&& readableMap.getType(PROP_TRANSFORM) == ReadableType.Array) {
|
|
738
|
+
ReadableArray transformArray = readableMap.getArray(PROP_TRANSFORM);
|
|
739
|
+
if (transformArray != null) {
|
|
740
|
+
ArrayList<HashMap<String, Object>> arrayList = new ArrayList<>(transformArray.size());
|
|
741
|
+
for (int i = 0; i < transformArray.size(); i++) {
|
|
742
|
+
ReadableMap map = transformArray.getMap(i);
|
|
744
743
|
if (map != null) {
|
|
745
744
|
arrayList.add(map.toHashMap());
|
|
746
745
|
}
|
|
747
746
|
}
|
|
748
|
-
outputMap.put(
|
|
749
|
-
} else if (propKey.equals("opacity") && propValue instanceof Number) {
|
|
750
|
-
outputMap.put(propKey, ((Number) propValue).doubleValue());
|
|
747
|
+
outputMap.put(PROP_TRANSFORM, arrayList);
|
|
751
748
|
}
|
|
752
749
|
}
|
|
753
750
|
|
|
751
|
+
if (readableMap.hasKey(PROP_OPACITY)
|
|
752
|
+
&& readableMap.getType(PROP_OPACITY) == ReadableType.Number) {
|
|
753
|
+
outputMap.put(PROP_OPACITY, readableMap.getDouble(PROP_OPACITY));
|
|
754
|
+
}
|
|
755
|
+
|
|
754
756
|
return outputMap;
|
|
755
757
|
}
|
|
756
758
|
|
|
@@ -22,7 +22,7 @@ constexpr struct {
|
|
|
22
22
|
int32_t Major = 0;
|
|
23
23
|
int32_t Minor = 83;
|
|
24
24
|
int32_t Patch = 0;
|
|
25
|
-
std::string_view Prerelease = "nightly-
|
|
25
|
+
std::string_view Prerelease = "nightly-20251103-54047f891";
|
|
26
26
|
} ReactNativeVersion;
|
|
27
27
|
|
|
28
28
|
} // namespace facebook::react
|
|
@@ -1044,13 +1044,20 @@ void NativeAnimatedNodesManager::onRender() {
|
|
|
1044
1044
|
|
|
1045
1045
|
{
|
|
1046
1046
|
// Flush async created animated nodes
|
|
1047
|
-
std::
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1047
|
+
std::unordered_map<Tag, std::unique_ptr<AnimatedNode>>
|
|
1048
|
+
animatedNodesCreatedAsync;
|
|
1049
|
+
{
|
|
1050
|
+
std::lock_guard<std::mutex> lock(animatedNodesCreatedAsyncMutex_);
|
|
1051
|
+
std::swap(animatedNodesCreatedAsync, animatedNodesCreatedAsync_);
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
if (!animatedNodesCreatedAsync.empty()) {
|
|
1055
|
+
std::lock_guard<std::mutex> lock(connectedAnimatedNodesMutex_);
|
|
1056
|
+
for (auto& [tag, node] : animatedNodesCreatedAsync) {
|
|
1057
|
+
animatedNodes_.insert({tag, std::move(node)});
|
|
1058
|
+
updatedNodeTags_.insert(tag);
|
|
1059
|
+
}
|
|
1052
1060
|
}
|
|
1053
|
-
animatedNodesCreatedAsync_.clear();
|
|
1054
1061
|
}
|
|
1055
1062
|
|
|
1056
1063
|
// Run operations scheduled from AnimatedModule
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native",
|
|
3
|
-
"version": "0.83.0-nightly-
|
|
3
|
+
"version": "0.83.0-nightly-20251103-54047f891",
|
|
4
4
|
"description": "A framework for building native apps using React",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -159,13 +159,13 @@
|
|
|
159
159
|
},
|
|
160
160
|
"dependencies": {
|
|
161
161
|
"@jest/create-cache-key-function": "^29.7.0",
|
|
162
|
-
"@react-native/assets-registry": "0.83.0-nightly-
|
|
163
|
-
"@react-native/codegen": "0.83.0-nightly-
|
|
164
|
-
"@react-native/community-cli-plugin": "0.83.0-nightly-
|
|
165
|
-
"@react-native/gradle-plugin": "0.83.0-nightly-
|
|
166
|
-
"@react-native/js-polyfills": "0.83.0-nightly-
|
|
167
|
-
"@react-native/normalize-colors": "0.83.0-nightly-
|
|
168
|
-
"@react-native/virtualized-lists": "0.83.0-nightly-
|
|
162
|
+
"@react-native/assets-registry": "0.83.0-nightly-20251103-54047f891",
|
|
163
|
+
"@react-native/codegen": "0.83.0-nightly-20251103-54047f891",
|
|
164
|
+
"@react-native/community-cli-plugin": "0.83.0-nightly-20251103-54047f891",
|
|
165
|
+
"@react-native/gradle-plugin": "0.83.0-nightly-20251103-54047f891",
|
|
166
|
+
"@react-native/js-polyfills": "0.83.0-nightly-20251103-54047f891",
|
|
167
|
+
"@react-native/normalize-colors": "0.83.0-nightly-20251103-54047f891",
|
|
168
|
+
"@react-native/virtualized-lists": "0.83.0-nightly-20251103-54047f891",
|
|
169
169
|
"abort-controller": "^3.0.0",
|
|
170
170
|
"anser": "^1.4.9",
|
|
171
171
|
"ansi-regex": "^5.0.0",
|