-
Notifications
You must be signed in to change notification settings - Fork 407
makeAddListener breaks when the Event Name is a Symbol #1110
Comments
@jreidgreer , thank you for posting the issue, I will fix this one. |
Is a fix already available? I am also running into issues using node-tar with zone.js. I use zone.js version 0.8.26. |
Running into this issue after upgrading EDIT: Downgrade to |
@alamothe, it is fixed, but not merged yet, please wait for the next release(not sure when...) |
Does it have any side-effect...? |
@alamothe, the |
No worries, in my case I'm fine with |
When Zone.js is running in Node, it appears to be wrapping Node's EventEmitter methods, causing issues when the
eventName
is a Symbol. Node's documentation states thateventName
can be a string or a symbol.However, Zone tries to coerce
eventName
into a string:zone.js/lib/common/events.ts
Line 383 in e9536ec
This causes an error:
This is causing an issue in the
node-tar
library, for instance.The text was updated successfully, but these errors were encountered: