Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Built-in APIs #420

Closed
8 tasks done
Richienb opened this issue Jan 31, 2022 · 2 comments
Closed
8 tasks done

Built-in APIs #420

Richienb opened this issue Jan 31, 2022 · 2 comments

Comments

@Richienb
Copy link
Contributor

Richienb commented Jan 31, 2022

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.

@Richienb
Copy link
Contributor Author

This would be a good target for the 1.0 milestone.

@Richienb
Copy link
Contributor Author

Richienb commented Nov 6, 2023

Sure enough, v1 was released to target Node.js 18.
ky-universal also has a note added now.
I think it's fine to close this now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants