react-native-macos 0.74.23 → 0.74.25

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,7 +16,7 @@ const version: $ReadOnly<{
16
16
  }> = {
17
17
  major: 0,
18
18
  minor: 74,
19
- patch: 23,
19
+ patch: 25,
20
20
  prerelease: null,
21
21
  };
22
22
 
@@ -23,7 +23,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
23
23
  __rnVersion = @{
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(74),
26
- RCTVersionPatch: @(23),
26
+ RCTVersionPatch: @(25),
27
27
  RCTVersionPrerelease: [NSNull null],
28
28
  };
29
29
  });
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.74.23
1
+ VERSION_NAME=0.74.25
2
2
  react.internal.publishingGroup=com.facebook.react
3
3
 
4
4
  android.useAndroidX=true
@@ -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", 74,
20
- "patch", 23,
20
+ "patch", 25,
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 = 74;
20
- int32_t Patch = 23;
20
+ int32_t Patch = 25;
21
21
  std::string_view Prerelease = "";
22
22
  } ReactNativeVersion;
23
23
 
@@ -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 NSUnderlinePatternDash | NSUnderlineStyleSingle;
92
+ return NSUnderlineStylePatternDash | NSUnderlineStyleSingle; // [macOS]
93
93
  case facebook::react::TextDecorationStyle::Dotted:
94
- return NSUnderlinePatternDot | NSUnderlineStyleSingle;
94
+ return NSUnderlineStylePatternDot | NSUnderlineStyleSingle; // [macOS]
95
95
  }
96
96
  }
97
97
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-macos",
3
- "version": "0.74.23",
3
+ "version": "0.74.25",
4
4
  "description": "React Native for macOS",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -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