pagefaultgames / pokerogue

A browser based Pokémon fangame heavily inspired by the roguelite genre.
https://pokerogue.net
GNU Affero General Public License v3.0
3.95k stars 1.58k forks source link

[Enhancement] Deprecated packages #2353

Open 3ae3ae opened 2 weeks ago

3ae3ae commented 2 weeks ago

While installing the program, I found that two packages are deprecated.

npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.

npm warn deprecated koa-router@10.1.1: IMPORTANT 10x+ PERFORMANCE UPGRADE: Please upgrade to v12.0.1+ as we have fixed an issue with debuglog causing 10x slower router benchmark performance, see https://github.com/koajs/router/pull/173

Inflight should be replaced with lru-cache, and koa-router should be updated. In particular, inflight has a memory leak issue.

Tempo-anon commented 2 weeks ago

Going to keep this issue open until inflight is ripped out