jaredwray / cache-manager

Cache module for Node.JS
MIT License
1.4k stars 152 forks source link

Update TypeScript compilation target years #701

Closed Delapouite closed 1 month ago

Delapouite commented 1 month 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 1 month ago

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

jaredwray commented 1 month ago

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