-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix the oldArrayMerge example #84
Conversation
https://github.com/KyleAMathews/deepmerge/pull/84/files#diff-0730bb7c2e8f9ea2438b52e419dd86c9R146 jsmd will check this assertion to make sure the example actually works. |
Look reasonable? |
Thanks for the really quick turnaround on this. Have tried it and, I'm not sure why, but it's not producing the same results that 1.5.2 was for me. I'm currently unsure as to exactly what the root of the problem is, but one thing it's definitely doing is turning a string into an object of (letter index, letter) pairs. e.g. I was also wondering: given that deepmerge already uses is-mergeable-object, would it be possible for deepmerge to expose it so that I don't then need to add is-mergeable-object as an extra dependency? |
mm, I'll bet that's due to |
ah nope, I mis-transcribed the clone function. It shouldn't try to clone if the input isn't a mergeable object. |
I made an issue #85 for that. |
Thanks TehShrike/deepmerge#84 :-).
It's working fine now; thanks again, particularly for fixing this so quickly. |
Published as 2.0.1 |
Thanks TehShrike/deepmerge#84 :-).
Fixes #83