diff options
| author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2024-02-12 22:12:49 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-12 22:12:49 +0000 |
| commit | 49d82e609f7da97f793900528e800019d502a2ff (patch) | |
| tree | 9fd726bad9ba1d9f5bd416c2697eaab9321bfdbf /Cargo.lock | |
| parent | f60720090c7bd8cdf91d7aebd0c42e01c86b3b83 (diff) | |
feat(lsp): jsr support first pass (#22382)
This implementation heavily depends on there being a lockfile, meaning
JSR specifiers will always diagnose as uncached unless it's there. In
practice this affects cases where a `deno.json` isn't being used. Our
NPM specifier support isn't subject to this.
The reason for this is that the version constraint solving code is
currently buried in `deno_graph` and not usable from the LSP, so the
only way to reuse that logic is the solved-version map in the lockfile's
`packages.specifiers`.
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Cargo.lock b/Cargo.lock index c52c62bf4..972cefbd3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1404,9 +1404,9 @@ dependencies = [ [[package]] name = "deno_graph" -version = "0.65.1" +version = "0.65.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06fadc0cd21f54794ab22e852d6c92487a65f0dd70b40eadbf3a8e249c760223" +checksum = "1f5d44da4195e0908b78bbf5db30dbc7defc8173f8d3034462863beccb368df4" dependencies = [ "anyhow", "async-trait", |
