cloudup/mongo-eql — pull request #1 by jankuca (2014-05-04 23:18:44+00:00)
Title: fix deep object comparison

This fixes the following issue:

```
var a = { _id: { bytes: new Buffer(…) }}; // { _id: ObjectId }
var b = { bytes: new Buffer(…); }; // ObjectId
eql(a, b);
```

This piece of code throws [TypeError: Cannot read property 'bytes' of
undefined] because it does not check whether `b` has a higher-level
property (`_id`) before diving deeper into the matcher object (`a`).