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
Previous124Next

0.1.4

Diff

Changelog

Source

0.1.4

  • Bugfix: Added missing origin property. (#39, #38 Arnout Kazemier)
  • Expose status property on error events. (#40 Adriano Raiano)
aslakhellesoy
published 0.1.3 •

Changelog

Source

0.1.3

  • Bugfix: Made message properties enumerable. (#37 Golo Roden)
aslakhellesoy
published 0.1.2 •

Changelog

Source

0.1.2

  • Bugfix: Blank lines not read. (#35, #36 Lesterpig)
aslakhellesoy
published 0.1.1 •

Changelog

Source

0.1.1

  • Bugfix: Fix message type. (#33 Romain Gauthier)
aslakhellesoy
published 0.1.0 •

Changelog

Source

0.1.0

  • Bugfix: High CPU usage by replacing Jison with port of WebKit's parser. (#25, #32, #18 qqueue)
  • Reformatted all code to 2 spaces.
aslakhellesoy
published 0.0.10 •

Changelog

Source

0.0.10

  • Provide Event argument on open and error event (#30, #31 Donghwan Kim)
  • Expose lastEventId on messages. (#28 mbieser)
aslakhellesoy
published 0.0.9 •

Changelog

Source

0.0.9

  • Bugfix: old "last-event-id" used on reconnect (#27 Aslak Hellesøy)
aslakhellesoy
published 0.0.8 •

Changelog

Source

0.0.8

  • Bugfix: EventSource still reconnected when closed (#24 FrozenCow)
  • Allow unauthorized HTTPS connections by setting rejectUnauthorized to false. (Aslak Hellesøy)
aslakhellesoy
published 0.0.7 •

Changelog

Source

0.0.7

  • Explicitly raise an error when server returns http 403 and don't continue (#20 Scott Moak)
  • Added ability to send custom http headers to server (#21, #9 Scott Moak)
  • Fix Unicode support to cope with Javascript Unicode size limitations (#23, #22 Devon Adkisson)
  • Graceful handling of parse errors (#19 Aslak Hellesøy)
  • Switched from testing with Nodeunit to Mocha (Aslak Hellesøy)
aslakhellesoy
published 0.0.6 •

Changelog

Source

0.0.6

  • Add Accept: text/event-stream header (#17 William Wicks)
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