Skip to content

Commit

Permalink
fix: regressions around Error.prepareStackTrace (#24839)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju authored Aug 1, 2024
1 parent ba93278 commit 5c54dc5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ repository = "https://github.com/denoland/deno"

[workspace.dependencies]
deno_ast = { version = "=0.41.2", features = ["transpiling"] }
deno_core = { version = "0.300.0" }
deno_core = { version = "0.301.0" }

deno_bench_util = { version = "0.158.0", path = "./bench_util" }
deno_lockfile = "0.20.0"
Expand Down
2 changes: 1 addition & 1 deletion cli/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ fn resolve_flags_and_init(
};

init_v8_flags(&default_v8_flags, &flags.v8_flags, get_v8_flags_from_env());
deno_core::JsRuntime::init_platform(None);
deno_core::JsRuntime::init_platform(None, !*DENO_FUTURE);
util::logger::init(flags.log_level);

Ok(flags)
Expand Down
2 changes: 1 addition & 1 deletion cli/standalone/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ pub async fn run(

// Initialize v8 once from the main thread.
v8_set_flags(construct_v8_flags(&[], &metadata.v8_flags, vec![]));
deno_core::JsRuntime::init_platform(None);
deno_core::JsRuntime::init_platform(None, true);

let mut worker = worker_factory
.create_main_worker(WorkerExecutionMode::Run, main_module, permissions)
Expand Down
2 changes: 1 addition & 1 deletion ext/node/ops/vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ mod tests {
#[test]
fn test_run_in_this_context() {
let platform = v8::new_default_platform(0, false).make_shared();
deno_core::JsRuntime::init_platform(Some(platform));
deno_core::JsRuntime::init_platform(Some(platform), false);

let isolate = &mut v8::Isolate::new(Default::default());

Expand Down

0 comments on commit 5c54dc5

Please sign in to comment.