Skip to content

BREAKING(cache/unstable): remove re-export in LruCache#7071

Open
tomas-zijdemans wants to merge 1 commit intodenoland:mainfrom
tomas-zijdemans:lru-export
Open

BREAKING(cache/unstable): remove re-export in LruCache#7071
tomas-zijdemans wants to merge 1 commit intodenoland:mainfrom
tomas-zijdemans:lru-export

Conversation

@tomas-zijdemans
Copy link
Copy Markdown
Contributor

MemoizationCache is defined in and documented as part of @std/cache/memoize. The re-export from @std/cache/lru-cache was maybe done as a convenience, but should be cleaned up:

  • MemoizationCache is available from its own path (@std/cache/memoize) and the barrel (@std/cache)
  • ttl_cache.ts also imports the same type but does not re-export it, creating an asymmetry.
  • lru-cache.ts should export only LRU-specific symbols.

@github-actions github-actions bot added the cache label Mar 29, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.41%. Comparing base (008db8d) to head (6541600).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7071   +/-   ##
=======================================
  Coverage   94.41%   94.41%           
=======================================
  Files         630      630           
  Lines       50486    50486           
  Branches     8946     8946           
=======================================
  Hits        47666    47666           
  Misses       2249     2249           
  Partials      571      571           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tomas-zijdemans tomas-zijdemans changed the title BREAKING(cache/unstable): remove MemoizationCache re-export BREAKING(cache/unstable): remove re-export in LruCache Mar 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant