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

Support for Node v18? #1086

Closed
renhiyama opened this issue May 30, 2023 · 3 comments
Closed

Support for Node v18? #1086

renhiyama opened this issue May 30, 2023 · 3 comments

Comments

@renhiyama
Copy link

Node v18 brought some cool features, which we much needed in our js ecosystem. APIs like fetch and functions like structuredClone are some of the cool features which is much needed in webcontainers. Removing fetch polyfill from my code removes 20kb of data (minified node fetch). I know there might be some restrictions atm, but some APIs like the above could be easily added to webcontainers?

@renhiyama
Copy link
Author

For reference, my web framework [email protected] can't run here because its missing structuredClone.

@renhiyama
Copy link
Author

I have currently included core-js to polyfill APIs.

@kirjavascript
Copy link
Member

hi 👋 @renhiyama, thanks for asking this!

this issue is being tracked here: #560

we're planning on releasing node 18 in the next quarter or two

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