Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

xpress-mongo

Package Overview
Dependencies
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xpress-mongo - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

2

package.json
{
"name": "xpress-mongo",
"version": "2.0.3",
"version": "2.0.4",
"description": "Light Weight ODM for mongoDb",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -779,3 +779,4 @@ "use strict";

*/
return (await this.native().findOne(where, { projection: { _id: 1 } })) !== null;
const find = await this.native().findOne(where, { projection: { _id: 1 } });
return ![null, undefined].includes(find);
}

@@ -782,0 +783,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