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

chore: upgrade deno_core to 0.272.0 (#23022)

This commit is contained in:
Bartek Iwańczuk 2024-03-21 20:57:32 +00:00 committed by GitHub
parent 9abc722cc3
commit 2166aa8fb6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 29 additions and 15 deletions

32
Cargo.lock generated
View file

@ -1258,9 +1258,9 @@ dependencies = [
[[package]] [[package]]
name = "deno_core" name = "deno_core"
version = "0.270.0" version = "0.272.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2af854955a06a4bde79c68600a78d2269f5a783417f5adc1d2d1fd410b6cc434" checksum = "07093891f2af763023614cfe2d1ce5f9ce5a7920c4fcf2f00911bd0d93083523"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bincode", "bincode",
@ -1718,9 +1718,9 @@ dependencies = [
[[package]] [[package]]
name = "deno_ops" name = "deno_ops"
version = "0.146.0" version = "0.148.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "13689abbb2af68c19b949a8852d9612f063fdc68a446a9c9d2b7b1e340f8516c" checksum = "5bc73fc07ad26e71715d5a726d1dd228587c0d121a591b1931a0fcf958a2ec3b"
dependencies = [ dependencies = [
"proc-macro-rules", "proc-macro-rules",
"proc-macro2", "proc-macro2",
@ -3005,6 +3005,15 @@ dependencies = [
"subtle", "subtle",
] ]
[[package]]
name = "gzip-header"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "95cc527b92e6029a62960ad99aa8a6660faa4555fe5f731aab13aa6a921795a2"
dependencies = [
"crc32fast",
]
[[package]] [[package]]
name = "h2" name = "h2"
version = "0.3.24" version = "0.3.24"
@ -4004,9 +4013,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
[[package]] [[package]]
name = "miniz_oxide" name = "miniz_oxide"
version = "0.7.1" version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7"
dependencies = [ dependencies = [
"adler", "adler",
"simd-adler32", "simd-adler32",
@ -5631,9 +5640,9 @@ dependencies = [
[[package]] [[package]]
name = "serde_v8" name = "serde_v8"
version = "0.179.0" version = "0.181.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "80ed6b8604315921ba50f2a872b89b93327aa53a1219d11304ee29fb625344bc" checksum = "fd25bb66a20a1a405fb3733aaaf8a8a77a14fd55c8f5fd9db2a2e95bbd7eeab9"
dependencies = [ dependencies = [
"bytes", "bytes",
"num-bigint", "num-bigint",
@ -7123,12 +7132,15 @@ dependencies = [
[[package]] [[package]]
name = "v8" name = "v8"
version = "0.85.0" version = "0.89.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec8e09551fa5c3500b47f08912b4a39e07ae20a3874051941408fbd52e3e5190" checksum = "fe2197fbef82c98f7953d13568a961d4e1c663793b5caf3c74455a13918cdf33"
dependencies = [ dependencies = [
"bitflags 2.4.1", "bitflags 2.4.1",
"fslock", "fslock",
"gzip-header",
"home",
"miniz_oxide",
"once_cell", "once_cell",
"which 5.0.0", "which 5.0.0",
] ]

View file

@ -44,7 +44,7 @@ repository = "https://github.com/denoland/deno"
[workspace.dependencies] [workspace.dependencies]
deno_ast = { version = "0.34.1", features = ["transpiling"] } 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_bench_util = { version = "0.136.0", path = "./bench_util" }
deno_lockfile = "0.19.0" deno_lockfile = "0.19.0"

View file

@ -337,9 +337,7 @@ async function formatInner(obj, raw) {
internals.jupyter = { formatInner }; internals.jupyter = { formatInner };
function enableJupyter() { function enableJupyter() {
const { const { op_jupyter_broadcast } = core.ops;
op_jupyter_broadcast,
} = core.ensureFastOps();
async function broadcast( async function broadcast(
msgType, msgType,

View file

@ -463,6 +463,7 @@ impl CliModuleLoader {
ModuleSourceCode::String(code), ModuleSourceCode::String(code),
specifier, specifier,
&code_source.found_url, &code_source.found_url,
None,
)) ))
} }

View file

@ -179,6 +179,7 @@ impl ModuleLoader for EmbeddedModuleLoader {
deno_core::ModuleType::JavaScript, deno_core::ModuleType::JavaScript,
ModuleSourceCode::String(data_url_text.into()), ModuleSourceCode::String(data_url_text.into()),
original_specifier, original_specifier,
None,
), ),
)); ));
} }
@ -205,6 +206,7 @@ impl ModuleLoader for EmbeddedModuleLoader {
ModuleSourceCode::String(code_source.code), ModuleSourceCode::String(code_source.code),
original_specifier, original_specifier,
&code_source.found_url, &code_source.found_url,
None,
), ),
)), )),
Err(err) => deno_core::ModuleLoadResponse::Sync(Err(err)), Err(err) => deno_core::ModuleLoadResponse::Sync(Err(err)),
@ -244,6 +246,7 @@ impl ModuleLoader for EmbeddedModuleLoader {
ModuleSourceCode::String(code.into()), ModuleSourceCode::String(code.into()),
&original_specifier, &original_specifier,
&found_specifier, &found_specifier,
None,
)) ))
} }
.boxed_local(), .boxed_local(),

View file

@ -35,7 +35,7 @@ const {
} = primordials; } = primordials;
import * as webidl from "ext:deno_webidl/00_webidl.js"; 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"; import { createFilteredInspectProxy } from "ext:deno_console/01_console.js";
// This should be set via setGlobalThis this is required so that if even // This should be set via setGlobalThis this is required so that if even