mirror of
https://github.com/denoland/deno.git
synced 2025-01-08 15:19:40 -05:00
upgrade: rusty_v8 0.21.0 (#9725)
This commit is contained in:
parent
3ab48864fe
commit
2f9d7c02dc
3 changed files with 4 additions and 4 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -2561,9 +2561,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "rusty_v8"
|
||||
version = "0.20.0"
|
||||
version = "0.21.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "344a561fdd20c89f336e8e14a532504e21c6a9570ac0d51f14328abc2bcdb635"
|
||||
checksum = "44bcf83fc222cc6caf4404414eae397c910e2f1ee31f291024434ae5cc312918"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"fslock",
|
||||
|
|
|
@ -21,7 +21,7 @@ lazy_static = "1.4.0"
|
|||
libc = "0.2.86"
|
||||
log = "0.4.14"
|
||||
pin-project = "1.0.5"
|
||||
rusty_v8 = "0.20.0"
|
||||
rusty_v8 = "0.21.0"
|
||||
serde = { version = "1.0.123", features = ["derive"] }
|
||||
serde_json = { version = "1.0.62", features = ["preserve_order"] }
|
||||
smallvec = "1.6.1"
|
||||
|
|
|
@ -683,7 +683,7 @@ impl JsRuntime {
|
|||
let source_str = v8::String::new(scope, source).unwrap();
|
||||
|
||||
let origin = bindings::module_origin(scope, name_str);
|
||||
let source = v8::script_compiler::Source::new(source_str, &origin);
|
||||
let source = v8::script_compiler::Source::new(source_str, Some(&origin));
|
||||
|
||||
let tc_scope = &mut v8::TryCatch::new(scope);
|
||||
|
||||
|
|
Loading…
Reference in a new issue