diff options
Diffstat (limited to 'cli/tools/registry')
-rw-r--r-- | cli/tools/registry/graph.rs | 2 | ||||
-rw-r--r-- | cli/tools/registry/unfurl.rs | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/cli/tools/registry/graph.rs b/cli/tools/registry/graph.rs index 0310a97c6..001f85e76 100644 --- a/cli/tools/registry/graph.rs +++ b/cli/tools/registry/graph.rs @@ -59,6 +59,8 @@ pub fn collect_invalid_external_imports( let options = WalkOptions { check_js: true, follow_dynamic: true, + // this being disabled will cause it to follow everything in the graph + prefer_fast_check_graph: false, follow_type_only: true, }; let mut iter = graph.walk(&graph.roots, options); diff --git a/cli/tools/registry/unfurl.rs b/cli/tools/registry/unfurl.rs index 2224d0870..f45b6ffc3 100644 --- a/cli/tools/registry/unfurl.rs +++ b/cli/tools/registry/unfurl.rs @@ -4,9 +4,9 @@ use deno_ast::ParsedSource; use deno_ast::SourceRange; use deno_ast::SourceTextInfo; use deno_core::ModuleSpecifier; -use deno_graph::DefaultModuleAnalyzer; use deno_graph::DependencyDescriptor; use deno_graph::DynamicTemplatePart; +use deno_graph::ParserModuleAnalyzer; use deno_graph::TypeScriptReference; use deno_runtime::deno_node::is_builtin_node_module; @@ -192,7 +192,7 @@ impl<'a> SpecifierUnfurler<'a> { diagnostic_reporter: &mut dyn FnMut(SpecifierUnfurlerDiagnostic), ) -> String { let mut text_changes = Vec::new(); - let module_info = DefaultModuleAnalyzer::module_info(parsed_source); + let module_info = ParserModuleAnalyzer::module_info(parsed_source); let analyze_specifier = |specifier: &str, range: &deno_graph::PositionRange, |