Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
About to be
A queue that exposes a lot of state about how its handling your tasks. In particular, futurus can tell you whether a task you're about to add will be processed immediately or buffered.
Usually you shouldn't care about this sort of thing, but this one time I did and so futurus was born.
var worker = function (data, callback) {
setTimeout(function () {
console.log(data)
}, 100)
}
var queue = new futurus.Queue(2, worker)
queue.on('ready', function () {
console.log('The queue has just become ready')
})
queue.on('drain', funciton () {
console.log('The queue has no active jobs')
})
queue.push('hello')
console.log(queue.isReady())
// true
queue.push('world')
console.log(queue.isReady())
// false
queue.push('hello')
console.log(queue.isReady())
// false
// (Wait a few hundred milliseconds)
// 'The queue has just become ready'
// (Wait a few hundred milliseconds more)
// 'The queue has no active jobs'
FAQs
A queue that lets you see into the future
We found that futurus demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.