Socket
Socket
Sign inDemoInstall

@fdebijl/mog

Package Overview
Dependencies
2
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.2 to 1.2.3

4

dist/index.js

@@ -80,3 +80,3 @@ "use strict";

const collection = (_a = options.collection) !== null && _a !== void 0 ? _a : this.collection;
return this.db.collection(collection).find(query).toArray();
return this.db.collection(collection).find(query, options).toArray();
}

@@ -90,3 +90,3 @@ /**

const collection = (_a = options.collection) !== null && _a !== void 0 ? _a : this.collection;
return this.db.collection(collection).find(query);
return this.db.collection(collection).find(query, options);
}

@@ -93,0 +93,0 @@ /**

{
"name": "@fdebijl/mog",
"version": "1.2.2",
"version": "1.2.3",
"description": "Opionated mini-ODM and collection of MongoDB utils 🔧",

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

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