
Product
Socket Now Supports pylock.toml Files
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
A failure detector is a tracker that receives events from multiple TCP connections and manages timeouts locally so that failed servers are detected - works with multiple connections.
.connecting(to)
: if you are the initiating party, call this; sets a timeout on the connection.connected(to)
: call this when the connection is established (either on the client, or on the server).receive(from)
: call this for each message received from the other party (request or response).ungracefulDisconnectFn(from)
: returns a function that you can pass to .on('close'); triggers a disconnect if this occurs unexpectedly.disconnect(from)
: call this for a graceful disconnect.timeouts()
: run the timeout interval manuallyFAQs
Generic failure detector for connections
The npm package fail receives a total of 2 weekly downloads. As such, fail popularity was classified as not popular.
We found that fail 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.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.
Research
Security News
Malicious Ruby gems typosquat Fastlane plugins to steal Telegram bot tokens, messages, and files, exploiting demand after Vietnam’s Telegram ban.