react-native-nitro-unzip 0.2.0 → 0.2.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/ios/HybridUnzip.swift
CHANGED
|
@@ -12,8 +12,6 @@ import NitroModules
|
|
|
12
12
|
* ```
|
|
13
13
|
*/
|
|
14
14
|
class HybridUnzip: HybridUnzipSpec {
|
|
15
|
-
var hybridContext = margelo.nitro.HybridContext()
|
|
16
|
-
var memorySize: Int { return getSizeOf(self) }
|
|
17
15
|
|
|
18
16
|
func extract(zipPath: String, destinationPath: String) throws -> any HybridUnzipTaskSpec {
|
|
19
17
|
return HybridUnzipTask(zipPath: zipPath, destinationPath: destinationPath)
|
|
@@ -16,11 +16,6 @@ import UIKit
|
|
|
16
16
|
* - Background task support for continued extraction when app is backgrounded
|
|
17
17
|
*/
|
|
18
18
|
class HybridUnzipTask: HybridUnzipTaskSpec {
|
|
19
|
-
// MARK: - HybridObject requirements
|
|
20
|
-
|
|
21
|
-
var hybridContext = margelo.nitro.HybridContext()
|
|
22
|
-
var memorySize: Int { return getSizeOf(self) }
|
|
23
|
-
|
|
24
19
|
// MARK: - Spec properties
|
|
25
20
|
|
|
26
21
|
let taskId: String
|
package/ios/HybridZipTask.swift
CHANGED
|
@@ -10,11 +10,6 @@ import UIKit
|
|
|
10
10
|
* The caller can observe progress, cancel, or await the result.
|
|
11
11
|
*/
|
|
12
12
|
class HybridZipTask: HybridZipTaskSpec {
|
|
13
|
-
// MARK: - HybridObject requirements
|
|
14
|
-
|
|
15
|
-
var hybridContext = margelo.nitro.HybridContext()
|
|
16
|
-
var memorySize: Int { return getSizeOf(self) }
|
|
17
|
-
|
|
18
13
|
// MARK: - Spec properties
|
|
19
14
|
|
|
20
15
|
let taskId: String
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-nitro-unzip",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "High-performance ZIP extraction for React Native, powered by Nitro Modules",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -94,10 +94,7 @@
|
|
|
94
94
|
"extends": [
|
|
95
95
|
"@react-native",
|
|
96
96
|
"prettier"
|
|
97
|
-
]
|
|
98
|
-
"rules": {
|
|
99
|
-
"prettier/prettier": "warn"
|
|
100
|
-
}
|
|
97
|
+
]
|
|
101
98
|
},
|
|
102
99
|
"prettier": {
|
|
103
100
|
"semi": true,
|