From 4b7c6049ef9d40394eb823859c82cbf8d293430d Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 31 Jan 2024 22:15:22 -0500 Subject: refactor: load bytes in deno_graph (#22212) Upgrades deno_graph to 0.64 where deno_graph is now responsible for turning bytes into a string. This is in preparation for Wasm modules. --- cli/cache/parsed_source.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/cache/parsed_source.rs') diff --git a/cli/cache/parsed_source.rs b/cli/cache/parsed_source.rs index 77f2e5953..7bb1a72a7 100644 --- a/cli/cache/parsed_source.rs +++ b/cli/cache/parsed_source.rs @@ -17,9 +17,9 @@ pub struct ParsedSourceCache { } impl ParsedSourceCache { - pub fn get_parsed_source_from_esm_module( + pub fn get_parsed_source_from_js_module( &self, - module: &deno_graph::EsmModule, + module: &deno_graph::JsModule, ) -> Result { self.get_or_parse_module( &module.specifier, -- cgit v1.2.3