New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@zerrtech/koa-ws

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zerrtech/koa-ws - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "@zerrtech/koa-ws",
"version": "1.0.2",
"version": "1.0.3",
"keywords": [

@@ -5,0 +5,0 @@ "koa",

@@ -21,3 +21,11 @@ var Request = require('./request');

setTimeout(function () {
socket.send('--thump--');
try {
socket.send('--thump--');
} catch (error) {
try {
socket.close();
} catch (error2) { }
debug("Heartbeat failed; disconnected");
return;
}
}.bind(this), this._options.heartbeatInterval || 5000);

@@ -24,0 +32,0 @@ return;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc