Pump.io depends on set-immediate [0], which is deprecated in favour of
setimmediate [1]:

[0] https://github.com/jussi-kalliokoski/setImmediate.js
[1] https://github.com/YuzuJS/setImmediate

However, I've noticed that Debian only has nodejs >= 0.10, and so I
believe require("setimmediate") is always a no-op (under node).

It occurs to me that the polyfill might be useful in browsers, so it's
probably worth packaging as libjs-setimmediate, but I don't need it
for that right now.

Quite a few npm packages seem to depend on setimmediate, so is it
worth packaging just so that the dependencies can be fulfilled?  Or is
it better to patch out the calls to require("setimmediate") in the
dependent packages?

Kind regards,

Tim Retout <dioc...@debian.org>

Pkg-javascript-devel mailing list

Reply via email to