From 4e3aff8400fe1e6854a27687d14a07dc837c88d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 18 Jan 2024 17:57:22 +0100 Subject: [PATCH] chore: upgrade deno_core to 0.247.0 (#21974) --- Cargo.lock | 12 ++++++------ Cargo.toml | 2 +- ext/fetch/26_fetch.js | 5 ++++- ext/node/polyfills/http.ts | 5 ++++- 4 files changed, 15 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 19664f03a1..f46dc49132 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1150,9 +1150,9 @@ dependencies = [ [[package]] name = "deno_core" -version = "0.246.0" +version = "0.247.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b3f3a882e1772e941a50936935e5bede7ce94a173e51a0f7403ade7961d948f" +checksum = "ff6e8ee2e08528c1da4f5a48659c67d12012e831c737f6266534d4f550ccc8c3" dependencies = [ "anyhow", "bit-set", @@ -1600,9 +1600,9 @@ dependencies = [ [[package]] name = "deno_ops" -version = "0.122.0" +version = "0.123.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea3f11df272673bb7e78942a594843c38138b9c76cd69596a74a43ad4b3d1736" +checksum = "19f29c5fe78479c3fa437409dca009363feb77036c067d6f3682adff8d06f547" dependencies = [ "proc-macro-rules", "proc-macro2", @@ -5255,9 +5255,9 @@ dependencies = [ [[package]] name = "serde_v8" -version = "0.155.0" +version = "0.156.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c80510f3f42dbbf749b122e38c1ce07fa1b8dd62ce2636867a0d2c416a0d63e" +checksum = "48ad52e56e21faee5d310a898ab77f83abdab737fde1e97fa6a8cd6615d139ef" dependencies = [ "bytes", "derive_more", diff --git a/Cargo.toml b/Cargo.toml index 0a5f6dcfc6..2354702abe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,7 @@ repository = "https://github.com/denoland/deno" [workspace.dependencies] deno_ast = { version = "1.0.1", features = ["transpiling"] } -deno_core = { version = "0.246.0" } +deno_core = { version = "0.247.0" } deno_runtime = { version = "0.140.0", path = "./runtime" } napi_sym = { version = "0.62.0", path = "./cli/napi/sym" } diff --git a/ext/fetch/26_fetch.js b/ext/fetch/26_fetch.js index 154e2bcd30..7d9918e230 100644 --- a/ext/fetch/26_fetch.js +++ b/ext/fetch/26_fetch.js @@ -13,10 +13,13 @@ import { core, primordials } from "ext:core/mod.js"; const { op_fetch, - op_fetch_send, op_wasm_streaming_feed, op_wasm_streaming_set_url, } = core.ensureFastOps(); +// TODO(bartlomieju): this ops is also used in `ext/node/polyfills/http.ts`. +const { + op_fetch_send, +} = core.ensureFastOps(true); const { ArrayPrototypePush, ArrayPrototypeSplice, diff --git a/ext/node/polyfills/http.ts b/ext/node/polyfills/http.ts index 9356dde0ad..9654d3beba 100644 --- a/ext/node/polyfills/http.ts +++ b/ext/node/polyfills/http.ts @@ -6,9 +6,12 @@ import { core } from "ext:core/mod.js"; const { op_fetch_response_upgrade, - op_fetch_send, op_node_http_request, } = core.ensureFastOps(); +// TODO(bartlomieju): this ops is also used in `ext/fetch/26_fetch.js`. +const { + op_fetch_send, +} = core.ensureFastOps(true); import { TextEncoder } from "ext:deno_web/08_text_encoding.js"; import { setTimeout } from "ext:deno_web/02_timers.js";