react-native-macos 0.68.58 → 0.68.60
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/React/Base/RCTTouchHandler.m +4 -2
- 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 +4 -1
- package/template/Gemfile.lock +2 -2
- package/template/package.json +1 -1
|
@@ -224,8 +224,10 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithCoder:(NSCoder *)coder)
|
|
|
224
224
|
#else // [TODO(macOS GH#774)
|
|
225
225
|
NSEvent *nativeTouch = _nativeTouches[touchIndex];
|
|
226
226
|
CGPoint location = nativeTouch.locationInWindow;
|
|
227
|
-
|
|
228
|
-
CGPoint
|
|
227
|
+
RCTAssert(_cachedRootView, @"We were unable to find a root view for the touch");
|
|
228
|
+
CGPoint rootViewLocation = [_cachedRootView.window.contentView convertPoint:location toView:_cachedRootView];
|
|
229
|
+
NSView *touchView = _touchViews[touchIndex];
|
|
230
|
+
CGPoint touchViewLocation = [touchView convertPoint:location fromView:nil];
|
|
229
231
|
#endif // ]TODO(macOS GH#774)
|
|
230
232
|
|
|
231
233
|
NSMutableDictionary *reactTouch = _reactTouches[touchIndex];
|
package/React/Base/RCTVersion.m
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-macos",
|
|
3
|
-
"version": "0.68.
|
|
3
|
+
"version": "0.68.60",
|
|
4
4
|
"bin": "./cli.js",
|
|
5
5
|
"description": "React Native for macOS",
|
|
6
6
|
"license": "MIT",
|
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
"@react-native-community/cli": "^7.0.3",
|
|
96
96
|
"@react-native-community/cli-platform-android": "^7.0.1",
|
|
97
97
|
"@react-native-community/cli-platform-ios": "^7.0.1",
|
|
98
|
+
"@react-native-community/cli-tools": "^7.0.1",
|
|
98
99
|
"@react-native/assets": "1.0.0",
|
|
99
100
|
"@react-native/normalize-color": "2.0.0",
|
|
100
101
|
"@react-native/polyfills": "2.0.0",
|
|
@@ -177,12 +178,14 @@
|
|
|
177
178
|
"resolutions": {
|
|
178
179
|
"async": "^3.2.2",
|
|
179
180
|
"es5-ext": "0.10.53",
|
|
181
|
+
"micromatch": "^4.0.0",
|
|
180
182
|
"readable-stream": "^4.0.0",
|
|
181
183
|
"shell-quote": "^1.7.3"
|
|
182
184
|
},
|
|
183
185
|
"_justification": {
|
|
184
186
|
"async": "Versions of async prior to 3.2.2 are vulnerable to prototype pollution",
|
|
185
187
|
"es5-ext": "Packages after 0.10.54 and at the moment up until 0.10.59 contain a protest message. A policy prevents us from using packages with protestware, therefore downgrading to the latest release without the message.",
|
|
188
|
+
"micromatch": "Version 3.x.x depends on decode-uri-component 0.2.0, which has a DoS vulnerability",
|
|
186
189
|
"readable-stream": "Eliminates dependency on outdated string_decoder component",
|
|
187
190
|
"shell-quote": "Versions prior to 1.7.3 have an RCE vulnerability. Should be removable once we upgrade CLI tools to ^8.0.0 with RN 0.69."
|
|
188
191
|
},
|
package/template/Gemfile.lock
CHANGED