react-native-macos 0.64.17 → 0.64.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.
@@ -12,6 +12,6 @@
12
12
  exports.version = {
13
13
  major: 0,
14
14
  minor: 64,
15
- patch: 17,
15
+ patch: 18,
16
16
  prerelease: null,
17
17
  };
@@ -23,7 +23,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
23
23
  __rnVersion = @{
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(64),
26
- RCTVersionPatch: @(17),
26
+ RCTVersionPatch: @(18),
27
27
  RCTVersionPrerelease: [NSNull null],
28
28
  };
29
29
  });
@@ -118,16 +118,15 @@ RCT_EXPORT_METHOD(showActionSheetWithOptions
118
118
  UIColor *tintColor = [RCTConvert UIColor:options.tintColor() ? @(*options.tintColor()) : nil];
119
119
 
120
120
  if (controller == nil) {
121
- RCTLogError(@"Tried to display action sheet but there is no application window. options: %@", @{
122
- @"title" : title,
123
- @"message" : message,
124
- @"options" : buttons,
121
+ RCTLogError(@"Tried to display action sheet but there is no application window. options: %@", @{ /* // [ TODO(macOS GH#774): nil check our dict values before inserting them or we may crash */
122
+ @"title" : title ?: [NSNull null],
123
+ @"message" : message ?: [NSNull null],
124
+ @"options" : buttons ?: [NSNull null],
125
125
  @"cancelButtonIndex" : @(cancelButtonIndex),
126
- @"destructiveButtonIndices" : destructiveButtonIndices,
127
- @"anchor" : anchor,
128
- @"tintColor" : tintColor,
129
- @"disabledButtonIndices" : disabledButtonIndices,
130
- });
126
+ @"destructiveButtonIndices" : destructiveButtonIndices ?: [NSNull null],
127
+ @"anchor" : anchor ?: [NSNull null],
128
+ @"tintColor" : tintColor ?: [NSNull null],
129
+ }); /* // TODO(macOS GH#774): nil check our dict values before inserting them or we may crash ] */
131
130
  return;
132
131
  }
133
132
  #endif // TODO(macOS GH#774)
@@ -1,5 +1,5 @@
1
1
  # TODO :: ANDROID patch to stay consistant with the npm version.
2
- VERSION_NAME=0.64.17
2
+ VERSION_NAME=0.64.18
3
3
  GROUP=com.facebook.react
4
4
 
5
5
  POM_NAME=ReactNative
@@ -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", 64,
20
- "patch", 17,
20
+ "patch", 18,
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 = 64;
20
- int32_t Patch = 17;
20
+ int32_t Patch = 18;
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-macos",
3
- "version": "0.64.17",
3
+ "version": "0.64.18",
4
4
  "bin": "./cli.js",
5
5
  "description": "[Microsoft Fork] A framework for building native apps using React",
6
6
  "license": "MIT",
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "react": "17.0.1",
14
- "react-native": "0.64.17"
14
+ "react-native": "0.64.18"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@babel/core": "^7.12.9",