When the browser APIs that ky uses become built-in to Node.js, we'll be able to deprecate ky-universal in favour of it.
The fetch APIs were added under an experimental flag in Node.js 16 and have been enabled by default in Node.js 18. As of v18.7.0, fetch() still throws an experimental warning when called. The warning is dropped in Node.js 19 and since 18.13.0. Node.js 16 EOL is 11/09/2023.
When the browser APIs that
kyuses become built-in to Node.js, we'll be able to deprecateky-universalin favour of it.fetch(v18.0.0)Headers(v18.0.0)Request(v18.0.0)Response(v18.0.0)FormData(v18.0.0)AbortController(v15.4.0)ReadableStream(v16.5.0)DOMException(v17.0.0)The fetch APIs were added under an experimental flag in Node.js 16 and have been enabled by default in Node.js 18. As of v18.7.0,
fetch()still throws an experimental warning when called. The warning is dropped in Node.js 19 and since 18.13.0. Node.js 16 EOL is 11/09/2023.