Open eamonnmg opened 4 years ago
Running into this as well. Should be an easy fix as it's just an alias for removeListener. https://nodejs.org/api/events.html#events_emitter_off_eventname_listener
Running into this as well, Found missing events.rawListeners(eventName)
https://nodejs.org/api/events.html#emitterrawlistenerseventname
The events.js polyfill is not up to date with the latest Node.js
For example, the polyfill is missing the EventEmitter.prototype.off method. This was introduced to node in version 10.0.0 (see https://nodejs.org/dist/latest-v14.x/docs/api/events.html#events_emitter_off_eventname_listener)