Skip to content

Commit

Permalink
fix: broken v0.103.0 moved to v0.102.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Valerioageno committed Aug 18, 2024
1 parent f563ea6 commit 9d51004
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ name = "ssr_rs"
path = "src/lib.rs"

[dependencies]
v8= "0.103.0"
v8= "0.102.0"

[dev-dependencies]

Expand Down
2 changes: 1 addition & 1 deletion src/ssr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ where

let handle_scope = unsafe { Box::into_raw(Box::new(v8::HandleScope::new(&mut *isolate))) };

let context = unsafe { v8::Context::new(&mut *handle_scope) };
let context = unsafe { v8::Context::new(&mut *handle_scope, Default::default()) };

let scope_ptr =
unsafe { Box::into_raw(Box::new(v8::ContextScope::new(&mut *handle_scope, context))) };
Expand Down

0 comments on commit 9d51004

Please sign in to comment.