You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node version 12 depracated OutgoingMessage.prototype._headers, which is used here in response.js L#18.
The fix is easy: Use getHeaders() instead:
this.statusCode = statusCode
- if (this._headers) {+ if (this.getHeaders()) {
// Slow-case: when progressive API and header fields are passed.
if (obj) {
You can inspect the full trace when running node with --trace-deprecation flag.