hadron-document
Advanced tools
Comparing version 2.3.2 to 2.3.3
@@ -10,3 +10,2 @@ 'use strict'; | ||
const includes = require('lodash.includes'); | ||
const { ObjectId } = require('bson'); | ||
const Iterator = require('./iterator'); | ||
@@ -327,3 +326,3 @@ const ObjectGenerator = require('./object-generator'); | ||
try { | ||
return isEqual(this.value, ObjectId.createFromHexString(this.currentValue)); | ||
return this.value.toHexString() === this.currentValue; | ||
} catch (_) { | ||
@@ -330,0 +329,0 @@ return false; |
@@ -7,3 +7,3 @@ { | ||
"homepage": "https://github.com/mongodb-js/hadron-document", | ||
"version": "2.3.2", | ||
"version": "2.3.3", | ||
"repository": { | ||
@@ -27,3 +27,2 @@ "type": "git", | ||
"dependencies": { | ||
"bson": "^0.5.4", | ||
"debug": "^2.2.0", | ||
@@ -41,2 +40,3 @@ "hadron-type-checker": "^2.1.0", | ||
"devDependencies": { | ||
"bson": "^0.5.4", | ||
"chai": "^3.4.1", | ||
@@ -43,0 +43,0 @@ "eslint-config-mongodb-js": "^2.2.0", |
10
35406
8
909
- Removedbson@^0.5.4
- Removedbson@0.5.7(transitive)