react-native-macos 0.73.8 → 0.73.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: 73,
15
- patch: 8,
15
+ patch: 10,
16
16
  prerelease: null,
17
17
  };
@@ -23,7 +23,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
23
23
  __rnVersion = @{
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(73),
26
- RCTVersionPatch: @(8),
26
+ RCTVersionPatch: @(10),
27
27
  RCTVersionPrerelease: [NSNull null],
28
28
  };
29
29
  });
@@ -18,7 +18,7 @@ end
18
18
 
19
19
  folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -DFOLLY_CFG_NO_COROUTINES=1 -Wno-comma -Wno-shorten-64-to-32'
20
20
  folly_version = '2022.05.16.00'
21
- socket_rocket_version = '0.7.0' # [macOS]
21
+ socket_rocket_version = '0.7.0' # [macOS] [visionOS]
22
22
 
23
23
  header_search_paths = [
24
24
  "\"$(PODS_TARGET_SRCROOT)/React/CoreModules\"",
@@ -18,7 +18,7 @@ end
18
18
 
19
19
  folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -DFOLLY_CFG_NO_COROUTINES=1 -Wno-comma -Wno-shorten-64-to-32'
20
20
  folly_version = '2022.05.16.00'
21
- socket_rocket_version = '0.7.0' # [macOS]
21
+ socket_rocket_version = '0.7.0' # [macOS] [visionOS]
22
22
  boost_compiler_flags = '-Wno-documentation'
23
23
 
24
24
  use_hermes = ENV['USE_HERMES'] == nil || ENV['USE_HERMES'] == '1'
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.73.8
1
+ VERSION_NAME=0.73.10
2
2
  react.internal.publishingGroup=com.facebook.react
3
3
 
4
4
  android.useAndroidX=true
@@ -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", 73,
20
- "patch", 8,
20
+ "patch", 10,
21
21
  "prerelease", null);
22
22
  }
@@ -6,7 +6,7 @@
6
6
  cmake_minimum_required(VERSION 3.13)
7
7
  set(CMAKE_VERBOSE_MAKEFILE on)
8
8
 
9
- add_compile_options(-std=c++11 -fexceptions)
9
+ add_compile_options(-std=c++20 -fexceptions)
10
10
 
11
11
  add_library(fmt STATIC src/format.cc)
12
12
 
@@ -51,7 +51,7 @@ Pod::Spec.new do |s|
51
51
  s.dependency "React-logger"
52
52
  s.dependency "glog"
53
53
  s.dependency "DoubleConversion"
54
- s.dependency 'fmt' , '~> 6.2.1'
54
+ s.dependency "fmt", "9.1.0"
55
55
  s.dependency "React-Core"
56
56
  s.dependency "React-debug"
57
57
  s.dependency "React-utils"
@@ -72,7 +72,7 @@ Pod::Spec.new do |s|
72
72
  s.dependency "React-logger"
73
73
  s.dependency "glog"
74
74
  s.dependency "DoubleConversion"
75
- s.dependency 'fmt' , '~> 6.2.1'
75
+ s.dependency "fmt", "9.1.0"
76
76
  s.dependency "React-ImageManager"
77
77
  s.dependency "React-utils"
78
78
  s.dependency "Yoga"
@@ -50,7 +50,7 @@ Pod::Spec.new do |s|
50
50
  ss.dependency "RCT-Folly", folly_version
51
51
  s.dependency "React-logger", version
52
52
  ss.dependency "DoubleConversion"
53
- ss.dependency 'fmt' , '~> 6.2.1'
53
+ ss.dependency "fmt", "9.1.0"
54
54
  ss.dependency "glog"
55
55
  if using_hermes
56
56
  ss.dependency "hermes-engine"
@@ -41,7 +41,7 @@ Pod::Spec.new do |s|
41
41
 
42
42
  s.dependency "boost", "1.83.0"
43
43
  s.dependency "DoubleConversion"
44
- s.dependency 'fmt' , '~> 6.2.1'
44
+ s.dependency "fmt", "9.1.0"
45
45
  s.dependency "RCT-Folly", folly_version
46
46
  s.dependency "glog"
47
47
  s.dependency "React-jsinspector", version
