benlesh / symbol-observable

Symbol.observable ponyfill

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

1.0.3 breaks in environments without module

Rich-Harris opened this issue · comments

Hi – my app (which uses most, which depends on symbol-observable) is breaking after the release of 1.0.3, apparently due to #23. 1750d26 assumes that module exists, which is only true in Node or Node-like environments.

Let me know if you're interested in a PR that puts the module reference behind a typeof.

Oops. I missed that in my review. Thank you.

@Blesh could you please publish this to npm?

@btd done in 1.0.4. Sorry for the delay.