react-native 0.71.17 → 0.71.18
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/Libraries/LogBox/Data/parseLogBoxLog.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.java +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/package.json +1 -1
- package/scripts/cocoapods/utils.rb +21 -0
- package/scripts/react_native_pods.rb +1 -0
- package/sdks/hermesc/osx-bin/hermesc +0 -0
- package/sdks/hermesc/win64-bin/hermesc.exe +0 -0
- package/template/package.json +1 -1
|
@@ -192,7 +192,7 @@ export function parseComponentStack(message: string): ComponentStack {
|
|
|
192
192
|
if (!s) {
|
|
193
193
|
return null;
|
|
194
194
|
}
|
|
195
|
-
const match = s.match(/(.*) \(at (.*\.js):([\d]+)\)/);
|
|
195
|
+
const match = s.match(/(.*) \(at (.*\.(?:js|jsx|ts|tsx)):([\d]+)\)/);
|
|
196
196
|
if (!match) {
|
|
197
197
|
return null;
|
|
198
198
|
}
|
package/React/Base/RCTVersion.m
CHANGED
package/package.json
CHANGED
|
@@ -144,6 +144,27 @@ class ReactNativePodsUtils
|
|
|
144
144
|
end
|
|
145
145
|
end
|
|
146
146
|
|
|
147
|
+
def self.fix_flipper_for_xcode_15_3(installer)
|
|
148
|
+
installer.pods_project.targets.each do |target|
|
|
149
|
+
if target.name == 'Flipper'
|
|
150
|
+
file_path = 'Pods/Flipper/xplat/Flipper/FlipperTransportTypes.h'
|
|
151
|
+
if !File.exist?(file_path)
|
|
152
|
+
return
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
contents = File.read(file_path)
|
|
156
|
+
if contents.include?('#include <functional>')
|
|
157
|
+
return
|
|
158
|
+
end
|
|
159
|
+
mod_content = contents.gsub("#pragma once", "#pragma once\n#include <functional>")
|
|
160
|
+
File.chmod(0755, file_path)
|
|
161
|
+
File.open(file_path, 'w') do |file|
|
|
162
|
+
file.puts(mod_content)
|
|
163
|
+
end
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
|
|
147
168
|
def self.apply_xcode_15_patch(installer, xcodebuild_manager: Xcodebuild)
|
|
148
169
|
projects = self.extract_projects(installer)
|
|
149
170
|
|
|
@@ -226,6 +226,7 @@ def react_native_post_install(installer, react_native_path = "../node_modules/re
|
|
|
226
226
|
ReactNativePodsUtils.set_node_modules_user_settings(installer, react_native_path)
|
|
227
227
|
ReactNativePodsUtils.apply_xcode_15_patch(installer)
|
|
228
228
|
ReactNativePodsUtils.updateIphoneOSDeploymentTarget(installer)
|
|
229
|
+
ReactNativePodsUtils.fix_flipper_for_xcode_15_3(installer)
|
|
229
230
|
|
|
230
231
|
NewArchitectureHelper.set_clang_cxx_language_standard_if_needed(installer)
|
|
231
232
|
is_new_arch_enabled = ENV['RCT_NEW_ARCH_ENABLED'] == "1"
|
|
Binary file
|
|
Binary file
|