Hacker GitHub

← All repos

Yaffle/EventSource

View on GitHub ↗ ★ 2,180 JavaScript

a polyfill for http://www.w3.org/TR/eventsource/

18 mentions on Hacker News by 17 people: 1 story, 17 comments · first 2011-12-21 · latest 2023-03-23

Mentions per year 18 mentions · busiest year 2022 (6)
20082026
  1. …it does indeed show up as a spinner, but I still can't see the actual messages in DevTools. [0] https://github.com/Yaffle/EventSource/issues/79 [1] https://bugs.chromium.org/p/chromium/issues/detail?id=102589... [2]…
  2. …someone to a SPA stack (which can easily have thousands of transient dependencies) nowadays. [1]: https://github.com/Yaffle/EventSource/issues/202
    comment by marcus_cemes · 2022-04-11 · in Node.js packages don't deserve trust
  3. …you commit a crime "crime"? Please link me to the law you think they broke. Here's the license: https://github.com/Yaffle/EventSource/blob/master/LICENSE.md > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR…
  4. …23 days ago. There's an ongoing open discussion here where there are folks defending both sides: https://github.com/Yaffle/EventSource/issues/202 Anyway, a better title might be "event-source-polyfill displays popup about Ukraine in…
  5. Reading the source the compromise is on these lines in particular ( https://github.com/Yaffle/EventSource/blob/de137927e13d8afac... ). To experience the exploit set your computer timezone to any Russian timezone (e.g. asia/omsk) and paste…
  6. On version 1.0.26. Committed 23 days ago as "update": https://github.com/Yaffle/EventSource/commit/de137927e13d8af... Also looking more at the update, I'm guessing it came from the repo owner (who is in Russia), not necessarily "political…
  7. …only IE/Edge doesn't have it, and there are polyfills for those, e.g. https://github.com/Yaffle/EventSource/blob/master/README.md Or there are more problems? Want to use SSE for one small project soon (haven't used it before, an
    comment by drdaeman · 2017-02-13 · in Show HN: WebSocket-first development
  8. …mozilla.org/en-US/docs/Web/API/Server-sent... [2] http://caniuse.com/#search=server-sent%20events [3] https://github.com/Yaffle/EventSource
  9. Fortunately, polyfilling is fairly easy, e.g. https://github.com/Yaffle/EventSource .
    comment by lobster_johnson · 2016-06-05 · in RCP 11 – Stream data type proposal for Redis
  10. I've been using this polyfill for years in production with success: https://github.com/Yaffle/EventSource
  11. SSE is easy to shim! We use: https://github.com/Yaffle/EventSource/
  12. …ways to do server side "push", if only IE supported it... though you can always use a polyfill: https://github.com/Yaffle/EventSource/ (though that polifill didn't work for me for that example, but I didn't spend much time trying to figure…
  13. Here's a polyfill: https://github.com/Yaffle/EventSource/ 2 issues; Last-Event-ID is not a header, but a querystring param. Needs 2kb of padding from server before any data. Looks pretty usable.
  14. …Server-sent events aren't supported by all browsers, so I'm using Yaffle's EventSource polyfill[3]( https://github.com/Yaffle/EventSource ). [1]: https://github.com/kyleconroy/handlehelp [2]: https://developer.mozilla.org/en-US/docs/Server-…
  15. …I'm looking at you!), I have yet to try it and so can't vouch for it, but there exists a polyfill: https://github.com/Yaffle/EventSource
    comment by yesbabyyes · 2012-01-20 · in The Trello Tech Stack
  16. …reference right now. This seems to be the nicest shim to let you use EventSource on older browsers https://github.com/Yaffle/EventSource , I did make something similar myself but this is much more complete.
  17. …However, since SSE is HTTP-compatible you can easily implement fallback for these, e.g. https://github.com/Yaffle/EventSource