react-native-windows 0.84.0-preview.4 → 0.84.0-preview.6
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/Libraries/Modal/Modal.windows.js +1 -7
- package/Microsoft.ReactNative/Fabric/Composition/CompositionContextHelper.cpp +58 -20
- package/Microsoft.ReactNative/Fabric/Composition/CompositionEventHandler.cpp +197 -54
- package/Microsoft.ReactNative/Fabric/Composition/CompositionEventHandler.h +12 -3
- package/Microsoft.ReactNative/Fabric/Composition/CompositionViewComponentView.cpp +14 -9
- package/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp +0 -2
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentView.cpp +98 -44
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentView.h +4 -2
- package/Microsoft.ReactNative/Fabric/WindowsComponentDescriptorRegistry.cpp +3 -3
- package/Microsoft.ReactNative/Fabric/WindowsComponentDescriptorRegistry.h +3 -1
- package/Microsoft.ReactNative/Fabric/WindowsImageManager.cpp +0 -1
- package/Microsoft.ReactNative/Microsoft.ReactNative.vcxproj +1 -1
- package/Microsoft.ReactNative/Modules/Animated/AnimatedNode.cpp +3 -3
- package/Microsoft.ReactNative/Modules/Animated/AnimatedNode.h +3 -2
- package/Microsoft.ReactNative/Modules/Timing.h +2 -1
- package/PropertySheets/External/Microsoft.ReactNative.Uwp.CSharpApp.targets +1 -1
- package/PropertySheets/External/Microsoft.ReactNative.Uwp.CppApp.targets +1 -1
- package/PropertySheets/Generated/PackageVersion.g.props +2 -2
- package/PropertySheets/JSEngine.props +2 -1
- package/Scripts/Tfs/Invoke-WebRequestWithRetry.ps1 +40 -0
- package/package.json +2 -2
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
<#
|
|
5
|
+
.SYNOPSIS
|
|
6
|
+
Downloads a file from a URI with retry logic.
|
|
7
|
+
|
|
8
|
+
.PARAMETER Uri
|
|
9
|
+
The URI to download from.
|
|
10
|
+
|
|
11
|
+
.PARAMETER OutFile
|
|
12
|
+
The output file path.
|
|
13
|
+
|
|
14
|
+
.PARAMETER MaxRetries
|
|
15
|
+
Maximum number of download attempts. Default is 3.
|
|
16
|
+
#>
|
|
17
|
+
param(
|
|
18
|
+
[Parameter(Mandatory)]
|
|
19
|
+
[string]$Uri,
|
|
20
|
+
|
|
21
|
+
[Parameter(Mandatory)]
|
|
22
|
+
[string]$OutFile,
|
|
23
|
+
|
|
24
|
+
[int]$MaxRetries = 3
|
|
25
|
+
)
|
|
26
|
+
|
|
27
|
+
Set-StrictMode -Version Latest
|
|
28
|
+
$ErrorActionPreference = 'Stop'
|
|
29
|
+
|
|
30
|
+
for ($i = 1; $i -le $MaxRetries; $i++) {
|
|
31
|
+
try {
|
|
32
|
+
Write-Host "Downloading $OutFile (attempt $i of $MaxRetries)"
|
|
33
|
+
Invoke-WebRequest -Uri $Uri -OutFile $OutFile
|
|
34
|
+
return
|
|
35
|
+
} catch {
|
|
36
|
+
Write-Host "Attempt $i failed: $_"
|
|
37
|
+
if ($i -eq $MaxRetries) { throw }
|
|
38
|
+
Start-Sleep -Seconds (5 * $i)
|
|
39
|
+
}
|
|
40
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-windows",
|
|
3
|
-
"version": "0.84.0-preview.
|
|
3
|
+
"version": "0.84.0-preview.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@react-native-community/cli": "20.0.0",
|
|
27
27
|
"@react-native-community/cli-platform-android": "20.0.0",
|
|
28
28
|
"@react-native-community/cli-platform-ios": "20.0.0",
|
|
29
|
-
"@react-native-windows/cli": "0.84.0-preview.
|
|
29
|
+
"@react-native-windows/cli": "0.84.0-preview.3",
|
|
30
30
|
"@react-native/assets": "1.0.0",
|
|
31
31
|
"@react-native/assets-registry": "0.84.1",
|
|
32
32
|
"@react-native/codegen": "0.84.1",
|