[Pkg-javascript-devel] Is it worth packaging node-setimmediate or not?

Tim Retout diocles at debian.org
Sun Aug 24 21:08:24 UTC 2014


Hi,

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 <diocles at debian.org>



More information about the Pkg-javascript-devel mailing list