Closed Delapouite closed 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.
__adwaiter
Here's a recap:
cache-manager
cache-manager-redis-yet
cache-manager-ioredis-yet
What about synchronizing all the packages to the same version, preferably a fairly recent one like ES2021 or ES2022?
Thanks.
https://github.com/jaredwray/cache-manager/pull/702
@Delapouite - thanks and we have merged the update moving to ES2022. This should be released today.
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:
cache-manager
is targeting ES2020 https://github.com/jaredwray/cache-manager/blob/main/packages/cache-manager/tsconfig.jsoncache-manager-redis-yet
is targeting ES2015 https://github.com/jaredwray/cache-manager/blob/main/packages/cache-manager-redis-yet/tsconfig.jsoncache-manager-ioredis-yet
is targeting ES2021 https://github.com/jaredwray/cache-manager/blob/main/packages/cache-manager-ioredis-yet/tsconfig.jsonWhat about synchronizing all the packages to the same version, preferably a fairly recent one like ES2021 or ES2022?
Thanks.