deps: cachetools 7 and the current web-vitals API

cachetools 6 removed cachetools.func.mru_cache; the Zim search estimate
cache was its only user, so it becomes an lru_cache and the pin moves
to 7.2.0 with the Dependabot ignore removed.

reportWebVitals still destructured the web-vitals 2.x names (getCLS,
getFID, ...) which no longer exist, so it silently did nothing.  Use
the on* names, replace FID with INP, return the import promise, and
accept any callable rather than instanceof Function.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Roland 2026-10-03 10:54:36 -06:00
parent f37098cb81
commit 6f05538dc9
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
6 changed files with 50 additions and 12 deletions

View file

@ -15,9 +15,6 @@ updates:
versions: [">=1.4"]
- dependency-name: "alembic"
versions: [">=1.11"]
# cachetools 6 removed cachetools.func.mru_cache, still used by modules/zim.
- dependency-name: "cachetools"
update-types: ["version-update:semver-major"]
groups:
python-dependencies:
patterns: