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

mongot

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongot - npm Package Compare versions

Comparing version 1.4.9 to 1.4.10

2

package.json
{
"name": "mongot",
"version": "1.4.9",
"version": "1.4.10",
"description": "MongoT is a modern ODM library for MongoDb.",

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

@@ -127,3 +127,9 @@ "use strict";

aggregate(pipeline, options) {
return this.queue(collection => collection.aggregate(this.normalizeQuery(pipeline), options));
const _pipeline = pipeline.map(x => {
if ('$match' in x) {
x['$match'] = this.normalizeQuery(x['$match']);
}
return x;
});
return this.queue(collection => collection.aggregate(_pipeline, options));
}

@@ -130,0 +136,0 @@ /**

Sorry, the diff of this file is not supported yet

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