
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@martin-kolarik/batch-queue
Advanced tools
$ npm install @martin-kolarik/batch-queue
const BatchQueue = require('@martin-kolarik/batch-queue');
const batchQueue = new BatchQueue(async (items) => {
// TODO: process `items` here.
}, /* list of options with their default values: */ {
batchSize: 100, // process 100 items at once
concurrency: 1, // run at most 1 instance of the processing function at a time
timeout: 1000, // process the items after 1000 ms even if items.length < batchSize
});
batchQueue.push(...items);
Run npm test
for examples.
Copyright (c) 2019 Martin Kolárik. Released under the MIT license.
FAQs
Batch queue
The npm package @martin-kolarik/batch-queue receives a total of 418 weekly downloads. As such, @martin-kolarik/batch-queue popularity was classified as not popular.
We found that @martin-kolarik/batch-queue 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.