mobxjs / mobx-react-devtools

[DEPRECATED] Tools to perform runtime analyses of React applications powered by MobX and React
MIT License
1.23k stars 49 forks source link

Re-add missing isObservableMap import #98

Closed AMilassin closed 6 years ago

AMilassin commented 6 years ago

Somewhere along the merging the isObservableMap import disappeared. As it is referenced in code it causes runtime exceptions if the code path get's there.

AMilassin commented 6 years ago

isObservableMap use around line 103:

                } else if (isObservableObject(change.object) || isObservableMap(change.object)) {
                    logNext(
                        "updated '%s.%s': %s (was: %s)",
                        change.name,
                        change.key,
                        formatValue(change.newValue),
                        formatValue(change.oldValue)
                    )
mweststrate commented 6 years ago

Thanks!

mweststrate commented 6 years ago

Released as 6.0.2