@@ -17,7 +17,7 @@ namespace facebook::react {
17
17
  constexpr struct {
18
18
  int32_t Major = 0;
19
19
  int32_t Minor = 73;
20
- int32_t Patch = 8;
20
+ int32_t Patch = 10;
21
21
  std::string_view Prerelease = "";
22
22
  } ReactNativeVersion;
23
23
 
@@ -47,7 +47,7 @@ Pod::Spec.new do |s|
47
47
  s.dependency "React-perflogger", version
48
48
  s.dependency "RCT-Folly", folly_version
49
49
  s.dependency "DoubleConversion"
50
- s.dependency 'fmt' , '~> 6.2.1'
50
+ s.dependency "fmt", "9.1.0"
51
51
  s.dependency "glog"
52
52
  s.dependency "RCT-Folly/Futures", folly_version
53
53
  s.dependency "hermes-engine"
@@ -41,7 +41,7 @@ Pod::Spec.new do |s|
41
41
 
42
42
  s.dependency "boost", "1.83.0"
43
43
  s.dependency "DoubleConversion"
44
- s.dependency 'fmt' , '~> 6.2.1'
44
+ s.dependency "fmt", "9.1.0"
45
45
  s.dependency "RCT-Folly", folly_version
46
46
  s.dependency "glog"
47
47
 
@@ -40,7 +40,7 @@ Pod::Spec.new do |s|
40
40
  s.dependency "React-perflogger", version
41
41
  s.dependency "RCT-Folly", folly_version
42
42
  s.dependency "DoubleConversion"
43
- s.dependency 'fmt' , '~> 6.2.1'
43
+ s.dependency "fmt", "9.1.0"
44
44
  s.dependency "glog"
45
45
 
46
46
  if ENV['USE_HERMES'] == nil || ENV['USE_HERMES'] == "1"
@@ -58,7 +58,7 @@ Pod::Spec.new do |s|
58
58
 
59
59
  s.dependency "RCT-Folly"
60
60
  s.dependency "DoubleConversion"
61
- s.dependency "fmt", '~> 6.2.1'
61
+ s.dependency "fmt", "9.1.0"
62
62
  s.dependency "React-Core"
63
63
  s.dependency "React-cxxreact"
64
64
  s.dependency "React-jsi"
@@ -56,6 +56,6 @@ Pod::Spec.new do |s|
56
56
 
57
57
  s.dependency "RCT-Folly", folly_version
58
58
  s.dependency "DoubleConversion"
59
- s.dependency 'fmt' , '~> 6.2.1'
59
+ s.dependency "fmt", "9.1.0"
60
60
  add_dependency(s, "React-debug")
61
61
  end
@@ -33,7 +33,7 @@ yoga-proguard-annotations = "1.19.0"
33
33
  # Native Dependencies
34
34
  boost="1_83_0"
35
35
  doubleconversion="1.1.6"
36
- fmt="6.2.1"
36
+ fmt="9.1.0"
37
37
  folly="2022.05.16.00"
38
38
  glog="0.3.5"
39
39
  libevent="2.1.12"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-macos",
3
- "version": "0.73.8",
3
+ "version": "0.73.10",
4
4
  "description": "React Native for macOS",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -45,5 +45,10 @@ module Helpers
45
45
  return '10.15'
46
46
  end
47
47
  # macOS]
48
+ # [visionOS
49
+ def self.min_visionos_version_supported
50
+ return '1.0'
51
+ end
52
+ # visionOS]
48
53
  end
49
54
  end
@@ -340,12 +340,18 @@ class ReactNativePodsUtils
340
340
  config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] :
341
341
  Helpers::Constants.min_ios_version_supported
342
342
  config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] = [Helpers::Constants.min_ios_version_supported.to_f, old_iphone_deploy_target.to_f].max.to_s
343
- # [macOS
343
+ # [macOS
344
344
  old_macos_deploy_target = config.build_settings["MACOSX_DEPLOYMENT_TARGET"] ?
345
345
  config.build_settings["MACOSX_DEPLOYMENT_TARGET"] :
346
346
  Helpers::Constants.min_macos_version_supported
347
347
  config.build_settings["MACOSX_DEPLOYMENT_TARGET"] = [Helpers::Constants.min_macos_version_supported.to_f, old_macos_deploy_target.to_f].max.to_s
348
348
  # macOS]
349
+ # [visionOS
350
+ old_visionos_deploy_target = config.build_settings["XROS_DEPLOYMENT_TARGET"] ?
351
+ config.build_settings["XROS_DEPLOYMENT_TARGET"] :
352
+ Helpers::Constants.min_visionos_version_supported
353
+ config.build_settings["XROS_DEPLOYMENT_TARGET"] = [Helpers::Constants.min_visionos_version_supported.to_f, old_visionos_deploy_target.to_f].max.to_s
354
+ # visionOS]
349
355
  end
350
356
  end
351
357
  end
@@ -47,11 +47,17 @@ def min_macos_version_supported
47
47
  end
48
48
  # macOS]
49
49
 
50
+ # [visionOS
51
+ def min_visionos_version_supported
52
+ return Helpers::Constants.min_visionos_version_supported
53
+ end
54
+ # visionOS]
55
+
50
56
  # This function returns the min supported OS versions supported by React Native
51
57
  # By using this function, you won't have to manually change your Podfile
52
58
  # when we change the minimum version supported by the framework.
53
59
  def min_supported_versions
