You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
index.js:54 TypeError: Cannot read properties of null (reading 'key')
at JsonDiff.scalarize (index.js:103)
at JsonDiff.arrayDiff (index.js:144)
at JsonDiff.diff (index.js:289)
at JsonDiff.objectDiff (index.js:39)
at JsonDiff.diff (index.js:286)
at diff (index.js:315)
at diffString (index.js:319)
at DiffTest (index.stories.js:54)
at finalStoryFn (story_store.js:568)
at hooks.js:182
I need to compare many large objects that I shouldn't mutate. Some will have empty arrays of objects which will cause the app to crash.
Would it be possible to fix this?
** Update: this was not working on version 0.6.1
apparently there was a fix earlier today -- working on 0.6.3
The text was updated successfully, but these errors were encountered:
@ewoudenberg thanks for your prompt reply. This was my mistake. I had this package installed in a Docker container and it was caching the package's old version. After running docker with no cache, the error went away. Thanks again!
diffString
is erroring out when it comes to an empty array of objects:I need to compare many large objects that I shouldn't mutate. Some will have empty arrays of objects which will cause the app to crash.
Would it be possible to fix this?
** Update: this was not working on version 0.6.1
apparently there was a fix earlier today -- working on 0.6.3
The text was updated successfully, but these errors were encountered: