Open ChALkeR opened 2 months ago
Since 1.7.0, @exodus/fetch already just prefers to use global fetch and WebSocket Which covers all platforms we need
@exodus/fetch
fetch
WebSocket
Instead of doing gradual changes and optimizing out code, let's just remove everything we don't use/need and call this a v2
fetchival is replaced with experimental/fetchival and is renamed to fetcher to avoid confusion, as the API differs
fetchival
experimental/fetchival
fetcher
Compared to fetchival, new API is hardened to prevent unescaped injection of url components (previously was available as experimental/fetchival)
Compared to experimental/fetchival, the non-standard timeout option default value is removed (reverted to fetchival behavior)
timeout
Also switched to ESM and @exodus/test
@exodus/test
Also 0-dep now
This is a somewhat work in progress, I might improve this further
@ChALkeR there are some conflicts here
Since 1.7.0,
@exodus/fetch
already just prefers to use globalfetch
andWebSocket
Which covers all platforms we needInstead of doing gradual changes and optimizing out code, let's just remove everything we don't use/need and call this a v2
fetchival
is replaced withexperimental/fetchival
and is renamed tofetcher
to avoid confusion, as the API differsCompared to
fetchival
, new API is hardened to prevent unescaped injection of url components (previously was available asexperimental/fetchival
)Compared to
experimental/fetchival
, the non-standardtimeout
option default value is removed (reverted tofetchival
behavior)Also switched to ESM and
@exodus/test
Also 0-dep now
This is a somewhat work in progress, I might improve this further