Security News
RubyGems.org Adds New Maintainer Role
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.
ipfs-pubsub-peer-monitor
Advanced tools
Know when peers are joining and leaving an IPFS PubSub topic
ipfs-pubsub-peer-monitor
listens on a IPFS PubSub topic and emits an event when a peer joins or leaves the topic.
This module is based on ipfs-pubsub-room that can provide the same functionality. It contains extra features that are not necessary for purely wanting to know joins/leaves, so this module was created to do that and only that.
const PeerMonitor = require('ipfs-pubsub-peer-monitor')
// Get an IPFS instance somehow
const ipfs = ...
// Topic to monitor
const topic = 'abc'
// Make sure to subscribe to the channel before monitoring it!
ipfs.pubsub.subscribe(topic, (message) => {}, (err, res) => {})
// Pass an IPFS pubsub object and the topic to the monitor
const topicMonitor = new PeerMonitor(ipfs.pubsub, topic)
// When a peer joins the topic
topicMonitor.on('join', peer => console.log("Peer joined", peer))
topicMonitor.on('leave', peer => console.log("Peer left", peer))
topicMonitor.on('error', e => console.error(e))
FAQs
Monitor peers joining and leaving an IPFS PubSub topic
The npm package ipfs-pubsub-peer-monitor receives a total of 265 weekly downloads. As such, ipfs-pubsub-peer-monitor popularity was classified as not popular.
We found that ipfs-pubsub-peer-monitor 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
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.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.