1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/cli/npm
David Sherret 8dc242f789
perf: more efficient deno cache and npm package info usage (#16592)
1. There was a lot of cloning going on with `NpmPackageInfo`. This is
now stored in an `Arc<NpmPackageInfo>` and cloning only happens on the
individual version.
2. The package cache is now cleared from memory after resolution.
3. This surfaced a bug in `deno cache` and I noticed it can be more
efficient if we have multiple root specifiers if we provide all the
specifiers as roots.
2022-11-11 11:33:57 -05:00
..
resolution perf: more efficient deno cache and npm package info usage (#16592) 2022-11-11 11:33:57 -05:00
resolvers feat: remove --unstable flag requirement for npm: specifiers (#16473) 2022-11-10 17:57:10 +01:00
semver feat(unstable/npm): support peer dependencies (#16561) 2022-11-08 14:17:24 -05:00
cache.rs feat(unstable/npm): support peer dependencies (#16561) 2022-11-08 14:17:24 -05:00
mod.rs feat(unstable/npm): support peer dependencies (#16561) 2022-11-08 14:17:24 -05:00
registry.rs perf: more efficient deno cache and npm package info usage (#16592) 2022-11-11 11:33:57 -05:00
tarball.rs feat(unstable/npm): support peer dependencies (#16561) 2022-11-08 14:17:24 -05:00