🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

eventsource

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eventsource - npm Package Versions

2345

4.0.0

Diff
rexxars
published 4.0.0 •

Changelog

Source

4.0.0 (2025-05-13)

⚠ BREAKING CHANGES

  • FetchLikeInit is now removed. Use EventSourceFetchInit.
  • Drop support for Node.js v18, as it is end-of-life.

Features

  • require node.js v20 or higher (91a3a48)

Bug Fixes

  • drop FetchLikeInit type. Use EventSourceFetchInit instead. (6786e46)
rexxars
published 3.0.7 •

Changelog

Source

3.0.7 (2025-05-09)

Bug Fixes

  • mark fetch init properties required in typings (1282872)
rexxars
published 3.0.6 •

Changelog

Source

3.0.6 (2025-03-27)

Bug Fixes

  • upgrade parser to latest version, improving performance (59a5ddd)
rexxars
published 3.0.5-umd.0 •
rexxars
published 3.0.5 •

Changelog

Source

3.0.5 (2025-01-28)

Bug Fixes

  • include message and code on errors when logging in node.js and deno (f2596b3)
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)