
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
turn a pull-stream into an observable.
var More = require('pull-obv')
//takes a reduce function and a pull stream source (or other async function)
var obv = More(function reduce (state, item) {
return (state.value || 0) + item
}, pull.values(1,2,3))
//it won't start listening until a listener is subscribed
obv(function (state) {
//if the listener returns true, request more data.
return true
//alternativly, call obv.more() can be called async
obv.more()
})
item is whatever the stream gives. state is always an {}
with properties {reading: boolean, ended: boolean | Error, more: boolean}
and whatever else is added by the reduce function. If more is truthy,
the stream will continue to be read. (this is just one way of requesting more.
also, return true in listener, or call obv.more())
read the next item - note, this is the same as a pull-stream. it should eventually cb(true) which means the stream is over.
Assign a listener. This observable supports only a single listener.
if fn returns true, more is read.
read more. note, calling more once the state is already reading does nothing.
access the internal value of the observable
MIT
FAQs
turn a pull-stream into an observable.
The npm package pull-obv receives a total of 17 weekly downloads. As such, pull-obv popularity was classified as not popular.
We found that pull-obv 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.