Skip to content

refactor: replace custom LRUCache with tiny-lru - #775

Merged
avoidwork merged 1 commit into
mainfrom
refactor/replace-lru-cache
Aug 12, 2026
Merged

refactor: replace custom LRUCache with tiny-lru#775
avoidwork merged 1 commit into
mainfrom
refactor/replace-lru-cache

Conversation

@avoidwork

Copy link
Copy Markdown
Owner

Description

Replace the internal custom LRUCache implementation with the battle-tested tiny-lru dependency. Remove dead test files and the now-empty cache test directory.

Type of Change

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactor (no functional changes)
  • Performance improvement
  • CI / build / tooling

Testing

  • npm run test passes (removed dead tests for the old cache implementation)
  • npm run coverage — coverage maintained (no new code to cover; removed dead code)

Coverage

  • Line coverage maintained

Checklist

  • npm run lint passes
  • Tests pass with maintained line coverage
  • No forbidden patterns used
  • Conventional Commit style applied

- Replace internal LRUCache implementation with tiny-lru dependency
- Remove dead test files for removed cache module
- Remove empty tests/unit/cache/ directory
@avoidwork
avoidwork merged commit 37368ca into main Aug 12, 2026
3 checks passed
@avoidwork
avoidwork deleted the refactor/replace-lru-cache branch August 12, 2026 22:14
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.

1 participant