structuredClone is available natively in Node.js 17+. This means that the earliest we can use it would be when we drop support for Node.js 16. See #490 for when @rowanmanning suggested this.
What problem does this feature solve?
Removes the need for a 3rd party dependency to implement structuredClone.
Ideal solution
Remove all the uses of @ungap/structured-clone and replace them with native structuredClone.
Alternatives
We could leave the dependency in place.
structuredClone is available natively in Node.js 17+. This means that the earliest we can use it would be when we drop support for Node.js 16. See #490 for when @rowanmanning suggested this.
What problem does this feature solve?
Removes the need for a 3rd party dependency to implement
structuredClone.Ideal solution
Remove all the uses of
@ungap/structured-cloneand replace them with nativestructuredClone.Alternatives
We could leave the dependency in place.