Files
discord.js/packages
spokodev a258a488b9 fix(util): cache nullish values in lazy() (#11564)
lazy() used defaultValue ??= cb(), so a callback returning null or undefined
was never cached and re-ran on every call, breaking the compute-once contract
(any side effect in the callback repeated). Track a called flag instead of
relying on value nullishness.
2026-08-27 14:01:43 +01:00
..
2026-08-14 14:28:37 +00:00
2026-07-17 14:05:28 +01:00
2026-07-17 14:05:28 +01:00
2026-08-14 14:28:37 +00:00
2026-08-14 14:28:37 +00:00
2026-07-17 14:05:28 +01:00
2026-07-17 14:05:28 +01:00
2026-07-17 14:05:28 +01:00