react-native 0.83.0-nightly-20251102-d8e6a985a → 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.
@@ -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-20251102-d8e6a985a';
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}` : ''}`;
@@ -24,7 +24,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(83),
26
26
  RCTVersionPatch: @(0),
27
- RCTVersionPrerelease: @"nightly-20251102-d8e6a985a",
27
+ RCTVersionPrerelease: @"nightly-20251103-54047f891",
28
28
  };
29
29
  });
30
30
  return __rnVersion;
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.83.0-nightly-20251102-d8e6a985a
1
+ VERSION_NAME=0.83.0-nightly-20251103-54047f891
2
2
  react.internal.publishingGroup=com.facebook.react
3
3
  react.internal.hermesPublishingGroup=com.facebook.hermes
4
4
 
@@ -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("transform")) {
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("opacity")) {
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
- Iterator<Map.Entry<String, Object>> iter = readableMap.getEntryIterator();
736
- while (iter.hasNext()) {
737
- Map.Entry<String, Object> entry = iter.next();
738
- String propKey = entry.getKey();
739
- Object propValue = entry.getValue();
740
- if (propKey.equals("transform") && propValue instanceof ReadableArray) {
741
- ArrayList<HashMap<String, Object>> arrayList = new ArrayList<>();
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(propKey, arrayList);
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
 
@@ -15,6 +15,6 @@ public object ReactNativeVersion {
15
15
  "major" to 0,
16
16
  "minor" to 83,
17
17
  "patch" to 0,
18
- "prerelease" to "nightly-20251102-d8e6a985a"
18
+ "prerelease" to "nightly-20251103-54047f891"
19
19
  )
20
20
  }
@@ -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-20251102-d8e6a985a";
25
+ std::string_view Prerelease = "nightly-20251103-54047f891";
26
26
  } ReactNativeVersion;
27
27
 
28
28
  } // namespace facebook::react
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native",
3
- "version": "0.83.0-nightly-20251102-d8e6a985a",
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-20251102-d8e6a985a",
163
- "@react-native/codegen": "0.83.0-nightly-20251102-d8e6a985a",
164
- "@react-native/community-cli-plugin": "0.83.0-nightly-20251102-d8e6a985a",
165
- "@react-native/gradle-plugin": "0.83.0-nightly-20251102-d8e6a985a",
166
- "@react-native/js-polyfills": "0.83.0-nightly-20251102-d8e6a985a",
167
- "@react-native/normalize-colors": "0.83.0-nightly-20251102-d8e6a985a",
168
- "@react-native/virtualized-lists": "0.83.0-nightly-20251102-d8e6a985a",
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",