54
- return { :ios => min_ios_version_supported, :osx => min_macos_version_supported} # [macOS]
60
+ return { :ios => min_ios_version_supported, :osx => min_macos_version_supported, :visionos => min_visionos_version_supported } # [macOS] [visionOS]
55
61
  end
56
62
 
57
63
  # This function prepares the project for React Native, before processing
@@ -161,7 +167,9 @@ def use_react_native! (
161
167
  pod 'DoubleConversion', :podspec => "#{prefix}/third-party-podspecs/DoubleConversion.podspec"
162
168
  pod 'glog', :podspec => "#{prefix}/third-party-podspecs/glog.podspec"
163
169
  pod 'boost', :podspec => "#{prefix}/third-party-podspecs/boost.podspec"
170
+ pod 'fmt', :podspec => "#{prefix}/third-party-podspecs/fmt.podspec"
164
171
  pod 'RCT-Folly', :podspec => "#{prefix}/third-party-podspecs/RCT-Folly.podspec", :modular_headers => true
172
+ pod 'SocketRocket', :podspec => "#{prefix}/third-party-podspecs/SocketRocket.podspec", :modular_headers => true # [visionOS]
165
173
 
166
174
  run_codegen!(
167
175
  app_path,
@@ -20,7 +20,7 @@ Pod::Spec.new do |spec|
20
20
  spec.dependency 'boost'
21
21
  spec.dependency 'DoubleConversion'
22
22
  spec.dependency 'glog'
23
- spec.dependency 'fmt' , '~> 6.2.1'
23
+ spec.dependency "fmt", "9.1.0"
24
24
  spec.compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -DFOLLY_CFG_NO_COROUTINES=1 -DFOLLY_HAVE_PTHREAD=1 -Wno-comma -Wno-shorten-64-to-32 -Wno-documentation -faligned-new'
25
25
  spec.source_files = 'folly/String.cpp',
26
26
  'folly/Conv.cpp',
@@ -0,0 +1,30 @@
1
+ # Copyright (c) Meta Platforms, Inc. and affiliates.
2
+ #
3
+ # This source code is licensed under the MIT license found in the
4
+ # LICENSE file in the root directory of this source tree.
5
+
6
+ # [visionOS] Local copy of SocketRocket.podspec with visionOS added as a platform
7
+
8
+ socket_rocket_version = '0.7.0'
9
+
10
+ Pod::Spec.new do |s|
11
+ s.name = 'SocketRocket'
12
+ s.version = socket_rocket_version
13
+ s.summary = 'A conforming WebSocket (RFC 6455) client library for iOS, macOS and tvOS.'
14
+ s.homepage = 'https://github.com/facebook/SocketRocket'
15
+ s.authors = { 'Nikita Lutsenko' => 'nlutsenko@me.com', 'Dan Federman' => 'federman@squareup.com', 'Mike Lewis' => 'mikelikespie@gmail.com' }
16
+ s.license = 'BSD'
17
+ s.source = { :git => 'https://github.com/facebook/SocketRocket.git', :tag => socket_rocket_version }
18
+ s.requires_arc = true
19
+
20
+ s.source_files = 'SocketRocket/**/*.{h,m}'
21
+ s.public_header_files = 'SocketRocket/*.h'
22
+
23
+ s.platforms = min_supported_versions
24
+
25
+ s.ios.frameworks = 'CFNetwork', 'Security'
26
+ s.osx.frameworks = 'CoreServices', 'Security'
27
+ s.tvos.frameworks = 'CFNetwork', 'Security'
28
+ s.visionos.frameworks = 'CFNetwork', 'Security'
29
+ s.libraries = 'icucore'
30
+ end
@@ -0,0 +1,25 @@
1
+ # Copyright (c) Meta Platforms, Inc. and affiliates.
2
+ #
3
+ # This source code is licensed under the MIT license found in the
4
+ # LICENSE file in the root directory of this source tree.
5
+
6
+ Pod::Spec.new do |spec|
7
+ spec.name = "fmt"
8
+ spec.version = "9.1.0"
9
+ spec.license = { :type => "MIT" }
10
+ spec.homepage = "https://github.com/fmtlib/fmt"
11
+ spec.summary = "{fmt} is an open-source formatting library for C++. It can be used as a safe and fast alternative to (s)printf and iostreams."
12
+ spec.authors = "The fmt contributors"
13
+ spec.source = {
14
+ :git => "https://github.com/fmtlib/fmt.git",
15
+ :tag => "9.1.0"
16
+ }
17
+ spec.pod_target_xcconfig = {
18
+ "CLANG_CXX_LANGUAGE_STANDARD" => "c++20",
19
+ }
20
+ spec.platforms = min_supported_versions
21
+ spec.libraries = "c++"
22
+ spec.public_header_files = "include/fmt/*.h"
23
+ spec.header_mappings_dir = "include"
24
+ spec.source_files = ["include/fmt/*.h", "src/format.cc"]
25
+ end