
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
A module for storing the ever-increasing sequence files when following couchdb _changes feeds.
A module for storing the ever-increasing sequence files when following couchdb _changes feeds.
Saves the sequence ID in an atomic way, so that it doesn't clobber the file if it crashes mid-save. Only does a single save at a time, so you can bang on it repeatedy, and it'll avoid doing unnecessary file IO or weird cases where two writes cross paths in odd ways.
var SF = require('seq-file')
var s = new SF('sequence.seq')
s.save(10)
console.log(s.seq) // 10
s.save(11) // won't actually save, because still saving the 10
console.log(s.seq) // 11. You get the idea.
// some time in the future, another change comes in
s.save(21)
// oh no! crash while saving!
s.save(34)
throw 'pwn' // file now contains "21", not ""
var SF = require('seq-file', {
frequency: 4
})
var s = new SF('sequence.seq')
s.save(11) // this won't save (we only save every 4 increments).
s.save(12) // this will totally save.
FAQs
A module for storing the ever-increasing sequence files when following couchdb _changes feeds.
The npm package seq-file receives a total of 32 weekly downloads. As such, seq-file popularity was classified as not popular.
We found that seq-file demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.