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
20082026
-
…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]…
comment by chatmasta · 2023-03-23 · in Everything ChatGPT – under the hood of the ChatGPT web app -
…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 -
…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…
comment by awb · 2022-04-09 · in NPM package event-source-polyfill compromised by political activists -
…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…
comment by awb · 2022-04-09 · in NPM package event-source-polyfill compromised by political activists -
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…
comment by runarberg · 2022-04-09 · in NPM package event-source-polyfill compromised by political activists -
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…
comment by themanmaran · 2022-04-08 · in NPM package event-source-polyfill compromised by political activists -
▲ 124
NPM package event-source-polyfill compromised by political activistsstory by ramesh31 · 2022-04-08 · 241 comments
-
…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 -
…mozilla.org/en-US/docs/Web/API/Server-sent... [2] http://caniuse.com/#search=server-sent%20events [3] https://github.com/Yaffle/EventSource
comment by simplify · 2016-06-10 · in Show HN: Real Time Users – Add a real-time user counter to your site -
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 -
I've been using this polyfill for years in production with success: https://github.com/Yaffle/EventSource
comment by adrianpike · 2016-03-15 · in Show HN: Live streaming SVG plot microservice that just works -
SSE is easy to shim! We use: https://github.com/Yaffle/EventSource/
comment by qubyte · 2015-05-14 · in Show HN: Realtime Server-Sent Events in Go -
…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…
comment by eranation · 2014-04-04 · in Server-Sent Events: The simplest realtime browser spec -
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.
comment by eknkc · 2014-04-04 · in Server-Sent Events: The simplest realtime browser spec -
…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-…
comment by conroy · 2012-12-12 · in Show HN: HandleHelp - Easily check username availability across sites -
…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 -
…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.
comment by samwillis · 2011-12-21 · in WebSockets is a stream, not a message based protocol -
…However, since SSE is HTTP-compatible you can easily implement fallback for these, e.g. https://github.com/Yaffle/EventSource
comment by pornel · 2011-12-21 · in WebSockets is a stream, not a message based protocol