This pull request fixes #109. It replaces the got package which is only used once, with an alternative ( node-fetch, which against intuitions does not depend on @types/node where got did ).
This means that there are now not any issues when running tsc in a Cloudflare Workers project which uses xdm. This came up specifically while building a Remix application, as @remix-run/dev depends on xdm.
I made sure to replicate the existing caching set up, as that is not included in node-fetch.
This pull request fixes #109. It replaces the
got
package which is only used once, with an alternative (node-fetch
, which against intuitions does not depend on@types/node
wheregot
did ).This means that there are now not any issues when running
tsc
in a Cloudflare Workers project which usesxdm
. This came up specifically while building a Remix application, as@remix-run/dev
depends onxdm
.I made sure to replicate the existing caching set up, as that is not included in
node-fetch
.Thanks for this awesome project 🙏