react-native-windows 0.68.31 → 0.68.32

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.
@@ -90,8 +90,8 @@
90
90
  },
91
91
  "ReactNative.Hermes.Windows": {
92
92
  "type": "Transitive",
93
- "resolved": "0.11.0-ms.6",
94
- "contentHash": "WAVLsSZBV4p/3hNC3W67su7xu3f/ZMSKxu0ON7g2GaKRbkJmH0Qyif1IlzcJwtvR48kuOdfgPu7Bgtz3AY+gqg=="
93
+ "resolved": "0.0.0-2302.1002-2d4bf1df",
94
+ "contentHash": "4skpllUPEBkww7FN7iacP7NWrZlEGDNg83qIuFjKn4Sl8JpJQZqfUTrXcvh6tb4mHXkmwFoKhLw4Rc5Op7f+8w=="
95
95
  },
96
96
  "runtime.win10-arm.Microsoft.Net.Native.Compiler": {
97
97
  "type": "Transitive",
@@ -176,14 +176,13 @@
176
176
  "microsoft.reactnative": {
177
177
  "type": "Project",
178
178
  "dependencies": {
179
- "Common": "1.0.0",
180
- "Folly": "1.0.0",
181
- "Microsoft.UI.Xaml": "2.7.0",
182
- "Microsoft.Windows.CppWinRT": "2.0.211028.7",
183
- "Microsoft.Windows.SDK.BuildTools": "10.0.22000.194",
184
- "ReactCommon": "1.0.0",
185
- "ReactNative.Hermes.Windows": "0.11.0-ms.6",
186
- "boost": "1.76.0"
179
+ "Common": "[1.0.0, )",
180
+ "Folly": "[1.0.0, )",
181
+ "Microsoft.UI.Xaml": "[2.7.0, )",
182
+ "Microsoft.Windows.SDK.BuildTools": "[10.0.22000.194, )",
183
+ "ReactCommon": "[1.0.0, )",
184
+ "ReactNative.Hermes.Windows": "[0.0.0-2302.1002-2d4bf1df, )",
185
+ "boost": "[1.76.0, )"
187
186
  }
188
187
  },
189
188
  "reactcommon": {
@@ -10,11 +10,11 @@
10
10
  -->
11
11
  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
12
12
  <PropertyGroup>
13
- <ReactNativeWindowsVersion>0.68.31</ReactNativeWindowsVersion>
13
+ <ReactNativeWindowsVersion>0.68.32</ReactNativeWindowsVersion>
14
14
  <ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
15
15
  <ReactNativeWindowsMinor>68</ReactNativeWindowsMinor>
16
- <ReactNativeWindowsPatch>31</ReactNativeWindowsPatch>
16
+ <ReactNativeWindowsPatch>32</ReactNativeWindowsPatch>
17
17
  <ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
18
- <ReactNativeWindowsCommitId>0a8314f132aafb62571b4e552b52efa6046b48eb</ReactNativeWindowsCommitId>
18
+ <ReactNativeWindowsCommitId>dbc3b8bb23560921c432b2252463fd788cc837e8</ReactNativeWindowsCommitId>
19
19
  </PropertyGroup>
20
20
  </Project>
@@ -12,6 +12,9 @@
12
12
  // React Native
13
13
  #include <cxxreact/JsArgumentHelpers.h>
14
14
 
15
+ // Boost Libriaries
16
+ #include <boost/uuid/uuid_io.hpp>
17
+
15
18
  // Windows API
16
19
  #include <winrt/Windows.Foundation.h>
17
20
  #include <winrt/Windows.Security.Cryptography.h>
@@ -33,7 +36,6 @@ using winrt::Microsoft::ReactNative::IReactPropertyBag;
33
36
  using winrt::Microsoft::ReactNative::ReactNonAbiValue;
34
37
  using winrt::Microsoft::ReactNative::ReactPropertyBag;
35
38
  using winrt::Microsoft::ReactNative::ReactPropertyId;
36
- using winrt::Windows::Foundation::GuidHelper;
37
39
  using winrt::Windows::Foundation::IInspectable;
38
40
  using winrt::Windows::Foundation::Uri;
39
41
  using winrt::Windows::Security::Cryptography::CryptographicBuffer;
@@ -249,8 +251,7 @@ void MemoryBlobPersistor::StoreMessage(vector<uint8_t> &&message, string &&blobI
249
251
  }
250
252
 
251
253
  string MemoryBlobPersistor::StoreMessage(vector<uint8_t> &&message) noexcept {
252
- // substr(1, 36) strips curly braces from a GUID.
253
- auto blobId = winrt::to_string(winrt::to_hstring(GuidHelper::CreateNewGuid())).substr(1, 36);
254
+ auto blobId = boost::uuids::to_string(m_guidGenerator());
254
255
 
255
256
  scoped_lock lock{m_mutex};
256
257
  m_blobs.insert_or_assign(blobId, std::move(message));
@@ -11,6 +11,9 @@
11
11
  // React Native
12
12
  #include <cxxreact/CxxModule.h>
13
13
 
14
+ // Boost Libraries
15
+ #include <boost/uuid/uuid_generators.hpp>
16
+
14
17
  // Windows API
15
18
  #include <winrt/base.h>
16
19
 
@@ -26,6 +29,7 @@ namespace Microsoft::React {
26
29
  class MemoryBlobPersistor final : public IBlobPersistor {
27
30
  std::unordered_map<std::string, std::vector<uint8_t>> m_blobs;
28
31
  std::mutex m_mutex;
32
+ boost::uuids::random_generator m_guidGenerator;
29
33
 
30
34
  public:
31
35
  #pragma region IBlobPersistor
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
- "version": "0.68.31",
3
+ "version": "0.68.32",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",