Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

@andrewscwei/mongodb-odm

Package Overview
Dependencies
7
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.40.0 to 0.41.0

7

build/types/index.js

@@ -8,2 +8,3 @@ "use strict";

const mongodb_1 = require("mongodb");
const bson_1 = __importDefault(require("bson"));
/**

@@ -49,4 +50,6 @@ * Checks if a value is an UpdateQuery.

return false;
if (!is_1.default.directInstanceOf(value, mongodb_1.ObjectID))
return false;
if (is_1.default.directInstanceOf(value, mongodb_1.ObjectID))
return true;
if (is_1.default.directInstanceOf(value, bson_1.default.ObjectID))
return true;
if (!mongodb_1.ObjectID.isValid(value))

@@ -53,0 +56,0 @@ return false;

{
"name": "@andrewscwei/mongodb-odm",
"version": "0.40.0",
"version": "0.41.0",
"description": "ODM for MongoDB",

@@ -38,2 +38,3 @@ "main": "build/index.js",

"bcrypt": "^3.0.2",
"bson": "^4.0.1",
"debug": "^4.1.0",

@@ -45,2 +46,3 @@ "lodash": "^4.17.11",

"@types/bcrypt": "^3.0.0",
"@types/bson": "^1.0.11",
"@types/debug": "^0.0.31",

@@ -47,0 +49,0 @@ "@types/dotenv": "^6.1.0",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc