react-native-windows 0.70.12 → 0.70.13

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.
@@ -10,10 +10,10 @@
10
10
  -->
11
11
  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
12
12
  <PropertyGroup>
13
- <ReactNativeWindowsVersion>0.70.12</ReactNativeWindowsVersion>
13
+ <ReactNativeWindowsVersion>0.70.13</ReactNativeWindowsVersion>
14
14
  <ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
15
15
  <ReactNativeWindowsMinor>70</ReactNativeWindowsMinor>
16
- <ReactNativeWindowsPatch>12</ReactNativeWindowsPatch>
16
+ <ReactNativeWindowsPatch>13</ReactNativeWindowsPatch>
17
17
  <ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
18
18
  </PropertyGroup>
19
19
  </Project>
@@ -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.70.12",
3
+ "version": "0.70.13",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,8 +26,8 @@
26
26
  "@react-native-community/cli": "^9.0.0",
27
27
  "@react-native-community/cli-platform-android": "^9.0.0",
28
28
  "@react-native-community/cli-platform-ios": "^9.0.0",
29
- "@react-native-windows/cli": "0.70.3",
30
- "@react-native-windows/virtualized-list": "0.70.1",
29
+ "@react-native-windows/cli": "0.70.4",
30
+ "@react-native-windows/virtualized-list": "0.70.2",
31
31
  "@react-native/assets": "1.0.0",
32
32
  "@react-native/normalize-color": "2.0.0",
33
33
  "@react-native/polyfills": "2.0.0",
@@ -59,7 +59,7 @@
59
59
  "ws": "^6.1.4"
60
60
  },
61
61
  "devDependencies": {
62
- "@react-native-windows/codegen": "0.70.1",
62
+ "@react-native-windows/codegen": "0.70.2",
63
63
  "@rnw-scripts/eslint-config": "1.1.13",
64
64
  "@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.0.7",
65
65
  "@rnw-scripts/just-task": "2.2.5",