react-native-windows 0.0.0-canary.855 → 0.0.0-canary.856

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.
@@ -641,7 +641,8 @@ void ReactInstanceWin::InitializeBridgeless() noexcept {
641
641
  facebook::react::ReactInstance::JSRuntimeFlags options;
642
642
  m_bridgelessReactInstance->initializeRuntime(options, [=](facebook::jsi::Runtime &runtime) {
643
643
  auto logger = [loggingHook = GetLoggingCallback()](const std::string &message, unsigned int logLevel) {
644
- loggingHook(static_cast<facebook::react::RCTLogLevel>(logLevel), message.c_str());
644
+ if (loggingHook)
645
+ loggingHook(static_cast<facebook::react::RCTLogLevel>(logLevel), message.c_str());
645
646
  };
646
647
  facebook::react::bindNativeLogger(runtime, logger);
647
648
 
@@ -10,11 +10,11 @@
10
10
  -->
11
11
  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
12
12
  <PropertyGroup>
13
- <ReactNativeWindowsVersion>0.0.0-canary.855</ReactNativeWindowsVersion>
13
+ <ReactNativeWindowsVersion>0.0.0-canary.856</ReactNativeWindowsVersion>
14
14
  <ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
15
15
  <ReactNativeWindowsMinor>0</ReactNativeWindowsMinor>
16
16
  <ReactNativeWindowsPatch>0</ReactNativeWindowsPatch>
17
17
  <ReactNativeWindowsCanary>true</ReactNativeWindowsCanary>
18
- <ReactNativeWindowsCommitId>4bb42ecfb44c91770c96357e8de9f7a749c15626</ReactNativeWindowsCommitId>
18
+ <ReactNativeWindowsCommitId>8271255b00a49a7af90ad682be46eca3855c95d2</ReactNativeWindowsCommitId>
19
19
  </PropertyGroup>
20
20
  </Project>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
- "version": "0.0.0-canary.855",
3
+ "version": "0.0.0-canary.856",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -132,6 +132,7 @@ _Use_decl_annotations_ int CALLBACK WinMain(HINSTANCE instance, HINSTANCE, PSTR
132
132
  // state
133
133
  auto async = host.UnloadInstance();
134
134
  async.Completed([host](auto asyncInfo, winrt::Windows::Foundation::AsyncStatus asyncStatus) {
135
+ asyncStatus;
135
136
  assert(asyncStatus == winrt::Windows::Foundation::AsyncStatus::Completed);
136
137
  host.InstanceSettings().UIDispatcher().Post([]() { PostQuitMessage(0); });
137
138
  });
@@ -71,7 +71,7 @@
71
71
  <PrecompiledHeader>Use</PrecompiledHeader>
72
72
  <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
73
73
  <PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
74
- <WarningLevel>Level3</WarningLevel>
74
+ <WarningLevel>Level4</WarningLevel>
75
75
  <SDLCheck>true</SDLCheck>
76
76
  <AdditionalOptions>%(AdditionalOptions) /bigobj</AdditionalOptions>
77
77
  <DisableSpecificWarnings>4453;28204</DisableSpecificWarnings>
@@ -73,7 +73,7 @@
73
73
  <PrecompiledHeader>Use</PrecompiledHeader>
74
74
  <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
75
75
  <PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile>
76
- <WarningLevel>Level3</WarningLevel>
76
+ <WarningLevel>Level4</WarningLevel>
77
77
  <SDLCheck>true</SDLCheck>
78
78
  <AdditionalOptions>%(AdditionalOptions) /bigobj</AdditionalOptions>
79
79
  <DisableSpecificWarnings>4453;28204</DisableSpecificWarnings>