Skip to content

Migrate from @ungap/structured-clone to native structuredClone #492

@alexmuller

Description

@alexmuller

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good introductory issueThis issue will be good for a newcomer to Reliability Kit to work onmaintenanceWork to maintain the repo and stop creeping tech debt

    Type

    No type

    Projects

    Status

    📝 Planned

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions