since component is written in generators, it needs generator support, which is done via regenerator. however, this is giant maintenance issue since it introduces a global which are not guaranteed to be compatible with different versions (which is why we're stuck at 0.4.6 or something).
we should rewrite the binaries to spawn through gnode or node --harmony-generators and not bother compiling before publishing: https://github.com/normalize/nlz/blob/master/bin/nlz#L79. this will make the executables much slower on node versions < 11, so we may want to wait until 0.12 is released to do this
since component is written in generators, it needs generator support, which is done via regenerator. however, this is giant maintenance issue since it introduces a global which are not guaranteed to be compatible with different versions (which is why we're stuck at 0.4.6 or something).
we should rewrite the binaries to spawn through
gnode
ornode --harmony-generators
and not bother compiling before publishing: https://github.com/normalize/nlz/blob/master/bin/nlz#L79. this will make the executables much slower on node versions< 11
, so we may want to wait until0.12
is released to do this