@discordjs/collection Dependency Remains 1.5.3 instead of latest version
There may be a reason, considering the major version change, but I found out discord.js is still pulling 1.5.3 when I went looking for a fix for this: https://github.com/discordjs/discord.js/pull/9345/commits/30936f01dcc74ea0d3675a5f93d63f9d8c9dd1a3
I just patched it in my own project for now, so it's not a major concern to me. I couldn't find an issue for it in the repo. If it is an issue, let me know, I'll submit one for you. Thanks!
GitHub
feat: return entries instead of values in toJSON method by Shiva953...
Please describe the changes this PR makes and why it should be merged:
This PR modifies the toJSON method in the collection package to return entries instead of just values. Currently, the toJSON m...
3 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OPWell, collection is pinned at 1.5.3 for the main lib, and considering it's a breaking change is most probably why
You can perhaps make an issue on the repo so it's tracked ig
Thanks for your help. I see now where it's been marked as breaking changes (I was looking in the for earlier and didn't realize it).