jaredwray / cacheable

a robust, scalable, and maintained set of caching packages
https://cacheable.org
MIT License
1.57k stars 164 forks source link

Update TypeScript compilation target years #701

Closed Delapouite closed 5 months ago

Delapouite commented 5 months ago

Hello

While debugging an application and stepping through the statements I found that some the cache packages are using TypeScript __adwaiter runtime helpers, which are quite old and not needed anymore on modern JS runtimes.

Here's a recap:

What about synchronizing all the packages to the same version, preferably a fairly recent one like ES2021 or ES2022?

Thanks.

jaredwray commented 5 months ago

https://github.com/jaredwray/cache-manager/pull/702

jaredwray commented 5 months ago

@Delapouite - thanks and we have merged the update moving to ES2022. This should be released today.