Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
stream-to-pull-stream
Advanced tools
Convert a classic-stream, or a new-stream into a pull-stream
var toPull = require('stream-to-pull-stream')
var pull = require('pull-stream')
pull(
toPull.source(fs.createReadStream(__filename)),
pull.map(function (e) { return e.toString().toUpperCase() }),
toPull.sink(process.stdout, function (err) {
if(err) throw err
console.log('done')
})
)
if the node steam is a duplex (i.e. net, ws) then use toPull.duplex(stream, cb?)
duplex
takes an optional callback in the same way that sink
does.
MIT
FAQs
convert a stream1 or streams2 stream into a pull-stream
The npm package stream-to-pull-stream receives a total of 30,965 weekly downloads. As such, stream-to-pull-stream popularity was classified as popular.
We found that stream-to-pull-stream 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.