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
234Next

1.1.2

Diff

Changelog

Source

1.1.2

  • Inline origin resolution, drops original dependency (#281 Espen Hovlandsdal)
rexxars
published 1.1.1 •

Changelog

Source

1.1.1

  • Do not include authorization and cookie headers on redirect to different origin (#273 Espen Hovlandsdal)
rexxars
published 2.0.2 •

Changelog

Source

2.0.2

  • Do not include authorization and cookie headers on redirect to different origin (#273 Espen Hovlandsdal)
rexxars
published 2.0.1 •

Changelog

Source

2.0.1

  • Fix URL is not a constructor error for browser (#268 Ajinkya Rajput)
rexxars
published 2.0.0 •

Changelog

Source

2.0.0

  • BREAKING: Node >= 12 now required (#152 @HonkingGoose)
  • Preallocate buffer size when reading data for increased performance with large messages (#239 Pau Freixes)
  • Removed dependency on url-parser. Fixes CVE-2022-0512 & CVE-2022-0691 (#249 Alex Hladin)
rexxars
published 1.1.0 •

Changelog

Source

1.1.0

  • Improve performance for large messages across many chunks (#130 Trent Willis)
  • Add createConnection option for http or https requests (#120 Vasily Lavrov)
  • Support HTTP 302 redirects (#116 Ryan Bonte)
  • Prevent sequential errors from attempting multiple reconnections (#125 David Patty)
  • Add new to correct test (#111 Stéphane Alnet)
  • Fix reconnections attempts now happen more than once (#136 Icy Fish)
rexxars
published 1.0.7 •

Changelog

Source

1.0.7

  • Add dispatchEvent to EventSource (#101 Ali Afroozeh)
  • Added checkServerIdentity option (#104 cintolas)
  • Surface request error message (#107 RasPhilCo)
rexxars
published 1.0.6 •

Changelog

Source

1.0.6

  • Fix issue where a unicode sequence split in two chunks would lead to invalid messages (#108 Espen Hovlandsdal)
  • Change example to use eventsource/ssestream (Aslak Hellesøy)
rexxars
published 1.0.5 •

Changelog

Source

1.0.5

  • Check for window existing before polyfilling. (#80 Neftaly Hernandez)
rexxars
published 1.0.4 •

Changelog

Source

1.0.4

  • Pass withCredentials on to the XHR. (#79 Ken Mayer)
234Next
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