diff --git a/README.md b/README.md
index 2a8413ff..31c9da3e 100644
--- a/README.md
+++ b/README.md
@@ -26,6 +26,7 @@ and [old][Old Architecture] [RN][React Native] architectures.
[](https://github.com/Crare)
### [Contributors](https://github.com/birdofpreyru/react-native-fs/graphs/contributors)
+[](https://github.com/Crare)
[](https://github.com/stetbern)
[](https://github.com/raphaelheinz)
[](https://github.com/IanOpenSpace)
@@ -1157,8 +1158,11 @@ in this library fork.
- `options` — [UploadFileOptionsT] — Upload settings.
- Returns an object holding `jobId` **number** (can be used to manage
- in-progress download by corresponding functions) and `promise` resolving
- to [UploadResultT] once the download is completed.
+ in-progress uploads by corresponding functions), and `promise` resolving
+ to [UploadResultT] once the upload completes successfully. In case the upload
+ fails (including when it fails due to HTTP errors), the promise is rejected
+ with `Error` object, to which `.result` field an instance of [UploadResultT]
+ is attached, if HTTP response was received.
### write()
[write()]: #write
diff --git a/android/src/main/java/com/drpogodin/reactnativefs/Uploader.kt b/android/src/main/java/com/drpogodin/reactnativefs/Uploader.kt
index 5a961ed4..1cef6628 100644
--- a/android/src/main/java/com/drpogodin/reactnativefs/Uploader.kt
+++ b/android/src/main/java/com/drpogodin/reactnativefs/Uploader.kt
@@ -139,7 +139,11 @@ class Uploader : AsyncTask() {
}
request.flush()
request.close()
- responseStream = BufferedInputStream(connection.inputStream)
+ if (connection.errorStream != null) {
+ responseStream = BufferedInputStream(connection.errorStream)
+ } else {
+ responseStream = BufferedInputStream(connection.inputStream)
+ }
responseStreamReader = BufferedReader(InputStreamReader(responseStream))
val responseHeaders = Arguments.createMap()
val map = connection.headerFields
diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock
index d9d33bba..9f98cb36 100644
--- a/example/ios/Podfile.lock
+++ b/example/ios/Podfile.lock
@@ -1,7 +1,7 @@
PODS:
- boost (1.83.0)
- DoubleConversion (1.1.6)
- - dr-pogodin-react-native-fs (2.26.0):
+ - dr-pogodin-react-native-fs (2.27.0):
- DoubleConversion
- glog
- hermes-engine
@@ -43,12 +43,12 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- - FBLazyVector (0.74.1)
+ - FBLazyVector (0.74.2)
- fmt (9.1.0)
- glog (0.3.5)
- - hermes-engine (0.74.1):
- - hermes-engine/Pre-built (= 0.74.1)
- - hermes-engine/Pre-built (0.74.1)
+ - hermes-engine (0.74.2):
+ - hermes-engine/Pre-built (= 0.74.2)
+ - hermes-engine/Pre-built (0.74.2)
- RCT-Folly (2024.01.01.00):
- boost
- DoubleConversion
@@ -65,27 +65,27 @@ PODS:
- DoubleConversion
- fmt (= 9.1.0)
- glog
- - RCTDeprecation (0.74.1)
- - RCTRequired (0.74.1)
- - RCTTypeSafety (0.74.1):
- - FBLazyVector (= 0.74.1)
- - RCTRequired (= 0.74.1)
- - React-Core (= 0.74.1)
- - React (0.74.1):
- - React-Core (= 0.74.1)
- - React-Core/DevSupport (= 0.74.1)
- - React-Core/RCTWebSocket (= 0.74.1)
- - React-RCTActionSheet (= 0.74.1)
- - React-RCTAnimation (= 0.74.1)
- - React-RCTBlob (= 0.74.1)
- - React-RCTImage (= 0.74.1)
- - React-RCTLinking (= 0.74.1)
- - React-RCTNetwork (= 0.74.1)
- - React-RCTSettings (= 0.74.1)
- - React-RCTText (= 0.74.1)
- - React-RCTVibration (= 0.74.1)
- - React-callinvoker (0.74.1)
- - React-Codegen (0.74.1):
+ - RCTDeprecation (0.74.2)
+ - RCTRequired (0.74.2)
+ - RCTTypeSafety (0.74.2):
+ - FBLazyVector (= 0.74.2)
+ - RCTRequired (= 0.74.2)
+ - React-Core (= 0.74.2)
+ - React (0.74.2):
+ - React-Core (= 0.74.2)
+ - React-Core/DevSupport (= 0.74.2)
+ - React-Core/RCTWebSocket (= 0.74.2)
+ - React-RCTActionSheet (= 0.74.2)
+ - React-RCTAnimation (= 0.74.2)
+ - React-RCTBlob (= 0.74.2)
+ - React-RCTImage (= 0.74.2)
+ - React-RCTLinking (= 0.74.2)
+ - React-RCTNetwork (= 0.74.2)
+ - React-RCTSettings (= 0.74.2)
+ - React-RCTText (= 0.74.2)
+ - React-RCTVibration (= 0.74.2)
+ - React-callinvoker (0.74.2)
+ - React-Codegen (0.74.2):
- DoubleConversion
- glog
- hermes-engine
@@ -105,12 +105,12 @@ PODS:
- React-utils
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- - React-Core (0.74.1):
+ - React-Core (0.74.2):
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
- RCTDeprecation
- - React-Core/Default (= 0.74.1)
+ - React-Core/Default (= 0.74.2)
- React-cxxreact
- React-featureflags
- React-hermes
@@ -122,7 +122,7 @@ PODS:
- React-utils
- SocketRocket (= 0.7.0)
- Yoga
- - React-Core/CoreModulesHeaders (0.74.1):
+ - React-Core/CoreModulesHeaders (0.74.2):
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
@@ -139,7 +139,7 @@ PODS:
- React-utils
- SocketRocket (= 0.7.0)
- Yoga
- - React-Core/Default (0.74.1):
+ - React-Core/Default (0.74.2):
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
@@ -155,13 +155,13 @@ PODS:
- React-utils
- SocketRocket (= 0.7.0)
- Yoga
- - React-Core/DevSupport (0.74.1):
+ - React-Core/DevSupport (0.74.2):
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
- RCTDeprecation
- - React-Core/Default (= 0.74.1)
- - React-Core/RCTWebSocket (= 0.74.1)
+ - React-Core/Default (= 0.74.2)
+ - React-Core/RCTWebSocket (= 0.74.2)
- React-cxxreact
- React-featureflags
- React-hermes
@@ -173,7 +173,7 @@ PODS:
- React-utils
- SocketRocket (= 0.7.0)
- Yoga
- - React-Core/RCTActionSheetHeaders (0.74.1):
+ - React-Core/RCTActionSheetHeaders (0.74.2):
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
@@ -190,7 +190,7 @@ PODS:
- React-utils
- SocketRocket (= 0.7.0)
- Yoga
- - React-Core/RCTAnimationHeaders (0.74.1):
+ - React-Core/RCTAnimationHeaders (0.74.2):
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
@@ -207,7 +207,7 @@ PODS:
- React-utils
- SocketRocket (= 0.7.0)
- Yoga
- - React-Core/RCTBlobHeaders (0.74.1):
+ - React-Core/RCTBlobHeaders (0.74.2):
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
@@ -224,7 +224,7 @@ PODS:
- React-utils
- SocketRocket (= 0.7.0)
- Yoga
- - React-Core/RCTImageHeaders (0.74.1):
+ - React-Core/RCTImageHeaders (0.74.2):
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
@@ -241,7 +241,7 @@ PODS:
- React-utils
- SocketRocket (= 0.7.0)
- Yoga
- - React-Core/RCTLinkingHeaders (0.74.1):
+ - React-Core/RCTLinkingHeaders (0.74.2):
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
@@ -258,7 +258,7 @@ PODS:
- React-utils
- SocketRocket (= 0.7.0)
- Yoga
- - React-Core/RCTNetworkHeaders (0.74.1):
+ - React-Core/RCTNetworkHeaders (0.74.2):
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
@@ -275,7 +275,7 @@ PODS:
- React-utils
- SocketRocket (= 0.7.0)
- Yoga
- - React-Core/RCTSettingsHeaders (0.74.1):
+ - React-Core/RCTSettingsHeaders (0.74.2):
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
@@ -292,7 +292,7 @@ PODS:
- React-utils
- SocketRocket (= 0.7.0)
- Yoga
- - React-Core/RCTTextHeaders (0.74.1):
+ - React-Core/RCTTextHeaders (0.74.2):
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
@@ -309,7 +309,7 @@ PODS:
- React-utils
- SocketRocket (= 0.7.0)
- Yoga
- - React-Core/RCTVibrationHeaders (0.74.1):
+ - React-Core/RCTVibrationHeaders (0.74.2):
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
@@ -326,12 +326,12 @@ PODS:
- React-utils
- SocketRocket (= 0.7.0)
- Yoga
- - React-Core/RCTWebSocket (0.74.1):
+ - React-Core/RCTWebSocket (0.74.2):
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
- RCTDeprecation
- - React-Core/Default (= 0.74.1)
+ - React-Core/Default (= 0.74.2)
- React-cxxreact
- React-featureflags
- React-hermes
@@ -343,36 +343,36 @@ PODS:
- React-utils
- SocketRocket (= 0.7.0)
- Yoga
- - React-CoreModules (0.74.1):
+ - React-CoreModules (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- RCT-Folly (= 2024.01.01.00)
- - RCTTypeSafety (= 0.74.1)
+ - RCTTypeSafety (= 0.74.2)
- React-Codegen
- - React-Core/CoreModulesHeaders (= 0.74.1)
- - React-jsi (= 0.74.1)
+ - React-Core/CoreModulesHeaders (= 0.74.2)
+ - React-jsi (= 0.74.2)
- React-jsinspector
- React-NativeModulesApple
- React-RCTBlob
- - React-RCTImage (= 0.74.1)
+ - React-RCTImage (= 0.74.2)
- ReactCommon
- SocketRocket (= 0.7.0)
- - React-cxxreact (0.74.1):
+ - React-cxxreact (0.74.2):
- boost (= 1.83.0)
- DoubleConversion
- fmt (= 9.1.0)
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
- - React-callinvoker (= 0.74.1)
- - React-debug (= 0.74.1)
- - React-jsi (= 0.74.1)
+ - React-callinvoker (= 0.74.2)
+ - React-debug (= 0.74.2)
+ - React-jsi (= 0.74.2)
- React-jsinspector
- - React-logger (= 0.74.1)
- - React-perflogger (= 0.74.1)
- - React-runtimeexecutor (= 0.74.1)
- - React-debug (0.74.1)
- - React-Fabric (0.74.1):
+ - React-logger (= 0.74.2)
+ - React-perflogger (= 0.74.2)
+ - React-runtimeexecutor (= 0.74.2)
+ - React-debug (0.74.2)
+ - React-Fabric (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -383,20 +383,20 @@ PODS:
- React-Core
- React-cxxreact
- React-debug
- - React-Fabric/animations (= 0.74.1)
- - React-Fabric/attributedstring (= 0.74.1)
- - React-Fabric/componentregistry (= 0.74.1)
- - React-Fabric/componentregistrynative (= 0.74.1)
- - React-Fabric/components (= 0.74.1)
- - React-Fabric/core (= 0.74.1)
- - React-Fabric/imagemanager (= 0.74.1)
- - React-Fabric/leakchecker (= 0.74.1)
- - React-Fabric/mounting (= 0.74.1)
- - React-Fabric/scheduler (= 0.74.1)
- - React-Fabric/telemetry (= 0.74.1)
- - React-Fabric/templateprocessor (= 0.74.1)
- - React-Fabric/textlayoutmanager (= 0.74.1)
- - React-Fabric/uimanager (= 0.74.1)
+ - React-Fabric/animations (= 0.74.2)
+ - React-Fabric/attributedstring (= 0.74.2)
+ - React-Fabric/componentregistry (= 0.74.2)
+ - React-Fabric/componentregistrynative (= 0.74.2)
+ - React-Fabric/components (= 0.74.2)
+ - React-Fabric/core (= 0.74.2)
+ - React-Fabric/imagemanager (= 0.74.2)
+ - React-Fabric/leakchecker (= 0.74.2)
+ - React-Fabric/mounting (= 0.74.2)
+ - React-Fabric/scheduler (= 0.74.2)
+ - React-Fabric/telemetry (= 0.74.2)
+ - React-Fabric/templateprocessor (= 0.74.2)
+ - React-Fabric/textlayoutmanager (= 0.74.2)
+ - React-Fabric/uimanager (= 0.74.2)
- React-graphics
- React-jsi
- React-jsiexecutor
@@ -405,7 +405,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-Fabric/animations (0.74.1):
+ - React-Fabric/animations (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -424,7 +424,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-Fabric/attributedstring (0.74.1):
+ - React-Fabric/attributedstring (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -443,7 +443,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-Fabric/componentregistry (0.74.1):
+ - React-Fabric/componentregistry (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -462,7 +462,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-Fabric/componentregistrynative (0.74.1):
+ - React-Fabric/componentregistrynative (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -481,7 +481,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-Fabric/components (0.74.1):
+ - React-Fabric/components (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -492,17 +492,17 @@ PODS:
- React-Core
- React-cxxreact
- React-debug
- - React-Fabric/components/inputaccessory (= 0.74.1)
- - React-Fabric/components/legacyviewmanagerinterop (= 0.74.1)
- - React-Fabric/components/modal (= 0.74.1)
- - React-Fabric/components/rncore (= 0.74.1)
- - React-Fabric/components/root (= 0.74.1)
- - React-Fabric/components/safeareaview (= 0.74.1)
- - React-Fabric/components/scrollview (= 0.74.1)
- - React-Fabric/components/text (= 0.74.1)
- - React-Fabric/components/textinput (= 0.74.1)
- - React-Fabric/components/unimplementedview (= 0.74.1)
- - React-Fabric/components/view (= 0.74.1)
+ - React-Fabric/components/inputaccessory (= 0.74.2)
+ - React-Fabric/components/legacyviewmanagerinterop (= 0.74.2)
+ - React-Fabric/components/modal (= 0.74.2)
+ - React-Fabric/components/rncore (= 0.74.2)
+ - React-Fabric/components/root (= 0.74.2)
+ - React-Fabric/components/safeareaview (= 0.74.2)
+ - React-Fabric/components/scrollview (= 0.74.2)
+ - React-Fabric/components/text (= 0.74.2)
+ - React-Fabric/components/textinput (= 0.74.2)
+ - React-Fabric/components/unimplementedview (= 0.74.2)
+ - React-Fabric/components/view (= 0.74.2)
- React-graphics
- React-jsi
- React-jsiexecutor
@@ -511,7 +511,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-Fabric/components/inputaccessory (0.74.1):
+ - React-Fabric/components/inputaccessory (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -530,7 +530,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-Fabric/components/legacyviewmanagerinterop (0.74.1):
+ - React-Fabric/components/legacyviewmanagerinterop (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -549,7 +549,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-Fabric/components/modal (0.74.1):
+ - React-Fabric/components/modal (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -568,7 +568,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-Fabric/components/rncore (0.74.1):
+ - React-Fabric/components/rncore (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -587,7 +587,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-Fabric/components/root (0.74.1):
+ - React-Fabric/components/root (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -606,7 +606,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-Fabric/components/safeareaview (0.74.1):
+ - React-Fabric/components/safeareaview (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -625,7 +625,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-Fabric/components/scrollview (0.74.1):
+ - React-Fabric/components/scrollview (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -644,7 +644,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-Fabric/components/text (0.74.1):
+ - React-Fabric/components/text (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -663,7 +663,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-Fabric/components/textinput (0.74.1):
+ - React-Fabric/components/textinput (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -682,7 +682,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-Fabric/components/unimplementedview (0.74.1):
+ - React-Fabric/components/unimplementedview (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -701,7 +701,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-Fabric/components/view (0.74.1):
+ - React-Fabric/components/view (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -721,7 +721,7 @@ PODS:
- React-utils
- ReactCommon/turbomodule/core
- Yoga
- - React-Fabric/core (0.74.1):
+ - React-Fabric/core (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -740,7 +740,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-Fabric/imagemanager (0.74.1):
+ - React-Fabric/imagemanager (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -759,7 +759,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-Fabric/leakchecker (0.74.1):
+ - React-Fabric/leakchecker (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -778,7 +778,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-Fabric/mounting (0.74.1):
+ - React-Fabric/mounting (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -797,7 +797,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-Fabric/scheduler (0.74.1):
+ - React-Fabric/scheduler (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -816,7 +816,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-Fabric/telemetry (0.74.1):
+ - React-Fabric/telemetry (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -835,7 +835,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-Fabric/templateprocessor (0.74.1):
+ - React-Fabric/templateprocessor (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -854,7 +854,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-Fabric/textlayoutmanager (0.74.1):
+ - React-Fabric/textlayoutmanager (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -874,7 +874,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-Fabric/uimanager (0.74.1):
+ - React-Fabric/uimanager (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
@@ -893,45 +893,45 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon/turbomodule/core
- - React-FabricImage (0.74.1):
+ - React-FabricImage (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
- hermes-engine
- RCT-Folly/Fabric (= 2024.01.01.00)
- - RCTRequired (= 0.74.1)
- - RCTTypeSafety (= 0.74.1)
+ - RCTRequired (= 0.74.2)
+ - RCTTypeSafety (= 0.74.2)
- React-Fabric
- React-graphics
- React-ImageManager
- React-jsi
- - React-jsiexecutor (= 0.74.1)
+ - React-jsiexecutor (= 0.74.2)
- React-logger
- React-rendererdebug
- React-utils
- ReactCommon
- Yoga
- - React-featureflags (0.74.1)
- - React-graphics (0.74.1):
+ - React-featureflags (0.74.2)
+ - React-graphics (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
- RCT-Folly/Fabric (= 2024.01.01.00)
- - React-Core/Default (= 0.74.1)
+ - React-Core/Default (= 0.74.2)
- React-utils
- - React-hermes (0.74.1):
+ - React-hermes (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
- - React-cxxreact (= 0.74.1)
+ - React-cxxreact (= 0.74.2)
- React-jsi
- - React-jsiexecutor (= 0.74.1)
+ - React-jsiexecutor (= 0.74.2)
- React-jsinspector
- - React-perflogger (= 0.74.1)
+ - React-perflogger (= 0.74.2)
- React-runtimeexecutor
- - React-ImageManager (0.74.1):
+ - React-ImageManager (0.74.2):
- glog
- RCT-Folly/Fabric
- React-Core/Default
@@ -940,45 +940,45 @@ PODS:
- React-graphics
- React-rendererdebug
- React-utils
- - React-jserrorhandler (0.74.1):
+ - React-jserrorhandler (0.74.2):
- RCT-Folly/Fabric (= 2024.01.01.00)
- React-debug
- React-jsi
- React-Mapbuffer
- - React-jsi (0.74.1):
+ - React-jsi (0.74.2):
- boost (= 1.83.0)
- DoubleConversion
- fmt (= 9.1.0)
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
- - React-jsiexecutor (0.74.1):
+ - React-jsiexecutor (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
- - React-cxxreact (= 0.74.1)
- - React-jsi (= 0.74.1)
+ - React-cxxreact (= 0.74.2)
+ - React-jsi (= 0.74.2)
- React-jsinspector
- - React-perflogger (= 0.74.1)
- - React-jsinspector (0.74.1):
+ - React-perflogger (= 0.74.2)
+ - React-jsinspector (0.74.2):
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
- React-featureflags
- React-jsi
- - React-runtimeexecutor (= 0.74.1)
- - React-jsitracing (0.74.1):
+ - React-runtimeexecutor (= 0.74.2)
+ - React-jsitracing (0.74.2):
- React-jsi
- - React-logger (0.74.1):
+ - React-logger (0.74.2):
- glog
- - React-Mapbuffer (0.74.1):
+ - React-Mapbuffer (0.74.2):
- glog
- React-debug
- - React-nativeconfig (0.74.1)
- - React-NativeModulesApple (0.74.1):
+ - React-nativeconfig (0.74.2)
+ - React-NativeModulesApple (0.74.2):
- glog
- hermes-engine
- React-callinvoker
@@ -989,10 +989,10 @@ PODS:
- React-runtimeexecutor
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- - React-perflogger (0.74.1)
- - React-RCTActionSheet (0.74.1):
- - React-Core/RCTActionSheetHeaders (= 0.74.1)
- - React-RCTAnimation (0.74.1):
+ - React-perflogger (0.74.2)
+ - React-RCTActionSheet (0.74.2):
+ - React-Core/RCTActionSheetHeaders (= 0.74.2)
+ - React-RCTAnimation (0.74.2):
- RCT-Folly (= 2024.01.01.00)
- RCTTypeSafety
- React-Codegen
@@ -1000,7 +1000,7 @@ PODS:
- React-jsi
- React-NativeModulesApple
- ReactCommon
- - React-RCTAppDelegate (0.74.1):
+ - React-RCTAppDelegate (0.74.2):
- RCT-Folly (= 2024.01.01.00)
- RCTRequired
- RCTTypeSafety
@@ -1024,7 +1024,7 @@ PODS:
- React-runtimescheduler
- React-utils
- ReactCommon
- - React-RCTBlob (0.74.1):
+ - React-RCTBlob (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- hermes-engine
@@ -1037,7 +1037,7 @@ PODS:
- React-NativeModulesApple
- React-RCTNetwork
- ReactCommon
- - React-RCTFabric (0.74.1):
+ - React-RCTFabric (0.74.2):
- glog
- hermes-engine
- RCT-Folly/Fabric (= 2024.01.01.00)
@@ -1057,7 +1057,7 @@ PODS:
- React-runtimescheduler
- React-utils
- Yoga
- - React-RCTImage (0.74.1):
+ - React-RCTImage (0.74.2):
- RCT-Folly (= 2024.01.01.00)
- RCTTypeSafety
- React-Codegen
@@ -1066,14 +1066,14 @@ PODS:
- React-NativeModulesApple
- React-RCTNetwork
- ReactCommon
- - React-RCTLinking (0.74.1):
+ - React-RCTLinking (0.74.2):
- React-Codegen
- - React-Core/RCTLinkingHeaders (= 0.74.1)
- - React-jsi (= 0.74.1)
+ - React-Core/RCTLinkingHeaders (= 0.74.2)
+ - React-jsi (= 0.74.2)
- React-NativeModulesApple
- ReactCommon
- - ReactCommon/turbomodule/core (= 0.74.1)
- - React-RCTNetwork (0.74.1):
+ - ReactCommon/turbomodule/core (= 0.74.2)
+ - React-RCTNetwork (0.74.2):
- RCT-Folly (= 2024.01.01.00)
- RCTTypeSafety
- React-Codegen
@@ -1081,7 +1081,7 @@ PODS:
- React-jsi
- React-NativeModulesApple
- ReactCommon
- - React-RCTSettings (0.74.1):
+ - React-RCTSettings (0.74.2):
- RCT-Folly (= 2024.01.01.00)
- RCTTypeSafety
- React-Codegen
@@ -1089,23 +1089,23 @@ PODS:
- React-jsi
- React-NativeModulesApple
- ReactCommon
- - React-RCTText (0.74.1):
- - React-Core/RCTTextHeaders (= 0.74.1)
+ - React-RCTText (0.74.2):
+ - React-Core/RCTTextHeaders (= 0.74.2)
- Yoga
- - React-RCTVibration (0.74.1):
+ - React-RCTVibration (0.74.2):
- RCT-Folly (= 2024.01.01.00)
- React-Codegen
- React-Core/RCTVibrationHeaders
- React-jsi
- React-NativeModulesApple
- ReactCommon
- - React-rendererdebug (0.74.1):
+ - React-rendererdebug (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- RCT-Folly (= 2024.01.01.00)
- React-debug
- - React-rncore (0.74.1)
- - React-RuntimeApple (0.74.1):
+ - React-rncore (0.74.2)
+ - React-RuntimeApple (0.74.2):
- hermes-engine
- RCT-Folly/Fabric (= 2024.01.01.00)
- React-callinvoker
@@ -1123,7 +1123,7 @@ PODS:
- React-runtimeexecutor
- React-RuntimeHermes
- React-utils
- - React-RuntimeCore (0.74.1):
+ - React-RuntimeCore (0.74.2):
- glog
- hermes-engine
- RCT-Folly/Fabric (= 2024.01.01.00)
@@ -1136,9 +1136,9 @@ PODS:
- React-runtimeexecutor
- React-runtimescheduler
- React-utils
- - React-runtimeexecutor (0.74.1):
- - React-jsi (= 0.74.1)
- - React-RuntimeHermes (0.74.1):
+ - React-runtimeexecutor (0.74.2):
+ - React-jsi (= 0.74.2)
+ - React-RuntimeHermes (0.74.2):
- hermes-engine
- RCT-Folly/Fabric (= 2024.01.01.00)
- React-featureflags
@@ -1149,7 +1149,7 @@ PODS:
- React-nativeconfig
- React-RuntimeCore
- React-utils
- - React-runtimescheduler (0.74.1):
+ - React-runtimescheduler (0.74.2):
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
@@ -1161,51 +1161,51 @@ PODS:
- React-rendererdebug
- React-runtimeexecutor
- React-utils
- - React-utils (0.74.1):
+ - React-utils (0.74.2):
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
- React-debug
- - React-jsi (= 0.74.1)
- - ReactCommon (0.74.1):
- - ReactCommon/turbomodule (= 0.74.1)
- - ReactCommon/turbomodule (0.74.1):
+ - React-jsi (= 0.74.2)
+ - ReactCommon (0.74.2):
+ - ReactCommon/turbomodule (= 0.74.2)
+ - ReactCommon/turbomodule (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
- - React-callinvoker (= 0.74.1)
- - React-cxxreact (= 0.74.1)
- - React-jsi (= 0.74.1)
- - React-logger (= 0.74.1)
- - React-perflogger (= 0.74.1)
- - ReactCommon/turbomodule/bridging (= 0.74.1)
- - ReactCommon/turbomodule/core (= 0.74.1)
- - ReactCommon/turbomodule/bridging (0.74.1):
+ - React-callinvoker (= 0.74.2)
+ - React-cxxreact (= 0.74.2)
+ - React-jsi (= 0.74.2)
+ - React-logger (= 0.74.2)
+ - React-perflogger (= 0.74.2)
+ - ReactCommon/turbomodule/bridging (= 0.74.2)
+ - ReactCommon/turbomodule/core (= 0.74.2)
+ - ReactCommon/turbomodule/bridging (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
- - React-callinvoker (= 0.74.1)
- - React-cxxreact (= 0.74.1)
- - React-jsi (= 0.74.1)
- - React-logger (= 0.74.1)
- - React-perflogger (= 0.74.1)
- - ReactCommon/turbomodule/core (0.74.1):
+ - React-callinvoker (= 0.74.2)
+ - React-cxxreact (= 0.74.2)
+ - React-jsi (= 0.74.2)
+ - React-logger (= 0.74.2)
+ - React-perflogger (= 0.74.2)
+ - ReactCommon/turbomodule/core (0.74.2):
- DoubleConversion
- fmt (= 9.1.0)
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
- - React-callinvoker (= 0.74.1)
- - React-cxxreact (= 0.74.1)
- - React-debug (= 0.74.1)
- - React-jsi (= 0.74.1)
- - React-logger (= 0.74.1)
- - React-perflogger (= 0.74.1)
- - React-utils (= 0.74.1)
+ - React-callinvoker (= 0.74.2)
+ - React-cxxreact (= 0.74.2)
+ - React-debug (= 0.74.2)
+ - React-jsi (= 0.74.2)
+ - React-logger (= 0.74.2)
+ - React-perflogger (= 0.74.2)
+ - React-utils (= 0.74.2)
- SocketRocket (0.7.0)
- Yoga (0.0.0)
@@ -1290,7 +1290,7 @@ EXTERNAL SOURCES:
:podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec"
hermes-engine:
:podspec: "../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec"
- :tag: hermes-2024-04-25-RNv0.74.1-b54a3a01c531f4f5f1904cb0770033e8b7153dff
+ :tag: hermes-2024-06-03-RNv0.74.2-bb1e74fe1e95c2b5a2f4f9311152da052badc2bc
RCT-Folly:
:podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec"
RCTDeprecation:
@@ -1391,61 +1391,61 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
boost: d3f49c53809116a5d38da093a8aa78bf551aed09
DoubleConversion: 76ab83afb40bddeeee456813d9c04f67f78771b5
- dr-pogodin-react-native-fs: 043d4daed4fb348baddccba7bc98dee7ea7a4b91
+ dr-pogodin-react-native-fs: ca26a09ad4b7feb4d7a27b2862273fa2c93396c4
dr-pogodin-react-native-static-server: 064d84bba53f863504c6ea874549ea5a70405c42
- FBLazyVector: 898d14d17bf19e2435cafd9ea2a1033efe445709
+ FBLazyVector: 4bc164e5b5e6cfc288d2b5ff28643ea15fa1a589
fmt: 4c2741a687cc09f0634a2e2c72a838b99f1ff120
- glog: c5d68082e772fa1c511173d6b30a9de2c05a69a2
- hermes-engine: 16b8530de1b383cdada1476cf52d1b52f0692cbc
+ glog: fdfdfe5479092de0c4bdbebedd9056951f092c4f
+ hermes-engine: 01d3e052018c2a13937aca1860fbedbccd4a41b7
RCT-Folly: 02617c592a293bd6d418e0a88ff4ee1f88329b47
- RCTDeprecation: efb313d8126259e9294dc4ee0002f44a6f676aba
- RCTRequired: f49ea29cece52aee20db633ae7edc4b271435562
- RCTTypeSafety: a11979ff0570d230d74de9f604f7d19692157bc4
- React: 88794fad7f460349dbc9df8a274d95f37a009f5d
- React-callinvoker: 7a7023e34a55c89ea2aa62486bb3c1164ab0be0c
- React-Codegen: af31a9323ce23988c255c9afd0ae9415ff894939
- React-Core: 60075333bc22b5a793d3f62e207368b79bff2e64
- React-CoreModules: 147c314d6b3b1e069c9ad64cbbbeba604854ff86
- React-cxxreact: 5de27fd8bff4764acb2eac3ee66001e0e2b910e7
- React-debug: 6397f0baf751b40511d01e984b01467d7e6d8127
- React-Fabric: 6fa475e16e0a37b38d462cec32b70fd5cf886305
- React-FabricImage: 7e09b3704e3fa084b4d44b5b5ef6e2e3d3334ec0
- React-featureflags: 2eb79dd9df4095bff519379f2a4c915069e330bb
- React-graphics: 82a482a3aa5d9659b74cdf2c8b57faf67eaa10fb
- React-hermes: d93936b02de2fd7e67c11e92c16d4278a14d0134
- React-ImageManager: ebb3c4812e2c5acba5a89728c2d77729471329ad
- React-jserrorhandler: a08e0adcf1612900dde82b8bf8e93e7d2ad953b3
- React-jsi: f46d09ee5079a4f3b637d30d0e59b8ea6470632c
- React-jsiexecutor: e73579560957aa3ca9dc02ab90e163454279d48c
- React-jsinspector: e8ba20dde269c7c1d45784b858fa1cf4383f0bbb
- React-jsitracing: 233d1a798fe0ff33b8e630b8f00f62c4a8115fbc
- React-logger: 7e7403a2b14c97f847d90763af76b84b152b6fce
- React-Mapbuffer: 11029dcd47c5c9e057a4092ab9c2a8d10a496a33
- React-nativeconfig: b0073a590774e8b35192fead188a36d1dca23dec
- React-NativeModulesApple: df46ff3e3de5b842b30b4ca8a6caae6d7c8ab09f
- React-perflogger: 3d31e0d1e8ad891e43a09ac70b7b17a79773003a
- React-RCTActionSheet: c4a3a134f3434c9d7b0c1054f1a8cfed30c7a093
- React-RCTAnimation: 0e5d15320eeece667fcceb6c785acf9a184e9da1
- React-RCTAppDelegate: 3ab57e497300ec1c54b798ba2d0834ee048229f4
- React-RCTBlob: c46aaaee693d371a1c7cae2a8c8ee2aa7fbc1adb
- React-RCTFabric: 82f15dc5a981288bfa806545f943cbd18e794ad7
- React-RCTImage: a04dba5fcc823244f5822192c130ecf09623a57f
- React-RCTLinking: 533bf13c745fcb2a0c14e0e49fd149586a7f0d14
- React-RCTNetwork: a29e371e0d363d7b4c10ab907bc4d6ae610541e9
- React-RCTSettings: 127813224780861d0d30ecda17a40d1dfebe7d73
- React-RCTText: 8a823f245ecf82edb7569646e3c4d8041deb800a
- React-RCTVibration: 46b5fae74e63f240f22f39de16ad6433da3b65d9
- React-rendererdebug: 4653f8da6ab1d7b01af796bdf8ca47a927539e39
- React-rncore: 4f1e645acb5107bd4b4cf29eff17b04a7cd422f3
- React-RuntimeApple: 013b606e743efb5ee14ef03c32379b78bfe74354
- React-RuntimeCore: 7205be45a25713b5418bbf2db91ddfcca0761d8b
- React-runtimeexecutor: a278d4249921853d4a3f24e4d6e0ff30688f3c16
- React-RuntimeHermes: 44c628568ce8feedc3acfbd48fc07b7f0f6d2731
- React-runtimescheduler: e2152ed146b6a35c07386fc2ac4827b27e6aad12
- React-utils: 3285151c9d1e3a28a9586571fc81d521678c196d
- ReactCommon: f42444e384d82ab89184aed5d6f3142748b54768
+ RCTDeprecation: b03c35057846b685b3ccadc9bfe43e349989cdb2
+ RCTRequired: 194626909cfa8d39ca6663138c417bc6c431648c
+ RCTTypeSafety: 552aff5b8e8341660594db00e53ac889682bc120
+ React: a57fe42044fe6ed3e828f8867ce070a6c5872754
+ React-callinvoker: 6bedefb354a8848b534752417954caa3a5cf34f9
+ React-Codegen: 0952549a095f8f8cb2fb5def1733b6b232769b1c
+ React-Core: 289ee3dfc1639bb9058c1e77427bb48169c26d7a
+ React-CoreModules: eda5ce541a1f552158317abd90a5a0f6a4f8d6f7
+ React-cxxreact: 56bd17ccc6d4248116f7f95884ddb8c528379fb6
+ React-debug: 164b8e302404d92d4bec39778a5e03bcb1b6eb08
+ React-Fabric: 05620c36074e3ab397dd8f9db0deb6d3c38b4efa
+ React-FabricImage: 2a8a7f5729f5c44e32e6f58f7225ee1017ed0704
+ React-featureflags: d97a6393993052e951e16a3b81206e22110be8d2
+ React-graphics: ef07d701f4eb72ae6fca6ed0a7260a04f2a58dec
+ React-hermes: 6ccc301ababfa17a9aad25a7e33faf325fd024b4
+ React-ImageManager: 00404bfe122626bc6493621f2a31ce802115a9b3
+ React-jserrorhandler: 5e2632590a84363855b2083e6b3d501e93bc3f04
+ React-jsi: 828703c235f4eea1647897ee8030efdc6e8e9f14
+ React-jsiexecutor: 713d7bbef0a410cee5b3b78f73ed1fc16e177ba7
+ React-jsinspector: e1fa5325a47f34645195c63e3312ddb6a2efef5d
+ React-jsitracing: 0fa7f78d8fdda794667cb2e6f19c874c1cf31d7e
+ React-logger: 29fa3e048f5f67fe396bc08af7606426d9bd7b5d
+ React-Mapbuffer: bf56147c9775491e53122a94c423ac201417e326
+ React-nativeconfig: 9f223cd321823afdecf59ed00861ab2d69ee0fc1
+ React-NativeModulesApple: ff7efaff7098639db5631236cfd91d60abff04c0
+ React-perflogger: 32ed45d9cee02cf6639acae34251590dccd30994
+ React-RCTActionSheet: 19f967ddaea258182b56ef11437133b056ba2adf
+ React-RCTAnimation: d7f4137fc44a08bba465267ea7cb1dbdb7c4ec87
+ React-RCTAppDelegate: dca95e1a6194f7ae06c2b5f1d5f891c61af00ec8
+ React-RCTBlob: c6c3e1e0251700b7bea036b893913f22e2b9cb47
+ React-RCTFabric: a7874c54aea18f64677446efc5f839ec4fa5e931
+ React-RCTImage: 40528ab74a4fef0f0e2ee797a074b26d120b6cc6
+ React-RCTLinking: 385b5beb96749aae9ae1606746e883e1c9f8a6a7
+ React-RCTNetwork: ffc9f05bd8fa5b3bce562199ba41235ad0af645c
+ React-RCTSettings: 21914178bb65cb2c20c655ae1fb401617ae74618
+ React-RCTText: 7f8dba1a311e99f4de15bbace2350e805f33f024
+ React-RCTVibration: e4ccf673579d0d94a96b3a0b64492db08f8324d5
+ React-rendererdebug: ac70f40de137ce7bdbc55eaee60c467a215d9923
+ React-rncore: edfff7a3f7f82ca1e0ba26978c6d84c7a8970dac
+ React-RuntimeApple: a0c98b75571aa5f44ddc7c6e9fd55803fa4db00f
+ React-RuntimeCore: 4b8db1fe2f3f4a3a5ecb22e1a419824e3e2cd7ef
+ React-runtimeexecutor: 5961acc7a77b69f964e1645a5d6069e124ce6b37
+ React-RuntimeHermes: c5825bfae4815fdf4e9e639340c3a986a491884c
+ React-runtimescheduler: 56b642bf605ba5afa500d35790928fc1d51565ad
+ React-utils: 4476b7fcbbd95cfd002f3e778616155241d86e31
+ ReactCommon: ecad995f26e0d1e24061f60f4e5d74782f003f12
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
- Yoga: b9a182ab00cf25926e7f79657d08c5d23c2d03b0
+ Yoga: 2f71ecf38d934aecb366e686278102a51679c308
PODFILE CHECKSUM: db35b6e7505e50128f30f61fcf04a4ecc102038d
diff --git a/example/ios/ReactNativeFsExample.xcworkspace/contents.xcworkspacedata b/example/ios/ReactNativeFsExample.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 00000000..8b1bfefe
--- /dev/null
+++ b/example/ios/ReactNativeFsExample.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
diff --git a/example/package.json b/example/package.json
index 7aae8f90..a68feea9 100644
--- a/example/package.json
+++ b/example/package.json
@@ -14,19 +14,19 @@
},
"dependencies": {
"@dr.pogodin/react-native-static-server": "^0.15.0",
- "@types/lodash": "^4.17.4",
+ "@types/lodash": "^4.17.5",
"lodash": "^4.17.21",
"react": "18.3.1",
- "react-native": "0.74.1",
- "react-native-windows": "0.74.7"
+ "react-native": "0.74.2",
+ "react-native-windows": "0.74.8"
},
"devDependencies": {
- "@babel/core": "^7.24.6",
- "@babel/preset-env": "^7.24.6",
- "@babel/runtime": "^7.24.6",
- "@react-native/babel-preset": "0.74.83",
- "@react-native/metro-config": "0.74.83",
- "@react-native/typescript-config": "0.74.83",
+ "@babel/core": "^7.24.7",
+ "@babel/preset-env": "^7.24.7",
+ "@babel/runtime": "^7.24.7",
+ "@react-native/babel-preset": "0.74.84",
+ "@react-native/metro-config": "0.74.84",
+ "@react-native/typescript-config": "0.74.84",
"babel-plugin-module-resolver": "^5.0.2",
"metro-config": "^0.80.9"
},
diff --git a/example/src/TestBaseMethods.tsx b/example/src/TestBaseMethods.tsx
index 8cd3f35d..919ecc0c 100644
--- a/example/src/TestBaseMethods.tsx
+++ b/example/src/TestBaseMethods.tsx
@@ -1189,6 +1189,39 @@ const tests: { [name: string]: StatusOrEvaluator } = {
return 'fail';
}
},
+ 'uploadFiles() - HTTP error handling': async () => {
+ try {
+ const server = await waitServer();
+
+ const good = 'GÖÖÐ\n';
+ const path = `${TemporaryDirectoryPath}/upload-files.txt`;
+ await writeFile(path, good);
+
+ const targetDevicePath = `${FILE_DIR}/dav/upload-files.txt`;
+
+ try {
+ unlink(targetDevicePath);
+ } catch {}
+
+ const res = uploadFiles({
+ toUrl: `${server?.origin!}/invalid-path/upload-files.txt`,
+ method: 'PUT',
+ files: [
+ {
+ name: 'upload-files-source-file',
+ filename: 'upload-files-source-file.txt',
+ filepath: path,
+ },
+ ],
+ });
+ await res.promise;
+ return 'fail';
+ } catch (e: any) {
+ return e.message !== 'Not Found' || e.result.statusCode !== 404
+ ? 'fail'
+ : 'pass';
+ }
+ },
'write()': async () => {
// TODO: This test is copied from "readFile() and writeFile()", and it is
// just slightly modified, without much thinking - it does not test all
diff --git a/example/windows/ReactNativeFsExample.sln b/example/windows/ReactNativeFsExample.sln
index e68336d3..1eab0844 100644
--- a/example/windows/ReactNativeFsExample.sln
+++ b/example/windows/ReactNativeFsExample.sln
@@ -38,24 +38,13 @@ EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ReactNativeStaticServer", "..\node_modules\@dr.pogodin\react-native-static-server\windows\ReactNativeStaticServer\ReactNativeStaticServer.vcxproj", "{85449ABF-3212-44B4-BE33-D3C6629FD017}"
EndProject
Global
- GlobalSection(SharedMSBuildProjectFiles) = preSolution
- ..\node_modules\react-native-windows\Shared\Shared.vcxitems*{2049dbe9-8d13-42c9-ae4b-413ae38fffd0}*SharedItemsImports = 9
- ..\node_modules\react-native-windows\Mso\Mso.vcxitems*{84e05bfa-cbaf-4f0d-bfb6-4ce85742a57e}*SharedItemsImports = 9
- ..\node_modules\react-native-windows\Chakra\Chakra.vcxitems*{c38970c0-5fbf-4d69-90d8-cbac225ae895}*SharedItemsImports = 9
- ..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{da8b35b3-da00-4b02-bde6-6a397b3fd46b}*SharedItemsImports = 9
- ..\node_modules\react-native-windows\include\Include.vcxitems*{ef074ba1-2d54-4d49-a28e-5e040b47cd2e}*SharedItemsImports = 9
- ..\node_modules\react-native-windows\Chakra\Chakra.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
- ..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
- ..\node_modules\react-native-windows\Mso\Mso.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
- ..\node_modules\react-native-windows\Shared\Shared.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
- EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|ARM64 = Debug|ARM64
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
- Debug|ARM64 = Debug|ARM64
+ Release|ARM64 = Release|ARM64
Release|x64 = Release|x64
Release|x86 = Release|x86
- Release|ARM64 = Release|ARM64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{83C5AA44-D8CB-4C78-B8AE-6B1251D57A1D}.Debug|ARM64.ActiveCfg = Debug|ARM64
@@ -88,6 +77,20 @@ Global
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|x64.Build.0 = Release|x64
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|x86.ActiveCfg = Release|Win32
{A990658C-CE31-4BCC-976F-0FC6B1AF693D}.Release|x86.Build.0 = Release|Win32
+ {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|ARM64.ActiveCfg = Debug|ARM64
+ {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|ARM64.Build.0 = Debug|ARM64
+ {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x64.ActiveCfg = Debug|x64
+ {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x64.Build.0 = Debug|x64
+ {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x86.ActiveCfg = Debug|Win32
+ {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x86.Build.0 = Debug|Win32
+ {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x86.Deploy.0 = Debug|Win32
+ {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|ARM64.ActiveCfg = Release|ARM64
+ {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|ARM64.Build.0 = Release|ARM64
+ {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x64.ActiveCfg = Release|x64
+ {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x64.Build.0 = Release|x64
+ {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x86.ActiveCfg = Release|Win32
+ {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x86.Build.0 = Release|Win32
+ {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x86.Deploy.0 = Release|Win32
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|ARM64.ActiveCfg = Debug|ARM64
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|ARM64.Build.0 = Debug|ARM64
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD}.Debug|x64.ActiveCfg = Debug|x64
@@ -124,50 +127,37 @@ Global
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|x64.Build.0 = Release|x64
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|x86.ActiveCfg = Release|Win32
{FCA38F3C-7C73-4C47-BE4E-32F77FA8538D}.Release|x86.Build.0 = Release|Win32
- {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|ARM64.ActiveCfg = Debug|ARM64
- {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|ARM64.Build.0 = Debug|ARM64
- {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x64.ActiveCfg = Debug|x64
- {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x64.Build.0 = Debug|x64
- {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x86.ActiveCfg = Debug|Win32
- {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x86.Build.0 = Debug|Win32
- {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Debug|x86.Deploy.0 = Debug|Win32
- {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|ARM64.ActiveCfg = Release|ARM64
- {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|ARM64.Build.0 = Release|ARM64
- {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x64.ActiveCfg = Release|x64
- {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x64.Build.0 = Release|x64
- {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x86.ActiveCfg = Release|Win32
- {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x86.Build.0 = Release|Win32
- {14B93DC8-FD93-4A6D-81CB-8BC96644501C}.Release|x86.Deploy.0 = Release|Win32
+ {64DEFCC0-2495-420F-BECB-78D19C734E25}.Debug|ARM64.ActiveCfg = Debug|ARM64
+ {64DEFCC0-2495-420F-BECB-78D19C734E25}.Debug|ARM64.Build.0 = Debug|ARM64
{64DEFCC0-2495-420F-BECB-78D19C734E25}.Debug|x64.ActiveCfg = Debug|x64
{64DEFCC0-2495-420F-BECB-78D19C734E25}.Debug|x64.Build.0 = Debug|x64
{64DEFCC0-2495-420F-BECB-78D19C734E25}.Debug|x86.ActiveCfg = Debug|Win32
{64DEFCC0-2495-420F-BECB-78D19C734E25}.Debug|x86.Build.0 = Debug|Win32
- {64DEFCC0-2495-420F-BECB-78D19C734E25}.Debug|ARM64.ActiveCfg = Debug|ARM64
- {64DEFCC0-2495-420F-BECB-78D19C734E25}.Debug|ARM64.Build.0 = Debug|ARM64
+ {64DEFCC0-2495-420F-BECB-78D19C734E25}.Release|ARM64.ActiveCfg = Release|ARM64
+ {64DEFCC0-2495-420F-BECB-78D19C734E25}.Release|ARM64.Build.0 = Release|ARM64
{64DEFCC0-2495-420F-BECB-78D19C734E25}.Release|x64.ActiveCfg = Release|x64
{64DEFCC0-2495-420F-BECB-78D19C734E25}.Release|x64.Build.0 = Release|x64
{64DEFCC0-2495-420F-BECB-78D19C734E25}.Release|x86.ActiveCfg = Release|Win32
{64DEFCC0-2495-420F-BECB-78D19C734E25}.Release|x86.Build.0 = Release|Win32
- {64DEFCC0-2495-420F-BECB-78D19C734E25}.Release|ARM64.ActiveCfg = Release|ARM64
- {64DEFCC0-2495-420F-BECB-78D19C734E25}.Release|ARM64.Build.0 = Release|ARM64
+ {85449ABF-3212-44B4-BE33-D3C6629FD017}.Debug|ARM64.ActiveCfg = Debug|ARM64
+ {85449ABF-3212-44B4-BE33-D3C6629FD017}.Debug|ARM64.Build.0 = Debug|ARM64
{85449ABF-3212-44B4-BE33-D3C6629FD017}.Debug|x64.ActiveCfg = Debug|x64
{85449ABF-3212-44B4-BE33-D3C6629FD017}.Debug|x64.Build.0 = Debug|x64
{85449ABF-3212-44B4-BE33-D3C6629FD017}.Debug|x86.ActiveCfg = Debug|Win32
{85449ABF-3212-44B4-BE33-D3C6629FD017}.Debug|x86.Build.0 = Debug|Win32
- {85449ABF-3212-44B4-BE33-D3C6629FD017}.Debug|ARM64.ActiveCfg = Debug|ARM64
- {85449ABF-3212-44B4-BE33-D3C6629FD017}.Debug|ARM64.Build.0 = Debug|ARM64
+ {85449ABF-3212-44B4-BE33-D3C6629FD017}.Release|ARM64.ActiveCfg = Release|ARM64
+ {85449ABF-3212-44B4-BE33-D3C6629FD017}.Release|ARM64.Build.0 = Release|ARM64
{85449ABF-3212-44B4-BE33-D3C6629FD017}.Release|x64.ActiveCfg = Release|x64
{85449ABF-3212-44B4-BE33-D3C6629FD017}.Release|x64.Build.0 = Release|x64
{85449ABF-3212-44B4-BE33-D3C6629FD017}.Release|x86.ActiveCfg = Release|Win32
{85449ABF-3212-44B4-BE33-D3C6629FD017}.Release|x86.Build.0 = Release|Win32
- {85449ABF-3212-44B4-BE33-D3C6629FD017}.Release|ARM64.ActiveCfg = Release|ARM64
- {85449ABF-3212-44B4-BE33-D3C6629FD017}.Release|ARM64.Build.0 = Release|ARM64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{A990658C-CE31-4BCC-976F-0FC6B1AF693D} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
+ {14B93DC8-FD93-4A6D-81CB-8BC96644501C} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
{A9D95A91-4DB7-4F72-BEB6-FE8A5C89BFBD} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
{C38970C0-5FBF-4D69-90D8-CBAC225AE895} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
{F7D32BD0-2749-483E-9A0D-1635EF7E3136} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
@@ -176,9 +166,19 @@ Global
{2049DBE9-8D13-42C9-AE4B-413AE38FFFD0} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
{84E05BFA-CBAF-4F0D-BFB6-4CE85742A57E} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
{EF074BA1-2D54-4D49-A28E-5E040B47CD2E} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
- {14B93DC8-FD93-4A6D-81CB-8BC96644501C} = {5EA20F54-880A-49F3-99FA-4B3FE54E8AB1}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D43FAD39-F619-437D-BB40-04A3982ACB6A}
EndGlobalSection
+ GlobalSection(SharedMSBuildProjectFiles) = preSolution
+ ..\node_modules\react-native-windows\Shared\Shared.vcxitems*{2049dbe9-8d13-42c9-ae4b-413ae38fffd0}*SharedItemsImports = 9
+ ..\node_modules\react-native-windows\Mso\Mso.vcxitems*{84e05bfa-cbaf-4f0d-bfb6-4ce85742a57e}*SharedItemsImports = 9
+ ..\node_modules\react-native-windows\Chakra\Chakra.vcxitems*{c38970c0-5fbf-4d69-90d8-cbac225ae895}*SharedItemsImports = 9
+ ..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{da8b35b3-da00-4b02-bde6-6a397b3fd46b}*SharedItemsImports = 9
+ ..\node_modules\react-native-windows\include\Include.vcxitems*{ef074ba1-2d54-4d49-a28e-5e040b47cd2e}*SharedItemsImports = 9
+ ..\node_modules\react-native-windows\Chakra\Chakra.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
+ ..\node_modules\react-native-windows\Microsoft.ReactNative.Cxx\Microsoft.ReactNative.Cxx.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
+ ..\node_modules\react-native-windows\Mso\Mso.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
+ ..\node_modules\react-native-windows\Shared\Shared.vcxitems*{f7d32bd0-2749-483e-9a0d-1635ef7e3136}*SharedItemsImports = 4
+ EndGlobalSection
EndGlobal
diff --git a/example/windows/ReactNativeFsExample/AutolinkedNativeModules.g.targets b/example/windows/ReactNativeFsExample/AutolinkedNativeModules.g.targets
index 44aea7ce..d0540c79 100644
--- a/example/windows/ReactNativeFsExample/AutolinkedNativeModules.g.targets
+++ b/example/windows/ReactNativeFsExample/AutolinkedNativeModules.g.targets
@@ -8,7 +8,7 @@
- {85449abf-3212-44b4-be33-d3c6629fd017}
+ {85449ABF-3212-44B4-BE33-D3C6629FD017}
diff --git a/example/windows/ReactNativeFsExample/packages.lock.json b/example/windows/ReactNativeFsExample/packages.lock.json
index 4f4af5c6..918317dc 100644
--- a/example/windows/ReactNativeFsExample/packages.lock.json
+++ b/example/windows/ReactNativeFsExample/packages.lock.json
@@ -4,9 +4,9 @@
"native,Version=v0.0": {
"Microsoft.JavaScript.Hermes": {
"type": "Direct",
- "requested": "[0.1.18, )",
- "resolved": "0.1.18",
- "contentHash": "5K8rRihGwIs2XNOTP2Jsw3T6cegxCBQXcpPS4optONU/AmFElGAfnA6XBQJ4UqlCFCl9Nf9zQrgvCUPBWYHiag=="
+ "requested": "[0.1.21, )",
+ "resolved": "0.1.21",
+ "contentHash": "5njCh+3eXTLOv7+8nOnp6nJ5C0r6it5ze54c0nuWleeDptuK8t3dEDB79XTU4D5DKNvAPlqJpgXRDOak5nYIug=="
},
"Microsoft.UI.Xaml": {
"type": "Direct",
@@ -54,7 +54,7 @@
"dependencies": {
"Common": "[1.0.0, )",
"Folly": "[1.0.0, )",
- "Microsoft.JavaScript.Hermes": "[0.1.18, )",
+ "Microsoft.JavaScript.Hermes": "[0.1.21, )",
"Microsoft.UI.Xaml": "[2.8.0, )",
"ReactCommon": "[1.0.0, )",
"boost": "[1.76.0, )"
diff --git a/package.json b/package.json
index 00f75f4a..301e31f5 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@dr.pogodin/react-native-fs",
- "version": "2.26.0",
+ "version": "2.27.0",
"description": "Native filesystem access for React Native",
"main": "lib/commonjs/index",
"module": "lib/module/index",
@@ -46,10 +46,11 @@
"registry": "https://registry.npmjs.org/"
},
"dependencies": {
- "buffer": "^6.0.3"
+ "buffer": "^6.0.3",
+ "http-status-codes": "^2.3.0"
},
"devDependencies": {
- "@react-native/eslint-config": "^0.74.83",
+ "@react-native/eslint-config": "^0.74.84",
"@types/jest": "^29.5.12",
"@types/react": "^18.3.3",
"del-cli": "^5.1.0",
@@ -58,11 +59,11 @@
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"metro-config": "^0.80.9",
- "prettier": "^3.2.5",
+ "prettier": "^3.3.2",
"react": "18.3.1",
- "react-native": "0.74.1",
+ "react-native": "0.74.2",
"react-native-builder-bob": "^0.23.2",
- "react-native-windows": "0.74.7",
+ "react-native-windows": "0.74.8",
"typescript": "^5.4.5"
},
"resolutions": {
diff --git a/src/index.ts b/src/index.ts
index 30ad1f34..afabf6f3 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -1,3 +1,4 @@
+import { getReasonPhrase } from 'http-status-codes';
import { type EmitterSubscription, NativeEventEmitter } from 'react-native';
import RNFS from './ReactNativeFs';
@@ -378,6 +379,13 @@ export function uploadFiles(options: UploadFileOptionsT): {
jobId,
promise: RNFS.uploadFiles(nativeOptions).then((res: UploadResultT) => {
subscriptions.forEach((sub) => sub.remove());
+
+ if (res.statusCode >= 400) {
+ const error = Error(getReasonPhrase(res.statusCode));
+ (error as any).result = res;
+ throw error;
+ }
+
return res;
}),
};
diff --git a/windows/ReactNativeFs/ReactNativeModule.cpp b/windows/ReactNativeFs/ReactNativeModule.cpp
index 1accc53d..30b9ae04 100644
--- a/windows/ReactNativeFs/ReactNativeModule.cpp
+++ b/windows/ReactNativeFs/ReactNativeModule.cpp
@@ -1104,7 +1104,7 @@ IAsyncAction ReactNativeModule::ProcessUploadRequestAsync(ReactPromise=8"
prettier: ">=2"
- checksum: 9b54b369ffe858bf3b4703d21021e2dc4a3d671bf2a56c02bc13ea638413b067ce4c578b90459cfcb83bed3ae41fb58af678de772febc66fc7602a3b63d23aac
+ checksum: 768dce084fffd8858bfba5cb1c34a38316444865ea22cb98c4dbb3dd353f3c2ff63f48b10fe3a2e41d1b62a9c15909a8baecf717fba12a9e718062d231c16ec8
languageName: node
linkType: hard
-"@react-native/eslint-plugin@npm:0.74.83":
- version: 0.74.83
- resolution: "@react-native/eslint-plugin@npm:0.74.83"
- checksum: 85d1152ccb34812d5edef4abad1f522352332b08ae56e9c4ff1d9eb7742344aeade7649166259449b6002252cb4db3576bae03d3897618caf20d8cb203673aa9
+"@react-native/eslint-plugin@npm:0.74.84":
+ version: 0.74.84
+ resolution: "@react-native/eslint-plugin@npm:0.74.84"
+ checksum: 0333118169c42b5386373f1ccd2e32deeaf1d6607c0946da430d0ecb9460dd0908100a89a4aa8ec4ad25d324ae72a573a8910e4dd606954365073e85335865a0
languageName: node
linkType: hard
@@ -2918,6 +3242,13 @@ __metadata:
languageName: node
linkType: hard
+"@react-native/gradle-plugin@npm:0.74.84":
+ version: 0.74.84
+ resolution: "@react-native/gradle-plugin@npm:0.74.84"
+ checksum: c87ca92df109d102a7acf2ccfdf459779ccb635a75937ac096a89727d46c25d7d5c1627b8904a979c04ca703d4680bb30ba692682ac63f70f7318e0373750422
+ languageName: node
+ linkType: hard
+
"@react-native/js-polyfills@npm:0.74.83":
version: 0.74.83
resolution: "@react-native/js-polyfills@npm:0.74.83"
@@ -2925,6 +3256,13 @@ __metadata:
languageName: node
linkType: hard
+"@react-native/js-polyfills@npm:0.74.84":
+ version: 0.74.84
+ resolution: "@react-native/js-polyfills@npm:0.74.84"
+ checksum: 00faaa28900c63d2ab3f65418ad2b35bef45d9643b6352a8d395db4562090a562c7a1ad55da36917e837032c2861efaee4d75353b48532619cb998d0a4da1807
+ languageName: node
+ linkType: hard
+
"@react-native/metro-babel-transformer@npm:0.74.83":
version: 0.74.83
resolution: "@react-native/metro-babel-transformer@npm:0.74.83"
@@ -2939,15 +3277,29 @@ __metadata:
languageName: node
linkType: hard
-"@react-native/metro-config@npm:0.74.83":
- version: 0.74.83
- resolution: "@react-native/metro-config@npm:0.74.83"
+"@react-native/metro-babel-transformer@npm:0.74.84":
+ version: 0.74.84
+ resolution: "@react-native/metro-babel-transformer@npm:0.74.84"
dependencies:
- "@react-native/js-polyfills": 0.74.83
- "@react-native/metro-babel-transformer": 0.74.83
+ "@babel/core": ^7.20.0
+ "@react-native/babel-preset": 0.74.84
+ hermes-parser: 0.19.1
+ nullthrows: ^1.1.1
+ peerDependencies:
+ "@babel/core": "*"
+ checksum: 142c85cc6916aa28fb4fc1c6943397bf4ba4eb4bce86d9fad9afc394b87d99972ce1e47db43615aad6cc99c1c85a32fca7a9873bc0819972c181d221f54b2609
+ languageName: node
+ linkType: hard
+
+"@react-native/metro-config@npm:0.74.84":
+ version: 0.74.84
+ resolution: "@react-native/metro-config@npm:0.74.84"
+ dependencies:
+ "@react-native/js-polyfills": 0.74.84
+ "@react-native/metro-babel-transformer": 0.74.84
metro-config: ^0.80.3
metro-runtime: ^0.80.3
- checksum: 547f879453fa16b0c07f098c9639b62d20b662b84c46eb0d76f82241ec8d88c54e07fcfaeb4ca20340f5697480866bb904929cd38cd3d6684ef2b5455c82aff7
+ checksum: fcad7e0e4a304fb90e7d74bd008e245d5f45fa59fbb94aabb3feb87aec96372d5881fdb082c79bd4e3aaca583025de7207c8ffc3e0c1e9c415034c357e8e21f7
languageName: node
linkType: hard
@@ -2958,10 +3310,17 @@ __metadata:
languageName: node
linkType: hard
-"@react-native/typescript-config@npm:0.74.83":
- version: 0.74.83
- resolution: "@react-native/typescript-config@npm:0.74.83"
- checksum: 318ef304611bc7e42415327916bce358df1c7bc9e971e129d263166edf1179c42d64e5b91784fa28db13d5218ae2c87dc3e2214582673ba2b0f52e8f8615695b
+"@react-native/normalize-colors@npm:0.74.84":
+ version: 0.74.84
+ resolution: "@react-native/normalize-colors@npm:0.74.84"
+ checksum: e9a7b3020e6a298ba1c7310d267ef90c39327cb2ed7899bf3778224e52b280802899420dbf36fb8c1a37914f410be0187a9796c1790c1dca86404a40a948235a
+ languageName: node
+ linkType: hard
+
+"@react-native/typescript-config@npm:0.74.84":
+ version: 0.74.84
+ resolution: "@react-native/typescript-config@npm:0.74.84"
+ checksum: 5f96dceaba5242b461aa7a401d16826eb6552f8fc510ea1f855e4f99e4fdfcc168554d0a1150e39a8afb14e4d533a1b49b29c5ac3796ecf75ac6e78574b16344
languageName: node
linkType: hard
@@ -2982,6 +3341,23 @@ __metadata:
languageName: node
linkType: hard
+"@react-native/virtualized-lists@npm:0.74.84":
+ version: 0.74.84
+ resolution: "@react-native/virtualized-lists@npm:0.74.84"
+ dependencies:
+ invariant: ^2.2.4
+ nullthrows: ^1.1.1
+ peerDependencies:
+ "@types/react": ^18.2.6
+ react: "*"
+ react-native: "*"
+ peerDependenciesMeta:
+ "@types/react":
+ optional: true
+ checksum: 50db3831efe3d0d4d995e4ac26a88843489197acff4ab6e1684f9059c80ff16e14475bf79b74926b9884198afffd10748c44d208431c17429b23ef573fb1c8c6
+ languageName: node
+ linkType: hard
+
"@rnx-kit/chromium-edge-launcher@npm:^1.0.0":
version: 1.0.0
resolution: "@rnx-kit/chromium-edge-launcher@npm:1.0.0"
@@ -3136,17 +3512,17 @@ __metadata:
languageName: node
linkType: hard
-"@types/json-schema@npm:^7.0.12, @types/json-schema@npm:^7.0.9":
+"@types/json-schema@npm:^7.0.9":
version: 7.0.15
resolution: "@types/json-schema@npm:7.0.15"
checksum: 97ed0cb44d4070aecea772b7b2e2ed971e10c81ec87dd4ecc160322ffa55ff330dace1793489540e3e318d90942064bb697cc0f8989391797792d919737b3b98
languageName: node
linkType: hard
-"@types/lodash@npm:^4.17.4":
- version: 4.17.4
- resolution: "@types/lodash@npm:4.17.4"
- checksum: 268e652fd52d49189f155bc89b49bd4535aa44f0b6b0ed9ce7e50318307bda58147c49539d2047f39ca37cf5b5ea38dfb801d0dbcdbc8b019c95c1afc346b05a
+"@types/lodash@npm:^4.17.5":
+ version: 4.17.5
+ resolution: "@types/lodash@npm:4.17.5"
+ checksum: 3c9bb15772509f0ecb40428531863dbc3f064f2bf34bbccc2ce2b2923c69fb0868aec7e357b1d97fd0d7f7e435a014ea5c1adef8a64715529887179c97a5a823
languageName: node
linkType: hard
@@ -3223,7 +3599,7 @@ __metadata:
languageName: node
linkType: hard
-"@types/semver@npm:^7.3.12, @types/semver@npm:^7.5.0":
+"@types/semver@npm:^7.3.12":
version: 7.5.8
resolution: "@types/semver@npm:7.5.8"
checksum: ea6f5276f5b84c55921785a3a27a3cd37afee0111dfe2bcb3e03c31819c197c782598f17f0b150a69d453c9584cd14c4c4d7b9a55d2c5e6cacd4d66fdb3b3663
@@ -3269,46 +3645,44 @@ __metadata:
languageName: node
linkType: hard
-"@typescript-eslint/eslint-plugin@npm:^6.7.4":
- version: 6.21.0
- resolution: "@typescript-eslint/eslint-plugin@npm:6.21.0"
+"@typescript-eslint/eslint-plugin@npm:^7.1.1":
+ version: 7.13.0
+ resolution: "@typescript-eslint/eslint-plugin@npm:7.13.0"
dependencies:
- "@eslint-community/regexpp": ^4.5.1
- "@typescript-eslint/scope-manager": 6.21.0
- "@typescript-eslint/type-utils": 6.21.0
- "@typescript-eslint/utils": 6.21.0
- "@typescript-eslint/visitor-keys": 6.21.0
- debug: ^4.3.4
+ "@eslint-community/regexpp": ^4.10.0
+ "@typescript-eslint/scope-manager": 7.13.0
+ "@typescript-eslint/type-utils": 7.13.0
+ "@typescript-eslint/utils": 7.13.0
+ "@typescript-eslint/visitor-keys": 7.13.0
graphemer: ^1.4.0
- ignore: ^5.2.4
+ ignore: ^5.3.1
natural-compare: ^1.4.0
- semver: ^7.5.4
- ts-api-utils: ^1.0.1
+ ts-api-utils: ^1.3.0
peerDependencies:
- "@typescript-eslint/parser": ^6.0.0 || ^6.0.0-alpha
- eslint: ^7.0.0 || ^8.0.0
+ "@typescript-eslint/parser": ^7.0.0
+ eslint: ^8.56.0
peerDependenciesMeta:
typescript:
optional: true
- checksum: 5ef2c502255e643e98051e87eb682c2a257e87afd8ec3b9f6274277615e1c2caf3131b352244cfb1987b8b2c415645eeacb9113fa841fc4c9b2ac46e8aed6efd
+ checksum: 8bb62f7d4ab3af3656e564c0dd164316e1518475e34a65495b8b2ff816ce24e6df9b1b1d3616bc128fe1d6f26247a04b01513d99e69e2cf0a8048f32b67d58c5
languageName: node
linkType: hard
-"@typescript-eslint/parser@npm:^6.7.4":
- version: 6.21.0
- resolution: "@typescript-eslint/parser@npm:6.21.0"
+"@typescript-eslint/parser@npm:^7.1.1":
+ version: 7.13.0
+ resolution: "@typescript-eslint/parser@npm:7.13.0"
dependencies:
- "@typescript-eslint/scope-manager": 6.21.0
- "@typescript-eslint/types": 6.21.0
- "@typescript-eslint/typescript-estree": 6.21.0
- "@typescript-eslint/visitor-keys": 6.21.0
+ "@typescript-eslint/scope-manager": 7.13.0
+ "@typescript-eslint/types": 7.13.0
+ "@typescript-eslint/typescript-estree": 7.13.0
+ "@typescript-eslint/visitor-keys": 7.13.0
debug: ^4.3.4
peerDependencies:
- eslint: ^7.0.0 || ^8.0.0
+ eslint: ^8.56.0
peerDependenciesMeta:
typescript:
optional: true
- checksum: 162fe3a867eeeffda7328bce32dae45b52283c68c8cb23258fb9f44971f761991af61f71b8c9fe1aa389e93dfe6386f8509c1273d870736c507d76dd40647b68
+ checksum: dd7ef8380d954bb073b9d5d9f785fdc46a109d2938691f9b5fa6c227bd808bb64d8afc6ccccf217d3499deb8947d2f22ed51862e2e9563987ba3e225c58583a3
languageName: node
linkType: hard
@@ -3322,30 +3696,30 @@ __metadata:
languageName: node
linkType: hard
-"@typescript-eslint/scope-manager@npm:6.21.0":
- version: 6.21.0
- resolution: "@typescript-eslint/scope-manager@npm:6.21.0"
+"@typescript-eslint/scope-manager@npm:7.13.0":
+ version: 7.13.0
+ resolution: "@typescript-eslint/scope-manager@npm:7.13.0"
dependencies:
- "@typescript-eslint/types": 6.21.0
- "@typescript-eslint/visitor-keys": 6.21.0
- checksum: 71028b757da9694528c4c3294a96cc80bc7d396e383a405eab3bc224cda7341b88e0fc292120b35d3f31f47beac69f7083196c70616434072fbcd3d3e62d3376
+ "@typescript-eslint/types": 7.13.0
+ "@typescript-eslint/visitor-keys": 7.13.0
+ checksum: fb9663f414985e0fecd0952a9c5ff2a2e2b975cc7eb07a3fa13243b30d8aa67f9b707d636aa050b673b50a6b63aa8b5ba78a64f712e801e23f9c86e1896c3f21
languageName: node
linkType: hard
-"@typescript-eslint/type-utils@npm:6.21.0":
- version: 6.21.0
- resolution: "@typescript-eslint/type-utils@npm:6.21.0"
+"@typescript-eslint/type-utils@npm:7.13.0":
+ version: 7.13.0
+ resolution: "@typescript-eslint/type-utils@npm:7.13.0"
dependencies:
- "@typescript-eslint/typescript-estree": 6.21.0
- "@typescript-eslint/utils": 6.21.0
+ "@typescript-eslint/typescript-estree": 7.13.0
+ "@typescript-eslint/utils": 7.13.0
debug: ^4.3.4
- ts-api-utils: ^1.0.1
+ ts-api-utils: ^1.3.0
peerDependencies:
- eslint: ^7.0.0 || ^8.0.0
+ eslint: ^8.56.0
peerDependenciesMeta:
typescript:
optional: true
- checksum: 77025473f4d80acf1fafcce99c5c283e557686a61861febeba9c9913331f8a41e930bf5cd8b7a54db502a57b6eb8ea6d155cbd4f41349ed00e3d7aeb1f477ddc
+ checksum: 5f325fc325b166853444354e254c0d7fbb15dde2a61bbf63313cc58cb7a0546023241848671f216c268f1b87dce9c1e40b89dccae1846f2662e2cf2c99a83aef
languageName: node
linkType: hard
@@ -3356,10 +3730,10 @@ __metadata:
languageName: node
linkType: hard
-"@typescript-eslint/types@npm:6.21.0":
- version: 6.21.0
- resolution: "@typescript-eslint/types@npm:6.21.0"
- checksum: 9501b47d7403417af95fc1fb72b2038c5ac46feac0e1598a46bcb43e56a606c387e9dcd8a2a0abe174c91b509f2d2a8078b093786219eb9a01ab2fbf9ee7b684
+"@typescript-eslint/types@npm:7.13.0":
+ version: 7.13.0
+ resolution: "@typescript-eslint/types@npm:7.13.0"
+ checksum: 1b81398bf4d0cb2602220d3a64f3bb74cd7b1e3e75fc1aecd28b9a6d6d20314ed7dffe057db3526ef3bdaa951e401443bb82e034cdebee79b28ea3b4ca9ff50f
languageName: node
linkType: hard
@@ -3381,39 +3755,36 @@ __metadata:
languageName: node
linkType: hard
-"@typescript-eslint/typescript-estree@npm:6.21.0":
- version: 6.21.0
- resolution: "@typescript-eslint/typescript-estree@npm:6.21.0"
+"@typescript-eslint/typescript-estree@npm:7.13.0":
+ version: 7.13.0
+ resolution: "@typescript-eslint/typescript-estree@npm:7.13.0"
dependencies:
- "@typescript-eslint/types": 6.21.0
- "@typescript-eslint/visitor-keys": 6.21.0
+ "@typescript-eslint/types": 7.13.0
+ "@typescript-eslint/visitor-keys": 7.13.0
debug: ^4.3.4
globby: ^11.1.0
is-glob: ^4.0.3
- minimatch: 9.0.3
- semver: ^7.5.4
- ts-api-utils: ^1.0.1
+ minimatch: ^9.0.4
+ semver: ^7.6.0
+ ts-api-utils: ^1.3.0
peerDependenciesMeta:
typescript:
optional: true
- checksum: dec02dc107c4a541e14fb0c96148f3764b92117c3b635db3a577b5a56fc48df7a556fa853fb82b07c0663b4bf2c484c9f245c28ba3e17e5cb0918ea4cab2ea21
+ checksum: 5a410db27ddb514344414a579e9f81a0db0e7e9f579aa624ace223655b905705a37510992a94924d9ead3c4c84c9357cf5358599036f7c44f50b56b54a791d82
languageName: node
linkType: hard
-"@typescript-eslint/utils@npm:6.21.0":
- version: 6.21.0
- resolution: "@typescript-eslint/utils@npm:6.21.0"
+"@typescript-eslint/utils@npm:7.13.0":
+ version: 7.13.0
+ resolution: "@typescript-eslint/utils@npm:7.13.0"
dependencies:
"@eslint-community/eslint-utils": ^4.4.0
- "@types/json-schema": ^7.0.12
- "@types/semver": ^7.5.0
- "@typescript-eslint/scope-manager": 6.21.0
- "@typescript-eslint/types": 6.21.0
- "@typescript-eslint/typescript-estree": 6.21.0
- semver: ^7.5.4
+ "@typescript-eslint/scope-manager": 7.13.0
+ "@typescript-eslint/types": 7.13.0
+ "@typescript-eslint/typescript-estree": 7.13.0
peerDependencies:
- eslint: ^7.0.0 || ^8.0.0
- checksum: b129b3a4aebec8468259f4589985cb59ea808afbfdb9c54f02fad11e17d185e2bf72bb332f7c36ec3c09b31f18fc41368678b076323e6e019d06f74ee93f7bf2
+ eslint: ^8.56.0
+ checksum: d57c60767949e3ea9d9b33de69a18396fea0e5d2eeb13ef8bbdcfe9c8fae62bf5af25f571b1b7c480362ddb9ccd8f811df4330af595b32a46bf0b8b8ce9b598e
languageName: node
linkType: hard
@@ -3445,13 +3816,13 @@ __metadata:
languageName: node
linkType: hard
-"@typescript-eslint/visitor-keys@npm:6.21.0":
- version: 6.21.0
- resolution: "@typescript-eslint/visitor-keys@npm:6.21.0"
+"@typescript-eslint/visitor-keys@npm:7.13.0":
+ version: 7.13.0
+ resolution: "@typescript-eslint/visitor-keys@npm:7.13.0"
dependencies:
- "@typescript-eslint/types": 6.21.0
- eslint-visitor-keys: ^3.4.1
- checksum: 67c7e6003d5af042d8703d11538fca9d76899f0119130b373402819ae43f0bc90d18656aa7add25a24427ccf1a0efd0804157ba83b0d4e145f06107d7d1b7433
+ "@typescript-eslint/types": 7.13.0
+ eslint-visitor-keys: ^3.4.3
+ checksum: 23d48e1c1b9e16e5a867615ffe7111f637224b79bd738f94282b610a0b6b7bf5e436e1422e82395243d0f58714353fc613a11ea671bb217ea99d710f93ab6a26
languageName: node
linkType: hard
@@ -5245,20 +5616,21 @@ __metadata:
languageName: node
linkType: hard
-"eslint-plugin-jest@npm:^26.5.3":
- version: 26.9.0
- resolution: "eslint-plugin-jest@npm:26.9.0"
+"eslint-plugin-jest@npm:^27.9.0":
+ version: 27.9.0
+ resolution: "eslint-plugin-jest@npm:27.9.0"
dependencies:
"@typescript-eslint/utils": ^5.10.0
peerDependencies:
- "@typescript-eslint/eslint-plugin": ^5.0.0
- eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
+ "@typescript-eslint/eslint-plugin": ^5.0.0 || ^6.0.0 || ^7.0.0
+ eslint: ^7.0.0 || ^8.0.0
+ jest: "*"
peerDependenciesMeta:
"@typescript-eslint/eslint-plugin":
optional: true
jest:
optional: true
- checksum: 6d5fd5c95368f1ca2640389aeb7ce703d6202493c3ec6bdedb4eaca37233710508b0c75829e727765a16fd27029a466d34202bc7f2811c752038ccbbce224400
+ checksum: e2a4b415105408de28ad146818fcc6f4e122f6a39c6b2216ec5c24a80393f1390298b20231b0467bc5fd730f6e24b05b89e1a6a3ce651fc159aa4174ecc233d0
languageName: node
linkType: hard
@@ -6302,6 +6674,13 @@ __metadata:
languageName: node
linkType: hard
+"http-status-codes@npm:^2.3.0":
+ version: 2.3.0
+ resolution: "http-status-codes@npm:2.3.0"
+ checksum: dae3b99e0155441b6df28e8265ff27c56a45f82c6092f736414233e9ccf063d5ea93c1e1279e8b499c4642e2538b37995c76b1640ed3f615d0e2883d3a1dcfd5
+ languageName: node
+ linkType: hard
+
"https-proxy-agent@npm:^5.0.0":
version: 5.0.1
resolution: "https-proxy-agent@npm:5.0.1"
@@ -6359,10 +6738,10 @@ __metadata:
languageName: node
linkType: hard
-"ignore@npm:^5.0.5, ignore@npm:^5.2.0, ignore@npm:^5.2.4":
- version: 5.3.0
- resolution: "ignore@npm:5.3.0"
- checksum: 2736da6621f14ced652785cb05d86301a66d70248597537176612bd0c8630893564bd5f6421f8806b09e8472e75c591ef01672ab8059c07c6eb2c09cefe04bf9
+"ignore@npm:^5.0.5, ignore@npm:^5.2.0, ignore@npm:^5.2.4, ignore@npm:^5.3.1":
+ version: 5.3.1
+ resolution: "ignore@npm:5.3.1"
+ checksum: 71d7bb4c1dbe020f915fd881108cbe85a0db3d636a0ea3ba911393c53946711d13a9b1143c7e70db06d571a5822c0a324a6bcde5c9904e7ca5047f01f1bf8cd3
languageName: node
linkType: hard
@@ -8285,15 +8664,6 @@ __metadata:
languageName: node
linkType: hard
-"minimatch@npm:9.0.3, minimatch@npm:^9.0.1":
- version: 9.0.3
- resolution: "minimatch@npm:9.0.3"
- dependencies:
- brace-expansion: ^2.0.1
- checksum: 253487976bf485b612f16bf57463520a14f512662e592e95c571afdab1442a6a6864b6c88f248ce6fc4ff0b6de04ac7aa6c8bb51e868e99d1d65eb0658a708b5
- languageName: node
- linkType: hard
-
"minimatch@npm:^3.0.2, minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2":
version: 3.1.2
resolution: "minimatch@npm:3.1.2"
@@ -8321,6 +8691,15 @@ __metadata:
languageName: node
linkType: hard
+"minimatch@npm:^9.0.1, minimatch@npm:^9.0.4":
+ version: 9.0.4
+ resolution: "minimatch@npm:9.0.4"
+ dependencies:
+ brace-expansion: ^2.0.1
+ checksum: cf717f597ec3eed7dabc33153482a2e8d49f4fd3c26e58fd9c71a94c5029a0838728841b93f46bf1263b65a8010e2ee800d0dc9b004ab8ba8b6d1ec07cc115b5
+ languageName: node
+ linkType: hard
+
"minimist-options@npm:4.1.0":
version: 4.1.0
resolution: "minimist-options@npm:4.1.0"
@@ -9140,12 +9519,12 @@ __metadata:
languageName: node
linkType: hard
-"prettier@npm:^3.2.5":
- version: 3.2.5
- resolution: "prettier@npm:3.2.5"
+"prettier@npm:^3.3.2":
+ version: 3.3.2
+ resolution: "prettier@npm:3.3.2"
bin:
prettier: bin/prettier.cjs
- checksum: 2ee4e1417572372afb7a13bb446b34f20f1bf1747db77cf6ccaf57a9be005f2f15c40f903d41a6b79eec3f57fff14d32a20fb6dee1f126da48908926fe43c311
+ checksum: 5557d8caed0b182f68123c2e1e370ef105251d1dd75800fadaece3d061daf96b1389141634febf776050f9d732c7ae8fd444ff0b4a61b20535e7610552f32c69
languageName: node
linkType: hard
@@ -9347,9 +9726,9 @@ __metadata:
languageName: node
linkType: hard
-"react-native-windows@npm:0.74.7":
- version: 0.74.7
- resolution: "react-native-windows@npm:0.74.7"
+"react-native-windows@npm:0.74.8":
+ version: 0.74.8
+ resolution: "react-native-windows@npm:0.74.8"
dependencies:
"@babel/runtime": ^7.0.0
"@jest/create-cache-key-function": ^29.6.3
@@ -9396,25 +9775,25 @@ __metadata:
"@types/react": ^18.2.6
react: 18.2.0
react-native: ^0.74.0
- checksum: aa2810b0763b8b08847e1ed46080a8e01881e0e921e94c1a822fa82b2ed90c3c21f43c3eff65331f2d8e49afdfee102a70578cb8b741cfd290a0bf2f49d09994
+ checksum: 0e7eca6ce4f66c0ba88324c8a6f75a574333a011618eaf61a6c5ec3d4e132f3b8a11a701475593a62127733403d5b863bf28604dcbb203f453e3a5f538a4780a
languageName: node
linkType: hard
-"react-native@npm:0.74.1":
- version: 0.74.1
- resolution: "react-native@npm:0.74.1"
+"react-native@npm:0.74.2":
+ version: 0.74.2
+ resolution: "react-native@npm:0.74.2"
dependencies:
"@jest/create-cache-key-function": ^29.6.3
- "@react-native-community/cli": 13.6.6
- "@react-native-community/cli-platform-android": 13.6.6
- "@react-native-community/cli-platform-ios": 13.6.6
- "@react-native/assets-registry": 0.74.83
- "@react-native/codegen": 0.74.83
- "@react-native/community-cli-plugin": 0.74.83
- "@react-native/gradle-plugin": 0.74.83
- "@react-native/js-polyfills": 0.74.83
- "@react-native/normalize-colors": 0.74.83
- "@react-native/virtualized-lists": 0.74.83
+ "@react-native-community/cli": 13.6.8
+ "@react-native-community/cli-platform-android": 13.6.8
+ "@react-native-community/cli-platform-ios": 13.6.8
+ "@react-native/assets-registry": 0.74.84
+ "@react-native/codegen": 0.74.84
+ "@react-native/community-cli-plugin": 0.74.84
+ "@react-native/gradle-plugin": 0.74.84
+ "@react-native/js-polyfills": 0.74.84
+ "@react-native/normalize-colors": 0.74.84
+ "@react-native/virtualized-lists": 0.74.84
abort-controller: ^3.0.0
anser: ^1.4.9
ansi-regex: ^5.0.0
@@ -9449,7 +9828,7 @@ __metadata:
optional: true
bin:
react-native: cli.js
- checksum: f89c54da0b3f475bf1a90cfce62a062606ecdfa9974b264f2b69c823dd1e43c866e89d83d20d1af06018ce8301ca32a270c2f8eb06f6b3f3dcd816e9d0995cc3
+ checksum: dce120f90a3d66261e06c8fc673519a4e11ab60a8bcd34e61423e6e763a9dab76648fd718dd03c399e52c8a425e8e2d1ce19de88934a510664603fd6e32ea752
languageName: node
linkType: hard
@@ -9924,14 +10303,12 @@ __metadata:
languageName: node
linkType: hard
-"semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.5.1, semver@npm:^7.5.2, semver@npm:^7.5.3, semver@npm:^7.5.4":
- version: 7.5.4
- resolution: "semver@npm:7.5.4"
- dependencies:
- lru-cache: ^6.0.0
+"semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.5.1, semver@npm:^7.5.2, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0":
+ version: 7.6.2
+ resolution: "semver@npm:7.6.2"
bin:
semver: bin/semver.js
- checksum: 12d8ad952fa353b0995bf180cdac205a4068b759a140e5d3c608317098b3575ac2f1e09182206bf2eb26120e1c0ed8fb92c48c592f6099680de56bb071423ca3
+ checksum: 40f6a95101e8d854357a644da1b8dd9d93ce786d5c6a77227bc69dbb17bea83d0d1d1d7c4cd5920a6df909f48e8bd8a5909869535007f90278289f2451d0292d
languageName: node
linkType: hard
@@ -10668,7 +11045,7 @@ __metadata:
languageName: node
linkType: hard
-"ts-api-utils@npm:^1.0.1":
+"ts-api-utils@npm:^1.3.0":
version: 1.3.0
resolution: "ts-api-utils@npm:1.3.0"
peerDependencies: