Douglas Wilson

Results 1975 comments of Douglas Wilson

Hi @Lucas-C thanks for the update. Yea, that was the main purpose of this module compared to others (and the deprecation stuff that is now built in to Node.js), as...

Hm, that is an interesting scenario. Unfortunately `__filename` and `__dirname` don't work for the use case, as those of course represent very different locations and are not interchangeable.

Regardless we can work around this issue. I assume that by crash you mean that it throws an error? Do you happen to have the specific error it throws on...

Nice, I didn't realize you can set the length of a function now. Looks like it's support on all "modern" Node.js runtimes (4+). I feel it would be weird to...

Huh, interesting! I never realized you could define the function length. If this passes of course I'll accept it 🤣

Hm. The goal of this module is to support as many possible Node.js versions as possible, especially since a lot of the time you deprecate things in order to move...

Yea, that makes a lot of sense to me, less fragile the better. Feature detection FTW. So we have to do this for a couple items (one was removed recently),...

Awesome! And I appreciate letting me know, happy to spend some time on this this weekend if I can, so won't feel bad if I get it done before you...

Hi, I too also would love to see eval gone.the current plan ia here: https://github.com/dougwilson/nodejs-depd/pull/33#issuecomment-615061390 I created this module for Express which supports too far down, Node.js 0.10. The Express...

Hi @davidje13 you are correct in that they support old versions; I did mention that in the comment I linked to. There are also people who do use static analyzers...