inflight-lru

JSON →
library 1.0.0 ·javascript
verified Jun 7, 2026

Drop-in replacement for the deprecated inflight package, using lru-cache under the hood. Version 1.0.0 provides the same API as the original inflight (add, remove, has, list, clear) but backed by an LRU cache to prevent memory leaks. Useful as a resolution override in package.json for Yarn/npm to replace the deprecated inflight dependency used by many npm packages (e.g., glob, rimraf). Published manually; no release cadence established.