Open mcollina opened 2 months ago
Before we release what's in master, which has already bumped node-lru-cache to the latest release, we also need to drop compatibility with Node < 20, which I did in #310. We can release these changes as a semver major then, and as a follow up consider stopping exposing the cache.
I'm facing a few problems in loading
get-jwks
in a TypeScript projectHowever, I've not been able to reproduce outside of a larger build, but here is the reproduction I'm currently investigating: https://github.com/beeman/platformatic-test-npm.
This is the same as https://github.com/isaacs/node-lru-cache/issues/352. The latest LRUCache fixes this, so I think just releasing what you have in
main
would fix it.In the future, I would personally recommend to not re-expose
LRUCache
typings given this problem (and how brittle these kind of things are).