1

My usage is pretty basic:

import fetch from 'node-fetch';
const res = await fetch(url, GenerateRequestOptions(token));

and the fetch call yields a warning:

[DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated

As I'm not accessing headers directly, so I guess the fix should be in the package?

SagiLow
  • 5,721
  • 9
  • 60
  • 115

0 Answers0