react-native-macos 0.68.63 → 0.68.65

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.
@@ -16,6 +16,6 @@
16
16
  exports.version = {
17
17
  major: 0,
18
18
  minor: 68,
19
- patch: 63,
19
+ patch: 65,
20
20
  prerelease: null,
21
21
  };
@@ -500,6 +500,14 @@ RCT_NOT_IMPLEMENTED(- (instancetype)init)
500
500
 
501
501
  CFStreamCreatePairWithSocketToHost(NULL, (__bridge CFStringRef)host, port, &readStream, &writeStream);
502
502
 
503
+ // [macOS
504
+ CFDictionaryRef proxySettings = CFNetworkCopySystemProxySettings();
505
+ if (CFDictionaryContainsKey(proxySettings, kCFStreamPropertySOCKSProxyHost)) {
506
+ CFReadStreamSetProperty(readStream, kCFStreamPropertySOCKSProxy, proxySettings);
507
+ CFWriteStreamSetProperty(writeStream, kCFStreamPropertySOCKSProxy, proxySettings);
508
+ }
509
+ // macOS]
510
+
503
511
  _outputStream = CFBridgingRelease(writeStream);
504
512
  _inputStream = CFBridgingRelease(readStream);
505
513
 
@@ -130,6 +130,10 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithCoder:(NSCoder *)coder)
130
130
  // The assumption here is that a RCTUIView/RCTSurfaceView will always have a superview.
131
131
  CGPoint touchLocation = [self.view.superview convertPoint:touch.locationInWindow fromView:nil];
132
132
  NSView *targetView = [self.view hitTest:touchLocation];
133
+ // Don't record clicks on scrollbars.
134
+ if ([targetView isKindOfClass:[NSScroller class]]) {
135
+ continue;
136
+ }
133
137
  // Pair the mouse down events with mouse up events so our _nativeTouches cache doesn't get stale
134
138
  if ([targetView isKindOfClass:[NSControl class]]) {
135
139
  _shouldSendMouseUpOnSystemBehalf = [(NSControl*)targetView isEnabled];
@@ -400,6 +404,11 @@ static BOOL RCTAnyTouchesChanged(NSSet *touches) // [TODO(macOS GH#774)
400
404
  // "end"/"cancel" needs to remove the touch *after* extracting the event.
401
405
  [self _recordNewTouches:touches];
402
406
 
407
+ // [TODO(macOS GH#774) - Filter out touches that were ignored.
408
+ touches = [touches objectsPassingTest:^(id touch, BOOL *stop) {
409
+ return [_nativeTouches containsObject:touch];
410
+ }]; // ]TODO(macOS GH#774)
411
+
403
412
  [self _updateAndDispatchTouches:touches eventName:@"touchStart"];
404
413
 
405
414
  if (self.state == UIGestureRecognizerStatePossible) {
@@ -27,7 +27,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
27
27
  __rnVersion = @{
28
28
  RCTVersionMajor: @(0),
29
29
  RCTVersionMinor: @(68),
30
- RCTVersionPatch: @(63),
30
+ RCTVersionPatch: @(65),
31
31
  RCTVersionPrerelease: [NSNull null],
32
32
  };
33
33
  });
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.68.63
1
+ VERSION_NAME=0.68.65
2
2
  GROUP=com.facebook.react
3
3
 
4
4
  POM_NAME=ReactNative
@@ -21,6 +21,6 @@ public class ReactNativeVersion {
21
21
  public static final Map<String, Object> VERSION = MapBuilder.<String, Object>of(
22
22
  "major", 0,
23
23
  "minor", 68,
24
- "patch", 63,
24
+ "patch", 65,
25
25
  "prerelease", null);
26
26
  }
@@ -21,7 +21,7 @@ namespace facebook::react {
21
21
  constexpr struct {
22
22
  int32_t Major = 0;
23
23
  int32_t Minor = 68;
24
- int32_t Patch = 63;
24
+ int32_t Patch = 65;
25
25
  std::string_view Prerelease = "";
26
26
  } ReactNativeVersion;
27
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-macos",
3
- "version": "0.68.63",
3
+ "version": "0.68.65",
4
4
  "bin": "./cli.js",
5
5
  "description": "React Native for macOS",
6
6
  "license": "MIT",
@@ -76,7 +76,7 @@ GEM
76
76
  ruby-macho (2.5.1)
77
77
  typhoeus (1.4.0)
78
78
  ethon (>= 0.9.0)
79
- tzinfo (2.0.5)
79
+ tzinfo (2.0.6)
80
80
  concurrent-ruby (~> 1.0)
81
81
  xcodeproj (1.22.0)
82
82
  CFPropertyList (>= 2.3.3, < 4.0)
@@ -97,4 +97,4 @@ RUBY VERSION
97
97
  ruby 3.0.5p211
98
98
 
99
99
  BUNDLED WITH
100
- 2.4.4
100
+ 2.4.6
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "react": "17.0.2",
15
- "react-native-macos": "0.68.63"
15
+ "react-native-macos": "0.68.65"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@babel/core": "^7.12.9",