tomas / needle

Nimble, streamable HTTP client for Node.js. With proxy, iconv, cookie, deflate & multipart support.
https://www.npmjs.com/package/needle
MIT License
1.63k stars 236 forks source link

Replace `debug` package by node:util.debuglog. Fixes #353 #420

Closed cmotsn closed 11 months ago

cmotsn commented 1 year ago

Note: I edited the package-lock.json manually because I could not manage to regenerate it with "lockfileVersion": 1, even with an old version of Node.js (v6.17.1). I can commit an update pacage-lockjson in "lockfileVersion": 2, if that's better.

Also, sadly, an old version of debug still appears as a Mocha dependency, but only in the devDependencies, which is an improvment.

tomas commented 1 year ago

Looks good. I'll try it out during the week and merge if everything is OK