New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eventsource

Package Overview
Dependencies
Maintainers
2
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eventsource - npm Package Versions

2345

3.0.5

Diff

rexxars
published 3.0.4 •

Changelog

Source

3.0.4 (2025-01-28)

Bug Fixes

  • ensure message is set on ErrorEvent on network errors (d1dc711)
rexxars
published 3.0.3 •

Changelog

Source

3.0.3 (2025-01-27)

Bug Fixes

  • bundle event listener typings (2c51349)
rexxars
published 3.0.2 •

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