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

ng-event-source

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-event-source - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

16

eventsource.js

@@ -480,10 +480,12 @@ /** @license

timeout = setTimeout(onTimeout, heartbeatTimeout);
timeoutConnection = setTimeout(function() {
if (xhr.status === 0) {
xhr.timeout = 1;
if (errorOnTimeout) {
console.log('No ack received');
if (connectionTimeout && connectionTimeout > 0) {
timeoutConnection = setTimeout(function() {
if (xhr.status === 0) {
xhr.timeout = 1;
if (errorOnTimeout) {
console.log('No ack received');
}
}
}
}, connectionTimeout);
}, connectionTimeout);
}

@@ -490,0 +492,0 @@ charOffset = 0;

{
"name": "ng-event-source",
"version": "1.0.8",
"version": "1.0.9",
"main": "eventsource.js",

@@ -5,0 +5,0 @@ "typings": "typings.d.ts",

Sorry, the diff of this file is not supported yet

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