fix: revert napi update

This commit is contained in:
DecDuck
2025-07-02 20:33:53 +10:00
parent 59ca57ee1b
commit 04d3f2dd8c
3 changed files with 3 additions and 8 deletions

View File

@ -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"

View File

@ -1,6 +1,6 @@
{
"name": "@drop-oss/droplet",
"version": "1.5.0",
"version": "1.5.1",
"main": "index.js",
"types": "index.d.ts",
"napi": {

View File

@ -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>>,