pokemon-showdown/lib
Guangcong Luo d3df0b720b
Fix memory leak when hotpatching (#12174)
* Fix memory leak when hotpatching

* Remove Chat dependency from DexSearch

This was the original thing requiring importing Dex in Chat, which was
making hotpatching Chat all sorts of wonky.

See 14d13015af

* Use a global TeamValidator in dexsearch

This cleans up the final thing that was causing Chat hotpatches to also
pull in the entire `sim/` and `data/` trees.

(It's not actually used unless you're using dexsearch in single-process
mode, though.)

* Fix PM hotpatching
2026-07-15 00:58:04 -05:00
..
crashlogger.ts Fix typo 2025-11-23 19:44:44 -06:00
DASHYCODE.md Clarify Dashycode documentation 2019-07-12 02:04:07 -05:00
dashycode.ts Update to ESLint 9 (#10926) 2025-02-25 20:03:46 -08:00
database.ts Fix #11744; Importing mysql2 and pg when it is not required (#11747) 2026-03-17 15:04:07 -07:00
fs.ts TypeScript: Enable noImplicitOverride 2025-02-26 14:38:32 -08:00
index.ts Refactor Teams plugin to use lib/database (#11109) 2025-08-04 21:51:42 -05:00
net.ts Use URL API (#11316) 2025-07-31 10:04:20 -05:00
process-manager.ts Log PIDs for all subprocess crashes 2025-11-23 20:00:07 -06:00
repl.ts Refactor startup (#11346) 2025-10-17 19:37:47 -07:00
sql.ts Log Unix timestamp of crashes 2025-11-23 19:42:29 -06:00
static-server.ts Vendor node-static (#11295) 2025-07-23 21:19:55 -07:00
STREAMS.md Fix outdated reference to .end() in Streams doc 2024-01-17 22:20:59 -08:00
streams.ts TypeScript: Enable noImplicitOverride 2025-02-26 14:38:32 -08:00
utils.ts Fix memory leak when hotpatching (#12174) 2026-07-15 00:58:04 -05:00