summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-03-21 20:57:32 +0000
committerGitHub <noreply@github.com>2024-03-21 13:57:32 -0700
commit2166aa8fb6be5fdd6d607db587e236de11b6fb91 (patch)
tree9dd1945b59dda8c6868934abab8d27ff05525f46
parent9abc722cc3a998b4f73103c4394b53cccdb5c83b (diff)
chore: upgrade deno_core to 0.272.0 (#23022)
-rw-r--r--Cargo.lock32
-rw-r--r--Cargo.toml2
-rw-r--r--cli/js/40_jupyter.js4
-rw-r--r--cli/module_loader.rs1
-rw-r--r--cli/standalone/mod.rs3
-rw-r--r--ext/web/02_event.js2
6 files changed, 29 insertions, 15 deletions
diff --git a/Cargo.lock b/Cargo.lock
index fd2a6d475..d82e9ac59 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1258,9 +1258,9 @@ dependencies = [
[[package]]
name = "deno_core"
-version = "0.270.0"
+version = "0.272.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2af854955a06a4bde79c68600a78d2269f5a783417f5adc1d2d1fd410b6cc434"
+checksum = "07093891f2af763023614cfe2d1ce5f9ce5a7920c4fcf2f00911bd0d93083523"
dependencies = [
"anyhow",
"bincode",
@@ -1718,9 +1718,9 @@ dependencies = [
[[package]]
name = "deno_ops"
-version = "0.146.0"
+version = "0.148.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "13689abbb2af68c19b949a8852d9612f063fdc68a446a9c9d2b7b1e340f8516c"
+checksum = "5bc73fc07ad26e71715d5a726d1dd228587c0d121a591b1931a0fcf958a2ec3b"
dependencies = [
"proc-macro-rules",
"proc-macro2",
@@ -3006,6 +3006,15 @@ dependencies = [
]
[[package]]
+name = "gzip-header"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "95cc527b92e6029a62960ad99aa8a6660faa4555fe5f731aab13aa6a921795a2"
+dependencies = [
+ "crc32fast",
+]
+
+[[package]]
name = "h2"
version = "0.3.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -4004,9 +4013,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
[[package]]
name = "miniz_oxide"
-version = "0.7.1"
+version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7"
+checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7"
dependencies = [
"adler",
"simd-adler32",
@@ -5631,9 +5640,9 @@ dependencies = [
[[package]]
name = "serde_v8"
-version = "0.179.0"
+version = "0.181.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "80ed6b8604315921ba50f2a872b89b93327aa53a1219d11304ee29fb625344bc"
+checksum = "fd25bb66a20a1a405fb3733aaaf8a8a77a14fd55c8f5fd9db2a2e95bbd7eeab9"
dependencies = [
"bytes",
"num-bigint",
@@ -7123,12 +7132,15 @@ dependencies = [
[[package]]
name = "v8"
-version = "0.85.0"
+version = "0.89.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec8e09551fa5c3500b47f08912b4a39e07ae20a3874051941408fbd52e3e5190"
+checksum = "fe2197fbef82c98f7953d13568a961d4e1c663793b5caf3c74455a13918cdf33"
dependencies = [
"bitflags 2.4.1",
"fslock",
+ "gzip-header",
+ "home",
+ "miniz_oxide",
"once_cell",
"which 5.0.0",
]
diff --git a/Cargo.toml b/Cargo.toml
index 98715ebf9..f522aa575 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -44,7 +44,7 @@ repository = "https://github.com/denoland/deno"
[workspace.dependencies]
deno_ast = { version = "0.34.1", features = ["transpiling"] }
-deno_core = { version = "0.270.0", features = ["lazy_eval_snapshot"] }
+deno_core = { version = "0.272.0" }
deno_bench_util = { version = "0.136.0", path = "./bench_util" }
deno_lockfile = "0.19.0"
diff --git a/cli/js/40_jupyter.js b/cli/js/40_jupyter.js
index cb59e4324..63af393a5 100644
--- a/cli/js/40_jupyter.js
+++ b/cli/js/40_jupyter.js
@@ -337,9 +337,7 @@ async function formatInner(obj, raw) {
internals.jupyter = { formatInner };
function enableJupyter() {
- const {
- op_jupyter_broadcast,
- } = core.ensureFastOps();
+ const { op_jupyter_broadcast } = core.ops;
async function broadcast(
msgType,
diff --git a/cli/module_loader.rs b/cli/module_loader.rs
index 5149c4afb..940cfbd8e 100644
--- a/cli/module_loader.rs
+++ b/cli/module_loader.rs
@@ -463,6 +463,7 @@ impl CliModuleLoader {
ModuleSourceCode::String(code),
specifier,
&code_source.found_url,
+ None,
))
}
diff --git a/cli/standalone/mod.rs b/cli/standalone/mod.rs
index 9dff56af1..dde70f63a 100644
--- a/cli/standalone/mod.rs
+++ b/cli/standalone/mod.rs
@@ -179,6 +179,7 @@ impl ModuleLoader for EmbeddedModuleLoader {
deno_core::ModuleType::JavaScript,
ModuleSourceCode::String(data_url_text.into()),
original_specifier,
+ None,
),
));
}
@@ -205,6 +206,7 @@ impl ModuleLoader for EmbeddedModuleLoader {
ModuleSourceCode::String(code_source.code),
original_specifier,
&code_source.found_url,
+ None,
),
)),
Err(err) => deno_core::ModuleLoadResponse::Sync(Err(err)),
@@ -244,6 +246,7 @@ impl ModuleLoader for EmbeddedModuleLoader {
ModuleSourceCode::String(code.into()),
&original_specifier,
&found_specifier,
+ None,
))
}
.boxed_local(),
diff --git a/ext/web/02_event.js b/ext/web/02_event.js
index 8f1c963e3..bb7dea42c 100644
--- a/ext/web/02_event.js
+++ b/ext/web/02_event.js
@@ -35,7 +35,7 @@ const {
} = primordials;
import * as webidl from "ext:deno_webidl/00_webidl.js";
-import { DOMException } from "ext:deno_web/01_dom_exception.js";
+import { DOMException } from "./01_dom_exception.js";
import { createFilteredInspectProxy } from "ext:deno_console/01_console.js";
// This should be set via setGlobalThis this is required so that if even