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/graph_util.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/graph_util.rs')
-rw-r--r-- | cli/graph_util.rs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/cli/graph_util.rs b/cli/graph_util.rs index b729a1b61..6214a1628 100644 --- a/cli/graph_util.rs +++ b/cli/graph_util.rs @@ -76,6 +76,7 @@ pub fn graph_valid( check_js: options.check_js, follow_type_only: options.follow_type_only, follow_dynamic: options.is_vendoring, + prefer_fast_check_graph: false, }, ) .errors() @@ -441,14 +442,13 @@ impl ModuleGraphBuilder { loader.as_mut_loader(), deno_graph::BuildOptions { is_dynamic: options.is_dynamic, - jsr_url_provider: Some(&CliJsrUrlProvider), + jsr_url_provider: &CliJsrUrlProvider, executor: Default::default(), imports: maybe_imports, resolver: Some(graph_resolver), - file_system: Some(&DenoGraphFsAdapter(self.fs.as_ref())), + file_system: &DenoGraphFsAdapter(self.fs.as_ref()), npm_resolver: Some(graph_npm_resolver), - module_analyzer: Some(&analyzer), - module_parser: Some(&parser), + module_analyzer: &analyzer, reporter: maybe_file_watcher_reporter, workspace_members: &workspace_members, }, @@ -799,6 +799,7 @@ pub fn has_graph_root_local_dependent_changed( deno_graph::WalkOptions { follow_dynamic: true, follow_type_only: true, + prefer_fast_check_graph: true, check_js: true, }, ); |