New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hadron-document

Package Overview
Dependencies
Maintainers
25
Versions
546
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hadron-document - npm Package Compare versions

Comparing version 2.3.2 to 2.3.3

3

lib/element.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc