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

chore: deno_core bump (#22379)

- Updates to V8 12.1.285.27

https://github.com/denoland/rusty_v8/pull/1383

 - Swaps Box for Rc for `source_map_getter`
This commit is contained in:
Matt Mastracci 2024-02-10 19:08:02 -07:00 committed by GitHub
parent f5e46c9bf2
commit 26d9b2f317
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 15 additions and 15 deletions

16
Cargo.lock generated
View file

@ -1226,9 +1226,9 @@ dependencies = [
[[package]]
name = "deno_core"
version = "0.260.0"
version = "0.261.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73aca42c38336874c2cd141182b7e782dfea25b8dc2ca1d699ce0e6b47f38ca9"
checksum = "7743b191a1004e4989caf50c4ace8e3208732456118e79d433e2aff246772066"
dependencies = [
"anyhow",
"bit-set",
@ -1676,9 +1676,9 @@ dependencies = [
[[package]]
name = "deno_ops"
version = "0.136.0"
version = "0.137.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "588b2d0792b1668e6aa85c082821c5815cb9dc974e9ec978387d9c9dda32c771"
checksum = "7ee5973f100f3ff9dea83a5b6261276d233c51ebc7f4c4fcdebd4c0d476b4fe5"
dependencies = [
"proc-macro-rules",
"proc-macro2",
@ -5450,9 +5450,9 @@ dependencies = [
[[package]]
name = "serde_v8"
version = "0.169.0"
version = "0.170.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ad4064ec3eeb8e013080e269242d3f074ca74d4a3806672d91da4cbfdc7ef6d8"
checksum = "43cce12a1cbf76530919847280a975a7831dab85a73d513161a5e6153a8e75d6"
dependencies = [
"bytes",
"derive_more",
@ -6904,9 +6904,9 @@ dependencies = [
[[package]]
name = "v8"
version = "0.83.1"
version = "0.83.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "546dcbb978f58aea3ad9286bd1df553f4ab7bbdc2e191cd4ae6c9a98fa95d1cd"
checksum = "9f6c8a960dd2eb74b22eda64f7e9f3d1688f82b80202828dc0425ebdeda826ef"
dependencies = [
"bitflags 2.4.1",
"fslock",

View file

@ -43,7 +43,7 @@ repository = "https://github.com/denoland/deno"
[workspace.dependencies]
deno_ast = { version = "0.33.2", features = ["transpiling"] }
deno_core = { version = "0.260.0" }
deno_core = { version = "0.261.0" }
deno_bench_util = { version = "0.131.0", path = "./bench_util" }
deno_lockfile = "0.18.2"

View file

@ -443,8 +443,8 @@ impl ModuleLoaderFactory for CliModuleLoaderFactory {
)
}
fn create_source_map_getter(&self) -> Option<Box<dyn SourceMapGetter>> {
Some(Box::new(CliSourceMapGetter {
fn create_source_map_getter(&self) -> Option<Rc<dyn SourceMapGetter>> {
Some(Rc::new(CliSourceMapGetter {
shared: self.shared.clone(),
}))
}

View file

@ -280,7 +280,7 @@ impl ModuleLoaderFactory for StandaloneModuleLoaderFactory {
fn create_source_map_getter(
&self,
) -> Option<Box<dyn deno_core::SourceMapGetter>> {
) -> Option<Rc<dyn deno_core::SourceMapGetter>> {
None
}
}

View file

@ -73,7 +73,7 @@ pub trait ModuleLoaderFactory: Send + Sync {
dynamic_permissions: PermissionsContainer,
) -> Rc<dyn ModuleLoader>;
fn create_source_map_getter(&self) -> Option<Box<dyn SourceMapGetter>>;
fn create_source_map_getter(&self) -> Option<Rc<dyn SourceMapGetter>>;
}
// todo(dsherret): this is temporary and we should remove this

View file

@ -345,7 +345,7 @@ pub struct WebWorkerOptions {
pub npm_resolver: Option<Arc<dyn deno_node::NpmResolver>>,
pub create_web_worker_cb: Arc<ops::worker_host::CreateWebWorkerCb>,
pub format_js_error_fn: Option<Arc<FormatJsErrorFn>>,
pub source_map_getter: Option<Box<dyn SourceMapGetter>>,
pub source_map_getter: Option<Rc<dyn SourceMapGetter>>,
pub worker_type: WebWorkerType,
pub maybe_inspector_server: Option<Arc<InspectorServer>>,
pub get_error_class_fn: Option<GetErrorClassFn>,

View file

@ -153,7 +153,7 @@ pub struct WorkerOptions {
pub format_js_error_fn: Option<Arc<FormatJsErrorFn>>,
/// Source map reference for errors.
pub source_map_getter: Option<Box<dyn SourceMapGetter>>,
pub source_map_getter: Option<Rc<dyn SourceMapGetter>>,
pub maybe_inspector_server: Option<Arc<InspectorServer>>,
// If true, the worker will wait for inspector session and break on first
// statement of user code. Takes higher precedence than