1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

chore: upgrade deno_core and rusty_v8 (#19773)

This commit is contained in:
Bartek Iwańczuk 2023-07-10 00:48:47 +02:00 committed by GitHub
parent 21cc279481
commit 1edc8693bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 16 deletions

16
Cargo.lock generated
View file

@ -958,9 +958,9 @@ dependencies = [
[[package]]
name = "deno_core"
version = "0.194.0"
version = "0.195.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cc857567cdff39a7d554c686b0353cc89958cd2b34319dd11793541323531e9d"
checksum = "408e433386de30dd501cf82d26ca1fb4cd84b055536f8f6f9c78c3380649d94b"
dependencies = [
"anyhow",
"bytes",
@ -1331,9 +1331,9 @@ dependencies = [
[[package]]
name = "deno_ops"
version = "0.72.0"
version = "0.73.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5229c9b8b4fe7805123794727c4be2a8af46c41c49681ce07d20bca09978e74d"
checksum = "c6d06feb9b26ccd2997f35610517d5a8f1dd423e21364509523f72474601f87f"
dependencies = [
"deno-proc-macro-rules",
"lazy-regex",
@ -4366,9 +4366,9 @@ dependencies = [
[[package]]
name = "serde_v8"
version = "0.105.0"
version = "0.106.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4b30e810bbf80dff0dfa2a13eeeb9060a4038b210bb230410c9b3f5b33669afe"
checksum = "1506733ba5b864018c44320fa3bb11dbb4bf01b62dd09eda007be73034371c51"
dependencies = [
"bytes",
"derive_more",
@ -5795,9 +5795,9 @@ dependencies = [
[[package]]
name = "v8"
version = "0.74.1"
version = "0.74.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1202e0bd078112bf8d521491560645e1fd6955c4afd975c75b05596a7e7e4eea"
checksum = "7568bf38565bd5b350d96abbf3d09417e8c9dd74fbb38860e91b759e46f9009c"
dependencies = [
"bitflags 1.3.2",
"fslock",

View file

@ -41,9 +41,9 @@ repository = "https://github.com/denoland/deno"
v8 = { version = "0.74.1", default-features = false }
deno_ast = { version = "0.27.0", features = ["transpiling"] }
deno_core = { version = "0.194.0" }
deno_ops = { version = "0.71.0" }
serde_v8 = { version = "0.104.0" }
deno_core = { version = "0.195.0" }
deno_ops = { version = "0.72.0" }
serde_v8 = { version = "0.105.0" }
deno_runtime = { version = "0.118.0", path = "./runtime" }
napi_sym = { version = "0.40.0", path = "./cli/napi/sym" }

View file

@ -10,6 +10,7 @@ use deno_core::BufMutView;
use deno_core::BufView;
use deno_core::CancelHandle;
use deno_core::CancelTryFuture;
use deno_core::Op;
use deno_core::OpState;
use deno_core::RcRef;
use deno_core::Resource;
@ -89,7 +90,7 @@ deno_core::extension!(deno_io,
stdio: Option<Stdio>,
},
middleware = |op| match op.name {
"op_print" => op_print::decl(),
"op_print" => op_print::DECL,
_ => op,
},
state = |state, options| {

View file

@ -8,6 +8,7 @@ use deno_core::error::AnyError;
use deno_core::op;
use deno_core::url::Url;
use deno_core::v8;
use deno_core::Op;
use deno_core::OpState;
use deno_node::NODE_ENV_VAR_ALLOWLIST;
use serde::Serialize;
@ -54,10 +55,8 @@ deno_core::extension!(
deno_os_worker,
ops_fn = deno_ops,
middleware = |op| match op.name {
"op_exit" | "op_set_exit_code" => deno_core::OpDecl {
v8_fn_ptr: deno_core::op_void_sync::v8_fn_ptr as _,
..op
},
"op_exit" | "op_set_exit_code" =>
op.with_implementation_from(&deno_core::op_void_sync::DECL),
_ => op,
},
);