Good to know. However I don't see any issues for this in the jpeg-js Github.[1]
The decoder.js script in jpeg-js is < 1000 loc, so I suspect this can be addressed if someone comes up with a reproducible case?
Edit: I'll happily try to do it if this isn't resolved by the time I get around to needing to use jimp / jpeg-js.