Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: skip npm install if graph has no new packages #24017

Merged
merged 24 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into deno_graph_async_module_analysis
  • Loading branch information
dsherret committed May 24, 2024
commit 2debe78c2c0ec2cfdce3301f37270162a5904d2b
143 changes: 143 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions cli/lsp/documents.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1467,8 +1467,13 @@ fn parse_and_analyze_module(
) -> (Option<ParsedSourceResult>, Option<ModuleResult>) {
let parsed_source_result =
parse_source(specifier.clone(), text_info, media_type);
let module_result =
analyze_module(specifier, &parsed_source_result, maybe_headers, resolver);
let module_result = analyze_module(
specifier,
&parsed_source_result,
maybe_headers,
file_referrer,
resolver,
);
(Some(parsed_source_result), Some(module_result))
}

Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.