hadron-type-checker 7.0.2 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "email": "compass@mongodb.com"
8
8
  },
9
9
  "homepage": "https://github.com/mongodb-js/compass",
10
- "version": "7.0.2",
10
+ "version": "7.1.0",
11
11
  "repository": {
12
12
  "type": "git",
13
13
  "url": "https://github.com/mongodb-js/compass.git"
@@ -27,8 +27,8 @@
27
27
  "test-ci": "npm run test"
28
28
  },
29
29
  "dependencies": {
30
- "bson": "^5.0.1",
31
- "lodash": "^4.17.15"
30
+ "bson": "^6.0.0",
31
+ "lodash": "^4.17.21"
32
32
  },
33
33
  "devDependencies": {
34
34
  "chai": "^4.2.0",
@@ -37,5 +37,5 @@
37
37
  "eslint-config-mongodb-js": "^5.0.3",
38
38
  "mocha": "^10.2.0"
39
39
  },
40
- "gitHead": "e4f2643a437ce2407657a63246e303d13ce8297b"
40
+ "gitHead": "75b346b5f8c4bc9252af65ae3c65b97c6cc47d00"
41
41
  }
@@ -322,7 +322,7 @@ class TypeChecker {
322
322
  if (caster) {
323
323
  result = caster(object);
324
324
  }
325
- return result === OBJECT_TYPE ? EMPTY : result;
325
+ return result === OBJECT_TYPE && result !== object ? EMPTY : result;
326
326
  }
327
327
 
328
328
  /**