"request" package is deprecated. In this diff I replaced with with
node-fetch and provided more flexible request customisation option.
safer-buffer is no longer necessary as node-fetch provides buffer api out of the box.
Required node v10 because node-fetch v3 is gonna require it as well,
Ref https://github.com/jrit/web-resource-inliner/issues/54
"request" package is deprecated. In this diff I replaced with with node-fetch and provided more flexible request customisation option.
safer-buffer is no longer necessary as node-fetch provides buffer api out of the box. Required node v10 because node-fetch v3 is gonna require it as well,