Skip to content

Update dependency quick-lru to v8 - #496

Merged
github-actions[bot] merged 1 commit into
mainfrom
renovate/quick-lru-8.x
Nov 14, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
renovate/quick-lru-8.x

Conversation

@renovate

@renovate renovate Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
quick-lru ^7.0.0 → ^8.0.0 age confidence

Release Notes

sindresorhus/quick-lru (quick-lru)

v8.0.0

Compare Source

Breaking
  • Require Node.js 22 378efc2
  • Make .keys(), .values(), and the iterator (for…of, spread) go from the oldest item to the newest, like .entries() and .forEach() 378efc2
    • Before, they started with the most recent batch of items and then went to the older batch, so the order was neither oldest first nor newest first.
  • Throw a TypeError for an invalid maxSize, also in .resize() 378efc2
    • It must be a whole number greater than 0, or Infinity. Before, a fraction like 1.5 or a string like '10' was accepted.
  • Throw a TypeError for a negative or NaN maxAge 378efc2
    • Before, only 0 threw. A negative value was accepted, and NaN silently meant no expiration.
  • Call onEviction after the item is removed, not right before 378efc2
Improvements
Fixes
  • Fix onEviction being called for an item that was overwritten with .set() and is still in the cache 378efc2
  • Fix .evict() letting the cache grow without limit when it is called repeatedly between writes 378efc2
  • Fix infinite recursion when onEviction reads an expired item 378efc2
  • Fix iteration skipping items, or visiting items added during the loop, when the cache changes during iteration 378efc2
  • Fix the TypeScript types with TypeScript 5.6 and later 378efc2
    • QuickLRU was not assignable to Map, and iterator helpers like .keys().map() were missing.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@github-actions
github-actions Bot merged commit eecee9a into main Nov 14, 2026
1 check passed
@github-actions
github-actions Bot deleted the renovate/quick-lru-8.x branch November 14, 2026 20:41
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.

0 participants