Skip to content

Conversation

@ramGit22
Copy link

Motivation

  • Prevent unintended side effects when hashing public field data.

Linked Issue(s)

  • N/A

Solution

  • Map each public field entry to a shallow copy without the str property instead of deleting it in place.

Testing

  • npm run build

Safety & Compatibility

  • No API or behavioral changes; only removes unexpected mutation.
  • No dependency or config updates.
  • Type checks pass.

Reviewer Notes

  • Fix simply avoids mutating caller-provided data while preserving existing hashing logic.

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