unwrap obj to clone it#6409
Conversation
|
still get errors :/ |
|
jep... :/ |
|
For the |
|
well i dont understant why it works or dont in certain cases, i would just stick to our clone func for data for redability |
|
Why not just copy the cloneDeep func from lodash for now? |
|
it does to much, we just want to copy json object, it can copy objects with functions in it etc... ... this func of lowdash is huge and we dont ned it |
There was a problem hiding this comment.
Untested. If it works fine for me. However Ill count this as another micro optimization that caused more trouble then it helped. Personally I dont care about a bigger binary size and even if lodash has sec issues (go stdlib had a lot of critical cves as well in the past months) we are mostly not affected as we dont use the vulnarable code.
fix #6369 (comment)