Skip to content

Conversation

@KoryNunn
Copy link

Currently, if an emitter that does not inherit from EventEmitter is passed, an error will be thrown:

Error: emitter.prependListener is not a function

This PR checks for the existence of prependListener on the emitter that is passed in.

@calvinmetcalf
Copy link
Contributor

this is actually a seriese of regexes that transform the node version, if you can just add a test to in this folder I can work on a fix

@calvinmetcalf
Copy link
Contributor

see nodejs/node#8018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants