Skip to content

Commit

Permalink
fix: Handle nullptr JS TypedArrays by bumping napi to 2.6.11 (#673)
Browse files Browse the repository at this point in the history
* fix: Handle nullptr JS TypedArrays by bumping napi to 2.6.11

* Remove the comment about pinning both napi(-derive) crates

* fixup: Forgot that napi_derive is not re-exported by napi
  • Loading branch information
Xanewok authored Sep 23, 2024
1 parent 9aa38c4 commit e96b403
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions crates/edr_napi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ itertools = { version = "0.12.0", default-features = false }
indexmap = { version = "2" }
k256 = { version = "0.13.1", default-features = false, features = ["arithmetic", "ecdsa", "pkcs8", "precomputed-tables", "std"] }
log = { version = "0.4.20", default-features = false }
# when napi is pinned, be sure to pin napi-derive to the same version
# The `async` feature ensures that a tokio runtime is available
napi = { version = "2.16.0", default-features = false, features = ["async", "error_anyhow", "napi8", "serde-json"] }
napi-derive = "2.16.0"
napi = { version = "2.16.11", default-features = false, features = ["async", "error_anyhow", "napi8", "serde-json"] }
napi-derive = "2.16.11"
edr_defaults = { version = "0.3.5", path = "../edr_defaults" }
edr_evm = { version = "0.3.5", path = "../edr_evm", features = ["tracing"]}
edr_eth = { version = "0.3.5", path = "../edr_eth" }
Expand Down

0 comments on commit e96b403

Please sign in to comment.