Skip to content

Conversation

@nix6839
Copy link
Contributor

@nix6839 nix6839 commented Jun 3, 2024

内容

以下の投稿を参考にすると、clone-deepとstructuredCloneの動作は__proto__を除けば、structuredCloneの方が優れているか同等であることが分かります。
コードを確認したところ、__proto__に関連するコードがなかったため、clone-deepをstructuredCloneに置き換えることができると判断しました。

Which is the best method for deep cloning in Javascript? Are they all bad? | by Tiago Bértolo | Medium

@nix6839 nix6839 requested a review from a team as a code owner June 3, 2024 13:14
@nix6839 nix6839 requested review from Hiroshiba and removed request for a team June 3, 2024 13:14
Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!

1箇所変更させていただきます!

@nix6839 nix6839 force-pushed the replace-clone-deep-dep branch from 9887092 to 1f02ce3 Compare June 3, 2024 22:11
@nix6839 nix6839 requested a review from Hiroshiba June 3, 2024 22:11
@Hiroshiba Hiroshiba merged commit 95af27e into VOICEVOX:main Jun 3, 2024
@nix6839 nix6839 deleted the replace-clone-deep-dep branch June 3, 2024 22:15
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