diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-01-15 02:28:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-14 18:28:46 -0700 |
commit | bc8d00c880756a46b0ce4c8bf0c89407a2de669c (patch) | |
tree | 03f41df566a3f171f9eec2a63e44ec0f5c25057a /runtime/web_worker.rs | |
parent | 5143b9e7d3f72e6cc23f8381295df17ff1235f53 (diff) |
chore: upgrade deno_core to 0.246.0 (#21904)
Diffstat (limited to 'runtime/web_worker.rs')
-rw-r--r-- | runtime/web_worker.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs index 11bcd328a..de32e3994 100644 --- a/runtime/web_worker.rs +++ b/runtime/web_worker.rs @@ -6,6 +6,7 @@ use crate::permissions::PermissionsContainer; use crate::shared::runtime; use crate::tokio_util::create_and_run_current_thread; use crate::worker::import_meta_resolve_callback; +use crate::worker::validate_import_attributes_callback; use crate::worker::FormatJsErrorFn; use crate::BootstrapOptions; use deno_broadcast_channel::InMemoryBroadcastChannel; @@ -547,6 +548,9 @@ impl WebWorker { import_meta_resolve_callback: Some(Box::new( import_meta_resolve_callback, )), + validate_import_attributes_cb: Some(Box::new( + validate_import_attributes_callback, + )), ..Default::default() }); |