
Research
Malicious NuGet Packages Typosquat Nethereum to Exfiltrate Wallet Keys
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
@discordjs/collection
Advanced tools
@discordjs/collection
is a powerful utility data structure used in discord.js.
Node.js 22.12.0 or newer is required.
npm install @discordjs/collection
yarn add @discordjs/collection
pnpm add @discordjs/collection
Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the
documentation.
See the contribution guide if you'd like to submit a PR.
If you don't understand something in the documentation, you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to join our official discord.js Server.
Lodash is a popular utility library that provides a wide range of functions for manipulating arrays, objects, and other data structures. It offers similar functionalities to @discordjs/collection, such as filtering, mapping, and reducing collections, but it is more general-purpose and not specifically tailored for Discord bots.
Immutable.js provides immutable data structures, which can be useful for managing collections of data in a way that prevents accidental mutations. While it offers similar functionalities like filtering and mapping, it focuses on immutability, which is a different approach compared to @discordjs/collection's mutable collections.
Collect.js is a library that provides a fluent and convenient way to work with arrays and objects in JavaScript. It offers chainable methods for manipulating collections, similar to @discordjs/collection, but it is designed to be more general-purpose and not specifically for Discord bots.
FAQs
Utility data structure used in discord.js
The npm package @discordjs/collection receives a total of 625,503 weekly downloads. As such, @discordjs/collection popularity was classified as popular.
We found that @discordjs/collection demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.
Product
Socket is launching experimental protection for the Hugging Face ecosystem, scanning for malware and malicious payload injections inside model files to prevent silent AI supply chain attacks.