summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-03-21 20:57:32 +0000
committerGitHub <noreply@github.com>2024-03-21 13:57:32 -0700
commit2166aa8fb6be5fdd6d607db587e236de11b6fb91 (patch)
tree9dd1945b59dda8c6868934abab8d27ff05525f46 /cli
parent9abc722cc3a998b4f73103c4394b53cccdb5c83b (diff)
chore: upgrade deno_core to 0.272.0 (#23022)
Diffstat (limited to 'cli')
-rw-r--r--cli/js/40_jupyter.js4
-rw-r--r--cli/module_loader.rs1
-rw-r--r--cli/standalone/mod.rs3
3 files changed, 5 insertions, 3 deletions
diff --git a/cli/js/40_jupyter.js b/cli/js/40_jupyter.js
index cb59e4324..63af393a5 100644
--- a/cli/js/40_jupyter.js
+++ b/cli/js/40_jupyter.js
@@ -337,9 +337,7 @@ async function formatInner(obj, raw) {
internals.jupyter = { formatInner };
function enableJupyter() {
- const {
- op_jupyter_broadcast,
- } = core.ensureFastOps();
+ const { op_jupyter_broadcast } = core.ops;
async function broadcast(
msgType,
diff --git a/cli/module_loader.rs b/cli/module_loader.rs
index 5149c4afb..940cfbd8e 100644
--- a/cli/module_loader.rs
+++ b/cli/module_loader.rs
@@ -463,6 +463,7 @@ impl CliModuleLoader {
ModuleSourceCode::String(code),
specifier,
&code_source.found_url,
+ None,
))
}
diff --git a/cli/standalone/mod.rs b/cli/standalone/mod.rs
index 9dff56af1..dde70f63a 100644
--- a/cli/standalone/mod.rs
+++ b/cli/standalone/mod.rs
@@ -179,6 +179,7 @@ impl ModuleLoader for EmbeddedModuleLoader {
deno_core::ModuleType::JavaScript,
ModuleSourceCode::String(data_url_text.into()),
original_specifier,
+ None,
),
));
}
@@ -205,6 +206,7 @@ impl ModuleLoader for EmbeddedModuleLoader {
ModuleSourceCode::String(code_source.code),
original_specifier,
&code_source.found_url,
+ None,
),
)),
Err(err) => deno_core::ModuleLoadResponse::Sync(Err(err)),
@@ -244,6 +246,7 @@ impl ModuleLoader for EmbeddedModuleLoader {
ModuleSourceCode::String(code.into()),
&original_specifier,
&found_specifier,
+ None,
))
}
.boxed_local(),