diff options
| author | Matt Mastracci <matthew@mastracci.com> | 2024-02-10 19:08:02 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-10 19:08:02 -0700 |
| commit | 26d9b2f3174030138a13bdb60c6c76a38fa0df19 (patch) | |
| tree | be524bf55f7cb0d7e7fdd761e4cd045d5dbf6f31 /runtime | |
| parent | f5e46c9bf2f50d66a953fa133161fc829cecff06 (diff) | |
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`
Diffstat (limited to 'runtime')
| -rw-r--r-- | runtime/web_worker.rs | 2 | ||||
| -rw-r--r-- | runtime/worker.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs index b21833a2e..a69c384ab 100644 --- a/runtime/web_worker.rs +++ b/runtime/web_worker.rs @@ -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>, diff --git a/runtime/worker.rs b/runtime/worker.rs index 449c50e10..b6aff3c15 100644 --- a/runtime/worker.rs +++ b/runtime/worker.rs @@ -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 |
