react-native-macos 0.75.21 → 0.75.23
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/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/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTTextPrimitivesConversions.h +2 -2
- package/package.json +1 -1
- package/Libraries/AddressSanitizerCrash/AddressSanitizerCrash.js +0 -13
- package/Libraries/AddressSanitizerCrash/NativeAddressSanitizerCrash.js +0 -19
- package/React/CoreModules/RCTAddressSanitizerCrashManager.h +0 -12
- package/React/CoreModules/RCTAddressSanitizerCrashManager.mm +0 -18
package/React/Base/RCTVersion.m
CHANGED
|
@@ -89,9 +89,9 @@ inline static NSUnderlineStyle RCTNSUnderlineStyleFromTextDecorationStyle(
|
|
|
89
89
|
case facebook::react::TextDecorationStyle::Double:
|
|
90
90
|
return NSUnderlineStyleDouble;
|
|
91
91
|
case facebook::react::TextDecorationStyle::Dashed:
|
|
92
|
-
return
|
|
92
|
+
return NSUnderlineStylePatternDash | NSUnderlineStyleSingle; // [macOS]
|
|
93
93
|
case facebook::react::TextDecorationStyle::Dotted:
|
|
94
|
-
return
|
|
94
|
+
return NSUnderlineStylePatternDot | NSUnderlineStyleSingle; // [macOS]
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
|
package/package.json
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*
|
|
7
|
-
* @format
|
|
8
|
-
* @flow strict-local
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import NativeAddressSanitizerCrash from './NativeAddressSanitizerCrash';
|
|
12
|
-
|
|
13
|
-
module.exports = NativeAddressSanitizerCrash;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*
|
|
7
|
-
* @flow strict-local
|
|
8
|
-
* @format
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import type {TurboModule} from '../TurboModule/RCTExport';
|
|
12
|
-
|
|
13
|
-
import * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';
|
|
14
|
-
|
|
15
|
-
export interface Spec extends TurboModule {}
|
|
16
|
-
|
|
17
|
-
export default (TurboModuleRegistry.get<Spec>(
|
|
18
|
-
'RCTAddressSanitizerCrash',
|
|
19
|
-
): ?Spec);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
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
|
-
|
|
7
|
-
#import <React/RCTUIKit.h>
|
|
8
|
-
#import <React/RCTBridge.h>
|
|
9
|
-
|
|
10
|
-
@interface RCTAddressSanitizerCrashManager : NSObject <RCTBridgeModule>
|
|
11
|
-
|
|
12
|
-
@end
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// RCTAddressSanitizerCrashManager.mm
|
|
3
|
-
// Pods
|
|
4
|
-
//
|
|
5
|
-
|
|
6
|
-
#import "RCTAddressSanitizerCrashManager.h"
|
|
7
|
-
|
|
8
|
-
@implementation RCTAddressSanitizerCrashManager
|
|
9
|
-
|
|
10
|
-
RCT_EXPORT_MODULE(ASANCrash)
|
|
11
|
-
|
|
12
|
-
RCT_EXPORT_METHOD(invokeMemoryCrash) {
|
|
13
|
-
char *s = (char*)malloc(100);
|
|
14
|
-
free(s);
|
|
15
|
-
strcpy(s, "Hello world!"); // AddressSanitizer: heap-use-after-free
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@end
|