Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eventsocket

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eventsocket - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

5

lib/EventSocket.js

@@ -47,2 +47,7 @@ var net = require('net');

socket.on('error', function (ex) {
log(ex);
emit('error', ex);
});
eventSocket.disconnect = function () {

@@ -49,0 +54,0 @@ socket.disconnect();

4

package.json
{
"name": "eventsocket",
"version": "1.0.1",
"version": "1.0.2",
"description": "Event socket",

@@ -27,3 +27,3 @@ "main": "index.js",

"debug": "^2.1.1",
"jsonsocket": "^1.0.0"
"jsonsocket": "^1.0.1"
},

@@ -30,0 +30,0 @@ "devDependencies": {

@@ -62,2 +62,14 @@ # eventsocket

### error
Emitted when net.Socket emit error.
> Error events are treated as a special case in node. If there is no listener for it,
> then the default action is to print a stack trace and exit the program.
[see more](http://nodejs.org/api/events.html#events_class_events_eventemitter).
### newListener, removeListener
Inherited from [EventEmitter](http://nodejs.org/api/events.html#events_class_events_eventemitter).
## Logging

@@ -64,0 +76,0 @@

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