react-native-macos 0.0.0-b1e6b9783 → 0.0.0-b6f122030

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.
@@ -1054,7 +1054,11 @@ class ScrollView extends React.Component<Props, State> {
1054
1054
  |},
1055
1055
  animated?: boolean, // deprecated, put this inside the rect argument instead
1056
1056
  ) => {
1057
- invariant(Platform.OS === 'ios', 'zoomToRect is not implemented');
1057
+ invariant(
1058
+ // [TODO(macOS GH#774)
1059
+ Platform.OS === 'ios' || Platform.OS === 'macos',
1060
+ 'zoomToRect is not implemented',
1061
+ ); // TODO [(macOS GH#774)
1058
1062
  if ('animated' in rect) {
1059
1063
  this._animated = rect.animated;
1060
1064
  delete rect.animated;
@@ -17,5 +17,5 @@ exports.version = {
17
17
  major: 0,
18
18
  minor: 0,
19
19
  patch: 0,
20
- prerelease: 'b1e6b9783',
20
+ prerelease: 'b6f122030',
21
21
  };
@@ -28,7 +28,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
28
28
  RCTVersionMajor: @(0),
29
29
  RCTVersionMinor: @(0),
30
30
  RCTVersionPatch: @(0),
31
- RCTVersionPrerelease: @"b1e6b9783",
31
+ RCTVersionPrerelease: @"b6f122030",
32
32
  };
33
33
  });
34
34
  return __rnVersion;
@@ -51,7 +51,9 @@ static CVReturn RCTPlatformDisplayLinkCallBack(__unused CVDisplayLinkRef display
51
51
  if (rctDisplayLink->_runLoop != nil) {
52
52
  CFRunLoopRef cfRunLoop = [rctDisplayLink->_runLoop getCFRunLoop];
53
53
  CFRunLoopPerformBlock(cfRunLoop, (__bridge CFArrayRef)rctDisplayLink->_modes, ^{
54
- [rctDisplayLink tick];
54
+ @autoreleasepool {
55
+ [rctDisplayLink tick];
56
+ }
55
57
  });
56
58
  CFRunLoopWakeUp(cfRunLoop);
57
59
  }
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.0.0-b1e6b9783
1
+ VERSION_NAME=0.0.0-b6f122030
2
2
  GROUP=com.facebook.react
3
3
 
4
4
  POM_NAME=ReactNative
@@ -22,5 +22,5 @@ public class ReactNativeVersion {
22
22
  "major", 0,
23
23
  "minor", 0,
24
24
  "patch", 0,
25
- "prerelease", "b1e6b9783");
25
+ "prerelease", "b6f122030");
26
26
  }
@@ -22,7 +22,7 @@ constexpr struct {
22
22
  int32_t Major = 0;
23
23
  int32_t Minor = 0;
24
24
  int32_t Patch = 0;
25
- std::string_view Prerelease = "b1e6b9783";
25
+ std::string_view Prerelease = "b6f122030";
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-macos",
3
- "version": "0.0.0-b1e6b9783",
3
+ "version": "0.0.0-b6f122030",
4
4
  "bin": "./cli.js",
5
5
  "description": "React Native for macOS",
6
6
  "license": "MIT",
@@ -13,7 +13,7 @@
13
13
  "dependencies": {
14
14
  "react": "17.0.2",
15
15
  "react-native-macos": "1000.0.0",
16
- "react-native": "0.0.0-b1e6b9783"
16
+ "react-native": "0.0.0-b6f122030"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@babel/core": "^7.12.9",