Files
pnpm/cache/api
Zoltan Kochan 3ea70465a1 fix: address Copilot review feedback
- Set meta.modified from DB row in loadMetaFromDb so If-Modified-Since
  headers are sent even when modified comes from the DB column
- Use || instead of && for header lookup so both etag and modified are
  populated even when one is already available from in-memory metadata
- Check pending writes in MetadataCache.get/getHeaders instead of
  flushing in loadMetaFromDb, avoiding synchronous DB writes during
  resolution
- Close MetadataCache when store controller is closed to prevent
  resource leaks
- Add defensive slash-index guards in cache API functions
2026-04-01 14:55:49 +02:00
..
2026-04-01 14:55:49 +02:00
2025-10-28 17:35:21 +01:00
2024-09-18 04:14:13 +02:00
2026-04-01 14:55:19 +02:00

@pnpm/cache.api

API for controlling the cache

npm version

Installation

pnpm add @pnpm/cache.api

License

MIT