1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/cli/npm
David Sherret 83f92474c5
perf(lsp): use lockfile to reduce npm pkg resolution time (#23247)
This functionality was broken. The series of events was:

1. Load the npm resolution from the lockfile.
2. Discover only a subset of the specifiers in the documents.
3. Clear the npm snapshot.
4. Redo npm resolution with the new specifiers (~500ms).

What this now does:

1. Load the npm resolution from the lockfile.
2. Discover only a subset of the specifiers in the documents and take
into account the specifiers from the lockfile.
3. Do not redo resolution (~1ms).
2024-04-05 22:33:01 +00:00
..
managed perf(lsp): use lockfile to reduce npm pkg resolution time (#23247) 2024-04-05 22:33:01 +00:00
byonm.rs perf(node): put pkg json into an Rc (#23156) 2024-04-01 09:10:04 -04:00
cache_dir.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
common.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
mod.rs fix(jsr): exclude yanked versions from 'deno add' and completions (#23113) 2024-03-28 19:02:07 +00:00