Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
hyperdrive-import-queue
Advanced tools
Takes an array of files, chunks and writes them to a hyperdrive archive. onFileWriteBegin
callback returns each file object with a progress listener that emits file write progress info as each file is written. Progress info provided via progress-stream.
arguments:
hyperdriveImportQueue(files, archive, {
cwd: '', // defaults to ''
progressInterval: 100, // defaults to 100ms
chunkSize: 4*1024, // defaults to 4*1024
onQueueNewFile: function (err, file) {
// add file to your queue UI
},
onFileWriteBegin: function (err, file) {
// you may now start incrementing your progress bar UI at this point
// by attaching your progress listener callback to the `progress` event:
file.progressListener.on('progress', function (progress) {
// increment your progress bars here using the `progress` argument data
})
},
onFileWriteComplete: function (err, file) {
// a single file has now been written to the hyperdrive archive
// the next file in the queue will start writing and trigger a new
// `onFileWriteBegin` callback to fire
},
onCompleteAll: function (err, files) {
// do whatever you like
}
})
FAQs
A hyperdrive import queue that emits progress events.
The npm package hyperdrive-import-queue receives a total of 1 weekly downloads. As such, hyperdrive-import-queue popularity was classified as not popular.
We found that hyperdrive-import-queue 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.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
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.