diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-04-11 19:00:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-11 23:00:17 +0000 |
commit | ade0cd5e97e25896457624a0ec6bf524a5fa5c20 (patch) | |
tree | 2d8ceabdd455a1e99fb458413590aba0f7f5880b /cli/tools/vendor/test.rs | |
parent | f1ea8ca3584c6970f4ce1dd43b9a7a9030a4be35 (diff) |
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
Diffstat (limited to 'cli/tools/vendor/test.rs')
-rw-r--r-- | cli/tools/vendor/test.rs | 5 |
1 files changed, 2 insertions, 3 deletions
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() }, ) |