ExodusMovement / fetch

MIT License
0 stars 0 forks source link

V2 #25

Open ChALkeR opened 2 months ago

ChALkeR commented 2 months ago

Since 1.7.0, @exodus/fetch already just prefers to use global fetch and WebSocket Which covers all platforms we need

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

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)

Also switched to ESM and @exodus/test

Also 0-dep now

This is a somewhat work in progress, I might improve this further

mvayngrib commented 1 month ago

@ChALkeR there are some conflicts here