express-http-proxy icon indicating copy to clipboard operation
express-http-proxy copied to clipboard

use getHeaders instead of deprecated _headers prop

Open kentcdodds opened this issue 4 years ago • 4 comments

Inspired by https://github.com/villadora/express-http-proxy/pull/430/files

kentcdodds avatar Oct 26 '21 20:10 kentcdodds

Use of _headers causes a deprecation warning in Node v12.0.0+

error: 	(node:40) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated

See: https://nodejs.org/api/deprecations.html#DEP0066

Can this PR be merged or is more work required? Thanks

alexb-uk avatar Dec 01 '21 10:12 alexb-uk

Can this PR be merged?

Thanks

ayush04 avatar Apr 21 '22 12:04 ayush04

@villadora @monkpow @nik-blue-lava could this branch be merged?

r3na avatar Jun 09 '22 07:06 r3na

I didn't see your PR and created my own and a whole new package with it. In case someone is interested: https://github.com/villadora/express-http-proxy/issues/509 and https://www.npmjs.com/package/express-http-proxy-2

leonheess avatar Oct 27 '22 18:10 leonheess