Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@acburdine
Copy link
Contributor

in v3, .default was parsed after the fact so .default([]) would end up getting copied into a new array each time it was used. v4 returns reference values directly so default array values should also be getting shallow-cloned.

@colinhacks colinhacks merged commit e1f1948 into colinhacks:main Sep 11, 2025
4 checks passed
@colinhacks
Copy link
Owner

Thanks, good catch!

@acburdine acburdine deleted the fix/clone branch September 11, 2025 11:59
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.

2 participants