Warning about deprecated req.host
Pusikas opened this issue · 1 comments
Pusikas commented
node:14.13.1
express: 4.17.1
bunyan: 1.8.14
safe-json-stringify: 1.2.0
It looks like the following warning gets printed to the console whenever I try to log a request object. Bunyan is the only package that uses safe-json-stringify
. No other package requires it, as per npm ls safe-json-stringify
.
express deprecated req.host: Use req.hostname instead at node_modules/safe-json-stringify/index.js:10:14
Is there anything I can do to get rid of this message?
howardwu1 commented
Same issue -- I'm guessing they need to do an update to their source code