Socket
Socket
Sign inDemoInstall

eventsource

Package Overview
Dependencies
0
Maintainers
2
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous134Next

1.0.3

Diff

rexxars
published 1.0.2 •

Changelog

Source

1.0.2

  • Fix proxy not working when proxy and target URL uses different protocols. (#76 Espen Hovlandsdal)
  • Make close() a prototype method instead of an instance method. (#77 Espen Hovlandsdal)
rexxars
published 1.0.1 •

Changelog

Source

1.0.1

  • Reconnect if server responds with HTTP 500, 502, 503 or 504. (#74 Vykintas Narmontas)
rexxars
published 1.0.0 •

Changelog

Source

1.0.0

  • Add missing removeEventListener-method. (#51 Yucheng Tu / Espen Hovlandsdal)
  • Fix EventSource reconnecting on non-200 responses. (af84476 Espen Hovlandsdal)
  • Add ability to customize https options. (#53 Rafael Alfaro)
  • Add readyState constants to EventSource instances. (#66 Espen Hovlandsdal)
rexxars
published 0.2.3 •

Changelog

Source

0.2.3

  • Fix onConnectionClosed firing multiple times resulting in multiple connections. (#61 Phil Strong / Duncan Wong)
  • Remove unneeded isPlainObject check for headers. (#64 David Mark)
rexxars
published 0.2.2 •

Changelog

Source

0.2.2

  • Don't include test files in npm package. (#56 eanplatter)
aslakhellesoy
published 0.2.1 •

Changelog

Source

0.2.1

  • Fix close() for polyfill. (#52 brian-medendorp)
  • Add http/https proxy function. (#46 Eric Lu)
  • Fix reconnect for polyfill. Only disable reconnect when server status is 204. (Aslak Hellesøy).
  • Drop support for Node 0.10.x and older (Aslak Hellesøy).
aslakhellesoy
published 0.2.0 •

Changelog

Source

0.2.0

  • Renamed repository to eventsource (since it's not just Node, but also browser polyfill). (Aslak Hellesøy).
  • Compatibility with webpack/browserify. (#44 Adriano Raiano).
aslakhellesoy
published 0.1.6 •

Changelog

Source

0.1.6

  • Ignore headers without a value. (#41, #43 Adriano Raiano)
aslakhellesoy
published 0.1.5 •

Changelog

Source

0.1.5

  • Refactor tests to support Node.js 0.12.0 and Io.js 1.1.0. (Aslak Hellesøy)
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc