react-native-windows 0.71.1 → 0.71.3

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.
@@ -715,6 +715,7 @@
715
715
  RNW_MAJOR=$(ReactNativeWindowsMajor);
716
716
  RNW_MINOR=$(ReactNativeWindowsMinor);
717
717
  RNW_PATCH=$(ReactNativeWindowsPatch);
718
+ RNW_COMMITID=$(ReactNativeWindowsCommitId);
718
719
  _UNICODE;
719
720
  UNICODE;
720
721
  %(PreprocessorDefinitions)
@@ -10,6 +10,10 @@
10
10
  #define VER_FILEVERSION_STR XSTRINGIZE(RNW_VERSION)
11
11
  #define VER_FILEVERSION RNW_MAJOR,RNW_MINOR,RNW_PATCH,RNW_PKG_VERSION_BUILD
12
12
 
13
+ #define VER_PRODUCTVERSION_STR XSTRINGIZE(RNW_VERSION+RNW_COMMITID)
14
+ #define VER_PRODUCTVERSION RNW_MAJOR,RNW_MINOR,RNW_PATCH,RNW_PKG_VERSION_BUILD
15
+
16
+
13
17
  #ifndef DEBUG
14
18
  #define VER_DEBUG 0
15
19
  #else
@@ -18,7 +22,7 @@
18
22
 
19
23
  VS_VERSION_INFO VERSIONINFO
20
24
  FILEVERSION VER_FILEVERSION
21
- PRODUCTVERSION VER_FILEVERSION
25
+ PRODUCTVERSION VER_PRODUCTVERSION
22
26
  FILEFLAGSMASK (VS_FF_DEBUG)
23
27
  FILEFLAGS(VER_DEBUG)
24
28
  FILEOS VOS__WINDOWS32
@@ -36,7 +40,7 @@ VALUE "InternalName", "Microsoft.ReactNative.dll"
36
40
  VALUE "LegalCopyright", "(c) Microsoft Corporation. All rights reserved."
37
41
  VALUE "OriginalFilename", "Microsoft.ReactNative.dll"
38
42
  VALUE "ProductName", "React-Native-Windows"
39
- VALUE "ProductVersion", VER_FILEVERSION_STR
43
+ VALUE "ProductVersion", VER_PRODUCTVERSION_STR
40
44
  END
41
45
  END
42
46
 
@@ -10,10 +10,11 @@
10
10
  -->
11
11
  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
12
12
  <PropertyGroup>
13
- <ReactNativeWindowsVersion>0.71.1</ReactNativeWindowsVersion>
13
+ <ReactNativeWindowsVersion>0.71.3</ReactNativeWindowsVersion>
14
14
  <ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
15
15
  <ReactNativeWindowsMinor>71</ReactNativeWindowsMinor>
16
- <ReactNativeWindowsPatch>1</ReactNativeWindowsPatch>
16
+ <ReactNativeWindowsPatch>3</ReactNativeWindowsPatch>
17
17
  <ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
18
+ <ReactNativeWindowsCommitId>04eed5c84937991792cbc1f6ea66f57b8ec6b089</ReactNativeWindowsCommitId>
18
19
  </PropertyGroup>
19
20
  </Project>
@@ -15,6 +15,7 @@
15
15
  RNW_MAJOR=$(ReactNativeWindowsMajor);
16
16
  RNW_MINOR=$(ReactNativeWindowsMinor);
17
17
  RNW_PATCH=$(ReactNativeWindowsPatch);
18
+ RNW_COMMITID=$(ReactNativeWindowsCommitId);
18
19
  %(PreprocessorDefinitions)
19
20
  </PreprocessorDefinitions>
20
21
 
@@ -31,6 +32,7 @@
31
32
  RNW_MAJOR=$(ReactNativeWindowsMajor);
32
33
  RNW_MINOR=$(ReactNativeWindowsMinor);
33
34
  RNW_PATCH=$(ReactNativeWindowsPatch);
35
+ RNW_COMMITID=$(ReactNativeWindowsCommitId);
34
36
  %(PreprocessorDefinitions)
35
37
  </PreprocessorDefinitions>
36
38
 
@@ -377,11 +377,8 @@ void initializeJSHooks(jsi::Runtime &runtime, bool isProfiling) {
377
377
 
378
378
  void initializeETW() {
379
379
  // Register the provider
380
- static bool etwInitialized = false;
381
- if (!etwInitialized) {
382
- TraceLoggingRegister(g_hTraceLoggingProvider);
383
- etwInitialized = true;
384
- }
380
+ static std::once_flag etwInitialized;
381
+ std::call_once(etwInitialized, [] { TraceLoggingRegister(g_hTraceLoggingProvider); });
385
382
  }
386
383
 
387
384
  void log(const char *msg) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
- "version": "0.71.1",
3
+ "version": "0.71.3",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,7 +26,7 @@
26
26
  "@react-native-community/cli": "10.0.0",
27
27
  "@react-native-community/cli-platform-android": "10.0.0",
28
28
  "@react-native-community/cli-platform-ios": "10.0.0",
29
- "@react-native-windows/cli": "0.71.1",
29
+ "@react-native-windows/cli": "0.71.2",
30
30
  "@react-native/assets": "1.0.0",
31
31
  "@react-native/normalize-color": "2.1.0",
32
32
  "@react-native/polyfills": "2.0.0",
@@ -60,7 +60,7 @@
60
60
  "ws": "^6.2.2"
61
61
  },
62
62
  "devDependencies": {
63
- "@react-native-windows/codegen": "0.71.1",
63
+ "@react-native-windows/codegen": "0.71.2",
64
64
  "@rnw-scripts/babel-react-native-config": "0.0.0",
65
65
  "@rnw-scripts/eslint-config": "1.1.14",
66
66
  "@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.1.0",