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

bridge-mongo

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bridge-mongo - npm Package Compare versions

Comparing version 1.0.21 to 1.0.22

1

dist/source/model/aggregate/index.d.ts

@@ -19,2 +19,3 @@ import { convertDBSchemasToDBI } from '../types';

unwind: AggI<SchemasI, ModelName>['unwind'];
countPipe: AggI<SchemasI, ModelName>['countPipe'];
lookup: AggI<SchemasI, ModelName>['lookup'];

@@ -21,0 +22,0 @@ /**

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

unwind = (unwind) => new Aggregate(this.mongoModel, [...this.pipe, { $unwind: unwind }]);
countPipe = (key) => new Aggregate(this.mongoModel, [...this.pipe, { $count: key }]);
lookup = (lookupQuery, subAggregate) => {

@@ -26,0 +27,0 @@ if ('localField' in lookupQuery) {

@@ -43,2 +43,3 @@ import { convertDBSchemasToDBI, Projection, ApplyProj, MatchQuery, SortQuery } from '../types';

}>>;
countPipe: <CountKey extends string>(key: CountKey) => Record<CountKey, number>;
exec: () => Promise<ModelI[]>;

@@ -45,0 +46,0 @@ paginate: (skip: number, limit: number) => Promise<{

2

package.json
{
"name": "bridge-mongo",
"version": "1.0.21",
"version": "1.0.22",
"description": "A mongodb ORM on top of mongoose that match perfectly with the Bridge framework",

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

Sorry, the diff of this file is not supported yet

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