node-libs-browser icon indicating copy to clipboard operation
node-libs-browser copied to clipboard

Investigate replacing `gozala/events` module

Open connor4312 opened this issue 9 years ago • 3 comments

Currently events is polyfilled with gozala/events. However, it is far behind the latest Node version, and perhaps more concerningly its unit tests are failing and they are not run in a wide array of browsers, so upgrading it is dangerous (though I have a PR in to do so).

Unfortunately it doesn't look like there's other solid isomorphic event implementations which match the Node API, at least none that my Google-fu could find. I would be happy to spend a weekend getting something drafted up if there's interest in updating this; an updated implementation to be tested both in Node via and in browsers via Browserstack or SauceLabs.

connor4312 avatar Oct 12 '16 18:10 connor4312

Do you have any specific problem with gozala/events? Where is the API not in parity with node.js?

jhnns avatar Nov 03 '16 14:11 jhnns

Missing 'features' include:

It also does not include m/any bug fixes or optimizations applied to the events module since the last big import in 2013.

connor4312 avatar Nov 03 '16 16:11 connor4312

Ok, maybe let's give the maintainer some time

jhnns avatar Nov 04 '16 16:11 jhnns