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

eventsource

Package Overview
Dependencies
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eventsource - npm Package Versions

234

3.0.2

Diff

Changelog

Source

3.0.2 (2024-12-13)

Bug Fixes

  • reference possibly missing event typings (d3b6849)
rexxars
published 3.0.1 •

Changelog

Source

3.0.1 (2024-12-07)

Bug Fixes

  • run build prior to publishing (f86df19)
rexxars
published 3.0.0 •

Changelog

Source

3.0.0 (2024-12-07)

⚠ BREAKING CHANGES

  • Drop support for Node.js versions below v18
  • The module now uses a named export instead of a default export.
  • UMD bundle dropped. Use a bundler.
  • headers in init dict dropped, pass a custom fetch function instead.
  • HTTP/HTTPS proxy support dropped. Pass a custom fetch function instead.
  • https.* options dropped. Pass a custom fetch function that provides an agent/dispatcher instead.
  • New default reconnect delay: 3 seconds instead of 1 second.
  • Reconnecting after a redirect will now always use the original URL, even if the status code was HTTP 307.

Features

  • modernize - use fetch, WebStreams, TypeScript, ESM (#330) (40655f7)

Bug Fixes

  • dispatchEvent now emits entire event object (eb430c0)
  • empty options no longer disable certificate checks (372d387)
rexxars
published 3.0.0-beta.0 •

rexxars
published 1.1.2 •

Changelog

Source

1.1.2 (2022-06-08)

Features

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

Changelog

Source

1.1.1 (2022-05-11)

Bug Fixes

  • 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 (2022-05-12)

Bug Fixes

  • strip sensitive headers on redirect to different origin (10ee0c4)
rexxars
published 2.0.1 •

Changelog

Source

2.0.1 (2022-04-25)

Bug Fixes

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

Changelog

Source

2.0.0 (2022-03-02)

⚠ BREAKING CHANGES

  • Node >= 12 now required (#152 @HonkingGoose)

Bug Fixes

  • 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)

Bug Fixes

  • NPM download badge links to malware (8954d63)
rexxars
published 1.1.0 •

Changelog

Source

1.1.0 (2021-03-18)

Features

  • 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)

Bug Fixes

  • 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)
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