react-native-windows 0.70.16 → 0.70.17

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.
@@ -63,11 +63,16 @@
63
63
  "NETStandard.Library": {
64
64
  "type": "Transitive",
65
65
  "resolved": "2.0.3",
66
- "contentHash": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
66
+ "contentHash": "548M6mnBSJWxsIlkQHfbzoYxpiYFXZZSL00p4GHYv8PkiqFBnnT68mW5mGEsA/ch9fDO9GkPgkFQpWiXZN7mAQ==",
67
67
  "dependencies": {
68
68
  "Microsoft.NETCore.Platforms": "1.1.0"
69
69
  }
70
70
  },
71
+ "ReactNative.Hermes.Windows": {
72
+ "type": "Transitive",
73
+ "resolved": "0.0.0-2302.1002-2d4bf1df",
74
+ "contentHash": "4skpllUPEBkww7FN7iacP7NWrZlEGDNg83qIuFjKn4Sl8JpJQZqfUTrXcvh6tb4mHXkmwFoKhLw4Rc5Op7f+8w=="
75
+ },
71
76
  "runtime.win10-arm.Microsoft.Net.Native.Compiler": {
72
77
  "type": "Transitive",
73
78
  "resolved": "2.2.7-rel-27913-00",
@@ -136,7 +141,23 @@
136
141
  "contentHash": "qF6RRZKaflI+LR1YODNyWYjq5YoX8IJ2wx5y8O+AW2xO+1t/Q6Mm+jQ38zJbWnmXbrcOqUYofn7Y3/KC6lTLBQ=="
137
142
  },
138
143
  "microsoft.reactnative": {
139
- "type": "Project"
144
+ "type": "Project",
145
+ "dependencies": {
146
+ "Common": "[1.0.0, )",
147
+ "Folly": "[1.0.0, )",
148
+ "Microsoft.UI.Xaml": "[2.7.0, )",
149
+ "Microsoft.Windows.SDK.BuildTools": "[10.0.22000.194, )",
150
+ "ReactCommon": "[1.0.0, )",
151
+ "ReactNative.Hermes.Windows": "[0.0.0-2302.1002-2d4bf1df, )",
152
+ "boost": "[1.76.0, )"
153
+ }
154
+ },
155
+ "reactcommon": {
156
+ "type": "Project",
157
+ "dependencies": {
158
+ "Folly": "[1.0.0, )",
159
+ "boost": "[1.76.0, )"
160
+ }
140
161
  }
141
162
  },
142
163
  "UAP,Version=v10.0.16299/win10-arm": {
@@ -10,11 +10,11 @@
10
10
  -->
11
11
  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
12
12
  <PropertyGroup>
13
- <ReactNativeWindowsVersion>0.70.16</ReactNativeWindowsVersion>
13
+ <ReactNativeWindowsVersion>0.70.17</ReactNativeWindowsVersion>
14
14
  <ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
15
15
  <ReactNativeWindowsMinor>70</ReactNativeWindowsMinor>
16
- <ReactNativeWindowsPatch>16</ReactNativeWindowsPatch>
16
+ <ReactNativeWindowsPatch>17</ReactNativeWindowsPatch>
17
17
  <ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
18
- <ReactNativeWindowsCommitId>767d722fabc2c56778d12ae66f53e868aa8ef5d6</ReactNativeWindowsCommitId>
18
+ <ReactNativeWindowsCommitId>68b84329ffbe2e097d7385d7bc38386979b7003d</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.70.16",
3
+ "version": "0.70.17",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",