
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@bearclaw/collections
Advanced tools
This library is a set of TypeScript classes and functions for working with collections of data.
This library is a set of TypeScript classes and functions for working with collections of data.
An extension of the built-in Map
object that uses a hashing function for key equality. Unlike the built-in Map
object, it will treat objects with identical values as equal. To illustrate this difference, this is how the built-in Map
treats objects:
const map = new Map()
map.set({}, 'abc')
map.get({}) // Will return undefined
map.has({}) // Will return false
In contrast, HashMap
will treat them like so:
const map = new HashMap()
map.set({}, 'abc')
map.get({}) // Will return `'abc'`
map.has({}) // Will return true
An extension of the built-in Set
object that uses a hashing function for value equality. Unlike the built-in Set
object, it will treat identical object values as equal. To illustrate this difference, this is how the built-in Set
treats objects:
const set = new Set()
map.add({})
map.has({}) // Will return false
In contrast, HashSet
will treat them like so:
const set = new HashSet()
map.add({})
map.has({}) // Will return true
Run nx test collections
to execute the unit tests via Jest.
FAQs
This library is a set of TypeScript classes and functions for working with collections of data.
The npm package @bearclaw/collections receives a total of 0 weekly downloads. As such, @bearclaw/collections popularity was classified as not popular.
We found that @bearclaw/collections demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.