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

easy-server-sent-events

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easy-server-sent-events - npm Package Compare versions

Comparing version

to
1.0.11

2

package.json
{
"name": "easy-server-sent-events",
"version": "1.0.10",
"version": "1.0.11",
"description": "An easy to use Server Side Events library for Node.js + frontend",

@@ -5,0 +5,0 @@ "author": "Thomas Frank <thomas@nodehill.com>",

@@ -15,3 +15,3 @@ export default class SSE {

this.stream.addEventListener('error', () => {
clear(this.timeoutMem);
clearTimeout(this.timeoutMem);
this.timeoutMem = setTimeout(() => this.addListeners(), this.timeoutOnError);

@@ -18,0 +18,0 @@ if (this.timeoutOnError < 10000) {