simorgh
simorgh copied to clipboard
fix(deps): update dependency lru-cache to v7
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
lru-cache | 6.0.0 -> 7.13.2 |
Configuration
📅 Schedule: 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: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, click this checkbox. ⚠ Warning: custom changes will be lost.
This PR has been generated by Mend Renovate. View repository job log here.
In previous versions, if the max value was null/undefined/0 it would default to an infinity value. This has changed therefore I had to use a fallback value. I am using 100 as fallback value as found here
Changelog difference that explains the above:
As Jro pointed out, the maxAge was deprecated in favour of ttl therefore that is the only change I have made to this PR.
The new version of the cache seems to work correctly. I printed the content of the cache and compared it with what we have on latest.
Latest:
lru-cache PR:
NB: The environment is live as I forced the fetch of live toggles.