react-native-zip-archive 6.1.0 → 6.1.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/README.md +6 -2
- package/RNZipArchive.podspec +1 -1
- package/package.json +6 -6
- package/android/.gradle/6.1.1/fileChanges/last-build.bin +0 -0
- package/android/.gradle/6.1.1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/6.1.1/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/android/.gradle/checksums/checksums.lock +0 -0
- package/android/.gradle/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/.idea/gradle.xml +0 -16
- package/android/.idea/misc.xml +0 -9
- package/android/.idea/modules/android.iml +0 -18
- package/android/.idea/modules.xml +0 -8
- package/android/.idea/vcs.xml +0 -6
- package/android/.idea/workspace.xml +0 -48
- package/android/local.properties +0 -8
package/README.md
CHANGED
|
@@ -51,7 +51,7 @@ import { MainBundlePath, DocumentDirectoryPath } from 'react-native-fs'
|
|
|
51
51
|
|
|
52
52
|
> zip source to target
|
|
53
53
|
|
|
54
|
-
***NOTE:
|
|
54
|
+
***NOTE: the string version of source is for folder, the string[] version is for file, so if you want to zip a single file, use zip([file]) instead of zip(file)***
|
|
55
55
|
|
|
56
56
|
Example
|
|
57
57
|
|
|
@@ -72,7 +72,7 @@ zip(sourcePath, targetPath)
|
|
|
72
72
|
|
|
73
73
|
> zip source to target
|
|
74
74
|
|
|
75
|
-
***NOTE:
|
|
75
|
+
***NOTE: the string version of source is for folder, the string[] version is for file, so if you want to zip a single file, use zip([file]) instead of zip(file)***
|
|
76
76
|
|
|
77
77
|
***NOTE: encryptionType is not supported on iOS yet, so it would be igonred on that platform.***
|
|
78
78
|
|
|
@@ -192,3 +192,7 @@ You can use this repo, https://github.com/plrthink/RNZATestApp, for testing and
|
|
|
192
192
|
|
|
193
193
|
- [ZipArchive](https://github.com/ZipArchive/ZipArchive)
|
|
194
194
|
- [zip4j](https://github.com/srikanth-lingala/zip4j)
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
[](https://www.buymeacoffee.com/plrthink)
|
package/RNZipArchive.podspec
CHANGED
|
@@ -14,7 +14,7 @@ Pod::Spec.new do |s|
|
|
|
14
14
|
s.preserve_paths = '*.js'
|
|
15
15
|
|
|
16
16
|
s.dependency 'React-Core'
|
|
17
|
-
s.dependency 'SSZipArchive', '~>2.
|
|
17
|
+
s.dependency 'SSZipArchive', '~>2.5.5'
|
|
18
18
|
s.compiler_flags = '-GCC_PREPROCESSOR_DEFINITIONS="HAVE_INTTYPES_H HAVE_PKCRYPT HAVE_STDINT_H HAVE_WZAES HAVE_ZLIB MZ_ZIP_NO_SIGNING $(inherited)"'
|
|
19
19
|
|
|
20
20
|
s.subspec 'Core' do |ss|
|
package/package.json
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-zip-archive",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.1",
|
|
4
4
|
"description": "A little wrapper on ZipArchive for react-native",
|
|
5
5
|
"main": "index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
-
"lint": "eslint index.js"
|
|
9
|
-
},
|
|
10
6
|
"repository": {
|
|
11
7
|
"type": "git",
|
|
12
8
|
"url": "git@github.com:mockingbot/react-native-zip-archive.git"
|
|
@@ -33,5 +29,9 @@
|
|
|
33
29
|
"peerDependencies": {
|
|
34
30
|
"react": ">=16.8.6",
|
|
35
31
|
"react-native": ">=0.60.0"
|
|
32
|
+
},
|
|
33
|
+
"scripts": {
|
|
34
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
35
|
+
"lint": "eslint index.js"
|
|
36
36
|
}
|
|
37
|
-
}
|
|
37
|
+
}
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
package/android/.idea/gradle.xml
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="GradleMigrationSettings" migrationVersion="1" />
|
|
4
|
-
<component name="GradleSettings">
|
|
5
|
-
<option name="linkedExternalProjectsSettings">
|
|
6
|
-
<GradleProjectSettings>
|
|
7
|
-
<option name="testRunner" value="PLATFORM" />
|
|
8
|
-
<option name="distributionType" value="DEFAULT_WRAPPED" />
|
|
9
|
-
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
|
10
|
-
<option name="gradleJvm" value="1.8" />
|
|
11
|
-
<option name="resolveModulePerSourceSet" value="false" />
|
|
12
|
-
<option name="useQualifiedModuleNames" value="true" />
|
|
13
|
-
</GradleProjectSettings>
|
|
14
|
-
</option>
|
|
15
|
-
</component>
|
|
16
|
-
</project>
|
package/android/.idea/misc.xml
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="ProjectRootManager" version="2" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
|
4
|
-
<output url="file://$PROJECT_DIR$/build/classes" />
|
|
5
|
-
</component>
|
|
6
|
-
<component name="ProjectType">
|
|
7
|
-
<option name="id" value="Android" />
|
|
8
|
-
</component>
|
|
9
|
-
</project>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module external.linked.project.id=":" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" type="JAVA_MODULE" version="4">
|
|
3
|
-
<component name="FacetManager">
|
|
4
|
-
<facet type="android-gradle" name="Android-Gradle">
|
|
5
|
-
<configuration>
|
|
6
|
-
<option name="GRADLE_PROJECT_PATH" value=":" />
|
|
7
|
-
<option name="LAST_SUCCESSFUL_SYNC_AGP_VERSION" />
|
|
8
|
-
<option name="LAST_KNOWN_AGP_VERSION" />
|
|
9
|
-
</configuration>
|
|
10
|
-
</facet>
|
|
11
|
-
</component>
|
|
12
|
-
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
13
|
-
<exclude-output />
|
|
14
|
-
<content url="file://$MODULE_DIR$/../.." />
|
|
15
|
-
<orderEntry type="inheritedJdk" />
|
|
16
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
|
17
|
-
</component>
|
|
18
|
-
</module>
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="ProjectModuleManager">
|
|
4
|
-
<modules>
|
|
5
|
-
<module fileurl="file://$PROJECT_DIR$/.idea/modules/android.iml" filepath="$PROJECT_DIR$/.idea/modules/android.iml" />
|
|
6
|
-
</modules>
|
|
7
|
-
</component>
|
|
8
|
-
</project>
|
package/android/.idea/vcs.xml
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<project version="4">
|
|
3
|
-
<component name="ChangeListManager">
|
|
4
|
-
<list default="true" id="b0bced97-300a-4538-b12f-a5abc82a33ad" name="Default Changelist" comment="">
|
|
5
|
-
<change beforePath="$PROJECT_DIR$/../index.js" beforeDir="false" afterPath="$PROJECT_DIR$/../index.js" afterDir="false" />
|
|
6
|
-
<change beforePath="$PROJECT_DIR$/../package-lock.json" beforeDir="false" afterPath="$PROJECT_DIR$/../package-lock.json" afterDir="false" />
|
|
7
|
-
<change beforePath="$PROJECT_DIR$/../yarn.lock" beforeDir="false" afterPath="$PROJECT_DIR$/../yarn.lock" afterDir="false" />
|
|
8
|
-
</list>
|
|
9
|
-
<option name="SHOW_DIALOG" value="false" />
|
|
10
|
-
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
11
|
-
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
12
|
-
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
13
|
-
</component>
|
|
14
|
-
<component name="Git.Settings">
|
|
15
|
-
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
|
|
16
|
-
</component>
|
|
17
|
-
<component name="ProjectId" id="1qPSjWq7ZHlBLnw5dIVURz7OyRW" />
|
|
18
|
-
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
|
|
19
|
-
<component name="ProjectViewState">
|
|
20
|
-
<option name="hideEmptyMiddlePackages" value="true" />
|
|
21
|
-
<option name="showLibraryContents" value="true" />
|
|
22
|
-
</component>
|
|
23
|
-
<component name="PropertiesComponent">
|
|
24
|
-
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
|
|
25
|
-
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
|
|
26
|
-
<property name="android.sdk.path" value="$USER_HOME$/Library/Android/sdk" />
|
|
27
|
-
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
|
28
|
-
</component>
|
|
29
|
-
<component name="SvnConfiguration">
|
|
30
|
-
<configuration />
|
|
31
|
-
</component>
|
|
32
|
-
<component name="TaskManager">
|
|
33
|
-
<task active="true" id="Default" summary="Default task">
|
|
34
|
-
<changelist id="b0bced97-300a-4538-b12f-a5abc82a33ad" name="Default Changelist" comment="" />
|
|
35
|
-
<created>1616979867926</created>
|
|
36
|
-
<option name="number" value="Default" />
|
|
37
|
-
<option name="presentableId" value="Default" />
|
|
38
|
-
<updated>1616979867926</updated>
|
|
39
|
-
</task>
|
|
40
|
-
<servers />
|
|
41
|
-
</component>
|
|
42
|
-
<component name="WindowStateProjectService">
|
|
43
|
-
<state x="2922" y="480" key="IDE.errors.dialog" timestamp="1616980291852">
|
|
44
|
-
<screen x="1792" y="25" width="2560" height="1415" />
|
|
45
|
-
</state>
|
|
46
|
-
<state x="2922" y="480" key="IDE.errors.dialog/1792.25.2560.1415/0.25.1792.1095@1792.25.2560.1415" timestamp="1616980291852" />
|
|
47
|
-
</component>
|
|
48
|
-
</project>
|
package/android/local.properties
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
## This file must *NOT* be checked into Version Control Systems,
|
|
2
|
-
# as it contains information specific to your local configuration.
|
|
3
|
-
#
|
|
4
|
-
# Location of the SDK. This is only used by Gradle.
|
|
5
|
-
# For customization when using a Version Control System, please read the
|
|
6
|
-
# header note.
|
|
7
|
-
#Mon Mar 29 09:04:26 CST 2021
|
|
8
|
-
sdk.dir=/Users/plrthink/Library/Android/sdk
|