villadora / express-http-proxy

Proxy middleware for express/connect
Other
1.22k stars 236 forks source link

DeprecationWarning: OutgoingMessage.prototype._headers is deprecated *again* #509

Closed leonheess closed 1 year ago

leonheess commented 1 year ago

After they deprecated _headers, #413 was created and fixed with #430. However, #453 re-introduced the use of the deprecated property: https://github.com/villadora/express-http-proxy/blob/e2474eadca65c019892b51f6726d32ddfb874b69/app/steps/decorateUserResHeaders.js#L13

Please fix again.

leonheess commented 1 year ago

While we wait you can use https://www.npmjs.com/package/express-http-proxy-2