express-sse
express-sse copied to clipboard
An Express middleware for quick'n'easy server-sent events.
I noticed this package uses `req.on('close')` to remove disconnected clients however my understanding is that this event is only triggered for cases where the client explicitly closes the connection and...
Bumps [eventsource](https://github.com/EventSource/eventsource) from 0.2.3 to 2.0.2. Changelog Sourced from eventsource's changelog. 2.0.2 Do not include authorization and cookie headers on redirect to different origin (#273 Espen Hovlandsdal) 2.0.1 Fix URL...
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.4.7 to 1.5.10. Commits 8cd4c6c 1.5.10 ce7a01f [fix] Improve handling of empty port 0071490 [doc] Update JSDoc comment a7044e3 [minor] Use more descriptive variable name d547792 [security]...
There is an example in the README but generally there is a clear lack of documentation. I would encourage someone to add basic documentation on each of the functionalities supported...
With the current LTS node-js version i get the error measure uncaughtException: res.flush is not a function\nTypeError: res.flush is not a function\n at SSE.dataListener ...
Removes res.flush(), causes error on express 4.17 (TypeError: res.flush is not a function) and occurs on res.write anyway.
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
For example, /sse?userId=1. Thanks!!
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.7.1 to 2.8.9. Changelog Sourced from hosted-git-info's changelog. 2.8.9 (2021-04-07) Bug Fixes backport regex fix from #76 (29adfe5), closes #84 2.8.8 (2020-02-29) Bug Fixes #61 & #65...
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...