From ade0cd5e97e25896457624a0ec6bf524a5fa5c20 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 11 Apr 2024 19:00:17 -0400 Subject: fix: upgrade deno_ast related crates (#23187) Had to revert back swc due to https://github.com/swc-project/swc/issues/8840 Fixes: - https://github.com/denoland/deno_lint/pull/1262 - https://github.com/denoland/deno_doc/pull/538 - https://github.com/denoland/deno_doc/pull/537 - https://github.com/denoland/deno_graph/pull/430 - https://github.com/denoland/deno_graph/pull/425 - https://github.com/denoland/deno_graph/pull/432 --- cli/tools/vendor/test.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cli/tools/vendor/test.rs') diff --git a/cli/tools/vendor/test.rs b/cli/tools/vendor/test.rs index d54bf5dc5..09e911277 100644 --- a/cli/tools/vendor/test.rs +++ b/cli/tools/vendor/test.rs @@ -236,13 +236,12 @@ impl VendorTestBuilder { let resolver = resolver.clone(); move |entry_points| { async move { - let analyzer = DefaultModuleAnalyzer::default(); Ok( build_test_graph( entry_points, loader, resolver.as_graph_resolver(), - &analyzer, + &DefaultModuleAnalyzer, ) .await, ) @@ -310,7 +309,7 @@ async fn build_test_graph( &mut loader, deno_graph::BuildOptions { resolver: Some(resolver), - module_analyzer: Some(analyzer), + module_analyzer: analyzer, ..Default::default() }, ) -- cgit v1.2.3