Skip to content

Commit 2d3c46c

Browse files
authored
chore: bump napi and napi-derive (#903)
1 parent 9c68552 commit 2d3c46c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ base64-simd = "0.8"
1414
cssparser = "0.29"
1515
infer = "0.16"
1616
libavif = { version = "0.14", default-features = false, features = ["codec-aom"] }
17-
napi = { version = "3.0.0-alpha", default-features = false, features = ["napi3", "serde-json"] }
18-
napi-derive = { version = "3.0.0-alpha.8", default-features = false }
17+
napi = { version = "3.0.0-alpha.11", default-features = false, features = ["napi3", "serde-json"] }
18+
napi-derive = { version = "3.0.0-alpha.11", default-features = false }
1919
nom = "7"
2020
num_cpus = "1"
2121
once_cell = "1"

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use std::str::FromStr;
1414
use std::{mem, slice};
1515

1616
use base64::Engine;
17-
use bindgen_prelude::BufferSlice;
17+
use bindgen_prelude::{BufferSlice, JavaScriptClassExt};
1818
use napi::bindgen_prelude::{AsyncTask, ClassInstance, Either3, This, Unknown};
1919
use napi::*;
2020

0 commit comments

Comments
 (0)