mirror of
https://github.com/Drop-OSS/droplet.git
synced 2025-11-10 04:22:16 +10:00
fix: revert napi update
This commit is contained in:
@ -9,12 +9,12 @@ crate-type = ["cdylib"]
|
||||
|
||||
[dependencies]
|
||||
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
|
||||
napi = { version = "3.0.0-beta.11", default-features = false, features = [
|
||||
napi = { version = "3.0.0-alpha.33", default-features = false, features = [
|
||||
"napi4",
|
||||
"async",
|
||||
"web_stream",
|
||||
] }
|
||||
napi-derive = "3.0.0-alpha.11"
|
||||
napi-derive = "3.0.0-alpha.33"
|
||||
hex = "0.4.3"
|
||||
serde_json = "1.0.128"
|
||||
md5 = "0.7.0"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@drop-oss/droplet",
|
||||
"version": "1.5.0",
|
||||
"version": "1.5.1",
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
"napi": {
|
||||
|
||||
@ -84,11 +84,6 @@ impl ZipVersionBackend {
|
||||
}
|
||||
}
|
||||
}
|
||||
impl Drop for ZipVersionBackend {
|
||||
fn drop(&mut self) {
|
||||
println!("dropping archive");
|
||||
}
|
||||
}
|
||||
|
||||
pub struct ZipFileWrapper {
|
||||
pub archive: Arc<ZipArchive<FileReader>>,
|
||||
|
||||
Reference in New Issue
Block a user