react-native-blob-util 0.21.3 → 0.22.1
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/NuGet.config +11 -0
- package/package.json +65 -52
- package/windows/ExperimentalFeatures.props +33 -0
- package/windows/ReactNativeBlobUtil/ReactNativeBlobUtil.cpp +1426 -1290
- package/windows/ReactNativeBlobUtil/ReactNativeBlobUtil.h +200 -206
- package/windows/ReactNativeBlobUtil/ReactNativeBlobUtil.rc +0 -0
- package/windows/ReactNativeBlobUtil/ReactNativeBlobUtil.vcxproj +41 -82
- package/windows/ReactNativeBlobUtil/ReactNativeBlobUtil.vcxproj.filters +32 -20
- package/windows/ReactNativeBlobUtil/ReactPackageProvider.cpp +8 -3
- package/windows/ReactNativeBlobUtil/ReactPackageProvider.h +7 -3
- package/windows/ReactNativeBlobUtil/ReactPackageProvider.idl +7 -7
- package/windows/ReactNativeBlobUtil/codegen/.clang-format +2 -0
- package/windows/ReactNativeBlobUtil/codegen/NativeBlobUtilsDataTypes.g.h +42 -0
- package/windows/ReactNativeBlobUtil/codegen/NativeBlobUtilsSpec.g.h +353 -0
- package/windows/ReactNativeBlobUtil/packages.lock.json +60 -0
- package/windows/ReactNativeBlobUtil/pch.cpp +1 -1
- package/windows/ReactNativeBlobUtil/pch.h +30 -4
- package/windows/ReactNativeBlobUtil/resource.h +5 -0
- package/windows/ReactNativeBlobUtil/targetver.h +8 -0
- package/windows/ReactNativeBlobUtil.sln +43 -0
package/NuGet.config
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<configuration>
|
|
3
|
+
<packageSources>
|
|
4
|
+
<clear />
|
|
5
|
+
<add key="react-native" value="https://pkgs.dev.azure.com/ms/react-native/_packaging/react-native-public/nuget/v3/index.json" />
|
|
6
|
+
<add key="Nuget.org" value="https://api.nuget.org/v3/index.json" />
|
|
7
|
+
</packageSources>
|
|
8
|
+
<disabledPackageSources>
|
|
9
|
+
<clear />
|
|
10
|
+
</disabledPackageSources>
|
|
11
|
+
</configuration>
|
package/package.json
CHANGED
|
@@ -1,55 +1,68 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
2
|
+
"name": "react-native-blob-util",
|
|
3
|
+
"version": "0.22.1",
|
|
4
|
+
"description": "A module provides upload, download, and files access API. Supports file stream read/write for process large files.",
|
|
5
|
+
"main": "index",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"base-64": "0.1.0",
|
|
11
|
+
"glob": "^10.3.10",
|
|
12
|
+
"react-native-windows": "0.77.7"
|
|
13
|
+
},
|
|
14
|
+
"keywords": [
|
|
15
|
+
"react-native",
|
|
16
|
+
"fetch",
|
|
17
|
+
"blob",
|
|
18
|
+
"fs",
|
|
19
|
+
"upload",
|
|
20
|
+
"file",
|
|
21
|
+
"download",
|
|
22
|
+
"filestream",
|
|
23
|
+
"image header"
|
|
24
|
+
],
|
|
25
|
+
"repository": {
|
|
26
|
+
"url": "https://github.com/RonRadtke/react-native-blob-util"
|
|
27
|
+
},
|
|
28
|
+
"author": {
|
|
29
|
+
"name": "RonRadtke",
|
|
30
|
+
"username": "RonRadtke"
|
|
31
|
+
},
|
|
32
|
+
"license": "MIT",
|
|
33
|
+
"contributors": [
|
|
34
|
+
"Traviskn <>",
|
|
35
|
+
"Ben <benhsieh@catchplay.com>",
|
|
36
|
+
"wkh237 <xeiyan@gmail.com>"
|
|
37
|
+
],
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@react-native-community/eslint-config": "^3.0.0",
|
|
40
|
+
"@typescript-eslint/parser": "^3.4.0",
|
|
41
|
+
"eslint": ">7.0.0",
|
|
42
|
+
"eslint-config-defaults": "^9.0.0",
|
|
43
|
+
"eslint-plugin-react": "^7.24.0",
|
|
44
|
+
"react": "18.2.0",
|
|
45
|
+
"react-native": "0.77.2"
|
|
46
|
+
},
|
|
47
|
+
"peerDependencies": {
|
|
48
|
+
"react": "*",
|
|
49
|
+
"react-native": "*"
|
|
50
|
+
},
|
|
51
|
+
"codegenConfig": {
|
|
52
|
+
"name": "ReactNativeBlobUtilSpec",
|
|
53
|
+
"type": "modules",
|
|
54
|
+
"jsSrcsDir": "codegenSpecs",
|
|
55
|
+
"windows": {
|
|
56
|
+
"namespace": "ReactNativeBlobUtilCodegen",
|
|
57
|
+
"outputDirectory": "windows/ReactNativeBlobUtil/codegen",
|
|
58
|
+
"separateDataTypes": true
|
|
54
59
|
}
|
|
60
|
+
},
|
|
61
|
+
"react-native-windows": {
|
|
62
|
+
"init-windows": {
|
|
63
|
+
"name": "ReactNativeBlobUtil",
|
|
64
|
+
"namespace": "ReactNativeBlobUtil",
|
|
65
|
+
"template": "cpp-lib"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
55
68
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
+
|
|
4
|
+
<PropertyGroup Label="Microsoft.ReactNative Experimental Features">
|
|
5
|
+
<!--
|
|
6
|
+
Required for building a New Architecture project.
|
|
7
|
+
|
|
8
|
+
Library projects can change this value to test against Old and New
|
|
9
|
+
Architectures when building the library project's local sln file.
|
|
10
|
+
|
|
11
|
+
Otherwise this value will be decided by the consuming RNW app.
|
|
12
|
+
|
|
13
|
+
See https://microsoft.github.io/react-native-windows/docs/new-architecture
|
|
14
|
+
-->
|
|
15
|
+
<RnwNewArch>true</RnwNewArch>
|
|
16
|
+
|
|
17
|
+
<!--
|
|
18
|
+
Changes compilation to assume use of Microsoft.ReactNative NuGet packages
|
|
19
|
+
instead of building the framework from source. Defaults to true.
|
|
20
|
+
|
|
21
|
+
This is set during library project creation and is used when building
|
|
22
|
+
the library project's local sln file.
|
|
23
|
+
|
|
24
|
+
Otherwise this value will be decided by the consuming RNW app.
|
|
25
|
+
|
|
26
|
+
See https://microsoft.github.io/react-native-windows/docs/nuget
|
|
27
|
+
-->
|
|
28
|
+
<UseExperimentalNuget>true</UseExperimentalNuget>
|
|
29
|
+
|
|
30
|
+
<ReactExperimentalFeaturesSet>true</ReactExperimentalFeaturesSet>
|
|
31
|
+
</PropertyGroup>
|
|
32
|
+
|
|
33
|
+
</Project>
|