
Security News
curl Shuts Down Bug Bounty Program After Flood of AI Slop Reports
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.
pull-cursor
Advanced tools
A pull-stream over series that have an index.
I wrote this to abstract out streams for flumelog-offset it makes flexible streams on ranges easy, including live streams!
var inject = require('pull-cursor')
since is an obv instance, which represents the current length
of the dataset. getMeta is a function that takes an offset
and callsback the value, and the next and prev offsets.
var Obv = require('obv')
var since = Obv()
//dummp example with an array as the datastore
var ary = ['A', 'B', 'C', 'D']
since.set(ary.length - 1) //set since to last index!
var createStream = require('pull-cursor')(
since,
function (offset, cb) {
if(offset < 0 || offset >= ary.length)
return cb(new Error('out of bounds:'+offset)
cb(null, ary[offset], offset-1, offset+1)
})
createStream now accepts all the typical options of a
levelup or flumedb stream. including
reverse (boolean) read backwardslive (boolean) include new itemsold (boolean) include old items (set to false implies live)gt (offset) items greater than a valid offsetgte (offset) items greater or equal to a valid offsetlt (offset) items less than a given offsetlte (offset) items less than or equal to a given offsetlimit (number) stop after N items.MIT
FAQs
A pull-stream over series that have an index.
The npm package pull-cursor receives a total of 172 weekly downloads. As such, pull-cursor popularity was classified as not popular.
We found that pull-cursor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.

Security News
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.