Registry Mirror
Skip to content

Conversation

@edlsh

@edlsh edlsh commented Jan 2, 2026

Copy link
Copy Markdown
Contributor

Replace JSON.parse(JSON.stringify(x)) with structuredClone(x) for deep cloning in publish scripts.

structuredClone is the modern native API for this - cleaner and handles more edge cases correctly.

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

Successfully merging this pull request may close these issues.

1 participant