Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@wraithgar
Copy link
Member

No description provided.

wraithgar added a commit to npm/cli that referenced this pull request May 7, 2024
This adds a new packument cache that is an instance of `lru-cache`.
It uses that package's ability to limit content based on size, and has
some multipliers based on research to mostly correctly approximate the
correlation between packument size and its memory usage.  It also limits
the total size of the cache based on the actual heap available.

Closes: #7276
Related: npm/pacote#369
wraithgar added a commit to npm/cli that referenced this pull request May 7, 2024
This adds a new packument cache that is an instance of `lru-cache`.
It uses that package's ability to limit content based on size, and has
some multipliers based on research to mostly correctly approximate the
correlation between packument size and its memory usage.  It also limits
the total size of the cache based on the actual heap available.

Closes: #7276
Related: npm/pacote#369
@wraithgar wraithgar force-pushed the gar/cache-isolation branch from 7690c88 to f8d8661 Compare May 7, 2024 20:21
@wraithgar wraithgar force-pushed the gar/cache-isolation branch from f8d8661 to bff3682 Compare May 7, 2024 20:24
@wraithgar wraithgar marked this pull request as ready for review May 7, 2024 20:24
@wraithgar wraithgar requested a review from a team as a code owner May 7, 2024 20:24
@wraithgar wraithgar merged commit b19aacb into main May 7, 2024
@wraithgar wraithgar deleted the gar/cache-isolation branch May 7, 2024 20:39
@github-actions github-actions bot mentioned this pull request May 7, 2024
lukekarrys pushed a commit that referenced this pull request May 8, 2024
🤖 I have created a release *beep* *boop*
---


## [18.0.6](v18.0.5...v18.0.6)
(2024-05-07)

### Bug Fixes

*
[`79441a5`](79441a5)
[#371](#371) clean up requires (#371)
(@wraithgar)
*
[`b19aacb`](b19aacb)
[#369](#369) isolate full and corgi
packuments in packumentCache (#369) (@wraithgar)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants