discord.js/packages
Jacob Morrison 637e1a4ddb
refactor: Move getNode/canEnableFFmpegOptimizations into a lazy loaded call (#9918)
* Move the getNode/canEnableFFMPEGOptimizations into a lazy loaded call the first time it's actually ever referenced

* PR feedback: Make initializeNodes return a map then nullably assign NODES, this removes an extra variable and cleans up the code

* chore: lint suggestion

Co-authored-by: Aura Román <kyradiscord@gmail.com>

* Use local map instead of recursive

* Run prettier

* Fix lint

---------

Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
Co-authored-by: Aura Román <kyradiscord@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-11-06 09:17:19 +00:00
..
actions build: Bump dependencies (#9899) 2023-10-17 20:47:47 +00:00
api-extractor-utils fix: Add extension (#9900) 2023-11-01 16:10:15 +01:00
brokers build: Bump dependencies (#9899) 2023-10-17 20:47:47 +00:00
builders build: bump discord-api-types (#9908) 2023-10-23 13:09:35 +00:00
collection feat: support findLast and reduceRight methods (#9573) 2023-11-05 18:49:53 +00:00
core feat: add guild member (#9877) 2023-11-05 18:42:17 +00:00
create-discord-bot build: Bump dependencies (#9899) 2023-10-17 20:47:47 +00:00
discord.js feat(cleanContent): add slash commands and emojis (#9809) 2023-11-05 18:36:16 +00:00
docgen build: Bump dependencies (#9899) 2023-10-17 20:47:47 +00:00
formatters docs: remove markdown (#9914) 2023-11-05 18:18:23 +00:00
next build: bump discord-api-types (#9908) 2023-10-23 13:09:35 +00:00
proxy build: Bump dependencies (#9899) 2023-10-17 20:47:47 +00:00
proxy-container build: Bump dependencies (#9899) 2023-10-17 20:47:47 +00:00
rest build: bump discord-api-types (#9908) 2023-10-23 13:09:35 +00:00
scripts build: Bump dependencies (#9899) 2023-10-17 20:47:47 +00:00
ui build: Bump dependencies (#9899) 2023-10-17 20:47:47 +00:00
util build: Bump dependencies (#9899) 2023-10-17 20:47:47 +00:00
voice refactor: Move getNode/canEnableFFmpegOptimizations into a lazy loaded call (#9918) 2023-11-06 09:17:19 +00:00
ws build: bump discord-api-types (#9908) 2023-10-23 13:09:35 +00:00