react-native 0.72.9 → 0.72.10

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.
@@ -12,6 +12,6 @@
12
12
  exports.version = {
13
13
  major: 0,
14
14
  minor: 72,
15
- patch: 9,
15
+ patch: 10,
16
16
  prerelease: null,
17
17
  };
@@ -36,6 +36,11 @@ let rejectionTrackingOptions: $Call<ExtractOptionsType, enable> = {
36
36
  ? rejection
37
37
  : JSON.stringify((rejection: $FlowFixMe));
38
38
  }
39
+ // It could although this object is not a standard error, it still has stack information to unwind
40
+ // $FlowFixMe ignore types just check if stack is there
41
+ if (rejection.stack && typeof rejection.stack === 'string') {
42
+ stack = rejection.stack;
43
+ }
39
44
  }
40
45
 
41
46
  const warning = `Possible unhandled promise rejection (id: ${id}):\n${
@@ -23,7 +23,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
23
23
  __rnVersion = @{
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(72),
26
- RCTVersionPatch: @(9),
26
+ RCTVersionPatch: @(10),
27
27
  RCTVersionPrerelease: [NSNull null],
28
28
  };
29
29
  });
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.72.9
1
+ VERSION_NAME=0.72.10
2
2
  GROUP=com.facebook.react
3
3
 
4
4
  # JVM Versions
@@ -17,6 +17,6 @@ public class ReactNativeVersion {
17
17
  public static final Map<String, Object> VERSION = MapBuilder.<String, Object>of(
18
18
  "major", 0,
19
19
  "minor", 72,
20
- "patch", 9,
20
+ "patch", 10,
21
21
  "prerelease", null);
22
22
  }
@@ -17,7 +17,7 @@ namespace facebook::react {
17
17
  constexpr struct {
18
18
  int32_t Major = 0;
19
19
  int32_t Minor = 72;
20
- int32_t Patch = 9;
20
+ int32_t Patch = 10;
21
21
  std::string_view Prerelease = "";
22
22
  } ReactNativeVersion;
23
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native",
3
- "version": "0.72.9",
3
+ "version": "0.72.10",
4
4
  "bin": "./cli.js",
5
5
  "description": "A framework for building native apps using React",
6
6
  "license": "MIT",
@@ -38,7 +38,7 @@ end
38
38
  module Helpers
39
39
  class Constants
40
40
  def self.min_ios_version_supported
41
- return '13.4'
41
+ return '12.4'
42
42
  end
43
43
  end
44
44
  end
@@ -137,7 +137,7 @@ class ReactNativePodsUtils
137
137
 
138
138
  # fix for weak linking
139
139
  self.safe_init(config, other_ld_flags_key)
140
- if self.is_using_xcode15_or_greter(:xcodebuild_manager => xcodebuild_manager)
140
+ if self.is_using_xcode15_0(:xcodebuild_manager => xcodebuild_manager)
141
141
  self.add_value_to_setting_if_missing(config, other_ld_flags_key, xcode15_compatibility_flags)
142
142
  else
143
143
  self.remove_value_from_setting_if_present(config, other_ld_flags_key, xcode15_compatibility_flags)
@@ -321,7 +321,7 @@ class ReactNativePodsUtils
321
321
  end
322
322
  end
323
323
 
324
- def self.is_using_xcode15_or_greter(xcodebuild_manager: Xcodebuild)
324
+ def self.is_using_xcode15_0(xcodebuild_manager: Xcodebuild)
325
325
  xcodebuild_version = xcodebuild_manager.version
326
326
 
327
327
  # The output of xcodebuild -version is something like
@@ -332,7 +332,8 @@ class ReactNativePodsUtils
332
332
  regex = /(\d+)\.(\d+)(?:\.(\d+))?/
333
333
  if match_data = xcodebuild_version.match(regex)
334
334
  major = match_data[1].to_i
335
- return major >= 15
335
+ minor = match_data[2].to_i
336
+ return major == 15 && minor == 0
336
337
  end
337
338
 
338
339
  return false
@@ -52,13 +52,9 @@ function build_host_hermesc {
52
52
 
53
53
  # Utility function to configure an Apple framework
54
54
  function configure_apple_framework {
55
- local build_cli_tools enable_bitcode enable_debugger cmake_build_type xcode_15_flags xcode_major_version
55
+ local build_cli_tools enable_debugger cmake_build_type xcode_15_flags xcode_major_version
56
+
56
57
 
57
- if [[ $1 == iphoneos || $1 == catalyst ]]; then
58
- enable_bitcode="true"
59
- else
60
- enable_bitcode="false"
61
- fi
62
58
  if [[ $1 == macosx ]]; then
63
59
  build_cli_tools="true"
64
60
  else
@@ -94,7 +90,7 @@ function configure_apple_framework {
94
90
  -DHERMES_ENABLE_LIBFUZZER:BOOLEAN=false \
95
91
  -DHERMES_ENABLE_FUZZILLI:BOOLEAN=false \
96
92
  -DHERMES_ENABLE_TEST_SUITE:BOOLEAN=false \
97
- -DHERMES_ENABLE_BITCODE:BOOLEAN="$enable_bitcode" \
93
+ -DHERMES_ENABLE_BITCODE:BOOLEAN=false \
98
94
  -DHERMES_BUILD_APPLE_FRAMEWORK:BOOLEAN=true \
99
95
  -DHERMES_BUILD_APPLE_DSYM:BOOLEAN=true \
100
96
  -DHERMES_ENABLE_TOOLS:BOOLEAN="$build_cli_tools" \
Binary file
Binary file
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "react": "18.2.0",
14
- "react-native": "0.72.9"
14
+ "react-native": "0.72.10"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@babel/core": "^7.20.0",