npm / sse.js
sse.js
What changed in sse.js 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.
4 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initsse.js 24 changes
Fixes and other changes 4
ID fields containing NULL are ignored to improve SSE specification compliance.
lastEventId is updated even when no event is dispatched, improving SSE specification compliance.
The retry field now updates the reconnect delay to improve SSE specification compliance.
A UTF-8 BOM at the start of a stream is stripped to improve SSE specification compliance.