-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
structuredClone #969
Comments
FYI, This is the algorithm used for structured clone serialization and deserialization. And can I get a chance to implement this? Not very familar with core-js codebase but I really wanna give it a try :) |
@BasixKOR sure. Ask me if you will have any questions. |
I made a list of https://gist.github.com/petamoriken/3802602b8e93d89e5b4c21e36683cadb#gistcomment-3899514 |
The next release of Node.js (v17.0.0) will include I think it would be nice to add support for |
@petamoriken thanks! However, I'm not sure that the implementation of the transferable behavior is possible in most cases. |
The ongoing implementation of And yeah as @zloirock pointed out the transferable behaviour cannot be cleanly implemented as a polyfill, so it won't have transfer argument support for now. Any suggestion for implementing it is welcome though! |
FF implementation can't clone errors, https://bugzilla.mozilla.org/show_bug.cgi?id=1556604. |
structuredClone
method now exposed in the HTML spec. It's not a part of ECMAScript, but it's a very useful cross-platform feature, so makes sense to add it tocore-js
. If someone wanna contribute something significant tocore-js
- it's a good chance.The text was updated successfully, but these errors were encountered: