Open alfonsrv opened 1 month ago
Sorry to ping you directly @jrit
Seems like node-fetch
could be easily replaced by native nodejs fetch ? I don't know if you could confirm this so I can try to make a PR for this
seems totally reasonable to me
Ok so I tried, it need a few changes to make it work. I'm down to a single test that doesn't work anymore.
faux-jax
library doesn't work with fetch
so I've replaced to fetch-mock
that does almost the same thing. I'm still having 1 test that doesn't work fine with fetch-mock
and i'm unsure if it's because of the mock or the code yet.
I'll open the PR in WIP
I am using
mjml
which depends onjuice
, which in turn depends onweb-resource-inliner
, throwing the following warning tostderr
:(node:60710) [DEP0040] DeprecationWarning: The "punycode" module is deprecated. Please use a userland alternative instead.
punycode
→node-fetch
→web-resource-inliner
→juice
Any alternative to work around this or way to fix this?