eventsource
eventsource copied to clipboard
EventSource client for Node.js and Browser (polyfill)
Added the full path of the URL as information to identify the source of the event. This is an alternative solution to #144
I tested using HackerNews firebase API, delete eventName solved my issue. When you debug here eventName is put or open, etc. The emitter can't find listeners with that name, delete...
When use https proxy with http://.. url in corporate environment, the proxy function in the original package is not working. This PR changed the proxy function to use the agent...
In some cases the server going down can lead to multiple triggers of the `onConnectionClosed()` method, resulting in multiple reconnection timeouts being created. I fixed this problem by only allowing...
Bumps [mocha](https://github.com/mochajs/mocha) from 3.5.3 to 10.0.0. Release notes Sourced from mocha's releases. v10.0.0 10.0.0 / 2022-05-01 :boom: Breaking Changes #4845: Drop Node.js v12.x support (@juergba) #4848: Drop Internet-Explorer-11 support (@juergba)...
When requesting an eventsource endpoint and defining custom, sensitive headers, such as `Authorization` and `Cookie`, these headers should not be forwarded when redirecting to a different origin than the original....
Hi Team, I am using this package in the Angular application. Please find angular environment details below  I am trying to use SSE through this package by using the...
With this change we can use `eventsource` even when calling a server over a unix domain socket, for example: ```javascript const es = new EventSource({ socketPath: 'some-socket.sock', path: '/my-path', });...
https://github.com/EventSource/eventsource/pull/273/files#diff-0768641ba3de29bd47afffe8f6fe71ed13e9fe1628a550ca18896269002b510eR164 changed to use `new URL(location)` which fails when the location header is a relative path: https://nodejs.org/api/url.html#new-urlinput-base Edit: been dealing with 1.1.1 vs. 2.0.2 questions a lot, so got mixed...
Hey there! I belong to an open source security research community, and a member (@sampaguitas) has found an issue, but doesn’t know the best way to disclose it. If not...