react-native-windows 0.73.19 → 0.73.21
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.
- package/Common/Utilities.cpp +2 -2
- package/Directory.Build.props +1 -1
- package/Microsoft.ReactNative.Cxx/Microsoft.ReactNative.Cxx.vcxitems +1 -1
- package/Microsoft.ReactNative.Cxx/NativeModules.h +15 -15
- package/PropertySheets/Generated/PackageVersion.g.props +3 -3
- package/PropertySheets/JSEngine.props +2 -2
- package/ReactCommon/cgmanifest.json +1 -1
- package/Scripts/rnw-dependencies.ps1 +1 -1
- package/package.json +2 -2
package/Common/Utilities.cpp
CHANGED
|
@@ -48,8 +48,8 @@ string EncodeBase64(string_view text) noexcept {
|
|
|
48
48
|
std::copy(encode_base64(bytes.cbegin()), encode_base64(bytes.cend()), ostream_iterator<char>(oss));
|
|
49
49
|
|
|
50
50
|
// https://unix.stackexchange.com/questions/631501
|
|
51
|
-
|
|
52
|
-
for (
|
|
51
|
+
size_t padLength = (4 - (oss.tellp() % 4)) % 4;
|
|
52
|
+
for (size_t i = 0; i < padLength; ++i) {
|
|
53
53
|
oss << '=';
|
|
54
54
|
}
|
|
55
55
|
|
package/Directory.Build.props
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<FmtVersion>10.1.0</FmtVersion>
|
|
23
23
|
<FmtCommitHash>ca2e3685b160617d3d95fcd9e789c4e06ca88</FmtCommitHash>
|
|
24
24
|
<!-- Commit hash for https://github.com/microsoft/node-api-jsi code. -->
|
|
25
|
-
<NodeApiJsiCommitHash>
|
|
25
|
+
<NodeApiJsiCommitHash>6506206ee0519da5ab688f6725cfa46441fd8650</NodeApiJsiCommitHash>
|
|
26
26
|
</PropertyGroup>
|
|
27
27
|
|
|
28
28
|
<!--
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<Bridging_SourcePath Condition="'$(Bridging_SourcePath)' == '' AND '$(ReactNativeDir)' != ''">$(ReactNativeDir)\ReactCommon\react\bridging</Bridging_SourcePath>
|
|
17
17
|
<Bridging_SourcePath Condition="'$(Bridging_SourcePath)' == '' AND Exists('$(MSBuildThisFileDirectory)ReactCommon\CallbackWrapper.h')">$(MSBuildThisFileDirectory)ReactCommon</Bridging_SourcePath>
|
|
18
18
|
|
|
19
|
-
<NodeApiJsiCommitHash>
|
|
19
|
+
<NodeApiJsiCommitHash>6506206ee0519da5ab688f6725cfa46441fd8650</NodeApiJsiCommitHash>
|
|
20
20
|
<NodeApiJsiLocal Condition="Exists('$(MSBuildThisFileDirectory)NodeApiJsiRuntime.cpp')">true</NodeApiJsiLocal>
|
|
21
21
|
<NodeApiJsiDir Condition="'$(NodeApiJsiDir)' == '' AND '$(NodeApiJsiLocal)' == 'true'">$(MSBuildThisFileDirectory)</NodeApiJsiDir>
|
|
22
22
|
<NodeApiJsiDir Condition="'$(NodeApiJsiDir)' == '' AND '$(ReactNativeDir)' != ''">$(ReactNativeDir)\..\..\node_modules\.node-api-jsi\node-api-jsi-$(NodeApiJsiCommitHash)\</NodeApiJsiDir>
|
|
@@ -356,6 +356,21 @@ struct MethodSignatureMatchResult {
|
|
|
356
356
|
bool IsSucceeded;
|
|
357
357
|
};
|
|
358
358
|
|
|
359
|
+
template <class TInputArg, class TOtherInputArg>
|
|
360
|
+
constexpr bool MatchInputArg() noexcept {
|
|
361
|
+
return std::is_same_v<TInputArg, TOtherInputArg>;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
template <>
|
|
365
|
+
constexpr bool MatchInputArg<std::wstring, std::string>() noexcept {
|
|
366
|
+
return true;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
template <>
|
|
370
|
+
constexpr bool MatchInputArg<std::string, std::wstring>() noexcept {
|
|
371
|
+
return true;
|
|
372
|
+
}
|
|
373
|
+
|
|
359
374
|
template <class TResult, class TInputArgs, class TOutputCallbacks, class TOutputPromises>
|
|
360
375
|
struct MethodSignature {
|
|
361
376
|
using Result = TResult;
|
|
@@ -375,21 +390,6 @@ struct MethodSignature {
|
|
|
375
390
|
}
|
|
376
391
|
}
|
|
377
392
|
|
|
378
|
-
template <class TInputArg, class TOtherInputArg>
|
|
379
|
-
static constexpr bool MatchInputArg() noexcept {
|
|
380
|
-
return std::is_same_v<TInputArg, TOtherInputArg>;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
template <>
|
|
384
|
-
static constexpr bool MatchInputArg<std::wstring, std::string>() noexcept {
|
|
385
|
-
return true;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
template <>
|
|
389
|
-
static constexpr bool MatchInputArg<std::string, std::wstring>() noexcept {
|
|
390
|
-
return true;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
393
|
template <class TOtherInputArgs, size_t... I>
|
|
394
394
|
static constexpr bool MatchInputArgs(std::index_sequence<I...>) noexcept {
|
|
395
395
|
return (MatchInputArg<std::tuple_element_t<I, InputArgs>, std::tuple_element_t<I, TOtherInputArgs>>() && ...);
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
-->
|
|
11
11
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
12
12
|
<PropertyGroup>
|
|
13
|
-
<ReactNativeWindowsVersion>0.73.
|
|
13
|
+
<ReactNativeWindowsVersion>0.73.21</ReactNativeWindowsVersion>
|
|
14
14
|
<ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
|
|
15
15
|
<ReactNativeWindowsMinor>73</ReactNativeWindowsMinor>
|
|
16
|
-
<ReactNativeWindowsPatch>
|
|
16
|
+
<ReactNativeWindowsPatch>21</ReactNativeWindowsPatch>
|
|
17
17
|
<ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
|
|
18
|
-
<ReactNativeWindowsCommitId>
|
|
18
|
+
<ReactNativeWindowsCommitId>38be74aa26770ed745fbbae5a999c6a1fea34ef1</ReactNativeWindowsCommitId>
|
|
19
19
|
</PropertyGroup>
|
|
20
20
|
</Project>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<!-- Enabling this will (1) Include hermes glues in the Microsoft.ReactNative binaries AND (2) Make hermes the default engine -->
|
|
15
15
|
<UseHermes Condition="'$(UseHermes)' == ''">true</UseHermes>
|
|
16
16
|
<!-- This will be true if (1) the client want to use hermes by setting UseHermes to true OR (2) We are building for UWP where dynamic switching is enabled -->
|
|
17
|
-
<HermesVersion Condition="'$(HermesVersion)' == ''">0.1.
|
|
17
|
+
<HermesVersion Condition="'$(HermesVersion)' == ''">0.1.27</HermesVersion>
|
|
18
18
|
<HermesPackage Condition="'$(HermesPackage)' == '' And Exists('$(PkgMicrosoft_JavaScript_Hermes)')">$(PkgMicrosoft_JavaScript_Hermes)</HermesPackage>
|
|
19
19
|
<HermesPackage Condition="'$(HermesPackage)' == ''">$(NuGetPackageRoot)\Microsoft.JavaScript.Hermes\$(HermesVersion)</HermesPackage>
|
|
20
20
|
<EnableHermesInspectorInReleaseFlavor Condition="'$(EnableHermesInspectorInReleaseFlavor)' == ''">false</EnableHermesInspectorInReleaseFlavor>
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<EnableDevServerHBCBundles Condition="'$(EnableDevServerHBCBundles)' == ''">false</EnableDevServerHBCBundles>
|
|
25
25
|
|
|
26
26
|
<UseV8 Condition="'$(UseV8)' == ''">false</UseV8>
|
|
27
|
-
<V8Version Condition="'$(V8Version)' == ''">0.71.
|
|
27
|
+
<V8Version Condition="'$(V8Version)' == ''">0.71.18</V8Version>
|
|
28
28
|
<V8PackageName>ReactNative.V8Jsi.Windows</V8PackageName>
|
|
29
29
|
<V8PackageName Condition="'$(V8AppPlatform)' != 'win32'">$(V8PackageName).UWP</V8PackageName>
|
|
30
30
|
<V8Package>$(NuGetPackageRoot)\$(V8PackageName).$(V8Version)</V8Package>
|
|
@@ -83,7 +83,7 @@ $vsAll = ($vsComponents + $vsWorkloads);
|
|
|
83
83
|
# The minimum VS version to check for
|
|
84
84
|
# Note: For install to work, whatever min version you specify here must be met by the current package available on choco.
|
|
85
85
|
# I.E. Do NOT specify a Preview version here because choco doesn't have VS Preview packages.
|
|
86
|
-
$vsver = "17.
|
|
86
|
+
$vsver = "17.11.0";
|
|
87
87
|
|
|
88
88
|
# The exact .NET SDK version to check for
|
|
89
89
|
$dotnetver = "6.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-windows",
|
|
3
|
-
"version": "0.73.
|
|
3
|
+
"version": "0.73.21",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@react-native-community/cli": "12.3.6",
|
|
27
27
|
"@react-native-community/cli-platform-android": "12.3.6",
|
|
28
28
|
"@react-native-community/cli-platform-ios": "12.3.6",
|
|
29
|
-
"@react-native-windows/cli": "0.73.
|
|
29
|
+
"@react-native-windows/cli": "0.73.6",
|
|
30
30
|
"@react-native/assets-registry": "0.73.1",
|
|
31
31
|
"@react-native/codegen": "0.73.3",
|
|
32
32
|
"@react-native/community-cli-plugin": "0.73.17",
|