-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Events polyfill is not up to date with latest version of Node.js #8
Comments
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 |
OrKoN
added a commit
to GoogleChromeLabs/chromium-bidi
that referenced
this issue
Nov 24, 2022
This replaces the outdated rollup polyfill[1] by a 200 byte event emitter called mitt[2] that comes with a wildcard event matching. [1]: ionic-team/rollup-plugin-node-polyfills#8 [2]: https://github.com/developit/mitt
OrKoN
added a commit
to GoogleChromeLabs/chromium-bidi
that referenced
this issue
Nov 24, 2022
This replaces the outdated rollup polyfill[1] by a 200 byte event emitter called mitt[2] that comes with a wildcard event matching. [1]: ionic-team/rollup-plugin-node-polyfills#8 [2]: https://github.com/developit/mitt
OrKoN
added a commit
to GoogleChromeLabs/chromium-bidi
that referenced
this issue
Nov 25, 2022
This replaces the outdated rollup polyfill[1] by a 200 byte event emitter called mitt[2] that comes with a wildcard event matching. [1]: ionic-team/rollup-plugin-node-polyfills#8 [2]: https://github.com/developit/mitt
OrKoN
added a commit
to GoogleChromeLabs/chromium-bidi
that referenced
this issue
Nov 25, 2022
This replaces the outdated rollup polyfill[1] by a 200 byte event emitter called mitt[2] that comes with a wildcard event matching. [1]: ionic-team/rollup-plugin-node-polyfills#8 [2]: https://github.com/developit/mitt
Running into this as well, Found missing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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)
The text was updated successfully, but these errors were encountered: