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 to 0.270.0 (#22826)

Upgrade to V8 12.3
This commit is contained in:
Divy Srivastava 2024-03-13 08:40:38 -07:00 committed by GitHub
parent f377fce640
commit aef9bca876
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 20 additions and 10 deletions

17
Cargo.lock generated
View file

@ -1257,9 +1257,9 @@ dependencies = [
[[package]]
name = "deno_core"
version = "0.269.0"
version = "0.270.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a14bd0f882d9f2c9041c7e311ca11ebb96f31d0524d67d9ced650bb0bf1c0923"
checksum = "2af854955a06a4bde79c68600a78d2269f5a783417f5adc1d2d1fd410b6cc434"
dependencies = [
"anyhow",
"bincode",
@ -1716,9 +1716,9 @@ dependencies = [
[[package]]
name = "deno_ops"
version = "0.145.0"
version = "0.146.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "855c2a983b2e0533c05172fa1afc7cc00c23cb3d8de1a4ec4428fb54507a13e2"
checksum = "13689abbb2af68c19b949a8852d9612f063fdc68a446a9c9d2b7b1e340f8516c"
dependencies = [
"proc-macro-rules",
"proc-macro2",
@ -5629,12 +5629,11 @@ dependencies = [
[[package]]
name = "serde_v8"
version = "0.178.0"
version = "0.179.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b2a1c7ecee7d18a29aa6a079cfd1202bdee92eff4b3c3ae6e7d1256b9d0ff8ce"
checksum = "80ed6b8604315921ba50f2a872b89b93327aa53a1219d11304ee29fb625344bc"
dependencies = [
"bytes",
"derive_more",
"num-bigint",
"serde",
"smallvec",
@ -7121,9 +7120,9 @@ dependencies = [
[[package]]
name = "v8"
version = "0.83.2"
version = "0.85.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9f6c8a960dd2eb74b22eda64f7e9f3d1688f82b80202828dc0425ebdeda826ef"
checksum = "ec8e09551fa5c3500b47f08912b4a39e07ae20a3874051941408fbd52e3e5190"
dependencies = [
"bitflags 2.4.1",
"fslock",

View file

@ -44,7 +44,7 @@ repository = "https://github.com/denoland/deno"
[workspace.dependencies]
deno_ast = { version = "0.34.1", features = ["transpiling"] }
deno_core = { version = "0.269.0", features = ["lazy_eval_snapshot"] }
deno_core = { version = "0.270.0", features = ["lazy_eval_snapshot"] }
deno_bench_util = { version = "0.135.0", path = "./bench_util" }
deno_lockfile = "0.19.0"

View file

@ -497,6 +497,17 @@ impl MainWorker {
if let Some(op_summary_metrics) = op_summary_metrics {
js_runtime.op_state().borrow_mut().put(op_summary_metrics);
}
extern "C" fn message_handler(
_msg: v8::Local<v8::Message>,
_exception: v8::Local<v8::Value>,
) {
// TODO(@littledivy): Propogate message to users.
}
// Register message listener
js_runtime
.v8_isolate()
.add_message_listener(message_handler);
if let Some(server) = options.maybe_inspector_server.clone() {
server.register_inspector(